Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 16 Apr 2013 10:01:20 +0200
From: Frank Dittrich <frank_dittrich@...mail.com>
To: john-dev@...ts.openwall.com
Subject: Segfault for hdaa on linux-x86-clang-debug (was: testing all valid()s)

On latest git, with a Makefile change disabling address sanitizer to
allow building linux-x86-clang-debug despite of clang's ASAN feature
being broken on fedora, I get this:

$ ./john --format=hdaa --test
Benchmarking: HTTP Digest access authentication MD5 [128/128 SSE2
intrinsics 16x]... Segmentation fault (core dumped)

$ gdb ./john
GNU gdb (GDB) Fedora (7.5.1-37.fc18)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/fd/git/JohnTheRipper/run/john...done.
(gdb) run --format=hdaa --test=0
Starting program: /home/fd/git/JohnTheRipper/run/john --format=hdaa --test=0
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Warning: doing quick benchmarking - the performance numbers will be
inaccurate
Benchmarking: HTTP Digest access authentication MD5 [128/128 SSE2
intrinsics 16x]...
Program received signal SIGSEGV, Segmentation fault.
0x081368b3 in SSEmd5body (data=0x8417028, out=0x8419618, init=1) at
sse-intrinsics.c:122
122			MD5_STEP(MD5_F, a, b, c, d, 0, 0xd76aa478, 7)
Missing separate debuginfos, use: debuginfo-install
keyutils-libs-1.5.5-3.fc18.i686 krb5-libs-1.10.3-14.fc18.i686
libcom_err-1.42.5-1.fc18.i686 libgcc-4.7.2-8.fc18.i686
libselinux-2.1.12-7.3.fc18.i686 nspr-4.9.5-2.fc18.i686
nss-3.14.3-1.fc18.i686 nss-util-3.14.3-1.fc18.i686
openssl-libs-1.0.1e-4.fc18.i686 pcre-8.31-4.fc18.i686 zlib-1.2.7-9.fc18.i686
(gdb) bt
#0  0x081368b3 in SSEmd5body (data=0x8417028, out=0x8419618, init=1) at
sse-intrinsics.c:122
#1  0x080afbef in crypt_all (count=1) at HDAA_fmt_plug.c:416
#2  0x0810672a in fmt_self_test (format=<optimized out>) at formats.c:243
#3  0x080ffed2 in benchmark_format (format=0x81b9e8c <fmt_HDAA>,
salts=-1073746152,
    results=<optimized out>) at bench.c:159
#4  0x081007eb in benchmark_all () at bench.c:498
#5  0x081097d0 in john_run () at john.c:711
#6  0x081093b9 in main (argc=3, argv=0xbffff124) at john.c:1008
(gdb) up
#1  0x080afbef in crypt_all (count=1) at HDAA_fmt_plug.c:416
416			SSEmd5body(&saved_key[0][thread*64*NBKEYS],
&crypt_key[thread*4*NBKEYS], 1);
(gdb) print thread
No symbol "thread" in current context.
(gdb) print saved_key[0][0]
$1 = 117 'u'
(gdb) print saved_key[0]
$2 = (unsigned char *) 0x8417028
"useruseruseruser:myr:myr:myr:myrealmealmealmealm:noc:\200"

(unstable-jumbo)run $ ./john --list=build-info
Version: 1.7.9-jumbo-8-unstable
Build: linux-x86-clang-debug
Arch: 32-bit LE
$JOHN is ./
Format interface version: 9
Rec file version: REC3
Charset file version: CHR2
CHARSET_MIN: 32 (0x20)
CHARSET_MAX: 126 (0x7e)
CHARSET_LENGTH: 8
Max. Markov mode level: 400
Max. Markov mode password length: 30
Compiler version: 4.2.1 Compatible Clang 3.2 (tags/RELEASE_32/final)
gcc version: 4.2.1
clang version: 3.2 (tags/RELEASE_32/final)
OpenSSL library version: 1000105f
NSS library version: 3.14.3.0
NSPR library version: 4.9.5
Kerberos version 5 support enabled

Frank
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.