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

Android crash to pthread_mutex_lock called on a destroyed mutex #586

Closed
rainyt opened this issue Feb 27, 2023 · 12 comments
Closed

Android crash to pthread_mutex_lock called on a destroyed mutex #586

rainyt opened this issue Feb 27, 2023 · 12 comments

Comments

@rainyt
Copy link

rainyt commented Feb 27, 2023

--------- beginning of crash
2023-02-27 22:00:10.991 23955-24005/com.example.heapsandroid.helloworld A/libc: FORTIFY: pthread_mutex_lock called on a destroyed mutex (0x40002860)
2023-02-27 22:00:10.991 23955-24006/com.example.heapsandroid.helloworld A/libc: FORTIFY: pthread_mutex_lock called on a destroyed mutex (0x40002938)
2023-02-27 22:00:10.991 23955-24005/com.example.heapsandroid.helloworld A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 24005 (SDLThread), pid 23955 (roid.helloworld)
2023-02-27 22:00:11.026 10313-10324/? D/BufferQueueConsumer: SurfaceTexture-0-10313-173 disconnect
2023-02-27 22:00:11.183 24010-24010/? A/DEBUG: Softversion: PD2241_A_.W10.V000L1
2023-02-27 22:00:11.183 24010-24010/? A/DEBUG: Time: 2023-02-27 22:00:11
2023-02-27 22:00:11.183 24010-24010/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2023-02-27 22:00:11.183 24010-24010/? A/DEBUG: Build fingerprint: 'vivo/PD2241/PD2241:13/TP1A.220624.014/compiler02112139:user/release-keys'
2023-02-27 22:00:11.183 24010-24010/? A/DEBUG: Revision: '0'
2023-02-27 22:00:11.183 24010-24010/? A/DEBUG: ABI: 'arm64'
2023-02-27 22:00:11.183 24010-24010/? A/DEBUG: Timestamp: 2023-02-27 22:00:11.034295363+0800
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: Process uptime: 2s
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: Cmdline: com.example.heapsandroid.helloworld
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: pid: 23955, tid: 24005, name: SDLThread >>> com.example.heapsandroid.helloworld <<<
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: uid: 10340
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: Abort message: 'FORTIFY: pthread_mutex_lock called on a destroyed mutex (0x40002860)'
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: x0 0000000000000000 x1 0000000000005dc5 x2 0000000000000006 x3 0000007664b519d0
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: x4 0000000080808080 x5 0000000080808080 x6 0000000080808080 x7 8080808000000000
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: x8 00000000000000f0 x9 00000079ab6a9b10 x10 0000000000000001 x11 00000079ab6eafa0
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: x12 0
*****1 x13 000000007fffffff x14 0000000007e2b970 x15 0000000000000068
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: x16 00000079ab757d58 x17 00000079ab733ae0 x18 00000075dd966000 x19 0000000000005d93
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: x20 0000000000005dc5 x21 00000000ffffffff x22 0000000000005db9 x23 0000000000005d93
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: x24 0000007664b51cb0 x25 0000007664b51cb0 x26 0000007664b51ff8 x27 000000766606c000
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: x28 0000000000000000 x29 0000007664b51a50
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: lr 00000079ab6db868 sp 0000007664b519b0 pc 00000079ab6db894 pst 0000000000001000
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: backtrace:
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: #00 pc 0000000000053894 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: 5a205e0b8bae50f8572267faee8568c8)
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: #1 pc 000000000005592c /apex/com.android.runtime/lib64/bionic/libc.so (__fortify_fatal(char const*, ...)+124) (BuildId: 5a205e0b8bae50f8572267faee8568c8)
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: #2 pc 00000000000c32cc /apex/com.android.runtime/lib64/bionic/libc.so (HandleUsingDestroyedMutex(pthread_mutex_t*, char const*)+60) (BuildId: 5a205e0b8bae50f8572267faee8568c8)
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: #3 pc 00000000000c3160 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_mutex_lock+224) (BuildId: 5a205e0b8bae50f8572267faee8568c8)
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: #4 pc 0000000000967cb4 /data/app/~~vLJNQAC20y6xrP5YEXT2FQ==/com.example.heapsandroid.helloworld-Csstizh6D2fMCjeE-seN5w==/lib/arm64/libheapsapp.so (hl_lock_release+40) (BuildId: 0557414984bbb53fc63504d1e6a1675af160df4d)
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: #5 pc 00000000009680f4 /data/app/~~vLJNQAC20y6xrP5YEXT2FQ==/com.example.heapsandroid.helloworld-Csstizh6D2fMCjeE-seN5w==/lib/arm64/libheapsapp.so (BuildId: 0557414984bbb53fc63504d1e6a1675af160df4d)
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: #6 pc 00000000000c1f00 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+224) (BuildId: 5a205e0b8bae50f8572267faee8568c8)
2023-02-27 22:00:11.184 24010-24010/? A/DEBUG: #7 pc 00000000000552e0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 5a205e0b8bae50f8572267faee8568c8)

