[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: got segmentation fault in lvm.c: 727, lua 5.1.4 with patchs
- From: 文曦畅 <wenxichang@...>
- Date: Thu, 17 Nov 2011 22:51:49 +0800
于 2011-11-17 22:31, Roberto Ierusalimschy 写道:
On Wed, Nov 16, 2011 at 11:07 PM, 文曦畅<firstname.lastname@example.org> wrote:
local localfunc = ...
globalfunc = ...
This is not valid Lua code.
Besides, the other code seems to be wrong too (although valid):
(dofile(file)) (); -- load another lua file and execute
Maybe it should be 'loadfile'? (But then it does not segfault in
sorry, the code was omitted
local localfunc = function() end
globalfunc = function() end
this seg fault problem is related to the mail:
a deeply-hidden bug when parsing file with gc enabled (baselib
patch was given in 2011/10/21, i am not sure whether it works in my
cases, i will test it tomorrow.