bugWeeChat - Bugs: bug #38510, Crash on stack overflow in lua...

 
 

bug #38510: Crash on stack overflow in lua plugin (when linked with luajit)

Submitter:  Sebastien Helleu <flashcode>
Submitted:  Wed 13 Mar 2013 05:19:17 PM UTC
   
 
Category:  script API plugins Severity:  3 - Normal
Priority:  5 - Normal Item Group:  crash
Status:  Fixed Privacy:  Public
Assigned to:  flashcode Originator Name: 
Open/Closed:  Closed Release:  * 0.4.0
IRC nick:  FlashCode
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Wed 13 Mar 2013 05:19:17 PM UTC, original submission:  

Crash can be reproduced by loading script text_effects.lua and doing on core buffer:


/repeat 10000 /debug


Apparently no problem with standard lua (only with luajit).

Fix: call lua_pop() for values returned by lua functions.

Problem reported on #weechat by xt.

Sebastien Helleu <flashcode>
Group administrator

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

    History

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-05-20 flashcode Open/ClosedOpen Closed
    2013-03-13 flashcode StatusIn Progress Fixed

    Back to the top

    Powered by Savane 3.16.
    Corresponding source code