I downloaded two files and then decided to remove them from my machine.
I first used a shell to remove the file and then did a purge from the
download window.
(gdb) target core ../core
Core was generated by `src/gtk-gnutella'.
Program terminated with signal 8, Arithmetic exception.
#0 0x08093c66 in ?? ()
I load the symbols and take a stack trace,
(gdb) file gtk-gnutella
Reading symbols from gtk-gnutella...done.
(gdb) bt
#0 0x08093c66 in vp_draw_chunk (data=0x85014a0, user_data=0x8e40108)
at visual_progress_gui.c:121
#1 0x401cbbe9 in ?? ()
#2 0xec835356 in ?? ()
Cannot access memory at address 0x57e58955
The particular link is in "vp_draw_chunk".
bpp = v->file_size / (v->context->width);
> s_from = chunk->from / bpp;
s_to = chunk->to / bpp;
"v->file_size" is most likely zero because the file has been moved or
removed. Should the code register a signal handler for the division
by zero or should there be checks put in place or should users not
touch files that GTKG is looking at? I don't think it is good to
abort from the network so suddenly though.
Regards,
Bill Pringlemeir.
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel