I'm having a problem getting gtk-gnutella 0.92 to work... 0.90 worked
fine, but the latest version segfaults on me as soon as the GUI
appears.

I spoke briefly with Cyclonus on #gtk-gnutella and he suggested I post
a backtrace from gdb to this list to see if anyone has any ideas. I
also grabbed the latest from CVS to see if that worked any better (it
didn't). Also, at Cyclonus' suggestion, I recompiled glib for myself
instead of using the stock version that came with my distribution
(version 1.2.10 in both cases, it appears to be the latest glib-1).

Anyway, the backtrace, along with the outptu of gtk-gnutella as it
starts up:

Starting program: 
/usr/local/src/gtk-gnutella-0.92/gtk-gnutella-current/src/./gtk-gnutella 

** WARNING **: locale_init: Using default codeset ISO-8859-1 as fallback.
03/07/20 21:07:53 (WARNING): Detected amount of physical RAM: 175928 KB
03/07/20 21:07:53 (WARNING): [hosts] failed to retrieve from 
"/home/conrad/.gtk-gnutella/hosts": No such file or directory
03/07/20 21:07:53 (WARNING): [hosts] unable to retrieve: no alternate locations known
03/07/20 21:07:53 (WARNING): [hosts] failed to retrieve from 
"/home/conrad/.gtk-gnutella/ultras": No such file or directory
03/07/20 21:07:53 (WARNING): [hosts] unable to retrieve: no alternate locations known
03/07/20 21:07:53 (WARNING): [web cache URLs] failed to retrieve from 
"/home/conrad/.gtk-gnutella/gwcache": No such file or directory
03/07/20 21:07:53 (WARNING): [web cache URLs] trying to load from alternate 
locations...
03/07/20 21:07:53 (WARNING): [web cache URLs] retrieving from 
"/usr/local/share/gtk-gnutella/gwcache.boot" instead
search_init
03/07/20 21:07:53 (WARNING): Unable to open SHA1 persistent cache 
/home/conrad/.gtk-gnutella/sha1_cache: No such file or directory
03/07/20 21:07:53 (WARNING): [download mesh] failed to retrieve from 
"/home/conrad/.gtk-gnutella/dmesh": No such file or directory
03/07/20 21:07:53 (WARNING): [download mesh] unable to retrieve: no alternate 
locations known
03/07/20 21:07:53 (WARNING): [banned mesh] failed to retrieve from 
"/home/conrad/.gtk-gnutella/dmesh_ban": No such file or directory
03/07/20 21:07:53 (WARNING): [banned mesh] unable to retrieve: no alternate locations 
known
03/07/20 21:07:53 (WARNING): [whitelist] failed to retrieve from 
"/home/conrad/.gtk-gnutella/whitelist": No such file or directory
03/07/20 21:07:53 (WARNING): [whitelist] unable to retrieve: no alternate locations 
known
03/07/20 21:07:53 (WARNING): [hostile IP addresses] failed to retrieve from 
"/home/conrad/.gtk-gnutella/hostiles.txt": No such file or directory
03/07/20 21:07:53 (WARNING): [hostile IP addresses] trying to load from alternate 
locations...
03/07/20 21:07:53 (WARNING): [hostile IP addresses] retrieving from 
"/usr/local/share/gtk-gnutella/hostiles.txt" instead
03/07/20 21:07:53 (WARNING): [PARQ upload queue data] failed to retrieve from 
"/home/conrad/.gtk-gnutella/parq": No such file or directory
03/07/20 21:07:53 (WARNING): [PARQ upload queue data] unable to retrieve: no alternate 
locations known
03/07/20 21:07:53 (WARNING): [old searches (gtkg pre v0.90)] failed to retrieve from 
"/home/conrad/.gtk-gnutella/searches": No such file or directory
03/07/20 21:07:53 (WARNING): [old searches (gtkg pre v0.90)] unable to retrieve: no 
alternate locations known
03/07/20 21:07:53 (WARNING): file_info_retrieve_binary(): could not find trailer in 
/home/conrad/.less
03/07/20 21:07:53 (WARNING): file_info_retrieve_binary(): could not find trailer in 
/home/conrad/.lessrc

[...the same error message is displayed for every file in my home
directory, ending with...]

03/07/20 21:07:53 (WARNING): file_info_retrieve_binary(): could not find trailer in 
/home/conrad/Mandrake91-cd1-inst.i586.iso
03/07/20 21:07:53 (WARNING): adns_reply_callback: read() failed: Connection reset by 
peer
03/07/20 21:07:53 (WARNING): adns_reply_callback: removed myself

Program received signal SIGPIPE, Broken pipe.
0x40350f54 in __libc_write () from /lib/libc.so.6
(gdb) bt
#0  0x40350f54 in __libc_write () from /lib/libc.so.6
#1  0x81531a4 in adns_query_callback (data=0x81bbc00, dest=4, condition=3)
    at adns.c:377
#2  0x814ad2e in inputevt_dispatch (source=0x83e22b8, condition=12, 
    data=0x83635c0) at inputevt.c:88
#3  0x4018d4f2 in g_io_unix_dispatch (source_data=0x83e2940, 
    current_time=0xbffff780, user_data=0x83635c0) at giounix.c:135
#4  0x4018f47c in g_main_dispatch (dispatch_time=0xbffff780) at gmain.c:656
#5  0x4018fcb3 in g_main_iterate (block=1, dispatch=1) at gmain.c:877
#6  0x4018feac in g_main_run (loop=0x84a9958) at gmain.c:935
#7  0x400ae7e7 in gtk_main () at eval.c:88
#8  0x80d3e4a in main_gui_run () at main_gui.c:605
#9  0x811c340 in main (argc=1, argv=0xbffff8a4, env=0xbffff8ac) at main.c:469
#10 0x402af2eb in __libc_start_main (main=0x811c120 <main>, argc=1, 
    ubp_av=0xbffff8a4, init=0x80639fc <_init>, fini=0x815e72c <_fini>, 
    rtld_fini=0x4000c130 <_dl_fini>, stack_end=0xbffff89c)
    at ../sysdeps/generic/libc-start.c:129

>From the Changlog, this CVS version is from 2003.07.19. 

So if anyone has any suggestions or ideas, please let me know. I'm not
averse to tinkering with the code, but I'm at a loss here where to
even begin...

Thanks&B*B,
-Smoke.


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to