On 22-Jun-07, at 3:50 PM, Christian Biere wrote: > Christian Biere wrote: >> Matthew Lye wrote: >>> Hello all. I've just finished recompiling all of gtk-gnutella's >>> supporting libraries after a complete re-install of my system. I am >>> attempting to compile revision 13925 with gtk1 and fast routines. I >>> have hit a fatal exception problem in vmm.c. > >> Could you comment out the line in misc.c and see whether this fixes >> the crash?
this just moved the error to the next line, 2135, which is quite similar to 2134: "sys[i++] = g_str_hash(g_get_real_name());" > Could you also try to comment out the line with "putenv(variable);" in > src/lib/halloc.c? ** ERROR **: allocation of 4294967295 bytes failed aborting... Program received signal SIGABRT, Aborted. 0x900481ac in kill () (gdb) bt #0 0x900481ac in kill () #1 0x9012d7b4 in abort () #2 0x004ca338 in g_logv () #3 0x004ca370 in g_log () #4 0x001e79a0 in g_malloc (size=2) at glib-missing.c:125 #5 0x004ddce8 in g_get_any_init () #6 0x004de294 in g_get_real_name () #7 0x001d1d2c in random_init () at misc.c:2135 #8 0x000031b4 in main (argc=5120744, argv=0xbffff66c) at main.c:1208 ---- > Have you compiled this with -O0 -g3? Apparently g_get_any_init() tries > to allocate (size_t)-1 bytes which might be caused by an integer > overflow or underflow. However, maybe that's just bogus trace data > caused by optimization. I'll check what those GLib functions do > though. The above result suggests to me - getting in late from a social event - that it's not bogus trace data, and it really is trying to allocate that many bytes. My optimizations have proven really stable in the past, but I'll give it a whirl with '-O0 -ggdb3' tomorrow, in case the above is inconclusive, and I'm not actually seeing what I think I'm seeing. Don't forget the possibility of a signed/unsigned problem in a dependency, if such exists; I know that that would just pass compile as a warning, and I haven't tested these libraries at runtime before. - matt ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gtk-gnutella-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
