Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BLU0-SMTP17821346F727D95C160B3D4FDCD0@phx.gbl>
Date: Tue, 16 Apr 2013 15:56:50 +0200
From: Frank Dittrich <frank_dittrich@...mail.com>
To: john-dev@...ts.openwall.com
Subject: Re: Segfault for hdaa on linux-x86-clang-debug

On 04/16/2013 01:32 PM, Frank Dittrich wrote:
> May be I should try the test suite on the remaining formats if I find
> the time for it.

./jtrts.pl was used for a test of a linux-x86-clang-debug build (with
formats that fail self test removed).


The results of dynamic_15 and of rar were interesting:


 $ ./jtrts.pl -noprelims -type=rar
-------------------------------------------------------------------------------
- JtR-TestSuite (jtrts). Version 1.12.11, July 20, 2012.  By, Jim
Fougeron & others
- Testing:  John the Ripper password cracker, ver:
1.7.9-jumbo-8-unstable [linux-x86-clang-debug]
--------------------------------------------------------------------------------

John Jumbo build detected.

form=rar                          guesses:    0 unk unk : Expected
count(s) (130)  [!!!FAILED!!!]
sh: ./tst.pot: No such file or directory
.pot CHK:rar                      guesses:    0 unk unk  [PASSED]

Some tests had Errors. Performed 1 tests.1 errors
Time used was 2 seconds


Trying to reproduce (john.pot is empty):

(unstable-jumbo)run $ ./john ../test/rar_tst.in --wordlist=../test/pw.dic
Loaded 130 password hashes with 130 different salts (RAR3 SHA-1 AES [32/32])
No password hashes left to crack (see FAQ)


(master)test $ ./jtrts.pl -noprelims -type=dynamic_15
-------------------------------------------------------------------------------
- JtR-TestSuite (jtrts). Version 1.12.11, July 20, 2012.  By, Jim
Fougeron & others
- Testing:  John the Ripper password cracker, ver:
1.7.9-jumbo-8-unstable [linux-x86-clang-debug]
--------------------------------------------------------------------------------

