[GH-ISSUE #1505] Lotus5-opencl intermittently fails self test on some devices #977

Closed
opened 2026-10-14 03:30:34 +07:00 by bsakaguchi · 16 comments
Owner

Originally created by @magnumripper on GitHub (Jul 6, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1505

Originally assigned to: @sayan1an on GitHub.

Device 0: AMD Opteron(tm) Processor 6376                 
Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... FAILED (cmp_all(1))
Originally created by @magnumripper on GitHub (Jul 6, 2015). Original GitHub issue: https://github.com/openwall/john/issues/1505 Originally assigned to: @sayan1an on GitHub. ``` Device 0: AMD Opteron(tm) Processor 6376 Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... FAILED (cmp_all(1)) ```
bsakaguchi 2026-10-14 03:30:34 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@magnumripper commented on GitHub (Jul 8, 2015):

Super af6a034

$ for i in 1 2 3 4 5 ; do ../run/john -test=0 -dev=$i -form:lotus5-opencl -verb=2 ; done
Device 1: Tahiti [AMD Radeon HD 7900 Series]
Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... PASS
Device 2: Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz
Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... FAILED (cmp_all(1))

Device 3: Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz
Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... FAILED (cmp_all(1))

Device 4: Intel(R) Many Integrated Core Acceleration Card
Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... FAILED (cmp_all(1))

Device 5: GeForce GTX TITAN
Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... PASS
<!-- gh-comment-id:119387685 --> @magnumripper commented on GitHub (Jul 8, 2015): Super af6a034 ``` $ for i in 1 2 3 4 5 ; do ../run/john -test=0 -dev=$i -form:lotus5-opencl -verb=2 ; done Device 1: Tahiti [AMD Radeon HD 7900 Series] Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... PASS Device 2: Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... FAILED (cmp_all(1)) Device 3: Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... FAILED (cmp_all(1)) Device 4: Intel(R) Many Integrated Core Acceleration Card Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... FAILED (cmp_all(1)) Device 5: GeForce GTX TITAN Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... PASS ```
Author
Owner

@magnumripper commented on GitHub (Jul 8, 2015):

My macbook runs fine with this format, with any device.

<!-- gh-comment-id:119387818 --> @magnumripper commented on GitHub (Jul 8, 2015): My macbook runs fine with this format, with any device.
Author
Owner

@jfoug commented on GitHub (Jul 10, 2015):

Travis is happy with this format now (both compilers), How is it on Super?

<!-- gh-comment-id:120459420 --> @jfoug commented on GitHub (Jul 10, 2015): Travis is happy with this format now (both compilers), How is it on Super?
Author
Owner

@magnumripper commented on GitHub (Jul 10, 2015):

OSX

Device 0: Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz
Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... PASS
Device 1: HD Graphics 4000
Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... PASS
Device 2: GeForce GT 650M
Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... PASS

super

$ for i in 1 2 3 5; do ../run/john -test=0 -dev=$i -form:lotus5-opencl -verb=2 ; done
Device 1: Tahiti [AMD Radeon HD 7900 Series]
Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... PASS
Device 2: Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz
Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... PASS
Device 3: Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz
Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... PASS
Device 5: GeForce GTX TITAN
Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... PASS
<!-- gh-comment-id:120548803 --> @magnumripper commented on GitHub (Jul 10, 2015): OSX ``` Device 0: Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... PASS Device 1: HD Graphics 4000 Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... PASS Device 2: GeForce GT 650M Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... PASS ``` super ``` $ for i in 1 2 3 5; do ../run/john -test=0 -dev=$i -form:lotus5-opencl -verb=2 ; done Device 1: Tahiti [AMD Radeon HD 7900 Series] Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... PASS Device 2: Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... PASS Device 3: Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... PASS Device 5: GeForce GTX TITAN Testing: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... PASS ```
Author
Owner

@magnumripper commented on GitHub (Jul 24, 2015):

Travis failed again now, after a commit of files that are totally unrelated and not even used in that build. This indicates there's still a problem with lotus5-opencl, but it's intermittent.

<!-- gh-comment-id:124715587 --> @magnumripper commented on GitHub (Jul 24, 2015): [Travis failed again](https://travis-ci.org/magnumripper/JohnTheRipper/builds/72521183) now, after a commit of files that are totally unrelated and not even used in that build. This indicates there's still a problem with lotus5-opencl, but it's intermittent.
Author
Owner

@magnumripper commented on GitHub (Aug 4, 2015):

Seen it once again. An unrelated commit make it segfault, next unrelated commit and all is fine again.

<!-- gh-comment-id:127778321 --> @magnumripper commented on GitHub (Aug 4, 2015): Seen it once again. An unrelated commit make it segfault, next unrelated commit and all is fine again.
Author
Owner

@sayan1an commented on GitHub (Aug 5, 2015):

Did it fail travis ? That would mean it fails on cpu devices and with test=0 parameter. With little more details I can narrow my search, like opencl compiler version etc.

<!-- gh-comment-id:127833879 --> @sayan1an commented on GitHub (Aug 5, 2015): Did it fail travis ? That would mean it fails on cpu devices and with test=0 parameter. With little more details I can narrow my search, like opencl compiler version etc.
Author
Owner

@magnumripper commented on GitHub (Aug 5, 2015):

Yes. Recently we had lots of verbosity and got some details, see eg. https://github.com/magnumripper/JohnTheRipper/issues/1508#issuecomment-119762627

<!-- gh-comment-id:127888419 --> @magnumripper commented on GitHub (Aug 5, 2015): Yes. Recently we had lots of verbosity and got some details, see eg. https://github.com/magnumripper/JohnTheRipper/issues/1508#issuecomment-119762627
Author
Owner

@magnumripper commented on GitHub (Aug 5, 2015):

I just recalled we have the stress-test option. I tried this on my laptop but no problem here (yet).

$ ../run/john -stress-test=0 -form:lotus5-opencl -dev=cpu
<!-- gh-comment-id:127890856 --> @magnumripper commented on GitHub (Aug 5, 2015): I just recalled we have the stress-test option. I tried this on my laptop but no problem here (yet). ``` $ ../run/john -stress-test=0 -form:lotus5-opencl -dev=cpu ```
Author
Owner

@magnumripper commented on GitHub (Aug 5, 2015):

Tried stress-test on super, well and bull too, no luck. If we can get a segfault on some other host than Travis, we can run it in a debugger.

<!-- gh-comment-id:127892036 --> @magnumripper commented on GitHub (Aug 5, 2015): Tried stress-test on super, well and bull too, no luck. If we can get a segfault on some other host than Travis, we can run it in a debugger.
Author
Owner

@magnumripper commented on GitHub (Aug 5, 2015):

I ran stress-test=0 for three hours on my laptop, no problem.

<!-- gh-comment-id:127942639 --> @magnumripper commented on GitHub (Aug 5, 2015): I ran stress-test=0 for three hours on my laptop, no problem.
Author
Owner

@sayan1an commented on GitHub (Aug 5, 2015):

I get segfault on super with -dev=2(with old gcc, no scl) with stress-test=0. Dev 3 works fine. The segfault occurs within the kernel, so I don't think cpu debug tools are helpful. However, I still can't figure out what is wrong!!

<!-- gh-comment-id:127951999 --> @sayan1an commented on GitHub (Aug 5, 2015): I get segfault on super with -dev=2(with old gcc, no scl) with stress-test=0. Dev 3 works fine. The segfault occurs within the kernel, so I don't think cpu debug tools are helpful. However, I still can't figure out what is wrong!!
Author
Owner

@magnumripper commented on GitHub (Aug 5, 2015):

It might well be some compiler flaw. I usually just throw stuff at the code and see what sticks.

<!-- gh-comment-id:127953264 --> @magnumripper commented on GitHub (Aug 5, 2015): It might well be some compiler flaw. I usually just throw stuff at the code and see what sticks.
Author
Owner

@sayan1an commented on GitHub (Aug 5, 2015):

Ooops, it got automatically closed!!

<!-- gh-comment-id:127953792 --> @sayan1an commented on GitHub (Aug 5, 2015): Ooops, it got automatically closed!!
Author
Owner

@magnumripper commented on GitHub (Aug 5, 2015):

GitHub ignores the word "not" 😆

<!-- gh-comment-id:127953921 --> @magnumripper commented on GitHub (Aug 5, 2015): GitHub ignores the word "not" :laughing:
Author
Owner

@magnumripper commented on GitHub (Aug 5, 2015):

Excellent @Sayantan2048

<!-- gh-comment-id:128159071 --> @magnumripper commented on GitHub (Aug 5, 2015): Excellent @Sayantan2048
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#977
No description provided.