Menu

#489 SIGABRT at share.c:2456. svn r19338

0.97
closed-fixed
Core (35)
9
2012-01-02
2011-07-22
Erhard F.
No

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.

Discussion

  • Erhard F.

    Erhard F. - 2011-07-22

    crashlog with stacktrace

     
  • Raphael Manfredi

    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.

     
  • Raphael Manfredi

    • assigned_to: nobody --> rmanfredi
    • priority: 5 --> 9
    • milestone: 393247 --> 0.97
    • labels: --> Core
     
  • Erhard F.

    Erhard F. - 2011-08-07

    I was not able to reproduce the crash... It is running flawlessly for more than 10 days now.

     
  • Anonymous

    Anonymous - 2011-08-12

    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

     
  • Raphael Manfredi

    Is this still happening for you with 0.97.1?

     
  • Erhard F.

    Erhard F. - 2011-11-17

    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.

     
  • Raphael Manfredi

    Seems to have been fixed.

     
  • Raphael Manfredi

    • status: open --> closed-fixed
     

Log in to post a comment.