bugWeeChat - Bugs: bug #32095, weechat crashes after running for...

 
 

bug #32095: weechat crashes after running for several hours (backtrace attached)

Submitted by:  None
Submitted on:  Tue 11 Jan 2011 08:36:20 AM UTC  
 
Category: script API pluginsSeverity: 3 - Normal
Item Group: crashStatus: Wont Fix
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: Dorin ScutaraČ™uOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 0.3.3
IRC nick: dorins

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 13 Jan 2011 07:23:03 PM UTC, comment #3:

Thank you for looking into this.

It seems to be a ruby issue, indeed: weechat hasn't crashed anymore since disabling the one ruby script that I was running. I'm glad to hear the problem is fixed in ruby 1.9.

Dorin <dorins>
Thu 13 Jan 2011 05:08:40 PM UTC, comment #2:

As promised, the results of my investigations are:

1) the problems looks like a memory leak (or stack overflow, I don't know exactly) in ruby 1.8.x, when calling "rb_protect" many times

2) with ruby 1.9.1, there is no problem: looks like problem has been fixed in ruby 1.9.x

I just commited changes to compile fine with ruby >= 1.9.1.

So for me, it's a ruby 1.8.x problem, if you agree I'll close this bug (since I don't know how to fix problem for ruby 1.8.x in WeeChat).

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Tue 11 Jan 2011 08:58:48 AM UTC, comment #1:

Hi,

I can reproduce this bug with a test server I'm currently writing (weercd.py, which floods client with many messages in a short time).
With minbif_typing_notice.rb loaded, it crashes after some seconds of flood.
For now, I have no idea why it crashes (it's in ruby stuff), I'll look at problem and keep you informed of my investigations.

If you ever want to test with this flood server, let me know I'll send you by mail (not publicly available yet, it's under dev).

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Tue 11 Jan 2011 08:36:20 AM UTC, original submission:

This has happened to me several times.

As far as I can tell it crashes somewhere in the ruby plugin code, so I'll try running without ruby scripts and see if crash goes away. The only ruby script that I have loaded is minbif_typing_notice.rb taken from here: http://www.weechat.org/scripts/source/stable/minbif_typing_notice.rb

I have the core file and weechat.log files at hand so I could upload those too after stripping out personal stuff.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #22389:  backtrace.txt added by None (4KiB - text/plain - gdb backtrace)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dorins (Posted a comment)
  • -unavailable- added by flashcode (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 23 Mar 2011 03:32:25 PM UTCflashcodeOpen/ClosedOpen=>Closed
    Thu 13 Jan 2011 05:08:40 PM UTCflashcodeStatusConfirmed=>Wont Fix
    Tue 11 Jan 2011 08:58:48 AM UTCflashcodeCategoryNone=>script API plugins
      StatusNone=>Confirmed
      Assigned toNone=>flashcode
    Tue 11 Jan 2011 08:36:20 AM UTCNoneAttached File-=>Added backtrace.txt, #22389

    Back to the top


    Powered by Savane 3.1-cleanup1