@rainyt
Copy link
Author

rainyt commented Feb 27, 2023

Heaps 1.10.0
Haxe 4.3.0
Hashlink 1.13.0

@ncannasse
Copy link
Member

Could you confirm that the referenced commit fixes it ?

onehundredfeet added a commit to onehundredfeet/hashlink that referenced this issue Feb 28, 2023
commit 6d0af2e
Author: Nicolas Cannasse <ncannasse@gmail.com>
Date:   Tue Feb 28 18:43:08 2023 +0100

    added missing mutex wait on linux thread create (see HaxeFoundation#586)

commit 93412a0
Author: Nicolas Cannasse <ncannasse@gmail.com>
Date:   Mon Feb 27 12:12:28 2023 +0100

    added hl_file_error_code
@rainyt
Copy link
Author

rainyt commented Mar 1, 2023

Could you confirm that the referenced commit fixes it ?

Hello, test results:

  1. Android App will no longer crash.

  2. However, the black screen will often appear at startup, without any game content. (It seems to be waiting indefinitely)

@ncannasse
Copy link
Member

ncannasse commented Mar 1, 2023 via email

@rainyt
Copy link
Author

rainyt commented Mar 1, 2023

Could you add some logs to see if the mutexes states are correctly called ? Le mer. 1 mars 2023 à 01:33, Rainy @.***> a écrit :

2023-03-01 15:18:25.433 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_id
2023-03-01 15:18:25.481 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_current
2023-03-01 15:18:25.482 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_create
2023-03-01 15:18:25.483 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_current
2023-03-01 15:18:25.552 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_current
2023-03-01 15:18:25.552 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_release
2023-03-01 15:18:25.552 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_current
2023-03-01 15:18:25.552 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_release
2023-03-01 15:18:25.552 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_current
2023-03-01 15:18:25.552 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_wait
2023-03-01 15:18:25.552 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC2
2023-03-01 15:18:25.552 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_wait
2023-03-01 15:18:25.552 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC2
2023-03-01 15:18:25.552 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_wait
2023-03-01 15:18:25.552 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC2
2023-03-01 15:18:25.552 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC3
2023-03-01 15:18:25.552 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_wait
2023-03-01 15:18:25.552 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC2
2023-03-01 15:18:25.552 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC3
2023-03-01 15:18:25.552 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_wait
2023-03-01 15:18:25.552 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC2
2023-03-01 15:18:25.552 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC3
2023-03-01 15:18:25.552 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_wait
2023-03-01 15:18:25.552 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC2
2023-03-01 15:18:25.552 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC3
2023-03-01 15:18:25.553 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_wait
2023-03-01 15:18:25.553 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC2
2023-03-01 15:18:25.553 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC3
2023-03-01 15:18:25.553 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_wait
2023-03-01 15:18:25.553 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC2
2023-03-01 15:18:25.553 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC3
2023-03-01 15:18:25.553 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_wait
2023-03-01 15:18:25.553 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC2
2023-03-01 15:18:25.553 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC3
2023-03-01 15:18:25.553 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_wait
2023-03-01 15:18:25.553 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC2
2023-03-01 15:18:25.553 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC3
2023-03-01 15:18:25.629 1004-5112/? E/AGPService: FrameRateManager: iaware strange app type: -1
2023-03-01 15:18:25.636 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_current
2023-03-01 15:18:25.636 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_current
2023-03-01 15:18:25.636 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_start
2023-03-01 15:18:25.636 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_create
2023-03-01 15:18:25.636 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC
2023-03-01 15:18:25.636 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_wait
2023-03-01 15:18:25.636 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC2
2023-03-01 15:18:25.636 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC3
2023-03-01 15:18:25.636 9148-9236/com.example.heapsandroid.helloworld E/native-log: hl_thread_id
2023-03-01 15:18:25.636 9148-9236/com.example.heapsandroid.helloworld E/native-log: hl_lock_release
2023-03-01 15:18:25.636 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_current
2023-03-01 15:18:25.636 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_current
2023-03-01 15:18:25.636 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_start
2023-03-01 15:18:25.636 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_create
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_wait
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC2
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC3
2023-03-01 15:18:25.637 9148-9237/com.example.heapsandroid.helloworld E/native-log: hl_thread_id
2023-03-01 15:18:25.637 9148-9237/com.example.heapsandroid.helloworld E/native-log: hl_lock_release
2023-03-01 15:18:25.637 9148-9237/com.example.heapsandroid.helloworld E/native-log: hl_thread_current
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_current
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_current
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_start
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_create
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_wait
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC2
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC3
2023-03-01 15:18:25.637 9148-9238/com.example.heapsandroid.helloworld E/native-log: hl_thread_id
2023-03-01 15:18:25.637 9148-9238/com.example.heapsandroid.helloworld E/native-log: hl_lock_release
2023-03-01 15:18:25.637 9148-9238/com.example.heapsandroid.helloworld E/native-log: hl_thread_current
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_current
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_current
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_start
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_create
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_wait
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC2
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC3
2023-03-01 15:18:25.637 9148-9239/com.example.heapsandroid.helloworld E/native-log: hl_thread_id
2023-03-01 15:18:25.637 9148-9239/com.example.heapsandroid.helloworld E/native-log: hl_lock_release
2023-03-01 15:18:25.637 9148-9239/com.example.heapsandroid.helloworld E/native-log: hl_thread_current
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_current
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_current
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_start
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_create
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_wait
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC2
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC3
2023-03-01 15:18:25.637 9148-9240/com.example.heapsandroid.helloworld E/native-log: hl_thread_id
2023-03-01 15:18:25.637 9148-9240/com.example.heapsandroid.helloworld E/native-log: hl_lock_release
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_current
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_current
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_start
2023-03-01 15:18:25.637 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_create
2023-03-01 15:18:25.638 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC
2023-03-01 15:18:25.638 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_wait
2023-03-01 15:18:25.638 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC2
2023-03-01 15:18:25.638 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC3
2023-03-01 15:18:25.638 9148-9241/com.example.heapsandroid.helloworld E/native-log: hl_thread_id
2023-03-01 15:18:25.638 9148-9241/com.example.heapsandroid.helloworld E/native-log: hl_lock_release
2023-03-01 15:18:25.638 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_current
2023-03-01 15:18:25.638 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_current
2023-03-01 15:18:25.638 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_thread_start
2023-03-01 15:18:25.638 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_create
2023-03-01 15:18:25.638 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC
2023-03-01 15:18:25.638 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_wait
2023-03-01 15:18:25.638 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC2
2023-03-01 15:18:25.638 9148-9225/com.example.heapsandroid.helloworld E/native-log: withGC3
2023-03-01 15:18:25.638 9148-9242/com.example.heapsandroid.helloworld E/native-log: hl_thread_id
2023-03-01 15:18:25.638 9148-9242/com.example.heapsandroid.helloworld E/native-log: hl_lock_release
2023-03-01 15:18:25.642 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_free
    
    --------- beginning of crash
2023-03-01 15:18:25.642 9148-9225/com.example.heapsandroid.helloworld A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1 in tid 9225 (SDLThread), pid 9148 (roid.helloworld)
2023-03-01 15:18:25.642 9148-9225/com.example.heapsandroid.helloworld E/native-log: hl_lock_free
2023-03-01 15:18:25.715 9246-9246/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2023-03-01 15:18:25.716 9246-9246/? A/DEBUG: Build fingerprint: 'HONOR/HRY-AL00a/HWHRY-HF:10/HONORHRY-AL00a/10.0.0.168C00:user/release-keys'
2023-03-01 15:18:25.716 9246-9246/? A/DEBUG: Revision: '0'
2023-03-01 15:18:25.716 9246-9246/? A/DEBUG: ABI: 'arm64'
2023-03-01 15:18:25.717 9246-9246/? A/DEBUG: Timestamp: 2023-03-01 15:18:25+0800
2023-03-01 15:18:25.717 9246-9246/? A/DEBUG: pid: 9148, tid: 9225, name: SDLThread  >>> com.example.heapsandroid.helloworld <<<
2023-03-01 15:18:25.717 9246-9246/? A/DEBUG: uid: 12855
2023-03-01 15:18:25.717 9246-9246/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1
2023-03-01 15:18:25.717 9246-9246/? A/DEBUG: Cause: null pointer dereference
2023-03-01 15:18:25.717 9246-9246/? A/DEBUG:     x0  00000075c92b5000  x1  0000000000010000  x2  fffffffffffffffe  x3  0000000000000000
2023-03-01 15:18:25.717 9246-9246/? A/DEBUG:     x4  0000000000000000  x5  0000000000000000  x6  0000000000000000  x7  0000000000000005
2023-03-01 15:18:25.717 9246-9246/? A/DEBUG:     x8  0000000000000001  x9  0000000000000000  x10 0000000000000001  x11 0000000000022d6c
2023-03-01 15:18:25.717 9246-9246/? A/DEBUG:     x12 00000075d2e70fe8  x13 00000000003b0000  x14 ffffffffff000000  x15 ffffffffffffffff
2023-03-01 15:18:25.717 9246-9246/? A/DEBUG:     x16 00000075624a1b88  x17 0000007656c7e980  x18 000000756262cb90  x19 0000000000000000
2023-03-01 15:18:25.717 9246-9246/? A/DEBUG:     x20 0000000000000006  x21 00000000ffffffff  x22 0000000000000003  x23 00000000fffffffd
2023-03-01 15:18:25.717 9246-9246/? A/DEBUG:     x24 0000000000000005  x25 0000000000000003  x26 00000000fffffffc  x27 0000000000000002
2023-03-01 15:18:25.717 9246-9246/? A/DEBUG:     x28 0000000000000006  x29 00000075557f6320
2023-03-01 15:18:25.717 9246-9246/? A/DEBUG:     sp  00000075557f62f0  lr  00000075621fe898  pc  00000075621fd87c
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG: backtrace:
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #00 pc 000000000097587c  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #01 pc 0000000000976894  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #02 pc 0000000000976634  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #03 pc 00000000009762a8  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #04 pc 000000000097581c  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #05 pc 0000000000971a4c  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #06 pc 0000000000974fec  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #07 pc 00000000009713a0  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (hl_gc_alloc_gen+108) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #08 pc 000000000094f698  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (hl_alloc_bytes+36) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #09 pc 000000000094f6c0  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (hl_copy_bytes+24) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #10 pc 00000000009656a0  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (hl_ftos+148) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #11 pc 0000000000965798  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (hl_value_to_string+180) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #12 pc 00000000004b49bc  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (Std_string+56) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #13 pc 000000000049e104  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (haxe_Log_formatOutput+644) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #14 pc 000000000049e1c8  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (haxe_Log_trace+28) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #15 pc 00000000004c0fcc  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (MainScene_onInit__$1+728) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #16 pc 000000000046b7f4  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (zygame_utils_Assets_loadNext+524) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #17 pc 000000000046b9cc  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (zygame_utils_Assets_loadNext+996) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #18 pc 000000000046b9cc  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (zygame_utils_Assets_loadNext+996) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #19 pc 000000000046b9cc  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (zygame_utils_Assets_loadNext+996) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #20 pc 000000000046b9cc  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (zygame_utils_Assets_loadNext+996) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #21 pc 000000000046b9cc  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (zygame_utils_Assets_loadNext+996) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #22 pc 000000000046b9cc  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (zygame_utils_Assets_loadNext+996) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #23 pc 000000000046b9cc  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (zygame_utils_Assets_loadNext+996) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #24 pc 000000000046b5d8  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (zygame_utils_Assets_start+84) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #25 pc 00000000004c0cb8  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (MainScene_onInit+528) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #26 pc 00000000003e50d8  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (zygame_display_Box_new+156) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #27 pc 000000000046a0d4  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (zygame_display_Scene_new+48) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #28 pc 0000000000478f70  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (MainScene_new+64) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #29 pc 000000000031952c  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (hlc_static_call+4368) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #30 pc 00000000009568b8  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (hl_call_method+944) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #31 pc 00000000004de38c  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (Reflect_callMethod+896) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #32 pc 00000000004bcc08  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (Type_createInstance+344) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #33 pc 00000000004bfe6c  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (zygame_utils_SceneManager_createScene+292) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #34 pc 000000000046a578  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (zygame_utils_SceneManager_replaceScene+408) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #35 pc 00000000004c07cc  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (Main_init+268) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #36 pc 00000000004b7c44  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (hxd_App_setup__$2+296) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #37 pc 00000000003e73c4  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (hxd_App_loadAssets+80) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.807 9246-9246/? A/DEBUG:       #38 pc 00000000003e7190  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (hxd_App_setup+1120) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #39 pc 000000000038a9d0  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (h3d_Engine_onCreate+1172) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #40 pc 00000000006738a0  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (h3d_impl_GlDriver_init__$1+116) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #41 pc 00000000006c7600  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (haxe_Timer_delay__$1+140) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #42 pc 00000000006c7698  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (haxe_Timer_new__$1+120) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #43 pc 00000000004b5518  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (sys_thread_EventLoop_progress+1276) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #44 pc 00000000006e9e30  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (hxd_System_runMainLoop+208) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #45 pc 00000000006c7610  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (haxe_Timer_delay__$1+156) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #46 pc 00000000006c7698  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (haxe_Timer_new__$1+120) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #47 pc 00000000004b6104  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (sys_thread_EventLoop_loop+1300) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #48 pc 00000000006c39dc  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (sys_thread__Thread_Thread_Impl__processEvents+100) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #49 pc 00000000008986c0  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (fun$init+185120) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #50 pc 000000000093b238  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (hl_entry_point+84) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #51 pc 0000000000318694  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (hlc_static_call+632) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #52 pc 00000000009568b8  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (hl_call_method+944) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #53 pc 0000000000956ba4  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (hl_dyn_call+436) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #54 pc 0000000000957870  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (hl_dyn_call_safe+136) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #55 pc 00000000003182f8  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libheapsapp.so (main+272) (BuildId: 050f0847199dfd3195069271bde2c50592f5b493)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #56 pc 0000000000143fa4  /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/lib/arm64/libSDL2.so (Java_org_libsdl_app_SDLActivity_nativeRunMain+772) (BuildId: 54f696c5e6c9df11462c0b735d21727c5879355e)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #57 pc 0000000000150350  /apex/com.android.runtime/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 762960c75ada06c48e438df6df29b0a1)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #58 pc 00000000001475b8  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: 762960c75ada06c48e438df6df29b0a1)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #59 pc 00000000001561d4  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+284) (BuildId: 762960c75ada06c48e438df6df29b0a1)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #60 pc 00000000002fd900  /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384) (BuildId: 762960c75ada06c48e438df6df29b0a1)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #61 pc 00000000002f8bd0  /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+912) (BuildId: 762960c75ada06c48e438df6df29b0a1)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #62 pc 00000000005ce11c  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+368) (BuildId: 762960c75ada06c48e438df6df29b0a1)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #63 pc 0000000000141994  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 762960c75ada06c48e438df6df29b0a1)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #64 pc 00000000002bf6f8  [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/base.apk] (org.libsdl.app.SDLActivity.run+96)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #65 pc 00000000005cc518  /apex/com.android.runtime/lib64/libart.so (MterpInvokeSuper+2312) (BuildId: 762960c75ada06c48e438df6df29b0a1)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #66 pc 0000000000141894  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_super+20) (BuildId: 762960c75ada06c48e438df6df29b0a1)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #67 pc 00000000002be114  [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/base.apk] (org.haxe.HashLinkActivity.run)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #68 pc 00000000005cb874  /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1432) (BuildId: 762960c75ada06c48e438df6df29b0a1)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #69 pc 0000000000141814  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 762960c75ada06c48e438df6df29b0a1)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #70 pc 00000000002c0ba4  [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.heapsandroid.helloworld-MF90BpiPJpb7JyNSkr1Myw==/base.apk] (org.libsdl.app.SDLMain.run+4)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #71 pc 00000000005cd074  /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1752) (BuildId: 762960c75ada06c48e438df6df29b0a1)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #72 pc 0000000000141a14  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 762960c75ada06c48e438df6df29b0a1)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #73 pc 00000000000eabdc  /apex/com.android.runtime/javalib/core-oj.jar (java.lang.Thread.run+8)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #74 pc 00000000002ce22c  /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.1772238600391939451+320) (BuildId: 762960c75ada06c48e438df6df29b0a1)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #75 pc 00000000005bc0a4  /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1012) (BuildId: 762960c75ada06c48e438df6df29b0a1)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #76 pc 0000000000150468  /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 762960c75ada06c48e438df6df29b0a1)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #77 pc 0000000000147334  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 762960c75ada06c48e438df6df29b0a1)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #78 pc 00000000001561b4  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+252) (BuildId: 762960c75ada06c48e438df6df29b0a1)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #79 pc 00000000004d8834  /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104) (BuildId: 762960c75ada06c48e438df6df29b0a1)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #80 pc 00000000004d98c8  /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416) (BuildId: 762960c75ada06c48e438df6df29b0a1)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #81 pc 000000000051caa0  /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1232) (BuildId: 762960c75ada06c48e438df6df29b0a1)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #82 pc 00000000000cf7c0  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: b91c775ccc9b0556e91bc575a2511cd0)
2023-03-01 15:18:25.808 9246-9246/? A/DEBUG:       #83 pc 00000000000721a8  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: b91c775ccc9b0556e91bc575a2511cd0)

This is the crash caused by replacing a device, I added some logs.

@rainyt
Copy link
Author

rainyt commented Mar 1, 2023

image
image
About withGC2 and withGC3 log.

@ncannasse
Copy link
Member

ncannasse commented Mar 2, 2023

Might be the compiler which does not respects the variable copy on unreferencing in the gc_thread_start
Could you try with the following ?

if( withGC ) {
    hl_lock *l = ((thread_start*)param)->wait;
    if( l ) hl_lock_wait(l, NULL);
}

@rainyt
Copy link
Author

rainyt commented Mar 2, 2023

Might be the compiler which does not respects the variable copy on unreferencing in the gc_thread_start Could you try with the following ?

if( withGC ) {
    hl_lock *l = ((thread_start*)param)->wait;
    if( l ) hl_lock_wait(l, NULL);
}

Test results: It doesn't help.

@rainyt
Copy link
Author

rainyt commented Mar 3, 2023

2023-03-03 09:11:55.285 16289-16321/com.example.heapsandroid.helloworld E/libEGL: validate_display:92 error 3008 (EGL_BAD_DISPLAY)
2023-03-03 09:11:55.320 16289-16321/com.example.heapsandroid.helloworld A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x320031002e0031 in tid 16321 (SDLThread), pid 16289 (roid.helloworld)
2023-03-03 09:11:55.371 16329-16329/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2023-03-03 09:11:55.371 16329-16329/? A/DEBUG: Build fingerprint: 'Meizu/meizu_M1852_CN/M1852:8.1.0/OPM1.171019.026/1592244368:user/release-keys'
2023-03-03 09:11:55.371 16329-16329/? A/DEBUG: Revision: '0'
2023-03-03 09:11:55.371 16329-16329/? A/DEBUG: ABI: 'arm64'
2023-03-03 09:11:55.371 16329-16329/? A/DEBUG: pid: 16289, tid: 16321, name: SDLThread  >>> com.example.heapsandroid.helloworld <<<
2023-03-03 09:11:55.372 16329-16329/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x320031002e0031
2023-03-03 09:11:55.372 16329-16329/? A/DEBUG:     x0   0000007932790000  x1   0000000000080000  x2   0000000000000000  x3   0000000000000000
2023-03-03 09:11:55.372 16329-16329/? A/DEBUG:     x4   0000000000000000  x5   0000000000000004  x6   0000000000000000  x7   ffffffffffffffff
2023-03-03 09:11:55.372 16329-16329/? A/DEBUG:     x8   00320031002e0031  x9   0000000000000000  x10  0000000000000001  x11  000000000001cec2
2023-03-03 09:11:55.372 16329-16329/? A/DEBUG:     x12  000000793506c688  x13  0000000000360000  x14  0000000000000000  x15  00000079226e1150
2023-03-03 09:11:55.372 16329-16329/? A/DEBUG:     x16  0000007922557b00  x17  00000079c181fe80  x18  00000079226e31c0  x19  0000000000000000
2023-03-03 09:11:55.372 16329-16329/? A/DEBUG:     x20  0000000000000006  x21  00000000ffffffff  x22  0000000000000003  x23  00000000fffffffd
2023-03-03 09:11:55.372 16329-16329/? A/DEBUG:     x24  0000000000000005  x25  0000000000000003  x26  00000000fffffffc  x27  0000000000000002
2023-03-03 09:11:55.372 16329-16329/? A/DEBUG:     x28  0000000000000006  x29  00000079211f9cd0  x30  00000079222b5e50
2023-03-03 09:11:55.372 16329-16329/? A/DEBUG:     sp   00000079211f9ca0  pc   00000079222b4e34  pstate 0000000020000000
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG: backtrace:
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #00 pc 0000000000974e34  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #01 pc 0000000000975e4c  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #02 pc 0000000000975bec  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #03 pc 0000000000975860  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #04 pc 0000000000974dd4  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #05 pc 0000000000971004  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #06 pc 00000000009745a4  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #07 pc 0000000000970958  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hl_gc_alloc_gen+108)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #08 pc 000000000095a868  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #09 pc 0000000000957118  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #10 pc 0000000000956f3c  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hl_hiset+36)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #11 pc 00000000003736f8  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (haxe_ds_IntMap_set+48)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #12 pc 00000000003f9be4  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hxd_Charset_new+296)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #13 pc 00000000003f9a78  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hxd_Charset_getDefault+100)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #14 pc 00000000003fad9c  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (h2d_Font_new+344)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #15 pc 00000000006eb8d4  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hxd_fmt_bfnt_FontParser_parse+184)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #16 pc 00000000007412bc  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hxd_res_BitmapFont_toFont+252)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #17 pc 0000000000741be4  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hxd_res_DefaultFont_get+464)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #18 pc 00000000003fae74  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (zygame_display_FPSDebug_new+52)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #19 pc 00000000003e8a14  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (zygame_core_Start_init+776)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #20 pc 00000000004c14d8  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (Main_init+32)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #21 pc 00000000004b8a3c  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hxd_App_setup__$2+296)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #22 pc 00000000003e8164  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hxd_App_loadAssets+80)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #23 pc 00000000003e7f30  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hxd_App_setup+1120)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #24 pc 000000000038b770  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (h3d_Engine_onCreate+1172)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #25 pc 0000000000673698  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (h3d_impl_GlDriver_init__$1+116)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #26 pc 00000000006c6664  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (haxe_Timer_delay__$1+140)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #27 pc 00000000006c66fc  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (haxe_Timer_new__$1+120)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #28 pc 00000000004b6310  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (sys_thread_EventLoop_progress+1276)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #29 pc 00000000006e7e94  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hxd_System_runMainLoop+208)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #30 pc 00000000006c6674  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (haxe_Timer_delay__$1+156)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #31 pc 00000000006c66fc  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (haxe_Timer_new__$1+120)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #32 pc 00000000004b6efc  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (sys_thread_EventLoop_loop+1300)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #33 pc 00000000006c2a40  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (sys_thread__Thread_Thread_Impl__processEvents+100)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #34 pc 00000000008978a4  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (fun$init+185176)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #35 pc 000000000093a7dc  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hl_entry_point+84)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #36 pc 0000000000319394  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hlc_static_call+632)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #37 pc 0000000000955e5c  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hl_call_method+944)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #38 pc 0000000000956148  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hl_dyn_call+436)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #39 pc 0000000000956e14  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hl_dyn_call_safe+136)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #40 pc 0000000000318ff8  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (main+272)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #41 pc 0000000000143fa4  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libSDL2.so (Java_org_libsdl_app_SDLActivity_nativeRunMain+772)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #42 pc 0000000000011674  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/oat/arm64/base.odex (offset 0x11000)
2023-03-03 09:11:

1 similar comment
@rainyt
Copy link
Author

rainyt commented Mar 3, 2023

2023-03-03 09:11:55.285 16289-16321/com.example.heapsandroid.helloworld E/libEGL: validate_display:92 error 3008 (EGL_BAD_DISPLAY)
2023-03-03 09:11:55.320 16289-16321/com.example.heapsandroid.helloworld A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x320031002e0031 in tid 16321 (SDLThread), pid 16289 (roid.helloworld)
2023-03-03 09:11:55.371 16329-16329/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2023-03-03 09:11:55.371 16329-16329/? A/DEBUG: Build fingerprint: 'Meizu/meizu_M1852_CN/M1852:8.1.0/OPM1.171019.026/1592244368:user/release-keys'
2023-03-03 09:11:55.371 16329-16329/? A/DEBUG: Revision: '0'
2023-03-03 09:11:55.371 16329-16329/? A/DEBUG: ABI: 'arm64'
2023-03-03 09:11:55.371 16329-16329/? A/DEBUG: pid: 16289, tid: 16321, name: SDLThread  >>> com.example.heapsandroid.helloworld <<<
2023-03-03 09:11:55.372 16329-16329/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x320031002e0031
2023-03-03 09:11:55.372 16329-16329/? A/DEBUG:     x0   0000007932790000  x1   0000000000080000  x2   0000000000000000  x3   0000000000000000
2023-03-03 09:11:55.372 16329-16329/? A/DEBUG:     x4   0000000000000000  x5   0000000000000004  x6   0000000000000000  x7   ffffffffffffffff
2023-03-03 09:11:55.372 16329-16329/? A/DEBUG:     x8   00320031002e0031  x9   0000000000000000  x10  0000000000000001  x11  000000000001cec2
2023-03-03 09:11:55.372 16329-16329/? A/DEBUG:     x12  000000793506c688  x13  0000000000360000  x14  0000000000000000  x15  00000079226e1150
2023-03-03 09:11:55.372 16329-16329/? A/DEBUG:     x16  0000007922557b00  x17  00000079c181fe80  x18  00000079226e31c0  x19  0000000000000000
2023-03-03 09:11:55.372 16329-16329/? A/DEBUG:     x20  0000000000000006  x21  00000000ffffffff  x22  0000000000000003  x23  00000000fffffffd
2023-03-03 09:11:55.372 16329-16329/? A/DEBUG:     x24  0000000000000005  x25  0000000000000003  x26  00000000fffffffc  x27  0000000000000002
2023-03-03 09:11:55.372 16329-16329/? A/DEBUG:     x28  0000000000000006  x29  00000079211f9cd0  x30  00000079222b5e50
2023-03-03 09:11:55.372 16329-16329/? A/DEBUG:     sp   00000079211f9ca0  pc   00000079222b4e34  pstate 0000000020000000
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG: backtrace:
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #00 pc 0000000000974e34  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #01 pc 0000000000975e4c  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #02 pc 0000000000975bec  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #03 pc 0000000000975860  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #04 pc 0000000000974dd4  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #05 pc 0000000000971004  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #06 pc 00000000009745a4  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #07 pc 0000000000970958  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hl_gc_alloc_gen+108)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #08 pc 000000000095a868  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #09 pc 0000000000957118  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #10 pc 0000000000956f3c  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hl_hiset+36)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #11 pc 00000000003736f8  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (haxe_ds_IntMap_set+48)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #12 pc 00000000003f9be4  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hxd_Charset_new+296)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #13 pc 00000000003f9a78  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hxd_Charset_getDefault+100)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #14 pc 00000000003fad9c  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (h2d_Font_new+344)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #15 pc 00000000006eb8d4  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hxd_fmt_bfnt_FontParser_parse+184)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #16 pc 00000000007412bc  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hxd_res_BitmapFont_toFont+252)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #17 pc 0000000000741be4  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hxd_res_DefaultFont_get+464)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #18 pc 00000000003fae74  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (zygame_display_FPSDebug_new+52)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #19 pc 00000000003e8a14  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (zygame_core_Start_init+776)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #20 pc 00000000004c14d8  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (Main_init+32)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #21 pc 00000000004b8a3c  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hxd_App_setup__$2+296)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #22 pc 00000000003e8164  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hxd_App_loadAssets+80)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #23 pc 00000000003e7f30  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hxd_App_setup+1120)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #24 pc 000000000038b770  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (h3d_Engine_onCreate+1172)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #25 pc 0000000000673698  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (h3d_impl_GlDriver_init__$1+116)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #26 pc 00000000006c6664  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (haxe_Timer_delay__$1+140)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #27 pc 00000000006c66fc  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (haxe_Timer_new__$1+120)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #28 pc 00000000004b6310  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (sys_thread_EventLoop_progress+1276)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #29 pc 00000000006e7e94  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hxd_System_runMainLoop+208)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #30 pc 00000000006c6674  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (haxe_Timer_delay__$1+156)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #31 pc 00000000006c66fc  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (haxe_Timer_new__$1+120)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #32 pc 00000000004b6efc  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (sys_thread_EventLoop_loop+1300)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #33 pc 00000000006c2a40  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (sys_thread__Thread_Thread_Impl__processEvents+100)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #34 pc 00000000008978a4  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (fun$init+185176)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #35 pc 000000000093a7dc  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hl_entry_point+84)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #36 pc 0000000000319394  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hlc_static_call+632)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #37 pc 0000000000955e5c  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hl_call_method+944)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #38 pc 0000000000956148  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hl_dyn_call+436)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #39 pc 0000000000956e14  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (hl_dyn_call_safe+136)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #40 pc 0000000000318ff8  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libheapsapp.so (main+272)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #41 pc 0000000000143fa4  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/lib/arm64/libSDL2.so (Java_org_libsdl_app_SDLActivity_nativeRunMain+772)
2023-03-03 09:11:55.382 16329-16329/? A/DEBUG:     #42 pc 0000000000011674  /data/app/com.example.heapsandroid.helloworld-orISdW6yh0PcGi9DF5b6Bg==/oat/arm64/base.odex (offset 0x11000)
2023-03-03 09:11:

@ncannasse
Copy link
Member

Uhm these errors are no longer related to thread creation, more like issues with GC.
It appears to be quite early in the program init, but will require some debugging with gdb or other to be fixed.

@ncannasse
Copy link
Member

The original bug should have been fixed with this commit.
Try compiling with GC_DEBUG enabled to see if you can get more info on the other bug, and please open another issue.
Also, does it also happen with HL 1.12.0 or is it only starting from 1.13 ?

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

No branches or pull requests

2 participants