On Saturday 30 May 2009, Raphael Manfredi wrote:
> Can you retry with r16823 to see whether it still crashes for the
> same reason?
r16823 still crashes at startup, but later than before. I can now see
the main window for about two seconds. Now the reason is a segfault.
The problem is: When I then recompile and run in debug mode (with debug
symbols, without compiler optimization etc), the behavior is different.
It then crashes immediately with another segfault. Without the debugging
stuff, I get about one screen full of log output before the crash
(including VMM debug messages). In debug mode, the segfault happens
immediately after 4 lines of output.
So the following stack trace refers to the behavior in debug mode. Only
when this issue is resolved, I can produce a trace for the other crash:
(gdb) bt
#0 0x00007f7a3b6ae065 in raise () from /lib/libc.so.6
#1 0x00000000005dd71c in crash_handler (signo=11) at crash.c:176
#2 <signal handler called>
#3 0x00007f7a3b6f5cc0 in strlen () from /lib/libc.so.6
#4 0x00007f7a3b6c29ae in vfprintf () from /lib/libc.so.6
#5 0x00007f7a3b6e375a in vsnprintf () from /lib/libc.so.6
#6 0x00000000005f8399 in h_strdup_vprintf (format=0x6c48f8 "%s.%s",
ap=0x7fff46cc8a70) at misc.c:407
#7 0x00000000005f847b in h_strdup_printf (format=0x6c48f8 "%s.%s") at
misc.c:424
#8 0x00000000005e376a in file_config_close (out=0x1385800,
fv=0x7f7a3602d0a0) at file.c:284
#9 0x0000000000493bc7 in ipp_cache_store (ic=0x7f7a3602d0a0) at
ipp_cache.c:228
#10 0x0000000000493c08 in ipp_cache_store_periodically
(ic=0x7f7a3602d0a0, now=1243686200) at ipp_cache.c:242
#11 0x0000000000493ee6 in ipp_cache_insert (cid=IPP_CACHE_LOCAL_ADDR,
addr={net = 4, addr = {ipv6 = "D�'�\b��FD�'�\001\000\000", ipv4 =
3576154692}}, port=6300) at ipp_cache.c:341
#12 0x00000000004e1c15 in local_addr_cache_insert (addr={net = 4, addr =
{ipv6 = "D�'�\b��FD�'�\001\000\000", ipv4 = 3576154692}}, port=6300) at
ipp_cache.h:121
#13 0x00000000004e1b7c in remember_local_addr_port () at settings.c:134
#14 0x00000000004e4b0d in listen_port_changed (prop=23) at
settings.c:1467
#15 0x0000000000608661 in prop_add_prop_changed_listener_full
(ps=0x13710a0, prop=23, l=0x4e494f <listen_port_changed>, init=1,
freq=FREQ_SECS, interval=0) at prop.c:528
#16 0x00000000006085df in prop_add_prop_changed_listener (ps=0x13710a0,
prop=23, l=0x4e494f <listen_port_changed>, init=1) at prop.c:509
#17 0x000000000042d0e0 in gnet_prop_add_prop_changed_listener (prop=23,
l=0x4e494f <listen_port_changed>, init=1) at gnet_property.c:7606
#18 0x00000000004e5c6b in settings_callbacks_init () at settings.c:2390
#19 0x00000000004e2e29 in settings_init () at settings.c:628
#20 0x0000000000414adb in main (argc=1, argv=0x7fff46ccaf88) at
main.c:1436
bye,
Hauke
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
gtk-gnutella-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel