[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Coco 1.1.7 segfaults on error inside coroutine - known bug?
- From: "Nathanael D. Jones" <nathanael.jones@...>
- Date: Sun, 22 Jun 2014 21:00:43 +0200
The following lua code is segfaulting when I apply the Coco 1.1.7
patch. Is this a known bug, or is there a bug tracker for coco?
Thanks,
Nathanael
---
function fail()
error("fail")
end
coroutine.resume(coroutine.create(fail))
---
The source I'm using: https://github.com/nathanaeljones/lua/tree/lua51coco
Segfault info:
Mac OS X 10.9.3 (13D65)
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: EXC_I386_GPFLT
Application Specific Information:
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff94180866 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff86c9035c pthread_kill + 92
2 libsystem_c.dylib 0x00007fff8da5ab1a abort + 125
3 libruby.2.0.0.dylib 0x000000010b24a2c4 rb_bug + 212
4 libruby.2.0.0.dylib 0x000000010b3272be sigsegv + 190
5 libsystem_platform.dylib 0x00007fff880d85aa _sigtramp + 26
6 liblua.dylib 0x000000010bd2afcd lua_pushfstring + 13
7 liblua.dylib 0x000000010bd4690d luaL_where + 141
8 liblua.dylib 0x000000010bd491c9 luaB_error + 105
9 liblua.dylib 0x000000010bd3257e luaD_precall + 1006
10 liblua.dylib 0x000000010bd44d4f luaV_execute + 7615
11 liblua.dylib 0x000000010bd53445 coco_start + 101
12 liblua.dylib 0x000000010bd31c09 luaD_rawrunprotected + 105
13 liblua.dylib 0x000000010bd5309c coco_main + 92