Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4811FD5C.8050006@foofus.net>
Date: Fri, 25 Apr 2008 10:48:44 -0500
From: Bismark <bismark@...fus.net>
To: john-users@...ts.openwall.com
Subject: seg fault in loader.c

I've built john 1.7.2 /w patches from JoMo-Kun on two different amd64 
boxes.  Both are running Ubuntu 8.04, one is a core 2 duo, the second is 
a dual quad core (grin!!).  I used the make target of linux-x86-64.

Unfortunately when I try to run the following, I get a segmentation fault.

john -format:netlm -config:/tmp/john.conf.9143 -external:HalfLM 
-incremental:LM -session:/tmp/john.session.9143 /tmp/john.passwd.9143

I have built a debug version and loaded it up into gdb and here is the 
backtrace output.

(gdb) backtrace
#0  0x00007fca3ecf8d9d in ?? () from /lib/libc.so.6
#1  0x00007fca3ecfcc1c in free () from /lib/libc.so.6
#2  0x00007fca3ece7dac in fclose () from /lib/libc.so.6
#3  0x000000000042b8de in read_file (db=0x6651c0, name=0x694488 
"/tmp/john.passwd.9143",
     flags=2, process_line=0x42c800 <ldr_load_pw_line>) at loader.c:66
#4  0x000000000042b0b3 in main (argc=7, argv=<value optimized out>) at 
john.c:221

I have stepped through the code manually and it looks like everything is 
valid (file pointer still exists, hasn't been clobbered, etc.) but I'm 
rather rusty on the debugging skills.

Any help would be much appreciated.




Download attachment "signature.asc" of type "application/pgp-signature" (253 bytes)

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.