[GH-ISSUE #2887] JtR segfaults for OpenCL formats since a few days ago #1829

Closed
opened 2026-10-15 04:26:10 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @ghost on GitHub (Nov 13, 2017).
Original GitHub issue: https://github.com/openwall/john/issues/2887

Not all, but almost all OpenCL formats.

Backtrace

#0  0x00007ffff624ac91 in __strnlen_sse2 () from /lib64/libc.so.6
#1  0x0000000000716737 in fmt_self_test_body (full_lvl=<optimized out>, db=<optimized out>, salt_copy=<optimized out>, 
    binary_copy=<optimized out>, format=0xbdc220 <fmt_opencl_keyring>) at formats.c:539
#2  fmt_self_test (format=0xbdc220 <fmt_opencl_keyring>, db=<optimized out>) at formats.c:1669
#3  0x00000000007204e9 in john_run () at john.c:1634
#4  0x0000000000720fa5 in main (argc=6, argv=0x7fffffffe2b8) at john.c:1987

To reproduce

../run/john -ses=tst- -pot=tst-.pot keyring_new_tst.in --wordlist=tst-pw-new-30.dic -form=keyring-opencl

The bug is not there at: 1b62bbedeb

Originally created by @ghost on GitHub (Nov 13, 2017). Original GitHub issue: https://github.com/openwall/john/issues/2887 Not all, but almost all OpenCL formats. Backtrace ``` #0 0x00007ffff624ac91 in __strnlen_sse2 () from /lib64/libc.so.6 #1 0x0000000000716737 in fmt_self_test_body (full_lvl=<optimized out>, db=<optimized out>, salt_copy=<optimized out>, binary_copy=<optimized out>, format=0xbdc220 <fmt_opencl_keyring>) at formats.c:539 #2 fmt_self_test (format=0xbdc220 <fmt_opencl_keyring>, db=<optimized out>) at formats.c:1669 #3 0x00000000007204e9 in john_run () at john.c:1634 #4 0x0000000000720fa5 in main (argc=6, argv=0x7fffffffe2b8) at john.c:1987 ``` To reproduce ``` ../run/john -ses=tst- -pot=tst-.pot keyring_new_tst.in --wordlist=tst-pw-new-30.dic -form=keyring-opencl ``` *** The bug is not there at: 1b62bbedeb7a5461aeedbe2220ee3365f71bc2fe
bsakaguchi 2026-10-15 04:26:10 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@frank-dittrich commented on GitHub (Nov 13, 2017):

Did you try to find the offending commit with git bisect?

<!-- gh-comment-id:344085777 --> @frank-dittrich commented on GitHub (Nov 13, 2017): Did you try to find the offending commit with `git bisect`?
Author
Owner

@ghost commented on GitHub (Nov 14, 2017):

No, but I confirmed anyone can reproduce it; I was on well.

<!-- gh-comment-id:344109941 --> @ghost commented on GitHub (Nov 14, 2017): No, but I confirmed anyone can reproduce it; I was on well.
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#1829
No description provided.