Hi, I'm trying to run the latest GTKG from CVS and I'm seeing a segfault:
(gdb) bt #0 0x0816a1e8 in zn_cram (zone=0x8387578, arena=0x8387168 <Address 0x8387168 out of bounds>, size=1040) at zalloc.c:511 #1 0x0816a048 in zn_create (zone=0x837c298, size=1040, hint=64) at zalloc.c:387 #2 0x08169f2c in zcreate (size=1040, hint=64) at zalloc.c:310 #3 0x0816a1a1 in zget (size=1040, hint=64) at zalloc.c:481 #4 0x08162446 in pattern_init () at pattern.c:53 #5 0x0806efa0 in main (argc=1, argv=0xbffff6a4, env=0xbffff6ac) at main.c:556 (gdb) frame 0 #0 0x0816a1e8 in zn_cram (zone=0x8387578, arena=0x8387168 <Address 0x8387168 out of bounds>, size=1040) at zalloc.c:511 511 *(gchar **) arena = (next < end) ? next : (gchar *) 0; (gdb) info locals end = (gchar *) 0x838c6b8 <Address 0x838c6b8 out of bounds> next = (gchar *) 0x8387578 <Address 0x8387578 out of bounds> But my main question would be, what is zalloc for? If memory fragmentation is a problem with lots of small allocations isn't this the point of using glib's GAllocator's? -- Alex, homepage: http://www.bennee.com/~alex/ Q: Why did the chicken cross the road? A: He was giving it last rites. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Gtk-gnutella-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel