Teensyduino started crashing at start (Mac OS-X Yosemite)

kig

Active member
Getting this error in the /var/log/system.log:

For some reason starting last night my Teensyduino simply does not start at all. I've been using it before then without problems. I do not recall installing any system updates in between. Yesterday it was working, now it doesn't. I tried restarting too.

I searched for this weird error and starting mid-November there are lots of reports of this error across the internet. It's this error that other people are reporting with lots of other applications.

WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.1 instead of 10.10.1. Use NSProcessInfo's operatingSystemVersion property to get correct system version number.

Here is a full stack trace in system.log.... Any idea what may have changed? Can it be recompiled for Yosemite 10.10.1? I can't upload anything right now :(

Code:
Dec 13 03:01:08 iMacKiggie.local teensy[6619]: WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.1 instead of 10.10.1. Use NSProcessInfo's operatingSystemVersion property to get correct system version number.
        Call location:
Dec 13 03:01:08 iMacKiggie.local teensy[6619]: 0   CarbonCore                          0x97d867e7 ___Gestalt_SystemVersion_block_invoke + 135
Dec 13 03:01:08 iMacKiggie.local teensy[6619]: 1   libdispatch.dylib                   0x963ed0b5 dispatch_once_f + 251
Dec 13 03:01:08 iMacKiggie.local teensy[6619]: 2   libdispatch.dylib                   0x963ee0d8 dispatch_once + 31
Dec 13 03:01:08 iMacKiggie.local teensy[6619]: 3   CarbonCore                          0x97d18fb8 _Gestalt_SystemVersion + 1050
Dec 13 03:01:08 iMacKiggie.local teensy[6619]: 4   CarbonCore                          0x97d18b69 Gestalt + 150
Dec 13 03:01:08 iMacKiggie.local teensy[6619]: 5   teensy                              0x0002d85a _ZN27wxMacDataItemBrowserControlD0Ev + 2538
Dec 13 03:01:08 iMacKiggie.local teensy[6619]: 6   teensy                              0x00032c36 _ZN11wxAccelListD1Ev + 8774

Thanks!
 
Some reports are saying that the source code needs to change to use the new API to get system version.... Is that an easy change to try?

If you can either point me in the direction of source, or compile a version of me that uses operatingSystemVersion() instead of gestaltSystemVersion(), I can try it and see if it fixes the problem?
 
Some reports are saying that the source code needs to change to use the new API to get system version.... Is that an easy change to try?

If you can either point me in the direction of source, or compile a version of me that uses operatingSystemVersion() instead of gestaltSystemVersion(), I can try it and see if it fixes the problem?

OK this is super weird.

I rebooted my Mac twice, and on the second time, for whatever reason, it is now working and starts like before, and I just uploaded a sketch.

Phew! Still wonder what the hell that was.....
 
Back
Top