On 27 Aug 2001 11:11:28 +0200, Frederic Crozat wrote:
> Dans l'article <[EMAIL PROTECTED]>, "Stephen
> Magill" <[EMAIL PROTECTED]> a �crit :
>
> > The "pan" newsreader segfaults immediately upon launch...
>
> No problem here : what give you an strace ?
This is my first time debugging a gnome app, so I'm not quite sure what
to do, but running in gdb and doing a backtrace after the segfault gives
me:
#0 0x407e04bf in lookup_backend () from /lib/libnss_wins.so.2
#1 0xbfffec28 in ?? ()
#2 0x40649122 in gethostbyname () from /lib/libc.so.6
#3 0x0809ca46 in get_fqdn ()
#4 0x0809d16b in get_default_author_address ()
#5 0x080a07ef in druid_email_page ()
#6 0x080a1a54 in dialog_newuser ()
#7 0x0807d9dc in main ()
#8 0x40565640 in __libc_start_main () from /lib/libc.so.6
If I run it outside of gdb I get that gnome error dialog (and no core
file). What is the normal way to get an strace? Also, is there a way
to have configure scripts set up a debug build? I'd like to be able to
trace through it in gdb. I checked the "configure --help" info, but
didn't see anything.
Thanks for your help.
--Stephen