Date: Mon, 26 Mar 2012 07:49:35 +0200 From: magnum <john.magnum@...hmail.com> To: john-dev@...ts.openwall.com Subject: Re: [JtR patch] Fast cracker for Mozilla Firefox, Thunderbird and SeaMonkey master passwords. On 03/26/2012 05:01 AM, Dhiru Kholia wrote: > On Mon, Mar 26, 2012 at 8:16 AM, Dhiru Kholia <dhiru.kholia@...il.com> wrote: >> On Mon, Mar 26, 2012 at 3:47 AM, magnum <john.magnum@...hmail.com> wrote: >>> I tried profiling without OMP (this will likely show the reason for poor >>> scaling), but it segfaults. Did you try non-OMP after adding OMP >>> support? I won't look further unless you say it's works fine for you. >> >> Strange, where does it segfault? It is working (both OMP and non-OMP) for me. > > I can re-produce the segfault now using -O2 flag. It disappears under > -ggdb flag. > > Program terminated with signal 11, Segmentation fault. > #0 0x00007fe99e5f5e25 in _IO_seekoff_unlocked (fp=0x1ed9b62, > offset=8118, dir=<optimized out>, mode=<optimized out>) at > ioseekoff.c:71 > 71 ioseekoff.c: No such file or directory. > in ioseekoff.c > (gdb) bt > #0 0x00007fe99e5f5e25 in _IO_seekoff_unlocked (fp=0x1ed9b62, > offset=8118, dir=<optimized out>, mode=<optimized out>) at > ioseekoff.c:71 > #1 0x00007fe99e5f76ab in __GI_fseek (fp=0x1ed9b62, offset=<optimized > out>, whence=<optimized out>) at fseek.c:41 > #2 0x0000000000463080 in CrackKeyData () > #3 0x0000000000462c73 in set_salt () > > Looking into it. Sorry, I should have included the backtrace. I had a segfault with -g but with -O2 and other stuff intact: $ rm -f callgrind.out.* && valgrind --tool=callgrind ../run/john test.in -wo:../run/password.lst -max=10 ==23207== Callgrind, a call-graph generating cache profiler ==23207== Copyright (C) 2002-2010, and GNU GPL'd, by Josef Weidendorfer et al. ==23207== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info ==23207== Command: ../run/john test.in -wo:../run/password.lst -max=10 ==23207== ==23207== For interactive control, run 'callgrind_control -h'. Loaded 1 password hash (Mozilla [32/64]) ==23207== ==23207== Process terminating with default action of signal 11 (SIGSEGV) ==23207== General Protection Fault ==23207== at 0x60C12B0: fseek (fseek.c:40) ==23207== by 0x4630BF: CrackKeyData (KeyDBCracker.c:144) ==23207== by 0x462CB2: set_salt (mozilla_fmt.c:97) ==23207== by 0x49F3A9: crk_init_salt (cracker.c:51) ==23207== by 0x49F52C: crk_init (cracker.c:73) ==23207== by 0x4B3F38: do_wordlist_crack (wordlist.c:580) ==23207== by 0x4A4F0E: john_run (john.c:598) ==23207== by 0x4A5358: main (john.c:768) ==23207== ==23207== Events : Ir ==23207== Collected : 35879608 ==23207== ==23207== I refs: 35,879,608 Segmentation fault Seems to be more or less the same place. magnum
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.