bugWeeChat - Bugs: bug #16552, Ruby message handler not returning...


bug #16552: Ruby message handler not returning anything causes a SEGV

Submitter:  None
Submitted:  Mon 08 May 2006 06:08:10 PM UTC
Category:  plugins Severity:  3 - Normal
Item Group:  crash Status:  Fixed
Privacy:  Public Assigned to:  kolter
Originator Name:  kolter Originator Email:  * -email is unavailable-
Open/Closed:  Closed Release:  * None
IRC nick: 
* Mandatory Fields

Add a New Comment Rich Markup

Mon 08 May 2006 06:08:10 PM UTC, original submission:  

This script crashes WeeChat when the first PRIVMSG message is received after loading:

def weechat_init()
        Weechat.register("evil", "1.0", "", "bang boom boom, meet your doom")
        Weechat.add_message_handler("privmsg", "evil_privmsg")
def evil_privmsg(server, args)

Adding a proper return removes the crash.



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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.


Follow 7 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-05-08 flashcode Categoryother plugins
2006-05-08 flashcode Assigned toNone kolter
    Open/ClosedOpen Closed
2006-05-08 kolter StatusNone Fixed
2006-05-08 kolter StatusFixed None
2006-05-08 kolter StatusNone Fixed
    Originator Name kolter

Back to the top

Powered by Savane 3.12.
Corresponding source code