Hey'
On Sat, 21 Jun 2003 00:34:57 -0700 Murphy wrote:
> I guess this is also bug [ 756690 ] assertion failed: (d->status ==
> GTA_DL_VERIFYING)
On the first restart after this assertion failure the same file's SHA1 was
checked and on completion of the check gtkg segfaulted.
~/src/test> ./run
./run: line 11: 17851 Segmentation fault (core dumped) gtk-gnutella
>gtk-gnutella.log 2>&1
Backtrace:
============
(gdb) bt full
#0 0x0814ab81 in d_start (h=0x83e3798, ctx=0x8464430, item=0x878d360) at
#verify.c:104
vd = (struct verifyd *) 0x8464430
d = (struct download *) 0x878d360
filename = "[EMAIL PROTECTED]", '\0' <repeats 11
times>,
"[EMAIL PROTECTED]@,[EMAIL PROTECTED]@,[EMAIL PROTECTED])7\b\001",
'\0' <repeats 11 times>, "R\0\0\0\001", '\0' <repeats 11 times>,
"[EMAIL PROTECTED]
[EMAIL PROTECTED]@,[EMAIL PROTECTED]'\236:@\2
14���\222!\026\b\fE", '\0' <repeats 11 times>, "\221\031\b�\017\0\0"...
#1 0x0814a72c in bg_sched_timer () at bg.c:982
item = 0x878d360
bt = (struct bgtask *) 0x83e3798
remain = 119834
target = 40000
ticks = 1
ret = BGR_MORE
#2 0x0811f7a2 in main_timer (p=0x0) at main.c:280
now = 1056187607
#3 0x4018e17a in g_timeout_dispatch () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#4 0x4018d258 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#5 0x4018d863 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#6 0x4018d9fc in g_main_run () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#7 0x400af707 in gtk_main () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#8 0x080d7cf2 in main_gui_run () at main_gui.c:650
coord = {0, 0, 1276, 989}
#9 0x0811fc3b in main (argc=1, argv=0xbffff924, env=0xbffff92c) at
#main.c:463
i = 256
#10 0x4035a17d in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
(gdb) frame 0
#0 0x0814ab81 in d_start (h=0x83e3798, ctx=0x8464430, item=0x878d360) at
#verify.c:104
104 gm_snprintf(filename, sizeof(filename),
(gdb) p *d
$2 = {src_handle = 142136960, error_str = "Nothing more to get", '\0'
<repeats 236 times>, status = GTA_DL_REMOVED,
io_opaque = 0x0, bio = 0x0, server = 0x0, list_idx = 4294967295,
file_info = 0x0, record_index = 4294967295, file_name = 0x0,
file_size = 2675861, size = 2675861, skip = 0, pos = 0, range_end = 0,
socket = 0x0, file_desc = -1, overlap_size = 0,
start_date = 0, last_update = 1056187540, last_gui_update = 1056187606,
record_stamp = 1, retries = 0, timeout_delay = 0,
remove_msg = 0x878d364 "Nothing more to get", sha1 = 0x0, last_dmesh =
0, ranges = 0x0, ranges_size = 0, sinkleft = 0,
flags = 0, keep_alive = 0, visible = 0, push = 0, always_push = 0,
queue_status = 0x0}
(gdb) p *vd
$3 = {magic = 930296, d = 0x0, fd = -1, start = 1056187541, size =
2675861, hashed = 2675861, context = {Intermediate_Hash = {
354409325, 1617777159, 1987406950, 3999228815, 909923599},
Length_Low = 0, Length_High = 0, Message_Block_Index = 0,
Message_Block = '\0' <repeats 63 times>, Computed = 1, Corrupted = 0},
buffer = 0x8465428 "\207�\234�\230�A'", error = 0}
(gdb) frame 1
#1 0x0814a72c in bg_sched_timer () at bg.c:982
982 (*bt->start_cb)(bt, bt->ucontext, item);
(gdb) p *bt
$4 = {magic = -1160998115, flags = 2147483652, name = 0x818c6e7 "SHA1
verification", step = 0, seqno = 0, stepvec = 0x83e4530,
stepcnt = 1, ucontext = 0x8464430, ctime = 0, wtime = 979, uctx_free =
0x814aa20 <d_free>, done_cb = 0, done_arg = 0x0,
exitcode = 0, signal = BG_SIG_ZERO, signals = 0x0, env = {{__jmpbuf =
{135464684, 142032328, 142095104, -1073744132,
-1073744204, 135570881}, __mask_was_saved = 0, __saved_mask =
{__val = {0 <repeats 32 times>}}}}, start = {
tv_sec = 1056187607, tv_usec = 538875}, ticks = 1, ticks_used = 1,
prev_ticks = 14, elapsed = 13303, tick_cost = 0, sigh = {
0, 0, 0, 0}, wq = 0x8798de0, start_cb = 0x814aad4 <d_start>, end_cb =
0x814ac9c <d_end>, item_free = 0,
notify = 0x814aaa4 <d_notify>}
--
Murphy
-------------------------------------------------------
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