John Jumbo build detected.
*** glibc detected *** ../run/john: free(): invalid pointer: 0x09fb0065 ***
======= Backtrace: =========
/lib/libc.so.6[0x4a31eff9]
../run/john[0x810192a]
../run/john[0x80fd2be]
/lib/libc.so.6(__libc_start_main+0xf5)[0x4a2c2865]
======= Memory map: ========
08048000-0819c000 r-xp 00000000 fd:03 4457336
/home/fd/git/JohnTheRipper/run/john
0819c000-0819d000 r--p 00154000 fd:03 4457336
/home/fd/git/JohnTheRipper/run/john
0819d000-081b6000 rw-p 00155000 fd:03 4457336
/home/fd/git/JohnTheRipper/run/john
081b6000-08314000 rw-p 00000000 00:00 0
09e4c000-09fd8000 rw-p 00000000 00:00 0          [heap]
4a286000-4a2a5000 r-xp 00000000 fd:02 2363787    /usr/lib/ld-2.16.so
4a2a5000-4a2a6000 r--p 0001e000 fd:02 2363787    /usr/lib/ld-2.16.so
4a2a6000-4a2a7000 rw-p 0001f000 fd:02 2363787    /usr/lib/ld-2.16.so
4a2a9000-4a459000 r-xp 00000000 fd:02 2363789    /usr/lib/libc-2.16.so
4a459000-4a45b000 r--p 001b0000 fd:02 2363789    /usr/lib/libc-2.16.so
4a45b000-4a45c000 rw-p 001b2000 fd:02 2363789    /usr/lib/libc-2.16.so
4a45c000-4a45f000 rw-p 00000000 00:00 0
4a461000-4a477000 r-xp 00000000 fd:02 2377519    /usr/lib/libpthread-2.16.so
4a477000-4a478000 r--p 00015000 fd:02 2377519    /usr/lib/libpthread-2.16.so
4a478000-4a479000 rw-p 00016000 fd:02 2377519    /usr/lib/libpthread-2.16.so
4a479000-4a47b000 rw-p 00000000 00:00 0
4a47d000-4a480000 r-xp 00000000 fd:02 2374388    /usr/lib/libdl-2.16.so
4a480000-4a481000 r--p 00002000 fd:02 2374388    /usr/lib/libdl-2.16.so
4a481000-4a482000 rw-p 00003000 fd:02 2374388    /usr/lib/libdl-2.16.so
4a484000-4a48b000 r-xp 00000000 fd:02 2377520    /usr/lib/librt-2.16.so
4a48b000-4a48c000 r--p 00006000 fd:02 2377520    /usr/lib/librt-2.16.so
4a48c000-4a48d000 rw-p 00007000 fd:02 2377520    /usr/lib/librt-2.16.so
4a48f000-4a4cd000 r-xp 00000000 fd:02 2381708    /usr/lib/libm-2.16.so
4a4cd000-4a4ce000 r--p 0003d000 fd:02 2381708    /usr/lib/libm-2.16.so
4a4ce000-4a4cf000 rw-p 0003e000 fd:02 2381708    /usr/lib/libm-2.16.so
4a4d1000-4a4e6000 r-xp 00000000 fd:02 2377572    /usr/lib/libz.so.1.2.7
4a4e6000-4a4e7000 r--p 00014000 fd:02 2377572    /usr/lib/libz.so.1.2.7
4a4e7000-4a4e8000 rw-p 00015000 fd:02 2377572    /usr/lib/libz.so.1.2.7
4a4ea000-4a54c000 r-xp 00000000 fd:02 2377615    /usr/lib/libpcre.so.1.0.1
4a54c000-4a54d000 r--p 00061000 fd:02 2377615    /usr/lib/libpcre.so.1.0.1
4a54d000-4a54e000 rw-p 00062000 fd:02 2377615    /usr/lib/libpcre.so.1.0.1
4a550000-4a56c000 r-xp 00000000 fd:02 2381696
/usr/lib/libgcc_s-4.7.2-20121109.so.1
4a56c000-4a56d000 r--p 0001b000 fd:02 2381696
/usr/lib/libgcc_s-4.7.2-20121109.so.1
4a56d000-4a56e000 rw-p 0001c000 fd:02 2381696
/usr/lib/libgcc_s-4.7.2-20121109.so.1
4a570000-4a590000 r-xp 00000000 fd:02 2377665    /usr/lib/libselinux.so.1
4a590000-4a591000 r--p 0001f000 fd:02 2377665    /usr/lib/libselinux.so.1
4a591000-4a592000 rw-p 00020000 fd:02 2377665    /usr/lib/libselinux.so.1
4a592000-4a593000 rw-p 00000000 00:00 0
4a595000-4a5aa000 r-xp 00000000 fd:02 2381693    /usr/lib/libresolv-2.16.so
4a5aa000-4a5ab000 r--p 00014000 fd:02 2381693    /usr/lib/libresolv-2.16.so
4a5ab000-4a5ac000 rw-p 00015000 fd:02 2381693    /usr/lib/libresolv-2.16.so
4a5ac000-4a5ae000 rw-p 00000000 00:00 0
4ae7e000-4ae81000 r-xp 00000000 fd:02 2381734    /usr/lib/libcom_err.so.2.1
4ae81000-4ae82000 r--p 00002000 fd:02 2381734    /usr/lib/libcom_err.so.2.1
4ae82000-4ae83000 rw-p 00003000 fd:02 2381734    /usr/lib/libcom_err.so.2.1
4ae85000-4ae88000 r-xp 00000000 fd:02 2375045    /usr/lib/libkeyutils.so.1.4
4ae88000-4ae89000 r--p 00002000 fd:02 2375045    /usr/lib/libkeyutils.so.1.4
4ae89000-4ae8a000 rw-p 00003000 fd:02 2375045    /usr/lib/libkeyutils.so.1.4
4aeb4000-4aebe000 r-xp 00000000 fd:02 2381732
/usr/lib/libkrb5support.so.0.1
4aebe000-4aebf000 r--p 00009000 fd:02 2381732
/usr/lib/libkrb5support.so.0.1
4aebf000-4aec0000 rw-p 0000a000 fd:02 2381732
/usr/lib/libkrb5support.so.0.1
4aeca000-4aef2000 r-xp 00000000 fd:02 2381733    /usr/lib/libk5crypto.so.3.1
4aef2000-4aef3000 ---p 00028000 fd:02 2381733    /usr/lib/libk5crypto.so.3.1
4aef3000-4aef4000 r--p 00028000 fd:02 2381733    /usr/lib/libk5crypto.so.3.1
4aef4000-4aef5000 rw-p 00029000 fd:02 2381733    /usr/lib/libk5crypto.so.3.1
4aef5000-4aef6000 rw-p 00000000 00:00 0
4af89000-4b062000 r-xp 00000000 fd:02 2381735    /usr/lib/libkrb5.so.3.3
4b062000-4b068000 r--p 000d9000 fd:02 2381735    /usr/lib/libkrb5.so.3.3
4b068000-4b069000 rw-p 000df000 fd:02 2381735    /usr/lib/libkrb5.so.3.3
4c47d000-4c4bd000 r-xp 00000000 fd:02 2381736
/usr/lib/libgssapi_krb5.so.2.2
4c4bd000-4c4be000 r--p 0003f000 fd:02 2381736
/usr/lib/libgssapi_krb5.so.2.2
4c4be000-4c4bf000 rw-p 00040000 fd:02 2381736
/usr/lib/libgssapi_krb5.so.2.2
4c740000-4c8cf000 r-xp 00000000 fd:02 2372080
/usr/lib/libcrypto.so.1.0.1e
4c8cf000-4c8d0000 ---p 0018f000 fd:02 2372080
/usr/lib/libcrypto.so.1.0.1e
4c8d0000-4c8df000 r--p 0018f000 fd:02 2372080
/usr/lib/libcrypto.so.1.0.1e
4c8df000-4c8e5000 rw-p 0019e000 fd:02 2372080
/usr/lib/libcrypto.so.1.0.1e
4c8e5000-4c8e9000 rw-p 00000000 00:00 0
4c99f000-4c9f9000 r-xp 00000000 fd:02 2381782    /usr/lib/libssl.so.1.0.1e
4c9f9000-4c9fb000 r--p 0005a000 fd:02 2381782    /usr/lib/libssl.so.1.0.1e
4c9fb000-4c9fe000 rw-p 0005c000 fd:02 2381782    /usr/lib/libssl.so.1.0.1e
4ca08000-4ca58000 r-xp 00000000 fd:02 2381728    /usr/lib/libfreebl3.so
4ca58000-4ca59000 r--p 0004f000 fd:02 2381728    /usr/lib/libfreebl3.so
4ca59000-4ca5a000 rw-p 00050000 fd:02 2381728    /usr/lib/libfreebl3.so
4ca5a000-4ca5e000 rw-p 00000000 00:00 0
4ca60000-4ca68000 r-xp 00000000 fd:02 2381729    /usr/lib/libcrypt-2.16.so
4ca68000-4ca69000 r--p 00007000 fd:02 2381729    /usr/lib/libcrypt-2.16.so
4ca69000-4ca6a000 rw-p 00008000 fd:02 2381729    /usr/lib/libcrypt-2.16.so
4ca6a000-4ca91000 rw-p 00000000 00:00 0
4ca93000-4ca96000 r-xp 00000000 fd:02 2381812    /usr/lib/libplds4.so
4ca96000-4ca97000 r--p 00002000 fd:02 2381812    /usr/lib/libplds4.so
4ca97000-4ca98000 rw-p 00003000 fd:02 2381812    /usr/lib/libplds4.so
4ca9a000-4ca9e000 r-xp 00000000 fd:02 2381811    /usr/lib/libplc4.so
4ca9e000-4ca9f000 r--p 00003000 fd:02 2381811    /usr/lib/libplc4.so
4ca9f000-4caa0000 rw-p 00004000 fd:02 2381811    /usr/lib/libplc4.so
4caa2000-4cadb000 r-xp 00000000 fd:02 2367871    /usr/lib/libnspr4.so
4cadb000-4cadc000 r--p 00039000 fd:02 2367871    /usr/lib/libnspr4.so
4cadc000-4cadd000 rw-p 0003a000 fd:02 2367871    /usr/lib/libnspr4.so
4cadd000-4cadf000 rw-p 00000000 00:00 0
4cae1000-4cb01000 r-xp 00000000 fd:02 2381813
/usr/lib/libnssutil3.sosh: line 1: 18336 Aborted                 (core
dumped) ../run/john -ses=./tst -pot=./tst.pot dynamic_15_tst.in
--wordlist=pw.dic 2>&1 > /dev/null

