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.
[...]
> > #3  0x001fd7a4 in alloc_pages (size=<value optimized out>) at vmm.c: 
> > 399
> > #4  0x001e9614 in halloc (size=4294967295) at halloc.c:185
> > #5  0x001e7aec in g_malloc (size=4294967295) at glib-missing.c:62
> > #6  0x004dfce8 in g_get_any_init ()
> > #7  0x004e03b4 in g_get_user_name ()
> > #8  0x001d1e70 in random_init () at misc.c:2134
> > #9  0x000032f4 in main (argc=1, 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.

Could you comment out the line in misc.c and see whether this fixes
the crash?

-- 
Christian

-------------------------------------------------------------------------
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

Reply via email to