Hi,
I'm trying to build the quest editor for Mac OS.
Solarus library runs fine and ZSDX is playable, but when loading a quest I get a segfault in the lua code called from Solarus::LuaData::import_from_file:
Which version of LuaJIT is required for Solarus?
I'm using the git version of Solarus, and solarus-quest-editor, and release version 2.0.4 of LuaJIT.
Cheers,
Stewart
I'm trying to build the quest editor for Mac OS.
Solarus library runs fine and ZSDX is playable, but when loading a quest I get a segfault in the lua code called from Solarus::LuaData::import_from_file:
Code Select
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000008
VM Regions Near 0x8:
-->
__TEXT 000000010656f000-00000001067e7000 [ 2528K] r-x/rwx SM=COW /Users/USER/*
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libluajit-5.1.2.dylib 0x000000010b49cf69 lua_pushfstring + 89
1 libluajit-5.1.2.dylib 0x000000010b4ab2dd luaL_loadfilex + 77
2 libsolarus.dylib 0x000000010705f0a2 Solarus::LuaData::import_from_file(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 50
3 solarus-quest-editor 0x00000001066be57d QuestProperties::reload() + 141
4 solarus-quest-editor 0x000000010670d31f QuestProperties::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 223
5 org.qt-project.QtCore 0x000000010be58ad8 QMetaObject::activate(QObject*, int, int, void**) + 2840
6 solarus-quest-editor 0x000000010670cb9d Quest::root_path_changed(QString const&) + 77
7 solarus-quest-editor 0x00000001066ab18f Quest::set_root_path(QString const&) + 223
8 solarus-quest-editor 0x00000001065c3668 MainWindow::open_quest(QString const&) + 88
9 solarus-quest-editor 0x0000000106694fc6 main + 822
10 libdyld.dylib 0x00007fff9187f7e1 start + 1
Which version of LuaJIT is required for Solarus?
I'm using the git version of Solarus, and solarus-quest-editor, and release version 2.0.4 of LuaJIT.
Cheers,
Stewart