Adobe-Runtime-Support icon indicating copy to clipboard operation
Adobe-Runtime-Support copied to clipboard

AIR 50.2.5 Crashing in Debug Mode on Mac OS

Open RossD20Studios opened this issue 10 months ago • 4 comments

Problem Description

Describe your problem in detail. Include the following information:

AIR 50.2.5 Mac OS Ventura 13.5.2 Apple M2 Max IntelliJ

Steps to Reproduce

When I attempt to debug using AIR 50.2.5 with IntelliJ on my Mac, the application briefly loads then I get an error "adl quit unexpectedly"

Known Workarounds

When I switch back to using AIR 50.2.3, the debugger works as expected. The debugger also works fine in 50.2.5 when debugging an Android application via USB cable; the issue appears specific to running the application on Mac.

Note: I made certain to run xattr -d -r com.apple.quarantine /path/to/SDK (which was necessary to even get it to compile)

Note 2: I can also run in "Play" mode (not debug mode) in IntelliJ, but unfortunately, I don't get access to the break points this way.

RossD20Studios avatar Apr 23 '24 21:04 RossD20Studios

@ajwfrost - Here's the top portion of the crash report that Apple generates:


Translated Report (Full Report Below)

Process: adl [34877] Path: /Users/USER/*/adl Identifier: adl Version: ??? Code Type: ARM-64 (Native) Parent Process: idea [34371] Responsible: idea [34371] User ID: 501

Date/Time: 2024-04-23 15:49:58.2003 -0600 OS Version: macOS 13.5.2 (22G91) Report Version: 12 Anonymous UUID: 412177A2-2F42-4DD2-3E48-7058D39F997A

Sleep/Wake UUID: 65169B98-6062-4DA8-BCC1-8B4C83FC768E

Time Awake Since Boot: 200000 seconds Time Since Wake: 5386 seconds

System Integrity Protection: enabled

Crashed Thread: 19

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0xf2f9fbe4b7a5a5c5 -> 0xfffffbe4b7a5a5c5 (possible pointer authentication failure) Exception Codes: 0x0000000000000001, 0xf2f9fbe4b7a5a5c5

Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [34877]

RossD20Studios avatar Apr 23 '24 21:04 RossD20Studios

The same issue: https://github.com/airsdk/Adobe-Runtime-Support/issues/3166

itlancer avatar Apr 24 '24 13:04 itlancer

The same issue: #3166

Awesome, thanks for linking! I'd searched before posting this with keyword "Crash" since that was the specific error IntelliJ produced, but this indeed looks the same.

RossD20Studios avatar Apr 24 '24 16:04 RossD20Studios

I get this output with adl and SDK 50.2.5.1 'application descriptor file not specified usage: adl ( -runtime )? ( -pubid )? -nodebug? ( -profile PROFILE )? ( -extdir )? ( -screensize SCREEN_SIZE )? ? ( -- ... )? adl -help

PROFILE : mobileDevice|extendedMobileDevice|desktop|extendedDesktop|tv|extendedTV SCREEN_SIZE : ( x:x )|PREDEFINED_SCREEN_SIZE PREDEFINED_SCREEN_SIZE : iPhone|iPhoneRetina|iPhone5Retina|iPhone6|iPhone6Plus|iPod|iPodRetina|iPod5Retina|iPad|iPadRetina|Droid|NexusOne|SamsungGalaxyS|SamsungGalaxyTab|QVGA|WQVGA|FWQVGA|HVGA|WVGA|FWVGA|1080|720|480

Saving session... ...copying shared history... ...saving history...truncating history files... ...completed.

[Process completed] '

apofis1969 avatar Apr 26 '24 09:04 apofis1969