Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 21 Sep 2011 20:19:11 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: Crash bug on win32-cygwin-x86-any builds

On Wed, Sep 21, 2011 at 11:04:27AM -0500, jfoug wrote:
> There is a john.exe.stackdump, but there is nothing in there, other than
> text like the line above (probably corrupted stack).
[...]
> When I run the 'broken' version under gdb (I know nothing about gdb, so this
> will be a trial and error thing), it simply bails out, listing:
> 
>  
> 
> Program received signal SIGSEGV, Segmentation fault.
> 
> 0x0045bb27 in ?? ()

For debugging, you need to remove -fomit-frame-pointer from CFLAGS and
-s from LDFLAGS.

Also, I think -fomit-frame-pointer is now the default on gcc 4.6.x on
32-bit x86, so you may actually need to pass -fno-omit-frame-pointer if
you use very recent gcc.

Alexander

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.