From: Kent B. <ken...@or...> - 2013-11-17 01:11:42
|
Hi, I tried compile from source and run wxWindows 3.0.0, wxLua 2.8.12.3 on OS X 10.8.5 (XCode 5.0.2). The actual compile went fine cd wxWidgets-3.0.0 ./configure --prefix=/usr/local make sudo make install cd ../wxLua-2.8.12.3-src mkdir obj ; cd obj cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local .. make sudo make install I'm a bit puzzled how to run the samples, but for some minutes doing "open -a wxLua" kind of did work. It did display some sort of editor/debugger or something (I could not figure out how to run the samples from it). But then running "wxLua" stopped working and crash each time I try run it. Crash report for the crashing thread included below. My questions are - Is this setup supposed to work at all, i.e. wxLua with wxWindows 3? - If supposed to work, did I configure it wrong? - If not supposed to work, any hope of a wxLua that works with wxWindwows 3 any time soon? - How do I run the samples on OS X? I don't have a "wxLua" exe, but a "wxLua.app". I tried "open -a wxLua bindings.wx.lua" when this still did not crash, but the sample program argument seemed to be ignored. kent Process: wxLua [64176] Path: /Users/USER/*/wxLua.app/Contents/MacOS/wxLua Identifier: ??? Version: 2.8.12.3 (2.8.12.3) Code Type: X86-64 (Native) Parent Process: launchd [212] User ID: 501 Date/Time: 2013-11-17 02:00:18.564 +0100 OS Version: Mac OS X 10.8.5 (12F45) Report Version: 10 Interval Since Last Report: 1434861 sec Crashes Since Last Report: 13 Per-App Interval Since Last Report: 181 sec Per-App Crashes Since Last Report: 10 Anonymous UUID: 344778B4-77CB-BE9D-2088-1E8765A77BDC Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0xfffffffffffffff8 VM Regions Near 0xfffffffffffffff8: --> shared memory 00007ffffff3b000-00007ffffff3c000 [ 4K] r-x/r-x SM=SHM Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libwx_baseu-3.0.dylib 0x000000010da5332f (anonymous namespace)::wxFileSystemObjectExists(wxString const&, int) + 367 1 libwx_baseu-3.0.dylib 0x000000010da53139 wxFileName::FileExists() const + 57 2 libwx_baseu-3.0.dylib 0x000000010da23f36 wxFileConfig::Init() + 1718 3 libwx_baseu-3.0.dylib 0x000000010da2a658 wxFileConfig::wxFileConfig(wxString const&, wxString const&, wxString const&, wxString const&, long, wxMBConv const&) + 1128 4 libwxlua_bind-wxosx_cocoaud-2.8.12.3.dylib 0x000000010c08ea03 wxLua_wxFileConfig_constructor(lua_State*) + 499 (wxbase_config.cpp:877) 5 libwxlua-wxosx_cocoaud-2.8.12.3.dylib 0x000000010c8f0479 wxlua_callOverloadedFunction(lua_State*) + 233 (wxlbind.cpp:434) 6 libwxlua-wxosx_cocoaud-2.8.12.3.dylib 0x000000010c8f1323 wxlua_wxLuaBindMethod_table__call(lua_State*) + 35 (wxlbind.cpp:350) 7 libwxlua_lua51-wxosx_cocoaud-2.8.12.3.dylib 0x000000010c9b7ece luaD_precall + 1006 (ldo.c:320) 8 libwxlua_lua51-wxosx_cocoaud-2.8.12.3.dylib 0x000000010c9cad3d luaV_execute + 7613 (lvm.c:591) 9 libwxlua_lua51-wxosx_cocoaud-2.8.12.3.dylib 0x000000010c9b8712 luaD_call + 178 (ldo.c:379) 10 libwxlua_lua51-wxosx_cocoaud-2.8.12.3.dylib 0x000000010c9b1a5f f_call + 47 (lapi.c:801) 11 libwxlua_lua51-wxosx_cocoaud-2.8.12.3.dylib 0x000000010c9b7569 luaD_rawrunprotected + 105 (ldo.c:119) 12 libwxlua_lua51-wxosx_cocoaud-2.8.12.3.dylib 0x000000010c9b8b7a luaD_pcall + 122 (ldo.c:464) 13 libwxlua_lua51-wxosx_cocoaud-2.8.12.3.dylib 0x000000010c9b19de lua_pcall + 174 (lapi.c:821) 14 libwxlua-wxosx_cocoaud-2.8.12.3.dylib 0x000000010c90f84f wxLuaState::LuaPCall(int, int) + 255 (wxlstate.cpp:2988) 15 libwxlua-wxosx_cocoaud-2.8.12.3.dylib 0x000000010c90fe2f wxLuaState::RunBuffer(char const*, unsigned long, wxString const&, int) + 479 (wxlstate.cpp:2938) 16 0x000000010be89d44 wxLuaStandaloneApp::OnInit() + 4292 (wxlua.cpp:294) 17 libwx_osx_cocoau_core-3.0.dylib 0x000000010d2f29a4 wxApp::CallOnInit() + 68 18 libwx_baseu-3.0.dylib 0x000000010da6fba7 wxEntry(int&, wchar_t**) + 119 19 0x000000010be88ab6 main + 38 (wxlua.cpp:118) 20 libdyld.dylib 0x00007fff8dccc7e1 start + 1 -- Kent Boortz, Release Staff engineer Oracle, The MySQL Team Mobile: +46 76 77 69 049 |