Hey'

This crash came after about 10-15min uptime:

~/src/gtk-gnutella-current> gtk-gnutella >/tmp/gtk-gnutella.log 2>&1
Aborted (core dumped)

gtk-gnutella.log excerpt:

>>>>>
PARQ UL: Queue 1/4 contains 0 items, 0 uploading, queue is marked active 
PARQ UL: Queue 2/4 contains 0 items, 0 uploading, queue is marked active 
PARQ UL: Queue 3/4 contains 0 items, 0 uploading, queue is marked active 
PARQ UL: Queue 4/4 contains 2 items, 2 uploading, queue is marked active 
<<<<<
>>>>>
PARQ UL: Queue 1/4 conta03/03/08 09:07:23 (WARNING): cannot parse Uptime
"08 18 04" from 193.252.212.193:2002 (LimeWire 2.7.3)

** ERROR **: file parq.c: line 504 (parq_upload_free): assertion failed:
(parq_ul->queue->by_Position != NULL)
aborting...
ins 0 items, 0 uploading, queue is marked active 
PARQ UL: Queue 2/4 contains 0 items, 0 uploading, queue is marked active 
PARQ UL: Queue 3/4 contains 0 items, 0 uploading, queue is marked active 
PARQ UL: Queue 4/4 contains 2 items, 2 uploading, queue is marked active 
<<<<<
>>>>>
PARQ UL: Queue 1/4 contains 0 items, 0 uploading, queue is marked active 
PARQ UL: Queue 2/4 contains 0 items, 0 uploading, queue is marked active 
PARQ UL: Queue 3/4 contains 0 items, 0 uploading, queue is marked active 
PARQ UL: Queue 4/4 contains 2 items, 2 uploading, queue is marked active 
<<<<<
**** Status: 7, keep alive: 1 'Fugazi - Argument.mp3'
PARQ UL Q 4/4: Upload finished or removed from uploads
>>>>>
PARQ UL: Queue 1/4 contains 0 items, 0 uploading, queue is marked active 
PARQ UL: Queue 2/4 contains 0 items, 0 uploading, queue is marked active 
PARQ UL: Queue 3/4 contains 0 items, 0 uploading, queue is marked active 
PARQ UL: Queue 4/4 contains 1 items, 1 uploading, queue is marked active 
<<<<<
**** Status: 7, keep alive: 1 'ACDC - Shoot to Thrill.mp3'
PARQ UL Q 4/4: Upload finished or removed from uploads
03/03/08 09:07:46 (WARNING): adns_do_transfer: EOF (read)

