App crashes on startup with an SDL error shown here only on some android devices:
Affected devices are “Samsung Galaxy A13” (confirmed by myself), and likely also “samsung a02q (Galaxy A02s)” and “Motorola moto g pure” (just going by user reviews on those).
The only shared characteristic I’ve immediately noticed was a 720x1600 resolution, which may be an uncommon resolution? Wouldn’t think that would cause a crash though.
It occurs on both lime 8.0.1 / openfl 9.2.1 as well as lime 8.0.2 / openfl 9.2.2. I was able to reproduce it with the PiratePig sample. I’m targeting Android SDK 33 but it happens with other targets as well.
I don’t have any idea on how to solve or debug this but wanted to document it and see if anyone had any ideas. For now my workaround is just to exclude these devices manually in the google play store. :\
Which version of the Android NDK are you using? I believe that NDK r15c currently works best. If you’re using a newer version, it might be worth trying to roll back to r15c to see if you still have the same issue.
I’m using r21e, which I believe I had to use because I was unable to compile while targeting android 33 with r15c.
gyfak1
July 20, 2023, 12:24pm
#4
try to set targetSDK 31, minSDK 21. My be problem with gradle version.
pozirk
September 16, 2023, 2:35pm
#5
@dustinaux , were you able to fix the problem?
no, I’ve just excluded the affected devices from downloading the game
pozirk
September 17, 2023, 10:57pm
#7
Well, not good.
Have you tried older openfl/lime version like 9.2.0/8.0.0?
Does it happen on specific Android version or any version?
I don’t have any problems with Samsung Galaxy A13 and Samsung a02q. In Google Analytics, these devices have the same session duration as other devices.
for the build I use:
Haxe 4.2.5
hxcpp: 4.2.1
openfl: 9.2.0
lime: 8.0.0
<android target-sdk-version="33" minimum-sdk-version="21"/>
<config:android gradle-version="8.0"/>
<config:android gradle-plugin="8.1.0"/>
android-ndk-r21e
java-1.17.0-openjdk-amd64
pozirk
September 20, 2023, 2:03am
#9
@Vortelio thanks for details!
Have you tried the latest haxe/hxcpp 4.3.2 and latest lime/openfl versions?
For now I am very dependent on these versions. It takes time to transition.
pozirk
September 20, 2023, 3:20pm
#11
Ok, I was able to get similar error message on my test Android 11 and Android 7 phones.
It happens only with hxcpp 4.3.2 and armv7 version.
Everything is fine with hxcpp 4.2.5, openfl/lime versions don’t matter.
armv64 build throws some strange error in the logs but runs with no problems.
armv64 error from logs
09-20 10:12:45.911 10510 10543 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 10543 (SDLThread), pid 10510 (SDLActivity)
09-20 10:12:46.095 10569 10569 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-20 10:12:46.096 10569 10569 F DEBUG : Build fingerprint: ‘UMIDIGI/A9/A9:11/RP1A.200720.011/2101211515:user/release-keys’
09-20 10:12:46.096 10569 10569 F DEBUG : Revision: ‘0’
09-20 10:12:46.096 10569 10569 F DEBUG : ABI: ‘arm64’
09-20 10:12:46.097 10569 10569 F DEBUG : Timestamp: 2023-09-20 10:12:46-0400
09-20 10:12:46.097 10569 10569 F DEBUG : pid: 10510, tid: 10543, name: SDLThread >>> air.com.pozirk.allinonesolitaire <<<
09-20 10:12:46.097 10569 10569 F DEBUG : uid: 10311
09-20 10:12:46.097 10569 10569 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
09-20 10:12:46.097 10569 10569 F DEBUG : x0 0000000000000000 x1 000000000000292f x2 0000000000000006 x3 000000725320eaa0
09-20 10:12:46.097 10569 10569 F DEBUG : x4 0000000000000005 x5 0000000000000005 x6 0000000000000005 x7 7f7f7f7f7f7fff7f
09-20 10:12:46.097 10569 10569 F DEBUG : x8 00000000000000f0 x9 000000755a1c0800 x10 ffffff80fffffbdf x11 0000000000000001
09-20 10:12:46.097 10569 10569 F DEBUG : x12 0000000000000000 x13 0000000000000001 x14 0000000000000000 x15 00000075573eb050
09-20 10:12:46.097 10569 10569 F DEBUG : x16 000000755a259c80 x17 000000755a23b3a0 x18 00000000000000cd x19 00000000000000ac
09-20 10:12:46.097 10569 10569 F DEBUG : x20 000000000000290e x21 00000000000000b2 x22 000000000000292f x23 00000000ffffffff
09-20 10:12:46.097 10569 10569 F DEBUG : x24 000000725320ec20 x25 000000725320ec28 x26 000000725838c3b4 x27 0000000000000001
09-20 10:12:46.097 10569 10569 F DEBUG : x28 0000000000000000 x29 000000725320eb20
09-20 10:12:46.097 10569 10569 F DEBUG : lr 000000755a1ee544 sp 000000725320ea80 pc 000000755a1ee574 pst 0000000000000000
09-20 10:12:46.265 10569 10569 F DEBUG : backtrace:
09-20 10:12:46.265 10569 10569 F DEBUG : #00 pc 000000000004e574 /apex/com.android.runtime/lib64/bionic/libc.so (abort+180) (BuildId: 3dd99fe7a181e7428f58a10f32f9fd0e)
09-20 10:12:46.265 10569 10569 F DEBUG : #01 pc 0000000000552fe0 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/liblime.so (_Unwind_SetGR+16)
09-20 10:12:46.265 10569 10569 F DEBUG : #02 pc 0000000000537858 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/liblime.so (__gxx_personality_v0+180)
09-20 10:12:46.265 10569 10569 F DEBUG : #03 pc 000000000141a394 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.265 10569 10569 F DEBUG : #04 pc 000000000141a6b8 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so (_Unwind_RaiseException+252)
09-20 10:12:46.265 10569 10569 F DEBUG : #05 pc 0000000001403f64 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so (__cxa_throw+104)
09-20 10:12:46.265 10569 10569 F DEBUG : #06 pc 000000000133b228 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #07 pc 00000000012a8704 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #08 pc 00000000000d5f40 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/liblime.so
09-20 10:12:46.266 10569 10569 F DEBUG : #09 pc 00000000000f63f0 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/liblime.so
09-20 10:12:46.266 10569 10569 F DEBUG : #10 pc 00000000000fb1f8 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/liblime.so
09-20 10:12:46.266 10569 10569 F DEBUG : #11 pc 0000000000f73524 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #12 pc 000000000055093c /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #13 pc 000000000076f044 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #14 pc 0000000000f2ba60 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #15 pc 0000000000f4f25c /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #16 pc 000000000122a9e8 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #17 pc 0000000001229ec0 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #18 pc 0000000001230db4 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #19 pc 00000000007a3794 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #20 pc 000000000083705c /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #21 pc 0000000000837708 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #22 pc 0000000000a0cd04 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #23 pc 0000000000a0dc60 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #24 pc 0000000000a0dbc4 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #25 pc 00000000003e3a48 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #26 pc 00000000008a7c5c /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #27 pc 00000000009aec48 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #28 pc 00000000009aed8c /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #29 pc 00000000012c712c /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #30 pc 000000000039f7f4 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #31 pc 0000000000b9bc34 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #32 pc 00000000008f4ecc /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #33 pc 00000000008f2b80 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #34 pc 00000000008f2534 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #35 pc 0000000000b86f00 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #36 pc 0000000000b86d0c /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #37 pc 00000000003e3a48 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #38 pc 0000000000615b4c /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #39 pc 0000000000615a98 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #40 pc 00000000003e3a48 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #41 pc 000000000112c63c /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #42 pc 000000000112c2e8 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #43 pc 000000000112c81c /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.266 10569 10569 F DEBUG : #44 pc 00000000012c6af8 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.267 10569 10569 F DEBUG : #45 pc 00000000012aa4c8 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.267 10569 10569 F DEBUG : #46 pc 00000000000ad430 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/liblime.so
09-20 10:12:46.267 10569 10569 F DEBUG : #47 pc 000000000010e144 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/liblime.so
09-20 10:12:46.267 10569 10569 F DEBUG : #48 pc 000000000010e36c /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/liblime.so
09-20 10:12:46.267 10569 10569 F DEBUG : #49 pc 000000000010c414 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/liblime.so
09-20 10:12:46.267 10569 10569 F DEBUG : #50 pc 00000000000cc09c /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/liblime.so
09-20 10:12:46.267 10569 10569 F DEBUG : #51 pc 000000000112bd6c /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.267 10569 10569 F DEBUG : #52 pc 000000000066aa90 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.267 10569 10569 F DEBUG : #53 pc 0000000000a0c1e4 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.267 10569 10569 F DEBUG : #54 pc 0000000000a0aa90 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.267 10569 10569 F DEBUG : #55 pc 00000000012752e8 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so
09-20 10:12:46.267 10569 10569 F DEBUG : #56 pc 0000000001275188 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/libApplicationMain.so (hxcpp_main+56)
09-20 10:12:46.267 10569 10569 F DEBUG : #57 pc 00000000004d55b4 /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/lib/arm64/liblime.so (Java_org_libsdl_app_SDLActivity_nativeRunMain+484)
09-20 10:12:46.267 10569 10569 F DEBUG : #58 pc 000000000013ced4 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: 07e9d1b6c845ed0756a71370c009243a)
09-20 10:12:46.267 10569 10569 F DEBUG : #59 pc 00000000001337e8 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: 07e9d1b6c845ed0756a71370c009243a)
09-20 10:12:46.267 10569 10569 F DEBUG : #60 pc 00000000001a9804 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+228) (BuildId: 07e9d1b6c845ed0756a71370c009243a)
09-20 10:12:46.267 10569 10569 F DEBUG : #61 pc 000000000031c040 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: 07e9d1b6c845ed0756a71370c009243a)
09-20 10:12:46.267 10569 10569 F DEBUG : #62 pc 0000000000312228 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+912) (BuildId: 07e9d1b6c845ed0756a71370c009243a)
09-20 10:12:46.267 10569 10569 F DEBUG : #63 pc 000000000068861c /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+548) (BuildId: 07e9d1b6c845ed0756a71370c009243a)
09-20 10:12:46.267 10569 10569 F DEBUG : #64 pc 000000000012d994 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 07e9d1b6c845ed0756a71370c009243a)
09-20 10:12:46.267 10569 10569 F DEBUG : #65 pc 000000000000b64c [anon:dalvik-classes6.dex extracted in memory from /data/app/~~HGh_k1C8BFstEWlTP49bWQ==/air.com.pozirk.allinonesolitaire-CqNO7-kpDdzx5jyVOkzh3g==/base.apk!classes6.dex] (org.libsdl.app.SDLMain.run+156)
09-20 10:12:46.267 10569 10569 F DEBUG : #66 pc 00000000006873a4 /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1812) (BuildId: 07e9d1b6c845ed0756a71370c009243a)
09-20 10:12:46.268 10569 10569 F DEBUG : #67 pc 000000000012da14 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 07e9d1b6c845ed0756a71370c009243a)
09-20 10:12:46.268 10569 10569 F DEBUG : #68 pc 00000000000eb930 /apex/com.android.art/javalib/core-oj.jar (java.lang.Thread.run+8)
09-20 10:12:46.268 10569 10569 F DEBUG : #69 pc 00000000003094d0 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.15352004904310312929)+264) (BuildId: 07e9d1b6c845ed0756a71370c009243a)
09-20 10:12:46.268 10569 10569 F DEBUG : #70 pc 00000000006740c0 /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+776) (BuildId: 07e9d1b6c845ed0756a71370c009243a)
09-20 10:12:46.268 10569 10569 F DEBUG : #71 pc 000000000013cff8 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 07e9d1b6c845ed0756a71370c009243a)
09-20 10:12:46.268 10569 10569 F DEBUG : #72 pc 0000000000133564 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 07e9d1b6c845ed0756a71370c009243a)
09-20 10:12:46.268 10569 10569 F DEBUG : #73 pc 00000000001a97e8 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: 07e9d1b6c845ed0756a71370c009243a)
09-20 10:12:46.268 10569 10569 F DEBUG : #74 pc 000000000055c384 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValuesart::ArtMethod* (art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+460) (BuildId: 07e9d1b6c845ed0756a71370c009243a)
09-20 10:12:46.268 10569 10569 F DEBUG : #75 pc 00000000005ac204 /apex/com.android.art/lib64/libart.so (art: :CreateCallback(void*)+1308) (BuildId: 07e9d1b6c845ed0756a71370c009243a)
09-20 10:12:46.268 10569 10569 F DEBUG : #76 pc 00000000000b0bd8 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: 3dd99fe7a181e7428f58a10f32f9fd0e)
09-20 10:12:46.268 10569 10569 F DEBUG : #77 pc 00000000000505d0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 3dd99fe7a181e7428f58a10f32f9fd0e)
I think that using NDK r15c instead of a newer NDK may be a workaround for the __atomic_compare_exchange_4
issue. At least with the current release of Lime.
I believe that the Lime 8.2.0-Dev branch supports newer NDKs than the current release of Lime, so it may be worth trying that upcoming version with a newer NDK. Obviously, it’s a little more work because you’ll need to rebuild Lime yourself or download a .zip nightly build from Github Actions. But more testing would be appreciated.
pozirk
September 20, 2023, 4:14pm
#13
Yes, forgot to mention, I’m using NDK r21e.
So, is it hxcpp problem or lime?
Partially Lime for sure (which is why things are improved in the 8.2.0-Dev branch). However, I think that I’m starting to recall that, with the 8.2.0-Dev branch, you might also need the latest commits of hxcpp from GitHub (not yet released to Haxelib). So partially hxcpp too.
1 Like