Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linux] NativeApplication.nativeApplication.exit() sometimes cause crash #3619

Open
itlancer opened this issue Dec 22, 2024 · 0 comments
Open
Labels

Comments

@itlancer
Copy link

itlancer commented Dec 22, 2024

Problem Description

NativeApplication.nativeApplication.exit() call sometimes cause crash for Linux devices.
I cannot isolate it in sample cause it happens in complex applications only in ~5% of application closes. May be it somehow relevant to audo playback (or even attempt of playback non-existing audio file via Sound class). May be it happens when application launched under sudo (even without workarounds mentioned here #3450).

Tested with multiple AIR 51 versions, even with latest AIR 51.1.3.1 with multiple different Linux x86_64 devices (physical and VM), different OS versions and different applications.
Tested with multiple Ubuntu x86_64 22.04.4 LTS and Ubuntu x86_64 24.04.1 LTS devices with different window managers.
Same issue in all cases.
There is no such issue with other platforms.

Related issues:
#3505
#3498
#3453
#3452
#3450
#1984

Steps to Reproduce

Launch app, call NativeApplication.nativeApplication.exit() somehow.

Ful crash log attached.
crash_log.zip

Actual Result:
In ~5% of attempts you will get application crash.

double free or corruption (!prev)
Application crashed with an unhandled SIGABRT

/home/username/Downloads/MyApp/Adobe AIR/Versions/1.0/libCore.so(+0x5ee37e) [0x7986a8fee37e]
/home/username/Downloads/MyApp/Adobe AIR/Versions/1.0/libCore.so(+0x5db43e) [0x7986a8fdb43e]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7986ab042520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c) [0x7986ab0969fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16) [0x7986ab042476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3) [0x7986ab0287f3]
/lib/x86_64-linux-gnu/libc.so.6(+0x89676) [0x7986ab089676]
/lib/x86_64-linux-gnu/libc.so.6(+0xa0cfc) [0x7986ab0a0cfc]
/lib/x86_64-linux-gnu/libc.so.6(+0xa29ca) [0x7986ab0a29ca]
/lib/x86_64-linux-gnu/libc.so.6(free+0x73) [0x7986ab0a5453]
/lib/x86_64-linux-gnu/libasound.so.2(snd_timer_close+0x5d) [0x7986a61a95cd]
/lib/x86_64-linux-gnu/libasound.so.2(+0xac635) [0x7986a61a9635]
/lib/x86_64-linux-gnu/libasound.so.2(snd_pcm_close+0x75) [0x7986a61990d5]
/lib/x86_64-linux-gnu/libasound.so.2(+0x9d598) [0x7986a619a598]
/lib/x86_64-linux-gnu/libasound.so.2(+0x9d5b4) [0x7986a619a5b4]
/lib/x86_64-linux-gnu/libasound.so.2(snd_pcm_close+0x75) [0x7986a61990d5]
/lib/x86_64-linux-gnu/libasound.so.2(+0x9d22d) [0x7986a619a22d]
/lib/x86_64-linux-gnu/libasound.so.2(snd_pcm_close+0x75) [0x7986a61990d5]
/home/username/Downloads/MyApp/Adobe AIR/Versions/1.0/libCore.so(+0x600373) [0x7986a9000373]
/home/username/Downloads/MyApp/Adobe AIR/Versions/1.0/libCore.so(+0x3a5dd6) [0x7986a8da5dd6]
/home/username/Downloads/MyApp/Adobe AIR/Versions/1.0/libCore.so(+0x64d792) [0x7986a904d792]
/home/username/Downloads/MyApp/Adobe AIR/Versions/1.0/libCore.so(+0x5dbeb8) [0x7986a8fdbeb8]
/home/username/Downloads/MyApp/Adobe AIR/Versions/1.0/libCore.so(+0x62d452) [0x7986a902d452]
/home/username/Downloads/MyApp/Adobe AIR/Versions/1.0/libCore.so(+0x8560c8) [0x7986a92560c8]
/home/username/Downloads/MyApp/Adobe AIR/Versions/1.0/libCore.so(+0x8f1f91) [0x7986a92f1f91]
/lib/x86_64-linux-gnu/libc.so.6(+0x94ac3) [0x7986ab094ac3]
/lib/x86_64-linux-gnu/libc.so.6(+0x126850) [0x7986ab126850]

Expected Result:
Application will be closed without crash.

Known Workarounds

none

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant