bugWeeChat - Bugs: bug #29018, crash when using debug messages...


bug #29018: crash when using debug messages and loading a script

Submitter:  Elián Hanisch <m4v>
Submitted:  Sat 27 Feb 2010 12:57:40 AM UTC
Category:  script API plugins Severity:  3 - Normal
Item Group:  crash Status:  Fixed
Privacy:  Public Assigned to:  flashcode
Originator Name:  Open/Closed:  Closed
Release:  * 0.3.1 IRC nick:  m4v
* Mandatory Fields

Add a New Comment Rich Markup

Sat 27 Feb 2010 12:57:40 AM UTC, original submission:  

use "/debug set core 9" and make sure you can see the hook and unhook messages coming from scripts, then load chanmon.pl, a crash will follow. Without debug messages loading the script is harmless.

I have reproduced this crash with other scripts as well, like newsbar.pl and snarl_net_notify.pl.
I don't know what in the scripts is causing the crash, at first I suspected that the hook_print they use was to blame, but then loading hlpvitem.py didn't crash, which also has a similar hook_print.

This can be nasty if you're casually debugging your script, close weechat, and then try to start weechat again. If you have one the trouble scripts in autoload then weechat will always crash on startup unless you use -s or -p options.

Elián Hanisch <m4v>


(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


Carbon-Copy List
  • -email is unavailable- added by flashcode (Updated the item)
  • -email is unavailable- added by m4v (Submitted the item)

    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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-04-19 flashcode Open/ClosedOpen Closed
    2010-02-27 flashcode CategoryNone script API plugins
        StatusNone Fixed
        Assigned toNone flashcode

    Back to the top

    Powered by Savane 3.12