|
From: | Sebastien Helleu |
Subject: | [Weechat-dev] [bug #38510] Crash on stack overflow in lua plugin (when linked with luajit) |
Date: | Wed, 13 Mar 2013 17:19:18 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.152 Safari/537.22 |
URL: <http://savannah.nongnu.org/bugs/?38510> Summary: Crash on stack overflow in lua plugin (when linked with luajit) Project: WeeChat Submitted by: flashcode Submitted on: Wed 13 Mar 2013 06:19:17 PM CET Category: script API plugins Severity: 3 - Normal Item Group: crash Status: In Progress Privacy: Public Assigned to: flashcode Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: 0.4.0 IRC nick: FlashCode _______________________________________________________ Details: 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. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?38510> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |