Quoting Larry Nieves <[email protected]> from ml.softs.gtk-gnutella.devel:
:This happened twice today. The last time I made a core dump, the
:backtrace is as follows:
:
:(gdb) bt
:#0 0xb7f15430 in __kernel_vsyscall ()
:#1 0xb73eb6d0 in raise () from /lib/tls/i686/cmov/libc.so.6
:#2 0x0823d104 in crash_handler (signo=11) at crash.c:177
:#3 <signal handler called>
:#4 parse_ipv6_addr (s=0x838cca1 "itzi.com", dst=0xbfeb3ab8 "", endptr=0x0) at
:parse.c:218
:#5 0x0824cae3 in string_to_host_addr (s=0x838cca0 "bitzi.com", endptr=0x0,
:addr_ptr=0xbfeb3bb4) at host_addr.c:566
That crash is IMPOSSIBLE unless there is a compiler bug.
If you look at lib/parse.c, you see:
217 if (endptr)
218 *endptr = s;
And from the stack frame above, we see that endptr is NULL, hence line #218
should not be executed.
To validate this, can you confirm you're not compiling with -O0? Try to
recompile with -O0 and check again. If that crashes then, it will rule out
my hypothesis.
Which version of the compiler are you using, and which OS is that?
Thanks,
Raphael
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gtk-gnutella-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel