On Mon, 2007-08-06 at 11:10 +0800, dashikugua@xxxxxxx wrote: > Hi all: > > I want to use SIGSEGV and backtrace to debug my programme. But I > do not know how to use them. I'm running GTK 2.6.4 and Glib 2.6.4 on a > Debian woody. > > Could you please guide me and tell where to find what I am looking > for? > > Any help will be most appreciated. Thanks a lot. > Are you wanting to use an external program, like GDB, to generate the backtraces, or are you asking about using the "backtrace()" function within YOUR program, plus a signal handler to trap the SIGSEGV signal, so that your program will generate the backtrace? If you want your program to generate the backtrace itself, with no external program, I can give you a sample of how to do that under Linux. _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list