Nice, thanks!
However, when building on MacOS 10.12.5, the editor still crashes:
Cheers
Jörg
Process: Visionaire Studio [4813]
Path: /Users/USER/Desktop/Visionaire Studio_5rc1.app/Contents/MacOS/Visionaire Studio
Identifier: net.visionaire-studio.Visionaire-Studio
Version: 5.0.1 (1189)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Visionaire Studio [4813]
User ID: 501
Date/Time: 2017-06-24 09:16:05.242 +0200
OS Version: Mac OS X 10.12.5 (16F73)
Report Version: 12
Anonymous UUID: 6597E41D-DACB-B511-8511-31DC30C504CC
Sleep/Wake UUID: 13C63762-029F-47C4-9B0F-685A6170C5F4
Time Awake Since Boot: 330000 seconds
Time Since Wake: 1400 seconds
System Integrity Protection: enabled
Crashed Thread: 10 wxThread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000068
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
VM Regions Near 0x68:
-->
Kernel Alloc Once 0000000008740000-0000000008742000 [ 8K] rw-/rwx SM=PRV
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff9191934a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff91918797 mach_msg + 55
2 com.apple.framework.IOKit 0x00007fff7e051c91 io_connect_method + 375
3 com.apple.framework.IOKit 0x00007fff7dfd71f2 IOConnectCallMethod + 336
4 com.apple.framework.IOKit 0x00007fff7dfd73b9 IOConnectCallStructMethod + 56
5 com.apple.IOAccelerator 0x00007fff8adc9c10 IOAccelContextSubmitDataBuffersExt2 + 270
6 libGPUSupportMercury.dylib 0x00007fff89d48390 gpusSubmitDataBuffers + 156
7 com.apple.driver.AppleIntelHD5000GraphicsGLDriver 0x000000000c714d2a IntelCommandBuffer::getNew(GLDContextRec*) + 178
8 com.apple.driver.AppleIntelHD5000GraphicsGLDriver 0x000000000c7f798b intelSubmitCommands + 171
9 com.apple.driver.AppleIntelHD5000GraphicsGLDriver 0x000000000c7f76e9 gldPresentFramebufferData + 391
10 GLEngine 0x000000000c5484f1 glSwap_Exec + 97
11 com.apple.opengl 0x00007fff81040126 CGLFlushDrawable + 66
12 com.apple.AppKit 0x00007fff79e61d7b -[NSOpenGLContext flushBuffer] + 27
13 net.visionaire-studio.Visionaire-Studio 0x0000000108f1af77 Cocoa_GL_SwapWindow + 71
14 net.visionaire-studio.Visionaire-Studio 0x0000000108a1401d TGraphicsOGL::Swap() + 29
15 net.visionaire-studio.Visionaire-Studio 0x0000000108a13f8d TGraphicsOGL::AfterDrawScene(bool, bool) + 4813
16 net.visionaire-studio.Visionaire-Studio 0x0000000108873d04 Draw() + 1620
17 net.visionaire-studio.Visionaire-Studio 0x00000001088752af run(int, char**) + 4927
18 net.visionaire-studio.Visionaire-Studio 0x0000000108875a8b main + 27
19 net.visionaire-studio.Visionaire-Studio 0x0000000108738c44 start + 52
Thread 1:: wxThread
0 libsystem_kernel.dylib 0x00007fff91920f46 __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff918a7b72 nanosleep + 199
2 libsystem_c.dylib 0x00007fff918a7a66 usleep + 54
3 net.visionaire-studio.Visionaire-Studio 0x0000000108a2a92a TPicturePreloader::Entry() + 346
4 net.visionaire-studio.Visionaire-Studio 0x0000000108956f3a Enter(void*) + 10
5 net.visionaire-studio.Visionaire-Studio 0x0000000108f158cc SDL_RunThread + 60
6 net.visionaire-studio.Visionaire-Studio 0x0000000108f15289 0x108730000 + 8278665
7 libsystem_pthread.dylib 0x00007fff91a0b93b _pthread_body + 180
8 libsystem_pthread.dylib 0x00007fff91a0b887 _pthread_start + 286
9 libsystem_pthread.dylib 0x00007fff91a0b08d thread_start + 13
Thread 2:: wxThread
0 libsystem_kernel.dylib 0x00007fff91920f46 __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff918a7b72 nanosleep + 199
2 libsystem_c.dylib 0x00007fff918a7a66 usleep + 54
3 net.visionaire-studio.Visionaire-Studio 0x0000000108a2a92a TPicturePreloader::Entry() + 346
4 net.visionaire-studio.Visionaire-Studio 0x0000000108956f3a Enter(void*) + 10
5 net.visionaire-studio.Visionaire-Studio 0x0000000108f158cc SDL_RunThread + 60
6 net.visionaire-studio.Visionaire-Studio 0x0000000108f15289 0x108730000 + 8278665
7 libsystem_pthread.dylib 0x00007fff91a0b93b _pthread_body + 180
8 libsystem_pthread.dylib 0x00007fff91a0b887 _pthread_start + 286
9 libsystem_pthread.dylib 0x00007fff91a0b08d thread_start + 13
Thread 3:: com.apple.audio.IOThread.client
0 libsystem_kernel.dylib 0x00007fff9191934a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff91918797 mach_msg + 55
2 com.apple.audio.CoreAudio 0x00007fff7bbe3935 HALB_MachPort::SendMessageWithReply(unsigned int, unsigned int, unsigned int, unsigned int, mach_msg_header_t*, bool, unsigned int) + 127
3 com.apple.audio.CoreAudio 0x00007fff7bbe38a6 HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 42
4 com.apple.audio.CoreAudio 0x00007fff7bbe08d0 HALC_ProxyIOContext::IOWorkLoop() + 1196
5 com.apple.audio.CoreAudio 0x00007fff7bbe0264 HALC_ProxyIOContext::IOThreadEntry(void*) + 128
6 com.apple.audio.CoreAudio 0x00007fff7bbdffa3 HALB_IOThread::Entry(void*) + 75
7 libsystem_pthread.dylib 0x00007fff91a0b93b _pthread_body + 180
8 libsystem_pthread.dylib 0x00007fff91a0b887 _pthread_start + 286
9 libsystem_pthread.dylib 0x00007fff91a0b08d thread_start + 13
Thread 4:: Vis Audio Thread
0 libsystem_kernel.dylib 0x00007fff91920f46 __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff918a7b72 nanosleep + 199
2 net.visionaire-studio.Visionaire-Studio 0x0000000108f165ce SDL_Delay_REAL + 94
3 net.visionaire-studio.Visionaire-Studio 0x0000000108c4c3e8 read_thread(void*) + 472
4 net.visionaire-studio.Visionaire-Studio 0x0000000108f158cc SDL_RunThread + 60
5 net.visionaire-studio.Visionaire-Studio 0x0000000108f15289 0x108730000 + 8278665
6 libsystem_pthread.dylib 0x00007fff91a0b93b _pthread_body + 180
7 libsystem_pthread.dylib 0x00007fff91a0b887 _pthread_start + 286
8 libsystem_pthread.dylib 0x00007fff91a0b08d thread_start + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff91920f46 __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff918a7b72 nanosleep + 199
2 libsystem_c.dylib 0x00007fff918a7a66 usleep + 54
3 net.visionaire-studio.Visionaire-Studio 0x00000001088a0f8a SearchThread(void*) + 5114
4 net.visionaire-studio.Visionaire-Studio 0x0000000108f158cc SDL_RunThread + 60
5 net.visionaire-studio.Visionaire-Studio 0x0000000108f15289 0x108730000 + 8278665
6 libsystem_pthread.dylib 0x00007fff91a0b93b _pthread_body + 180
7 libsystem_pthread.dylib 0x00007fff91a0b887 _pthread_start + 286
8 libsystem_pthread.dylib 0x00007fff91a0b08d thread_start + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff91920f46 __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff918a7b72 nanosleep + 199
2 libsystem_c.dylib 0x00007fff918a7a66 usleep + 54
3 net.visionaire-studio.Visionaire-Studio 0x000000010889f4e1 LuaUpdateThread(void*) + 5473
4 net.visionaire-studio.Visionaire-Studio 0x0000000108f158cc SDL_RunThread + 60
5 net.visionaire-studio.Visionaire-Studio 0x0000000108f15289 0x108730000 + 8278665
6 libsystem_pthread.dylib 0x00007fff91a0b93b _pthread_body + 180
7 libsystem_pthread.dylib 0x00007fff91a0b887 _pthread_start + 286
8 libsystem_pthread.dylib 0x00007fff91a0b08d thread_start + 13
Thread 7:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff9191934a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff91918797 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff7c079434 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff7c0788c1 __CFRunLoopRun + 1361
4 com.apple.CoreFoundation 0x00007fff7c078114 CFRunLoopRunSpecific + 420
5 com.apple.AppKit 0x00007fff79cbff02 _NSEventThread + 205
6 libsystem_pthread.dylib 0x00007fff91a0b93b _pthread_body + 180
7 libsystem_pthread.dylib 0x00007fff91a0b887 _pthread_start + 286
8 libsystem_pthread.dylib 0x00007fff91a0b08d thread_start + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff91920f46 __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff918a7b72 nanosleep + 199
2 libsystem_c.dylib 0x00007fff918a7a66 usleep + 54
3 net.visionaire-studio.Visionaire-Studio 0x0000000108b2ef5a scripteditorthread(void*) + 58
4 net.visionaire-studio.Visionaire-Studio 0x0000000108f158cc SDL_RunThread + 60
5 net.visionaire-studio.Visionaire-Studio 0x0000000108f15289 0x108730000 + 8278665
6 libsystem_pthread.dylib 0x00007fff91a0b93b _pthread_body + 180
7 libsystem_pthread.dylib 0x00007fff91a0b887 _pthread_start + 286
8 libsystem_pthread.dylib 0x00007fff91a0b08d thread_start + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff9192144e __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff91a0b48e _pthread_wqthread + 1023
2 libsystem_pthread.dylib 0x00007fff91a0b07d start_wqthread + 13
Thread 10 Crashed:: wxThread
0 libsystem_c.dylib 0x00007fff918646a0 flockfile + 4
1 libsystem_c.dylib 0x00007fff9186783c fwrite + 72
2 net.visionaire-studio.Visionaire-Studio 0x000000010895e454 wxFile::Write(wxString) + 68
3 net.visionaire-studio.Visionaire-Studio 0x0000000108835af4 Builder::RecursivePack(TVisionaireObject*, wxFileName const&, std::__1::basic_string, std::__1::allocator >&, StringHashMap >&, StringHashMap, std::__1::allocator >, TComposedFile*, char*, StringHash >&, float, float, bool, HashMap >&, char const*, char const*, bool) + 5780
4 net.visionaire-studio.Visionaire-Studio 0x0000000108838c21 Builder::MakeComposedGameFile(TVisionaire&, wxFileName const&, TVList const&, PlatformExporter*, wxString const&, ConfigParser*, wxPoint const&, bool, bool, EventHandler*) + 6113
5 net.visionaire-studio.Visionaire-Studio 0x0000000108790b1d BuildThread::Entry() + 829
6 net.visionaire-studio.Visionaire-Studio 0x0000000108956f3a Enter(void*) + 10
7 net.visionaire-studio.Visionaire-Studio 0x0000000108f158cc SDL_RunThread + 60
8 net.visionaire-studio.Visionaire-Studio 0x0000000108f15289 0x108730000 + 8278665
9 libsystem_pthread.dylib 0x00007fff91a0b93b _pthread_body + 180
10 libsystem_pthread.dylib 0x00007fff91a0b887 _pthread_start + 286
11 libsystem_pthread.dylib 0x00007fff91a0b08d thread_start + 13
Thread 10 crashed with X86 Thread State (64-bit):
rax: 0x0000700005fd7b88 rbx: 0x000060000007a380 rcx: 0x0000000000000000 rdx: 0x000000000000003c
rdi: 0x0000000000000000 rsi: 0x0000000000000001 rbp: 0x0000700005fd7b60 rsp: 0x0000700005fd7b60
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0xffffffffffffffff r11: 0xffffffffff400e40
r12: 0x0000608000e8a4b0 r13: 0x0000000000000000 r14: 0x000000000000003c r15: 0x0000700005fd7c48
rip: 0x00007fff918646a0 rfl: 0x0000000000010206 cr2: 0x0000608000e84006
Logical CPU: 0
Error Code: 0x0100001f
Trap Number: 133
[ deleted some information]
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 214603
thread_create: 0
thread_set_state: 8312
VM Region Summary:
ReadOnly portion of Libraries: Total=282.8M resident=0K(0%) swapped_out_or_unallocated=282.8M(100%)
Writable regions: Total=429.8M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=429.8M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 256K 3
Activity Tracing 256K 2
CG backing stores 7592K 4
CG image 24K 3
CoreUI image data 144K 3
CoreUI image file 176K 4
IOKit 7940K 2
Kernel Alloc Once 8K 2
MALLOC 290.5M 63
MALLOC guard page 48K 10
MALLOC_LARGE (reserved) 79.7M 3 reserved VM address space (unallocated)
Memory Tag 242 12K 2
OpenGL GLSL 256K 4
STACK GUARD 56.0M 12
Stack 13.1M 15
VM_ALLOCATE 15.5M 61
VM_ALLOCATE (reserved) 36K 2 reserved VM address space (unallocated)
__DATA 28.4M 238
__GLSLBUILTINS 2588K 2
__IMAGE 528K 2
__LINKEDIT 121.9M 18
__TEXT 160.9M 234
__UNICODE 556K 2
mapped file 41.8M 11
shared memory 16.4M 13
=========== ======= =======
TOTAL 844.1M 690
TOTAL, minus reserved VM space 764.3M 690
Model: MacBookPro11,1, BootROM MBP111.0138.B25, 2 processors, Intel Core i5, 2,8 GHz, 16 GB, SMC 2.16f68
Graphics: Intel Iris, Intel Iris, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533641465238412D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533641465238412D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x112), Broadcom BCM43xx 1.0 (7.21.171.126.1a2)
Bluetooth: Version 5.0.4f18, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0256F, 251 GB
USB Device: USB 3.0 Bus
USB Device: Card Reader
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 17.2