Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F7C20E1.7010307@cs.man.ac.uk>
Date: Wed, 04 Apr 2012 11:22:25 +0100
From: Michael Pappas <pappasm@...man.ac.uk>
To: john-dev@...ts.openwall.com
Subject: Re: OpenCL runtime errors

On 04/04/2012 01:17 AM, Solar Designer wrote:
> user@...l:~/john/magnum-jumbo/src$ ../run/john -te -fo=cryptmd5-opencl
> OpenCL platform 0: NVIDIA CUDA, 1 device(s).
> Using device 0: GeForce GTX 570
> OpenCL error (CL_INVALID_VALUE) in file (common-opencl.c) at line (128) - (Error while getting build info)

I'm getting the same error here (GeForce 9300M GS / CUDA 4.1.28), but 
only when I run through gdb:

(gdb) set args -t --format=cryptmd5-opencl
(gdb) r
Starting program: /home/mepapp/gsoc/magnum-jumbo/run/john -t 
--format=cryptmd5-opencl
[Thread debugging using libthread_db enabled]
OpenCL Platforms: 1
OpenCL Platform: <<<NVIDIA CUDA>>> 1 device(s), using device: <<<GeForce 
9300M GS>>>
[New Thread 0xb731eb70 (LWP 2253)]
[New Thread 0xb62f9b70 (LWP 2254)]
[New Thread 0xb5af9b70 (LWP 2255)]
[New Thread 0xb52f9b70 (LWP 2256)]
[New Thread 0xb4af9b70 (LWP 2257)]
[New Thread 0xb42f9b70 (LWP 2258)]
pathname = $JOHN/
pathname (expanded) = /home/mepapp/gsoc/magnum-jumbo/run/
Options used: -I /home/mepapp/gsoc/magnum-jumbo/run/
OpenCL error (CL_INVALID_VALUE) in file (common-opencl.c) at line (127) 
- (Error while getting build info)
[Thread 0xb62f9b70 (LWP 2254) exited]
[Thread 0xb4af9b70 (LWP 2257) exited]
[Thread 0xb52f9b70 (LWP 2256) exited]
[Thread 0xb5af9b70 (LWP 2255) exited]
[Thread 0xb731eb70 (LWP 2253) exited]
[Thread 0xb42f9b70 (LWP 2258) exited]

Program exited with code 01.
(gdb)

Running through the shell will return a different error:

bash-4.1$ john -t --format=cryptmd5-opencl
OpenCL Platforms: 1
OpenCL Platform: <<<NVIDIA CUDA>>> 1 device(s), using device: <<<GeForce 
9300M GS>>>
pathname = $JOHN/
pathname (expanded) =
Options used: -I
Compilation log: Error in processing command line: Don't understand 
command line argument "sm_11"!
OpenCL error (CL_INVALID_PROGRAM_EXECUTABLE) in file 
(opencl_cryptmd5_fmt.c) at line (235) - (Error while creating kernel)

It seems like get_path() thinks that $JOHN is not set, expanding it to 
the empty string. Exporting didn't help either. I'll keep looking into 
it, but even if it's fixed, I think we'll fall back to the original 
error (the one returned on gdb).

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.