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

 
 

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

Submitted by:  Elián Hanisch <m4v>
Submitted on:  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:  Sebastien Helleu <flashcode>
Originator Name:  Open/Closed:  Closed
Release:  0.3.1 IRC nick:  m4v

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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:
   
   
Comment:
   

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)
  •  

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

    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.3