DirectoryStream.prototype[Symbol.iterator] = dirStreamEnumerationCallback;
Try again after upgrading to 4.8.4. Seriously, not trying to be a wise guy here. I fixed a bunch of bugs in 4.8.3 related to handling of projection and modelview matrices that could be the case of your problems here.
Crashed Thread: 3Exception Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYApplication Specific Information:abort() called*** error for object 0x7ffcb9e58720: incorrect checksum for freed object - object was probably modified after being freed. Thread 0:: Dispatch queue: com.apple.main-thread0 libsystem_kernel.dylib 0x00007fffdd02a34a mach_msg_trap + 101 libsystem_kernel.dylib 0x00007fffdd029797 mach_msg + 552 com.apple.CoreFoundation 0x00007fffc7784434 __CFRunLoopServiceMachPort + 2123 com.apple.CoreFoundation 0x00007fffc77838c1 __CFRunLoopRun + 13614 com.apple.CoreFoundation 0x00007fffc7783114 CFRunLoopRunSpecific + 4205 com.apple.HIToolbox 0x00007fffc6ce3ebc RunCurrentEventLoopInMode + 2406 com.apple.HIToolbox 0x00007fffc6ce3cf1 ReceiveNextEventCommon + 4327 com.apple.HIToolbox 0x00007fffc6ce3b26 _BlockUntilNextEventMatchingListInModeWithFilter + 718 com.apple.AppKit 0x00007fffc527ca54 _DPSNextEvent + 11209 com.apple.AppKit 0x00007fffc59f87ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 279610 com.apple.AppKit 0x00007fffc52713db -[NSApplication run] + 92611 sphererun 0x000000010c78913e _al_osx_run_main + 131212 sphererun 0x000000010c7df5c9 main + 1613 libdyld.dylib 0x00007fffdcf03235 start + 1Thread 1:0 libsystem_kernel.dylib 0x00007fffdd03244e __workq_kernreturn + 101 libsystem_pthread.dylib 0x00007fffdd11c48e _pthread_wqthread + 10232 libsystem_pthread.dylib 0x00007fffdd11c07d start_wqthread + 13Thread 2:0 libsystem_kernel.dylib 0x00007fffdd03244e __workq_kernreturn + 101 libsystem_pthread.dylib 0x00007fffdd11c621 _pthread_wqthread + 14262 libsystem_pthread.dylib 0x00007fffdd11c07d start_wqthread + 13Thread 3 Crashed:0 libsystem_kernel.dylib 0x00007fffdd031d42 __pthread_kill + 101 libsystem_pthread.dylib 0x00007fffdd11f457 pthread_kill + 902 libsystem_c.dylib 0x00007fffdcf97420 abort + 1293 libsystem_malloc.dylib 0x00007fffdd091f5d szone_error + 6264 libsystem_malloc.dylib 0x00007fffdd087f0d tiny_free_list_remove_ptr + 2925 libsystem_malloc.dylib 0x00007fffdd09c914 tiny_free_no_lock + 14846 libsystem_malloc.dylib 0x00007fffdd09d0d5 free_tiny + 6717 libGPUSupportMercury.dylib 0x00007fffd5457ecd gldDestroyTexture + 398 libGFXShared.dylib 0x00007fffcbbd2e3a gfxDestroyPluginTexture + 609 GLEngine 0x0000000111e90801 gleFreeTextureObject + 3610 GLEngine 0x0000000111e6031e gleUnbindDeleteHashNamesAndObjects + 17911 GLEngine 0x0000000111d62b1c glDeleteTextures_Exec + 67112 sphererun 0x000000010c7deeec ogl_destroy_bitmap + 11513 sphererun 0x000000010c7ca680 al_destroy_bitmap + 17914 sphererun 0x000000010c7b170e al_convert_bitmap + 106615 sphererun 0x000000010c7b1a1f _al_convert_to_memory_bitmap + 15816 sphererun 0x000000010c7dad30 destroy_display + 27317 sphererun 0x000000010c74bd3b screen_free + 51 (screen.c:147)18 sphererun 0x000000010c73c5d0 shutdown_engine + 142 (main.c:485)19 sphererun 0x000000010c73b97d _al_mangled_main + 1085 (main.c:154)20 sphererun 0x000000010c788c0a +[AllegroAppDelegate app_main:] + 2321 com.apple.Foundation 0x00007fffc91a68ad __NSThread__start__ + 124322 libsystem_pthread.dylib 0x00007fffdd11c93b _pthread_body + 18023 libsystem_pthread.dylib 0x00007fffdd11c887 _pthread_start + 28624 libsystem_pthread.dylib 0x00007fffdd11c08d thread_start + 13
Crashed Thread: 2Exception Type: EXC_BAD_ACCESS (SIGSEGV)Exception Codes: KERN_INVALID_ADDRESS at 0x0000000ffffffff8Exception Note: EXC_CORPSE_NOTIFYTermination Signal: Segmentation fault: 11Termination Reason: Namespace SIGNAL, Code 0xbTerminating Process: exc handler [0]VM Regions Near 0xffffffff8: MALLOC_LARGE_REUSABLE 00000001253aa000-000000012600a000 [ 12.4M] rw-/rwx SM=PRV --> STACK GUARD 0000700009e19000-0000700009e1a000 [ 4K] ---/rwx SM=NUL stack guard for thread 1Thread 0:: Dispatch queue: com.apple.main-thread0 libsystem_kernel.dylib 0x00007fffdd02a34a mach_msg_trap + 101 libsystem_kernel.dylib 0x00007fffdd029797 mach_msg + 552 com.apple.CoreFoundation 0x00007fffc7784434 __CFRunLoopServiceMachPort + 2123 com.apple.CoreFoundation 0x00007fffc77838c1 __CFRunLoopRun + 13614 com.apple.CoreFoundation 0x00007fffc7783114 CFRunLoopRunSpecific + 4205 com.apple.HIToolbox 0x00007fffc6ce3ebc RunCurrentEventLoopInMode + 2406 com.apple.HIToolbox 0x00007fffc6ce3cf1 ReceiveNextEventCommon + 4327 com.apple.HIToolbox 0x00007fffc6ce3b26 _BlockUntilNextEventMatchingListInModeWithFilter + 718 com.apple.AppKit 0x00007fffc527ca54 _DPSNextEvent + 11209 com.apple.AppKit 0x00007fffc59f87ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 279610 com.apple.AppKit 0x00007fffc52713db -[NSApplication run] + 92611 sphererun 0x0000000107d0013e _al_osx_run_main + 131212 sphererun 0x0000000107d565c9 main + 1613 libdyld.dylib 0x00007fffdcf03235 start + 1Thread 1:0 libsystem_kernel.dylib 0x00007fffdd03244e __workq_kernreturn + 101 libsystem_pthread.dylib 0x00007fffdd11c48e _pthread_wqthread + 10232 libsystem_pthread.dylib 0x00007fffdd11c07d start_wqthread + 13Thread 2 Crashed:0 libsystem_malloc.dylib 0x00007fffdd087ecc tiny_free_list_remove_ptr + 2271 libsystem_malloc.dylib 0x00007fffdd09c945 tiny_free_no_lock + 15332 libsystem_malloc.dylib 0x00007fffdd09d0d5 free_tiny + 6713 com.apple.AMDRadeonX4000GLDriver 0x000000010dcb75e4 0x10dc1f000 + 6241004 libGPUSupportMercury.dylib 0x00007fffd5457eba gldDestroyTexture + 205 libGFXShared.dylib 0x00007fffcbbd2e3a gfxDestroyPluginTexture + 606 GLEngine 0x000000010d417801 gleFreeTextureObject + 367 GLEngine 0x000000010d3e731e gleUnbindDeleteHashNamesAndObjects + 1798 GLEngine 0x000000010d2e9b1c glDeleteTextures_Exec + 6719 sphererun 0x0000000107d55eec ogl_destroy_bitmap + 11510 sphererun 0x0000000107d41680 al_destroy_bitmap + 17911 sphererun 0x0000000107d2870e al_convert_bitmap + 106612 sphererun 0x0000000107d28a1f _al_convert_to_memory_bitmap + 15813 sphererun 0x0000000107d51d30 destroy_display + 27314 sphererun 0x0000000107cc2d3b screen_free + 51 (screen.c:147)15 sphererun 0x0000000107cb35d0 shutdown_engine + 142 (main.c:485)16 sphererun 0x0000000107cb297d _al_mangled_main + 1085 (main.c:154)17 sphererun 0x0000000107cffc0a +[AllegroAppDelegate app_main:] + 2318 com.apple.Foundation 0x00007fffc91a68ad __NSThread__start__ + 124319 libsystem_pthread.dylib 0x00007fffdd11c93b _pthread_body + 18020 libsystem_pthread.dylib 0x00007fffdd11c887 _pthread_start + 28621 libsystem_pthread.dylib 0x00007fffdd11c08d thread_start + 13
function close_down(){ Dispatch.cancel(tokens[0]); Dispatch.cancel(tokens[1]);}
Dispatch.later(0, close_down);
Yeah I hadn't twigged that you'd changed the folder structure - I'd put the newly compiled binaries into my existing sphere folder and not changed the folder layout so of course it didn't work.