Christian Biere <[EMAIL PROTECTED]> wrote:

"clayton rollins" <[EMAIL PROTECTED]> wrote:


> gtk-gnutella in free(): warning: chunk is already free
> gtk-gnutella in free(): warning: chunk is already free
> gtk-gnutella in free(): warning: chunk is already free
> gtk-gnutella in free(): warning: junk pointer, too high to make sense
> Segmentation fault (core dumped)

If you can reproduce that, could you try to run gtk-gnutella with
MALLOC_OPTIONS="A"? See malloc(3) for details. This should show
which call to free() produces the warnings above.

Done. I'm not really sure what you want from it, though. It now does:

gtk-gnutella in free(): error: chunk is already free
Abort (core dumped)

(just a single time.)

The bt from uploads_gui_update_display() to the kill is:
#0 0x28a11c84 in kill () from /usr/lib/libc.so.4
No symbol table info available.
#1 0x28a53212 in abort () from /usr/lib/libc.so.4
No symbol table info available.
#2 0x28a51cfd in isatty () from /usr/lib/libc.so.4
No symbol table info available.
#3 0x28a51d33 in isatty () from /usr/lib/libc.so.4
No symbol table info available.
#4 0x28a52c2a in isatty () from /usr/lib/libc.so.4
No symbol table info available.
#5 0x28a52e91 in free () from /usr/lib/libc.so.4
No symbol table info available.
#6 0x2876b9e9 in g_free (mem=0x8948da0) at gmem.c:186
No locals.
#7 0x80c1cdf in uploads_gui_update_display (now=1056344143) at uploads_gui2.c:441
data = (upload_row_data_t *) 0x8948da0
last_update = 1056344143
model = (GtkTreeModel *) 0x878db80
iter = {stamp = -1025953160, user_data = 0x8ad1de8, user_data2 = 0x0,
user_data3 = 0x0}
status = {status = GTA_UL_QUEUED, pos = 0, bps = 1, avg_bps = 1,
last_update = 1056344442, parq_position = 8, parq_size = 54, parq_lifetime = 343,
parq_retry = 253, parq_queue_no = 4}
all_removed = 0
valid = 0
to_remove = (GSList *) 0x88af588


(I'll recompile libc with debugging, if you think it's necessary.)

Clayton

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail




-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to