[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Coco 1.1.6 released + URL changed (Mike Pall)
- From: cometwk <cometwk@...>
- Date: Mon, 14 Sep 2009 14:10:53 +0800
I find a Segmentation fault (core dumped) in Coco 1.1.6 release.
OS: x86_64 GNU/Linux
lua script: '''
local resume, yield = coroutine.resume, coroutine.yield
function pcall_and_yield()
error "here , when -g in linux x86_64 , will Segmentation fault"
print ("ok")
end
local cx = coroutine.create(pcall_and_yield)
print(resume(cx))
'''
Coco 1.1.6 with Makefile -g ( not -O2) .
but with -O2 work fine !
with -g -DCOCO_USE_UCONTEXT work fine too.
or I am wrong ?
wukun (cometwk@gmai.com)