I have seen current SVN gtk-gnutella crashing abour weekly with UDP processing problems. This time I finally got a readable backtrace and crash location (by the way, I had to comment out the crash handler to get sensible core dumps):
Program terminated with signal 11, Segmentation fault. #0 dht_find_bucket (id=0xbff39f9c) at routing.c:1206 1206 result = (val & mask) ? kb->one : kb->zero; (gdb) bt #0 dht_find_bucket (id=0xbff39f9c) at routing.c:1206 #1 0x08161360 in dht_fill_random (hvec=0xbff3a266, hcnt=10) at routing.c:2691 #2 0x080f7a77 in send_pong (n=0xb7166000, control=0, flags=<value optimized out>, hops=0 '\0', ttl=1 '\001', muid=0xb7166124, info=0xbff3a4e8, meta=0x834b5c0) at pcache.c:438 #3 0x080f889c in send_personal_info (n=0xb7166000, control=0, flags=<value optimized out>) at pcache.c:703 #4 0x080f92ae in pcache_ping_received (n=0xb7166000) at pcache.c:1928 #5 0x080de8f5 in node_parse (node=0xb7166000) at nodes.c:6790 #6 0x080df739 in node_udp_process (s=0xb7240120) at nodes.c:7155 #7 0x081374e7 in udp_received (s=0xb7240120, truncated=0) at udp.c:265 #8 0x08127c07 in socket_udp_event (data=0xb7240120, unused_source=9, cond=<value optimized out>) at sockets.c:2394 #9 0x08223b76 in dispatch_poll (unused_source=0x83a2f18, unused_cond=G_IO_IN, udata=0x8386a20) at inputevt.c:714 #10 0xb7904c7f in g_io_unix_dispatch (source=0x83a2f70, callback=0x8223a00 <dispatch_poll>, user_data=0x8386a20) at giounix.c:162 #11 0xb78db731 in IA__g_main_context_dispatch (context=0x83a3200) at gmain.c:2045 #12 0xb78de7a6 in g_main_context_iterate (context=0x83a3200, block=1, dispatch=1, self=0x83a5e98) at gmain.c:2677 #13 0xb78deb67 in IA__g_main_loop_run (loop=0x8521f98) at gmain.c:2881 #14 0xb7d73281 in IA__gtk_main () at gtkmain.c:1003 #15 0x081758bf in main_gui_run (geometry_spec=0x0) at main.c:693 #16 0x0805639d in main (argc=1, argv=0xbff3aba4) at main.c:1440 (gdb) p kb $1 = (struct kbucket *) 0x0 So kb seems to be NULL... Hope it helps someone knowledgable about the code - I have no time to debug it currently, I'm on a big event. -- Meelis Roos ([EMAIL PROTECTED]) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gtk-gnutella-devel mailing list gtk-gnutella-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel