Don't know the exact circumstances but gtk-gnutella crashed overnight. The crash log mentions "SIGABRT", "share.c:2456" and "sf->file_index != 0". I was using svn r19338. Crashlog is attatched.
I have seen this with gtk-gnutella/0.97-19337 (2011-07-18; GTK2; Linux x86_64) - Seems fairly repeatable, more than 50% of the time when I run gtk-gnutella it crashes after about 1 1/2 hours with "Assertion failure in src/core/share.c:2456: "sf->file_index != 0""
I will try and capture a core dump. For now I have a crash log
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No, 0.97.1 is running fine. Had a crash once when resetting the download history (gtk-gnutella crashed immediately), but apart from that it is running stable since 20 days nonstop and continuing... Could not reproduce the 'download-history-resetting' crash either. The history got cleared anyhow and resetting now works.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
crashlog with stacktrace
To be able to diagnose what's happening I need you to enable core dumps before launching gtk-gnutella:
$ ulimit -S -c unlimited
Next time it crashes, launch gdb on the executable and the core file:
$ gdb /usr/bin/gtk-gnutella core
Then at the gdb prompt, go to the frame where the assertion failed:
gdb> frame 8
gdb> p *sf
If "sf" has been optimized out, look at the parameter of the routine (for instance sf=0x7f3077a1df00) and say:
gdb> p *(struct shared_file *) 0x7f3077a1df00
Thanks.
I was not able to reproduce the crash... It is running flawlessly for more than 10 days now.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
I have seen this with gtk-gnutella/0.97-19337 (2011-07-18; GTK2; Linux x86_64) - Seems fairly repeatable, more than 50% of the time when I run gtk-gnutella it crashes after about 1 1/2 hours with "Assertion failure in src/core/share.c:2456: "sf->file_index != 0""
I will try and capture a core dump. For now I have a crash log
Is this still happening for you with 0.97.1?
No, 0.97.1 is running fine. Had a crash once when resetting the download history (gtk-gnutella crashed immediately), but apart from that it is running stable since 20 days nonstop and continuing... Could not reproduce the 'download-history-resetting' crash either. The history got cleared anyhow and resetting now works.
Seems to have been fixed.