[GH-ISSUE #1778] Problems with new DEScrypt-opencl code. #1183

Closed
opened 2026-10-14 03:38:21 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @magnumripper on GitHub (Sep 22, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1778

../run/john --list=format-all-details
(...)
Format label                         descrypt-opencl
 Disabled in configuration file      no
Min. password length in bytes        0
Max. password length in bytes        8
Min. keys per crypt                  32
Max. keys per crypt                  32
Flags
 Case sensitive                      yes
 Truncates at (our) max. length      yes
 Supports 8-bit characters           no
 Converts 8859-1 to UTF-16/UCS-2     no
 Honours --encoding=NAME             no
 False positives possible            no
 Uses a bitslice implementation      yes
 The split() method unifies case     no
 A $dynamic$ format                  no
 A dynamic sized salt                no
 Parallelized with OpenMP            no
Number of test vectors               6
Algorithm name                       DES OpenCL
Format name                          traditional crypt(3)
Benchmark comment                    
Benchmark length                     0
Binary size                          8
Salt size                            4
Tunable cost parameters              
Example ciphertext                   CCNf8Sbh3HDfQ

Segmentation fault: 11
Originally created by @magnumripper on GitHub (Sep 22, 2015). Original GitHub issue: https://github.com/openwall/john/issues/1778 ``` ../run/john --list=format-all-details (...) Format label descrypt-opencl Disabled in configuration file no Min. password length in bytes 0 Max. password length in bytes 8 Min. keys per crypt 32 Max. keys per crypt 32 Flags Case sensitive yes Truncates at (our) max. length yes Supports 8-bit characters no Converts 8859-1 to UTF-16/UCS-2 no Honours --encoding=NAME no False positives possible no Uses a bitslice implementation yes The split() method unifies case no A $dynamic$ format no A dynamic sized salt no Parallelized with OpenMP no Number of test vectors 6 Algorithm name DES OpenCL Format name traditional crypt(3) Benchmark comment Benchmark length 0 Binary size 8 Salt size 4 Tunable cost parameters Example ciphertext CCNf8Sbh3HDfQ Segmentation fault: 11 ```
bsakaguchi 2026-10-14 03:38:21 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@magnumripper commented on GitHub (Sep 23, 2015):

@Sayantan2048 fc314de4 did not help.

<!-- gh-comment-id:142704654 --> @magnumripper commented on GitHub (Sep 23, 2015): @Sayantan2048 fc314de4 did not help.
Author
Owner

@magnumripper commented on GitHub (Sep 23, 2015):

Process 83692 stopped
* thread #1: tid = 0x2a4c0c, 0x00007fff854cba90 libc++abi.dylib`__dynamic_cast + 33, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xfffffffffffffff0)
    frame #0: 0x00007fff854cba90 libc++abi.dylib`__dynamic_cast + 33
libc++abi.dylib`__dynamic_cast:
->  0x7fff854cba90 <+33>: movq   -0x10(%rax), %r13
    0x7fff854cba94 <+37>: addq   %r15, %r13
    0x7fff854cba97 <+40>: movq   -0x8(%rax), %r14
    0x7fff854cba9b <+44>: movq   %rdx, -0x78(%rbp)
(lldb) bt
* thread #1: tid = 0x2a4c0c, 0x00007fff854cba90 libc++abi.dylib`__dynamic_cast + 33, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xfffffffffffffff0)
  * frame #0: 0x00007fff854cba90 libc++abi.dylib`__dynamic_cast + 33
    frame #1: 0x00007fff8e0abd5a OpenCL`___lldb_unnamed_function343$$OpenCL + 32
    frame #2: 0x00007fff8e0b05b7 OpenCL`clReleaseProgram + 9
    frame #3: 0x00000001001a6646 john`clean_all_buffers + 86 at opencl_DES_bs_b_plug.c:104
    frame #4: 0x00000001002c8717 john`fmt_done(format=0x00000001005471e0) + 23 at formats.c:109
    frame #5: 0x00000001002fbf60 john`listconf_parse_late + 4816 at listconf.c:682
    frame #6: 0x00000001002d2b41 john`john_init(name="john", argc=2, argv=0x00007fff5fbffaa8) + 835 at john.c:1446
    frame #7: 0x00000001002d39d5 john`main(argc=2, argv=0x00007fff5fbffaa8) + 928 at john.c:1874
    frame #8: 0x00007fff87e0f5c9 libdyld.dylib`start + 1
    frame #9: 0x00007fff87e0f5c9 libdyld.dylib`start + 1
(lldb) 
<!-- gh-comment-id:142705102 --> @magnumripper commented on GitHub (Sep 23, 2015): ``` Process 83692 stopped * thread #1: tid = 0x2a4c0c, 0x00007fff854cba90 libc++abi.dylib`__dynamic_cast + 33, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xfffffffffffffff0) frame #0: 0x00007fff854cba90 libc++abi.dylib`__dynamic_cast + 33 libc++abi.dylib`__dynamic_cast: -> 0x7fff854cba90 <+33>: movq -0x10(%rax), %r13 0x7fff854cba94 <+37>: addq %r15, %r13 0x7fff854cba97 <+40>: movq -0x8(%rax), %r14 0x7fff854cba9b <+44>: movq %rdx, -0x78(%rbp) (lldb) bt * thread #1: tid = 0x2a4c0c, 0x00007fff854cba90 libc++abi.dylib`__dynamic_cast + 33, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xfffffffffffffff0) * frame #0: 0x00007fff854cba90 libc++abi.dylib`__dynamic_cast + 33 frame #1: 0x00007fff8e0abd5a OpenCL`___lldb_unnamed_function343$$OpenCL + 32 frame #2: 0x00007fff8e0b05b7 OpenCL`clReleaseProgram + 9 frame #3: 0x00000001001a6646 john`clean_all_buffers + 86 at opencl_DES_bs_b_plug.c:104 frame #4: 0x00000001002c8717 john`fmt_done(format=0x00000001005471e0) + 23 at formats.c:109 frame #5: 0x00000001002fbf60 john`listconf_parse_late + 4816 at listconf.c:682 frame #6: 0x00000001002d2b41 john`john_init(name="john", argc=2, argv=0x00007fff5fbffaa8) + 835 at john.c:1446 frame #7: 0x00000001002d39d5 john`main(argc=2, argv=0x00007fff5fbffaa8) + 928 at john.c:1874 frame #8: 0x00007fff87e0f5c9 libdyld.dylib`start + 1 frame #9: 0x00007fff87e0f5c9 libdyld.dylib`start + 1 (lldb) ```
Author
Owner

@magnumripper commented on GitHub (Sep 23, 2015):

I'll fix.

<!-- gh-comment-id:142705653 --> @magnumripper commented on GitHub (Sep 23, 2015): I'll fix.
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#1183
No description provided.