I have a crash (with a workaround) running 2017.2.1 & 2017.3.1 on an old old old Mac (2007 MBP):
It crashes on hitting the splash screen with the above 2 versions but works fine in 2017.1.3 - the error is as follows (snipped a bit)
- Code: Select all
Process: fgfs [3161]
Path: /Users/USER/Desktop/FlightGear2017.3.1.app/Contents/MacOS/fgfs
Identifier: org.flightgear.FlightGear
Version: 2017.3.1 (2017.3.1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: fgfs [3161]
User ID: 501
Date/Time: 2017-09-28 09:37:33.105 +0100
OS Version: Mac OS X 10.11.6 (15G1611)
Report Version: 11
Anonymous UUID: 9B80AFE5-C1F1-7A94-6118-98DCCAE2080F
Time Awake Since Boot: 52000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 osgdb_freetype.dylib 0x000000010c73851d TT_RunIns + 141
1 osgdb_freetype.dylib 0x000000010c737f75 tt_glyph_load + 4021
2 osgdb_freetype.dylib 0x000000010c727e5c FT_Load_Glyph + 844
3 osgdb_freetype.dylib 0x000000010c720ca6 FreeTypeFont::getGlyph(std::__1::pair<unsigned int, unsigned int> const&, unsigned int) + 118
4 libosgText.130.dylib 0x0000000104b5f08c osgText::Font::getGlyph(std::__1::pair<unsigned int, unsigned int> const&, unsigned int) + 316
5 libosgText.130.dylib 0x0000000104b71132 osgText::Text::computeLastCharacterOnLine(osg::Vec2f&, std::__1::__wrap_iter<unsigned int*>, std::__1::__wrap_iter<unsigned int*>) + 210
6 libosgText.130.dylib 0x0000000104b71604 osgText::Text::computeGlyphRepresentation() + 468
7 libosgText.130.dylib 0x0000000104b6daf2 osgText::TextBase::setText(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, osgText::String::Encoding) + 130
8 org.flightgear.FlightGear 0x0000000103c84939 SplashScreen::addText(osg::Geode*, osg::Vec2f const&, double, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, osgText::TextBase::AlignmentType, SGPropertyNode*, double, osg::Vec4f const&) + 329
9 org.flightgear.FlightGear 0x0000000103c82ce3 SplashScreen::createNodes() + 2595
10 org.flightgear.FlightGear 0x0000000103c856bd SplashScreen::doUpdate() + 509
11 org.flightgear.FlightGear 0x0000000103c86feb 0x103641000 + 6578155
12 libosg.130.dylib 0x00000001051c4031 osg::NodeCallback::run(osg::Object*, osg::Object*) + 81
13 org.flightgear.FlightGear 0x0000000103c86f4b 0x103641000 + 6577995
14 libosg.130.dylib 0x00000001052211af osg::Group::traverse(osg::NodeVisitor&) + 47
15 libosg.130.dylib 0x000000010522260b osg::Group::accept(osg::NodeVisitor&) + 107
16 libosgViewer.130.dylib 0x0000000105065229 osgViewer::Viewer::updateTraversal() + 201
17 libosgViewer.130.dylib 0x000000010506aa5d osgViewer::ViewerBase::frame(double) + 109
18 org.flightgear.FlightGear 0x0000000103c61fee fgOSMainLoop() + 126
19 org.flightgear.FlightGear 0x00000001036831db fgMainInit(int, char**) + 4635
20 org.flightgear.FlightGear 0x0000000103649ff2 main + 290
21 org.flightgear.FlightGear 0x0000000103649ce4 start + 52
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff9aeeeefa kevent_qos + 10
1 libdispatch.dylib 0x00007fff9b801165 _dispatch_mgr_invoke + 216
2 libdispatch.dylib 0x00007fff9b800dcd _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff9aeee5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8a065578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff8a063341 start_wqthread + 13
Thread 3:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff9aee7f72 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff9aee73b3 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff86962114 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff869615dc __CFRunLoopRun + 1356
4 com.apple.CoreFoundation 0x00007fff86960e28 CFRunLoopRunSpecific + 296
5 com.apple.AppKit 0x00007fff9003dd95 _NSEventThread + 149
6 libsystem_pthread.dylib 0x00007fff8a06599d _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff8a06591a _pthread_start + 168
8 libsystem_pthread.dylib 0x00007fff8a063351 thread_start + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff9aeee5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8a065578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff8a063341 start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff9aeee5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8a065578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff8a063341 start_wqthread + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff9aeee5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8a065578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff8a063341 start_wqthread + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff9aeeddb6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8a066728 _pthread_cond_wait + 767
2 org.flightgear.FlightGear 0x0000000103e0a6d3 0x103641000 + 8165075
3 org.flightgear.FlightGear 0x0000000103e0a384 0x103641000 + 8164228
4 org.flightgear.FlightGear 0x0000000103ef797a SGThread::PrivateData::start_routine(void*) + 10
5 libsystem_pthread.dylib 0x00007fff8a06599d _pthread_body + 131
6 libsystem_pthread.dylib 0x00007fff8a06591a _pthread_start + 168
7 libsystem_pthread.dylib 0x00007fff8a063351 thread_start + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff9aeeddb6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8a066728 _pthread_cond_wait + 767
2 libOpenThreads.20.dylib 0x00000001054bedcf OpenThreads::Condition::wait(OpenThreads::Mutex*) + 79
3 libosgViewer.130.dylib 0x000000010502c372 osgViewer::Renderer::ThreadSafeQueue::takeFront() + 50
4 libosgViewer.130.dylib 0x0000000105030a74 osgViewer::Renderer::draw() + 180
5 libosg.130.dylib 0x000000010521c69c osg::GraphicsContext::runOperations() + 204
6 libosg.130.dylib 0x00000001052802f5 osg::OperationThread::run() + 613
7 libosg.130.dylib 0x000000010521f7b9 osg::GraphicsThread::run() + 89
8 libOpenThreads.20.dylib 0x00000001054bddd0 OpenThreads::ThreadPrivateActions::StartThread(void*) + 192
9 libsystem_pthread.dylib 0x00007fff8a06599d _pthread_body + 131
10 libsystem_pthread.dylib 0x00007fff8a06591a _pthread_start + 168
11 libsystem_pthread.dylib 0x00007fff8a063351 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x000000010c73cad0 rbx: 0x00007ff7059e6800 rcx: 0x000000010c73cb50 rdx: 0x0000000000000001
rdi: 0x00007ff7059e6800 rsi: 0x0000000000000000 rbp: 0x00007fff5c5bd8f0 rsp: 0x00007fff5c5bd7b0
r8: 0x0000000000000000 r9: 0x00007fff5c5bd884 r10: 0x00000000a2d1ee75 r11: 0x00000000fc99736f
r12: 0x00007ff7162e52c0 r13: 0x00007ff705850800 r14: 0x0000000000000029 r15: 0x00007ff7059e6800
rip: 0x000000010c73851d rfl: 0x0000000000010246 cr2: 0x000000010c7401b0
Logical CPU: 0
Error Code: 0x00000000
Trap Number: 6
The bad instruction error, the fact that it was crashing in freetype & the fact that 2017.1.3 still worked made be try something: taking the OSG freetype plugin from 2017.1.3 & putting it in 2017.2.1 & 2017.3.1.
It works - I copied osgdb_freetype.dylib from $APPDIR/Contents/PlugIns/osgPlugins in 2017.1.3 into the same place for 2017.2.1 & 2017.3.1 & they both work fine
I'm not sure of it's something peculiar to my setup or just that this MBP has an ancient processor (T7700 Merom Core 2 Duo) that doesn't support a type of instruction that the newer freetype needs
Anyway - this is just for info in case anyone else has come across the same problem...