------------------
~/src/core2003.03.08.09.09.37> gdb ./gtk-gnutella core
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-slackware-linux"...
Core was generated by `gtk-gnutella'.
Program terminated with signal 6, Aborted.
Reading symbols from /opt/gnome/lib/libgtk-1.2.so.0...done.
Loaded symbols for /opt/gnome/lib/libgtk-1.2.so.0
Reading symbols from /opt/gnome/lib/libgdk-1.2.so.0...done.
Loaded symbols for /opt/gnome/lib/libgdk-1.2.so.0
Reading symbols from /opt/gnome/lib/libgmodule-1.2.so.0...done.
Loaded symbols for /opt/gnome/lib/libgmodule-1.2.so.0
Reading symbols from /opt/gnome/lib/libglib-1.2.so.0...done.
Loaded symbols for /opt/gnome/lib/libglib-1.2.so.0
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libxml2.so.2...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/common/xlcDef.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/common/xlcDef.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/common/ximcp.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/common/ximcp.so.2
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
#0  0x4036e9f1 in __kill () from /lib/libc.so.6

(gdb) bt
#0  0x4036e9f1 in __kill () from /lib/libc.so.6
#1  0x4036e6d4 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x4036fe31 in abort () at ../sysdeps/generic/abort.c:88
#3  0x40191a8e in g_logv () at eval.c:88
#4  0x40191b41 in g_log () at eval.c:88
#5  0x8106cd4 in parq_upload_free (parq_ul=0x83c07e8) at parq.c:504
#6  0x8107d3d in parq_upload_remove (u=0x83e8b98) at parq.c:1131
#7  0x80e216e in upload_remove_v (u=0x83e8b98, reason=0x812fe8c "Failed
#(EOF)", ap=0xbffff67c)
    at uploads.c:695
#8  0x80e21d8 in upload_remove (u=0x83e8b98, reason=0x812fe8c "Failed
#(EOF)") at uploads.c:718 9  0x80e233a in err_header_read_eof
#(obj=0x83e8b98) at uploads.c:808 10 0x80e75b4 in io_read_data
#(data=0x83d4220, source=33, cond=INPUT_EVENT_READ)
    at ioheader.c:339
#11 0x8105cdd in inputevt_dispatch (source=0x856fbc8, condition=G_IO_IN,
#data=0x84df4d0)
    at inputevt.c:88
#12 0x4018dc40 in g_io_add_watch () at eval.c:88
#13 0x4018f308 in g_get_current_time () at eval.c:88
#14 0x4018f913 in g_get_current_time () at eval.c:88
#15 0x4018faac in g_main_run () at eval.c:88
#16 0x400b27e7 in gtk_main () at eval.c:88
#17 0x80b4cea in main_gui_run () at main_gui.c:564
#18 0x80e533b in main (argc=1, argv=0xbffff904, env=0xbffff90c) at
#main.c:433 19 0x4035f2eb in __libc_start_main (main=0x80e51a0 <main>,
#argc=1, ubp_av=0xbffff904,
    init=0x8061880 <_init>, fini=0x810943c <_fini>, rtld_fini=0x4000c130
<_dl_fini>,
    stack_end=0xbffff8fc) at ../sysdeps/generic/libc-start.c:129

(gdb) frame 5
#5  0x8106cd4 in parq_upload_free (parq_ul=0x83c07e8) at parq.c:504
504             g_assert(parq_ul->queue->by_Position != NULL);
(gdb) p *parq_ul
$1 = {position = 0, ETA = 5416580, expire = 1047143523, enter =
1047143223,
  updated = 1047143223, ID = "NA", '\000' <repeats 37 times>,
  IP_and_name = 0x89dfe20 "-646764119 ACDC - Shoot to Thrill.mp3",
file_size = 5080380,
  queue = 0x88cf3a8}

(gdb) frame 6
#6  0x8107d3d in parq_upload_remove (u=0x83e8b98) at parq.c:1131
1131            parq_upload_free(parq_ul);
(gdb) p *u
$2 = {upload_handle = 1, status = 7, socket = 0x89e9070, error_sent = 400,
  io_opaque = 0x83d4220, file_desc = -1, bio = 0x0, buffer = 0x0, bpos =
0, bsize = 0,
  buf_size = 0, index = 2607, name = 0x8628a24 "ACDC - Shoot to
Thrill.mp3",
  file_size = 5080380, start_date = 1047143223, last_update = 1047143233,
ip = 3648203177,
  user_agent = 0x857b40c "BearShare 4.2.4", skip = 0, end = 0, pos =
1143081,
  last_dmesh = 1047143223, sha1 = 0x846018c
"\026f\234�H�\177\213\fKbE�*��&�]Down\t\004",
  total_requested = 127009, http_major = 1, http_minor = 1, keep_alive =
1, push = 0,
  accounted = 0, parq_status = 0}

(gdb) frame 7
#7  0x80e216e in upload_remove_v (u=0x83e8b98, reason=0x812fe8c "Failed
#(EOF)", ap=0xbffff67c)
    at uploads.c:695
695                     parq_upload_remove(u);
(gdb) p *u
$3 = {upload_handle = 1, status = 7, socket = 0x89e9070, error_sent = 400,
  io_opaque = 0x83d4220, file_desc = -1, bio = 0x0, buffer = 0x0, bpos =
0, bsize = 0,
  buf_size = 0, index = 2607, name = 0x8628a24 "ACDC - Shoot to
Thrill.mp3",
  file_size = 5080380, start_date = 1047143223, last_update = 1047143233,
ip = 3648203177,
  user_agent = 0x857b40c "BearShare 4.2.4", skip = 0, end = 0, pos =
1143081,
  last_dmesh = 1047143223, sha1 = 0x846018c
"\026f\234�H�\177\213\fKbE�*��&�]Down\t\004",
  total_requested = 127009, http_major = 1, http_minor = 1, keep_alive =
1, push = 0,
  accounted = 0, parq_status = 0}
(gdb) p *reason
$4 = 70 'F'
(gdb) p *ap
Attempt to dereference a generic pointer.

(gdb) frame 8
#8  0x80e21d8 in upload_remove (u=0x83e8b98, reason=0x812fe8c "Failed
#(EOF)") at uploads.c:718
718             upload_remove_v(u, reason, args);
(gdb) p *u
$5 = {upload_handle = 1, status = 7, socket = 0x89e9070, error_sent = 400,
  io_opaque = 0x83d4220, file_desc = -1, bio = 0x0, buffer = 0x0, bpos =
0, bsize = 0,
  buf_size = 0, index = 2607, name = 0x8628a24 "ACDC - Shoot to
Thrill.mp3",
  file_size = 5080380, start_date = 1047143223, last_update = 1047143233,
ip = 3648203177,
  user_agent = 0x857b40c "BearShare 4.2.4", skip = 0, end = 0, pos =
1143081,
  last_dmesh = 1047143223, sha1 = 0x846018c
"\026f\234�H�\177\213\fKbE�*��&�]Down\t\004",
  total_requested = 127009, http_major = 1, http_minor = 1, keep_alive =
1, push = 0,
  accounted = 0, parq_status = 0}
(gdb) p *reason
$6 = 70 'F'

(gdb) frame 9
#9  0x80e233a in err_header_read_eof (obj=0x83e8b98) at uploads.c:808
808             upload_remove(UPLOAD(obj), "Failed (EOF)");
(gdb) p *obj
Attempt to dereference a generic pointer.

(gdb) frame 10
#10 0x80e75b4 in io_read_data (data=0x83d4220, source=33,
#cond=INPUT_EVENT_READ)
    at ioheader.c:339
339                     (*ih->error->header_read_eof)(ih->resource);
(gdb) p *data
Attempt to dereference a generic pointer.

(gdb) frame 11
#11 0x8105cdd in inputevt_dispatch (source=0x856fbc8, condition=G_IO_IN,
#data=0x84df4d0)
    at inputevt.c:88
88                      relay->handler(relay->data,
g_io_channel_unix_get_fd(source), cond);
(gdb) p *source
$7 = {channel_flags = 0, ref_count = 1, funcs = 0x401a0db4}
(gdb) p *data
Attempt to dereference a generic pointer.

(gdb) frame 18
#18 0x80e533b in main (argc=1, argv=0xbffff904, env=0xbffff90c) at
#main.c:433
433         main_gui_run();
(gdb) p *argv
$8 = (gchar *) 0xbffffa43 "gtk-gnutella"
(gdb) p *env
$9 = (gchar *) 0xbffffa50 "PWD=/home/evo/src/gtk-gnutella-current"

(gdb) frame 19
#19 0x4035f2eb in __libc_start_main (main=0x80e51a0 <main>, argc=1,
#ubp_av=0xbffff904,
    init=0x8061880 <_init>, fini=0x810943c <_fini>, rtld_fini=0x4000c130
<_dl_fini>,
    stack_end=0xbffff8fc) at ../sysdeps/generic/libc-start.c:129
129     ../sysdeps/generic/libc-start.c: No such file or directory.
(gdb) p *main
$10 = {int ()} 0x80e51a0 <main>
(gdb) p *ubp_av
$11 = 0xbffffa43 "gtk-gnutella"
(gdb) p *init
$12 = {void ()} 0x8061880 <_init>
(gdb) p *fini
$13 = {void ()} 0x40015d64 <_dl_debug_mask>
(gdb) p *rtld_fini
Cannot access memory at address 0x6
(gdb) p *stack_end
Attempt to dereference a generic pointer.
(gdb) quit

---------------------------
Edited output from:
~/src/core2003.03.08.09.09.37> strings ./gtk-gnutella|grep '$Id' > version

@(#) $Id: parq.c,v 1.7 2003/03/01 09:03:52 rmanfredi Exp $
@(#) $Id: uploads.c,v 1.115 2003/03/07 02:46:15 cbiere Exp $
@(#) $Id: ioheader.c,v 1.7 2003/03/02 05:44:56 cbiere Exp $
@(#) $Id: inputevt.c,v 1.5 2003/02/23 00:12:06 rmanfredi Exp $
@(#) $Id: main_gui.c,v 1.34 2003/03/07 02:40:53 cbiere Exp $
@(#) $Id: main.c,v 1.137 2003/03/07 04:30:51 cbiere Exp $

If you like, you can download the core, executable, and log file at:

http://lawnarchy.swimmingnoodle.com/core2003.03.08.09.09.37.tar.gz

--
Murphy




-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to