Thomas Schuerger wrote:
Hi,

I just updated to the current GtkG using CVS and compiled it. GtkG
starts fine but crashes after a couple of seconds:

....
04/01/09 22:59:51 (WARNING): file_info_retrieve_binary(): could not find trailer in 
/data3/download/incomplete/Matrix_Reloaded_Original_(Divx_2003_Full_DVD_America).avi.BAD
04/01/09 22:59:51 (WARNING): file_info_retrieve_binary(): could not find trailer in 
/data3/download/incomplete/known.met
04/01/09 22:59:51 (WARNING): file_info_retrieve_binary(): could not find trailer in 
/data3/download/incomplete/share.dat
04/01/09 22:59:51 (WARNING): [downloads] failed to retrieve from 
"/home/schuerge/.gtk-gnutella/downloads": No such file or directory
04/01/09 22:59:51 (WARNING): [downloads] unable to retrieve: no alternate locations 
known
04/01/09 22:59:52 (WARNING): got 50+ lines from "GET 
http://mitglied.lycos.de/rosebud123/network.php?urlfile=1&client=GTKG&version=0.93.2";, 
stopping
04/01/09 22:59:53 (WARNING): got 50+ lines from "GET 
http://mitglied.lycos.de/rosebud123/network.php?hostfile=1&client=GTKG&version=0.93.2";, 
stopping

Program received signal SIGSEGV, Segmentation fault.
0x8768325 in ?? ()
(gdb) bt
#0  0x8768325 in ?? ()
#1  0x35594248 in ?? ()
Error accessing memory address 0x43435952: Bad address.

It seems as if the stackframe is broken. How can I trace to exactly where
this happens in the code? I'm not very familiar with gdb.

Did you compile with debugging info? If not, recompile gtkg with the following flags


-O0 -g3

-O0 turns off optimizations.
-g3 enables lots of debugging info.

trigger the crash again and gdb should give more useful information.

Cheers,
Russ



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to