I don't know which one is the culprit.

#0  0x08170b58 in sha1_eq (a=0x869093c, b=0x0) at atoms.c:305
305             return a == b || 0 == memcmp(a, b, 20);
(gdb) bt
#0  0x08170b58 in sha1_eq (a=0x869093c, b=0x0) at atoms.c:305
#1  0x080869bf in has_good_sha1 (d=0x869093c) at downloads.c:363
#2  0x0808d409 in download_move_error (d=0x890b750) at downloads.c:7647
#3  0x0808d670 in download_move (d=0x890b750,
    dir=0x8363958 "/home/bpringle/gtk-gnutella-downloads/complete",
    ext=0x819906a ".UNKN") at downloads.c:7557
#4  0x080948aa in download_verify_error (d=0x890b750) at downloads.c:7779
#5  0x080f0d9e in d_end (unused_h=0x8377a38, ctx=0x8603aa8, item=0x890b750)
    at verify.c:176
#6  0x081733ca in bg_task_ended (bt=0x8377a38) at bg.c:851
#7  0x08173a31 in bg_sched_timer () at bg.c:1014
#8  0x08070ee2 in main_timer (p=0x0) at main.c:447
#9  0x4041ce8f in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
#10 0x0824c4d8 in ?? ()
#11 0x4041c79e in g_source_get_current_time () from /usr/lib/libglib-2.0.so.0
#12 0x10624dd3 in ?? ()
#13 0x4041ccfb in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
#14 0x404620e4 in g_idle_funcs () from /usr/lib/libglib-2.0.so.0
#15 0x4041a3b2 in unblock_source () from /usr/lib/libglib-2.0.so.0
#16 0xbffff4d8 in ?? ()
#17 0x08acd618 in ?? ()
#18 0xbffff4b8 in ?? ()
#19 0x08f4c718 in ?? ()
#20 0x4043cbd5 in g_vsnprintf () from /usr/lib/libglib-2.0.so.0
#21 0x08e884b0 in ?? ()
#22 0x4041ce60 in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0

GTKG crashed with a malloc problem.  However, the stack trace isn't
very useful.  When I re-started, I used the PURGE button on some files
that I didn't want.  I think that GTKG is calculating the SHA on these
files and this causes some problems.  Is that enough or should I print
some variables, etc. ?

... ok, I looked a little more and it still looks like there are many
places to put a check for NULL (like has_good_sha1(), etc).

Your monkey typing on a keyboard,
Bill Pringlemeir.





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Gtk-gnutella-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to