help debugging segfault with alienarena 7.32

Tom "spot" Callaway tcallawa at redhat.com
Tue Nov 3 17:30:50 UTC 2009


On 11/03/2009 12:16 PM, David Malcolm wrote:
> On Tue, 2009-11-03 at 11:45 -0500, Tom "spot" Callaway wrote:
>> I need to rebuild alienarena for all targets due to a security issue, so
>> I decided to update to 7.32, but unfortunately, the 7.32 build segfaults
>> immediately on Fedora 12 (x86_64), and gdb isn't much help (gdb output
>> is at the bottom).
> 
> FWIW, it looks like the backtrace is within the C++ start-up code that
> runs all non-empty constructors for global C++ variables, which gets
> called before "main" starts for a C++ program.
> 
> Does
>   (gdb) break call_init
> before
>   (gdb) run
> give you a working breakpoint?

It does, but it doesn't seem to be terribly useful in debugging, as it
keeps hitting that breakpoint over and over and over. I admit to being
reasonably clueless with gdb.

~spot




More information about the fedora-devel-list mailing list