form=dynamic_15                   guesses: 1500 time: 0:00:00:00  [PASSED]
*** glibc detected *** ../run/john: munmap_chunk(): invalid pointer:
0x09120065 ***
======= Backtrace: =========
/lib/libc.so.6[0x4a31de62]
../run/john[0x810192a]
../run/john[0x80fd2be]
/lib/libc.so.6(__libc_start_main+0xf5)[0x4a2c2865]
======= Memory map: ========
08048000-0819c000 r-xp 00000000 fd:03 4457336
/home/fd/git/JohnTheRipper/run/john
0819c000-0819d000 r--p 00154000 fd:03 4457336
/home/fd/git/JohnTheRipper/run/john
0819d000-081b6000 rw-p 00155000 fd:03 4457336
/home/fd/git/JohnTheRipper/run/john
081b6000-08314000 rw-p 00000000 00:00 0
08fc1000-0912c000 rw-p 00000000 00:00 0          [heap]
4a286000-4a2a5000 r-xp 00000000 fd:02 2363787    /usr/lib/ld-2.16.so
4a2a5000-4a2a6000 r--p 0001e000 fd:02 2363787    /usr/lib/ld-2.16.so
4a2a6000-4a2a7000 rw-p 0001f000 fd:02 2363787    /usr/lib/ld-2.16.so
4a2a9000-4a459000 r-xp 00000000 fd:02 2363789    /usr/lib/libc-2.16.so
4a459000-4a45b000 r--p 001b0000 fd:02 2363789    /usr/lib/libc-2.16.so
4a45b000-4a45c000 rw-p 001b2000 fd:02 2363789    /usr/lib/libc-2.16.so
4a45c000-4a45f000 rw-p 00000000 00:00 0
4a461000-4a477000 r-xp 00000000 fd:02 2377519    /usr/lib/libpthread-2.16.so
4a477000-4a478000 r--p 00015000 fd:02 2377519    /usr/lib/libpthread-2.16.so
4a478000-4a479000 rw-p 00016000 fd:02 2377519    /usr/lib/libpthread-2.16.so
4a479000-4a47b000 rw-p 00000000 00:00 0
4a47d000-4a480000 r-xp 00000000 fd:02 2374388    /usr/lib/libdl-2.16.so
4a480000-4a481000 r--p 00002000 fd:02 2374388    /usr/lib/libdl-2.16.so
4a481000-4a482000 rw-p 00003000 fd:02 2374388    /usr/lib/libdl-2.16.so
4a484000-4a48b000 r-xp 00000000 fd:02 2377520    /usr/lib/librt-2.16.so
4a48b000-4a48c000 r--p 00006000 fd:02 2377520    /usr/lib/librt-2.16.so
4a48c000-4a48d000 rw-p 00007000 fd:02 2377520    /usr/lib/librt-2.16.so
4a48f000-4a4cd000 r-xp 00000000 fd:02 2381708    /usr/lib/libm-2.16.so
4a4cd000-4a4ce000 r--p 0003d000 fd:02 2381708    /usr/lib/libm-2.16.so
4a4ce000-4a4cf000 rw-p 0003e000 fd:02 2381708    /usr/lib/libm-2.16.so
4a4d1000-4a4e6000 r-xp 00000000 fd:02 2377572    /usr/lib/libz.so.1.2.7
4a4e6000-4a4e7000 r--p 00014000 fd:02 2377572    /usr/lib/libz.so.1.2.7
4a4e7000-4a4e8000 rw-p 00015000 fd:02 2377572    /usr/lib/libz.so.1.2.7
4a4ea000-4a54c000 r-xp 00000000 fd:02 2377615    /usr/lib/libpcre.so.1.0.1
4a54c000-4a54d000 r--p 00061000 fd:02 2377615    /usr/lib/libpcre.so.1.0.1
4a54d000-4a54e000 rw-p 00062000 fd:02 2377615    /usr/lib/libpcre.so.1.0.1
4a550000-4a56c000 r-xp 00000000 fd:02 2381696
/usr/lib/libgcc_s-4.7.2-20121109.so.1
4a56c000-4a56d000 r--p 0001b000 fd:02 2381696
/usr/lib/libgcc_s-4.7.2-20121109.so.1
4a56d000-4a56e000 rw-p 0001c000 fd:02 2381696
/usr/lib/libgcc_s-4.7.2-20121109.so.1
4a570000-4a590000 r-xp 00000000 fd:02 2377665    /usr/lib/libselinux.so.1
4a590000-4a591000 r--p 0001f000 fd:02 2377665    /usr/lib/libselinux.so.1
4a591000-4a592000 rw-p 00020000 fd:02 2377665    /usr/lib/libselinux.so.1
4a592000-4a593000 rw-p 00000000 00:00 0
4a595000-4a5aa000 r-xp 00000000 fd:02 2381693    /usr/lib/libresolv-2.16.so
4a5aa000-4a5ab000 r--p 00014000 fd:02 2381693    /usr/lib/libresolv-2.16.so
4a5ab000-4a5ac000 rw-p 00015000 fd:02 2381693    /usr/lib/libresolv-2.16.so
4a5ac000-4a5ae000 rw-p 00000000 00:00 0
4ae7e000-4ae81000 r-xp 00000000 fd:02 2381734    /usr/lib/libcom_err.so.2.1
4ae81000-4ae82000 r--p 00002000 fd:02 2381734    /usr/lib/libcom_err.so.2.1
4ae82000-4ae83000 rw-p 00003000 fd:02 2381734    /usr/lib/libcom_err.so.2.1
4ae85000-4ae88000 r-xp 00000000 fd:02 2375045    /usr/lib/libkeyutils.so.1.4
4ae88000-4ae89000 r--p 00002000 fd:02 2375045    /usr/lib/libkeyutils.so.1.4
4ae89000-4ae8a000 rw-p 00003000 fd:02 2375045    /usr/lib/libkeyutils.so.1.4
4aeb4000-4aebe000 r-xp 00000000 fd:02 2381732
/usr/lib/libkrb5support.so.0.1
4aebe000-4aebf000 r--p 00009000 fd:02 2381732
/usr/lib/libkrb5support.so.0.1
4aebf000-4aec0000 rw-p 0000a000 fd:02 2381732
/usr/lib/libkrb5support.so.0.1
4aeca000-4aef2000 r-xp 00000000 fd:02 2381733    /usr/lib/libk5crypto.so.3.1
4aef2000-4aef3000 ---p 00028000 fd:02 2381733    /usr/lib/libk5crypto.so.3.1
4aef3000-4aef4000 r--p 00028000 fd:02 2381733    /usr/lib/libk5crypto.so.3.1
4aef4000-4aef5000 rw-p 00029000 fd:02 2381733    /usr/lib/libk5crypto.so.3.1
4aef5000-4aef6000 rw-p 00000000 00:00 0
4af89000-4b062000 r-xp 00000000 fd:02 2381735    /usr/lib/libkrb5.so.3.3
4b062000-4b068000 r--p 000d9000 fd:02 2381735    /usr/lib/libkrb5.so.3.3
4b068000-4b069000 rw-p 000df000 fd:02 2381735    /usr/lib/libkrb5.so.3.3
4c47d000-4c4bd000 r-xp 00000000 fd:02 2381736
/usr/lib/libgssapi_krb5.so.2.2
4c4bd000-4c4be000 r--p 0003f000 fd:02 2381736
/usr/lib/libgssapi_krb5.so.2.2
4c4be000-4c4bf000 rw-p 00040000 fd:02 2381736
/usr/lib/libgssapi_krb5.so.2.2
4c740000-4c8cf000 r-xp 00000000 fd:02 2372080
/usr/lib/libcrypto.so.1.0.1e
4c8cf000-4c8d0000 ---p 0018f000 fd:02 2372080
/usr/lib/libcrypto.so.1.0.1e
4c8d0000-4c8df000 r--p 0018f000 fd:02 2372080
/usr/lib/libcrypto.so.1.0.1e
4c8df000-4c8e5000 rw-p 0019e000 fd:02 2372080
/usr/lib/libcrypto.so.1.0.1e
4c8e5000-4c8e9000 rw-p 00000000 00:00 0
4c99f000-4c9f9000 r-xp 00000000 fd:02 2381782    /usr/lib/libssl.so.1.0.1e
4c9f9000-4c9fb000 r--p 0005a000 fd:02 2381782    /usr/lib/libssl.so.1.0.1e
4c9fb000-4c9fe000 rw-p 0005c000 fd:02 2381782    /usr/lib/libssl.so.1.0.1e
4ca08000-4ca58000 r-xp 00000000 fd:02 2381728    /usr/lib/libfreebl3.so
4ca58000-4ca59000 r--p 0004f000 fd:02 2381728    /usr/lib/libfreebl3.so
4ca59000-4ca5a000 rw-p 00050000 fd:02 2381728    /usr/lib/libfreebl3.so
4ca5a000-4ca5e000 rw-p 00000000 00:00 0
4ca60000-4ca68000 r-xp 00000000 fd:02 2381729    /usr/lib/libcrypt-2.16.so
4ca68000-4ca69000 r--p 00007000 fd:02 2381729    /usr/lib/libcrypt-2.16.so
4ca69000-4ca6a000 rw-p 00008000 fd:02 2381729    /usr/lib/libcrypt-2.16.so
4ca6a000-4ca91000 rw-p 00000000 00:00 0
4ca93000-4ca96000 r-xp 00000000 fd:02 2381812    /usr/lib/libplds4.so
4ca96000-4ca97000 r--p 00002000 fd:02 2381812    /usr/lib/libplds4.so
4ca97000-4ca98000 rw-p 00003000 fd:02 2381812    /usr/lib/libplds4.so
4ca9a000-4ca9e000 r-xp 00000000 fd:02 2381811    /usr/lib/libplc4.so
4ca9e000-4ca9f000 r--p 00003000 fd:02 2381811    /usr/lib/libplc4.so
4ca9f000-4caa0000 rw-p 00004000 fd:02 2381811    /usr/lib/libplc4.so
4caa2000-4cadb000 r-xp 00000000 fd:02 2367871    /usr/lib/libnspr4.so
4cadb000-4cadc000 r--p 00039000 fd:02 2367871    /usr/lib/libnspr4.so
4cadc000-4cadd000 rw-p 0003a000 fd:02 2367871    /usr/lib/libnspr4.so
4cadd000-4cadf000 rw-p 00000000 00:00 0
4cae1000-4cb01000 r-xp 00000000 fd:02 2381813
/usr/lib/libnssutil3.sosh: line 1: 18343 Aborted                 (core
dumped) ../run/john -ses=./tst -pot=./tst.pot dynamic_15_tst.in
--wordlist=pw3 2>&1 > /dev/null
.pot CHK:dynamic_15               guesses: 1500 time: 0:00:00:00  [PASSED]

All tests passed without error.  Performed 1 tests.  Time used was 4 seconds


Core dumped, but self test passed?
The dump occurs after all 1500 passwords were guessed.


The  linux-x86-clang version (without -DDEBUG) doesn't cause these problems.

Frank

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.