• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

OS X El Capitan 10.11 crash with File.browseForOpen with older AIR SDK (3.8)

Engaged ,
Oct 06, 2015 Oct 06, 2015

Copy link to clipboard

Copied

Just wanted to mention this in case you have any AIR apps on the Mac App Store or distributed to customers you want to check on if using an older captive runtime AIR SDK.

It seems there is a consistent crash happening on OS X El Capitan 10.11 with File.browseForOpen on one of my AIR apps distributed in the Mac App Store.

The app is currently distributed with an older AIR SDK (3.8), and never needed updating as it has worked perfectly fine all recent OS X updates, including 10.10.

However, now in 10.11 El Capitan, any attempt to use File.browseForOpen in the app crashes the app (with the crash info at the bottom of this message.)

I just tested rebuilding and rerunning the app with the latest AIR SDK 19 (albeit not in the app store sandbox environment) and it works fine in El Capitan so I guess an app store update is in order to avoid the crash.

Just wanted to mention this in case you want to check your OS X AIR apps, or does anyone know about this specific issue of a Save or Open Panel not running on the main thread that was fixed/changed in a recent AIR SDK that I just happened to miss? Or does anyone know if this is a new assertion with El Capitan?

Jeff

Crash info below:

-----------------------------------------------------------------------------------------

Crashed Thread:    16  BrowseInfo

Exception Type:    EXC_BREAKPOINT (SIGTRAP)
Exception Codes:   0x0000000000000002, 0x0000000000000000
Exception Note:    EXC_CORPSE_NOTIFY

Application Specific Information:

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'not running on AppKit (main) thread'

Thread 16 Crashed:: BrowseInfo

0   com.apple.CoreFoundation          0x9cbe8d37 ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 7

1   com.apple.CoreFoundation          0x9cbe8cc2 __raiseError + 978

2   libobjc.A.dylib                   0x9030ef11 objc_exception_throw + 276

3   com.apple.CoreFoundation          0x9cb7dafa +[NSException raise:format:arguments:] + 138

4   com.apple.Foundation              0x970e6744 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 102

5   com.apple.ViewBridge              0x9914d558 assertRunningOnAppKitThread + 193

6   com.apple.ViewBridge              0x9914e785 withHintInProgress + 35

7   com.apple.ViewBridge              0x990d6a9d -[NSViewBridge setObject:forKey:withKVO:] + 1025

8   com.apple.ViewBridge              0x990d659f -[NSViewBridge setObject:forKey:] + 56

9   com.apple.AppKit                  0x9a8f1296 -[NSVBSavePanel(NSSavePanelSPI) _setSet:forKey:] + 273

10  com.apple.AppKit                  0x9a9b1395 -[NSVBSavePanel refreshDelegateOptions] + 83

11  com.apple.AppKit                  0x9a2b8033 -[NSVBSavePanel setDelegate:] + 111

12  com.adobe.AIR                     0x024a236c 0x2000000 + 4858732

13  com.adobe.AIR                     0x02405caf 0x2000000 + 4218031

14  com.adobe.AIR                     0x02405cf9 0x2000000 + 4218105

15  com.adobe.AIR                     0x0251d099 0x2000000 + 5361817

16  com.adobe.AIR                     0x0251d113 0x2000000 + 5361939

17  com.adobe.AIR                     0x0251d1c3 0x2000000 + 5362115

TOPICS
Development

Views

425

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines