[GH-ISSUE #1242] --prince-loopback=password.lst --stdout=1 : SegFault #783

Closed
opened 2026-10-14 03:23:42 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @loverszhaokai on GitHub (Apr 29, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1242

#1. Prepare

1.1 content of password.lst

!

1.2 compile

$ ./configure && make -sj8
#2. Reproduce

$ ../john --stdout=1 --prince-loopback=password.lst
Segmentation fault
#3. GDB

$ gdb ../john core
...
Core was generated by `../john --stdout=1 --prince-loopback=password.lst'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f9b6b5f5b65 in __strftime_internal () from /lib64/libc.so.6

Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.132.el6.x86_64 gmp-4.3.1-7.el6_2.2.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.10.3-10.el6_4.3.x86_64 libcom_err-1.41.12-14.el6.x86_64 libgcc-4.4.7-3.el6.x86_64 libgomp-4.4.7-3.el6.x86_64 libselinux-2.0.94-5.3.el6.x86_64 libstdc++-4.4.7-3.el6.x86_64 nss-softokn-freebl-3.14.3-3.el6_4.x86_64 openssl-1.0.1e-16.el6_5.4.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) bt
#0 0x00007f9b6b5f5b65 in __strftime_internal () from /lib64/libc.so.6
#1 0x00007f9b6b5f7b86 in strftime_l () from /lib64/libc.so.6
#2 0x000000000069f1ec in status_get_ETA (percent=, secs_done=) at status.c:297
#3 0x000000000069f543 in status_print_stdout () at status.c:417
#4 status_print () at status.c:477
#5 0x00000000006846a2 in john_run () at john.c:1428
#6 0x0000000000684ea5 in main (argc=3, argv=0x7fffedb3f6a8) at john.c:1695

Originally created by @loverszhaokai on GitHub (Apr 29, 2015). Original GitHub issue: https://github.com/openwall/john/issues/1242 #1. Prepare ## 1.1 content of password.lst # ! ## 1.2 compile $ ./configure && make -sj8 #2. Reproduce $ ../john --stdout=1 --prince-loopback=password.lst Segmentation fault #3. GDB $ gdb ../john core ... Core was generated by `../john --stdout=1 --prince-loopback=password.lst'. Program terminated with signal 11, Segmentation fault. #0 0x00007f9b6b5f5b65 in __strftime_internal () from /lib64/libc.so.6 Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.132.el6.x86_64 gmp-4.3.1-7.el6_2.2.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.10.3-10.el6_4.3.x86_64 libcom_err-1.41.12-14.el6.x86_64 libgcc-4.4.7-3.el6.x86_64 libgomp-4.4.7-3.el6.x86_64 libselinux-2.0.94-5.3.el6.x86_64 libstdc++-4.4.7-3.el6.x86_64 nss-softokn-freebl-3.14.3-3.el6_4.x86_64 openssl-1.0.1e-16.el6_5.4.x86_64 zlib-1.2.3-29.el6.x86_64 (gdb) bt #0 0x00007f9b6b5f5b65 in __strftime_internal () from /lib64/libc.so.6 #1 0x00007f9b6b5f7b86 in strftime_l () from /lib64/libc.so.6 #2 0x000000000069f1ec in status_get_ETA (percent=<value optimized out>, secs_done=<value optimized out>) at status.c:297 #3 0x000000000069f543 in status_print_stdout () at status.c:417 #4 status_print () at status.c:477 #5 0x00000000006846a2 in john_run () at john.c:1428 #6 0x0000000000684ea5 in main (argc=3, argv=0x7fffedb3f6a8) at john.c:1695
bsakaguchi 2026-10-14 03:23:42 +07:00
  • closed this issue
  • added the
    bug
    label
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#783
No description provided.