Open chenfei0928 opened 1 year ago
I use zyre in the main process of Android application, when I go to breakpoint debugging process or the main process is unresponsive, zyre will crash.
The following is part of the crash log:
05-30 19:48:33.294 15405 15748 E CrashReport: SIGABRT 05-30 19:48:33.294 15405 15748 E CrashReport: 0x27c500003c2d 05-30 19:48:33.294 15405 15748 E CrashReport: #00 pc 00000000000705b8 /apex/com.android.runtime/lib64/bionic/libc.so (abort+176) [arm64-v8a::73f59276370cad4329ffc70a23088363] 05-30 19:48:33.294 15405 15748 E CrashReport: #01 pc 0000000000079dd8 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzmq.so [arm64-v8a::d50172624901f1b15b585866e43e678f] 05-30 19:48:33.294 15405 15748 E CrashReport: #02 pc 0000000000098d58 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzmq.so [arm64-v8a::d50172624901f1b15b585866e43e678f] 05-30 19:48:33.294 15405 15748 E CrashReport: #03 pc 0000000000097504 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzmq.so [arm64-v8a::d50172624901f1b15b585866e43e678f] 05-30 19:48:33.294 15405 15748 E CrashReport: #04 pc 00000000000bbd00 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzmq.so [arm64-v8a::d50172624901f1b15b585866e43e678f] 05-30 19:48:33.294 15405 15748 E CrashReport: #05 pc 00000000000ead7c /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzmq.so (zmq_socket+12) [arm64-v8a::d50172624901f1b15b585866e43e678f] 05-30 19:48:33.294 15405 15748 E CrashReport: #06 pc 00000000000eaa90 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzmq.so (zmq_msg_recv+72) [arm64-v8a::d50172624901f1b15b585866e43e678f] 05-30 19:48:33.294 15405 15748 E CrashReport: #07 pc 00000000000eaa38 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzmq.so (zmq_recvmsg+36) [arm64-v8a::d50172624901f1b15b585866e43e678f] 05-30 19:48:33.294 15405 15748 E CrashReport: #08 pc 000000000004e420 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libczmq.so (zframe_recv+156) [arm64-v8a::c923e5c4c5c642a8a7ef480d8b215224] 05-30 19:48:33.294 15405 15748 E CrashReport: #09 pc 0000000000060404 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libczmq.so (zmsg_recv+100) [arm64-v8a::c923e5c4c5c642a8a7ef480d8b215224] 05-30 19:48:33.294 15405 15748 E CrashReport: #10 pc 000000000001b65c /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzyre.so [arm64-v8a::ee15188bb257b0e58b2d87245e90db21] 05-30 19:48:33.294 15405 15748 E CrashReport: #11 pc 000000000001b310 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzyre.so [arm64-v8a::ee15188bb257b0e58b2d87245e90db21] 05-30 19:48:33.294 15405 15748 E CrashReport: #12 pc 0000000000037adc /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libczmq.so [arm64-v8a::c923e5c4c5c642a8a7ef480d8b215224] 05-30 19:48:33.294 15405 15748 E CrashReport: #13 pc 00000000000d0724 /apex/com.android.runtime/lib64/bionic/libc.so (_ZL15__pthread_startPv+36) [arm64-v8a::73f59276370cad4329ffc70a23088363] 05-30 19:48:33.294 15405 15748 E CrashReport: #14 pc 00000000000721b0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) [arm64-v8a::73f59276370cad4329ffc70a23088363] 05-30 19:48:33.294 15405 15748 E CrashReport: java: 05-30 19:48:33.294 15405 15748 E CrashReport: [Failed to get Java stack]
06-01 16:50:40.729 24246 28282 E CrashReport: # CRASH STACK: 06-01 16:50:40.729 24246 28282 E CrashReport: SIGABRT 06-01 16:50:40.729 24246 28282 E CrashReport: 0x280800005eb6 06-01 16:50:40.729 24246 28282 E CrashReport: #00 pc 0000000000089e84 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) [arm64-v8a::e18cca17d252ede5b01226139ce195f2] 06-01 16:50:40.729 24246 28282 E CrashReport: #01 pc 000000000008a228 /apex/com.android.runtime/lib64/bionic/libc.so (__assert2+36) [arm64-v8a::e18cca17d252ede5b01226139ce195f2] 06-01 16:50:40.729 24246 28282 E CrashReport: #02 pc 0000000000080364 /data/app/~~W_-XsgerwieRttjSD6WM2A==/com.adventure.app-iWigaHBGIa5luaQv1IhtoQ==/lib/arm64/libczmq.so (zsys_socket_error+644) [arm64-v8a::c923e5c4c5c642a8a7ef480d8b215224] 06-01 16:50:40.729 24246 28282 E CrashReport: #03 pc 00000000000805cc /data/app/~~W_-XsgerwieRttjSD6WM2A==/com.adventure.app-iWigaHBGIa5luaQv1IhtoQ==/lib/arm64/libczmq.so (zsys_udp_recv+104) [arm64-v8a::c923e5c4c5c642a8a7ef480d8b215224] 06-01 16:50:40.729 24246 28282 E CrashReport: #04 pc 000000000008742c /data/app/~~W_-XsgerwieRttjSD6WM2A==/com.adventure.app-iWigaHBGIa5luaQv1IhtoQ==/lib/arm64/libczmq.so [arm64-v8a::c923e5c4c5c642a8a7ef480d8b215224] 06-01 16:50:40.729 24246 28282 E CrashReport: #05 pc 0000000000086f48 /data/app/~~W_-XsgerwieRttjSD6WM2A==/com.adventure.app-iWigaHBGIa5luaQv1IhtoQ==/lib/arm64/libczmq.so (zbeacon+392) [arm64-v8a::c923e5c4c5c642a8a7ef480d8b215224] 06-01 16:50:40.729 24246 28282 E CrashReport: #06 pc 0000000000037adc /data/app/~~W_-XsgerwieRttjSD6WM2A==/com.adventure.app-iWigaHBGIa5luaQv1IhtoQ==/lib/arm64/libczmq.so [arm64-v8a::c923e5c4c5c642a8a7ef480d8b215224] 06-01 16:50:40.729 24246 28282 E CrashReport: #07 pc 00000000000ebbb0 /apex/com.android.runtime/lib64/bionic/libc.so (_ZL15__pthread_startPv+264) [arm64-v8a::e18cca17d252ede5b01226139ce195f2] 06-01 16:50:40.729 24246 28282 E CrashReport: #08 pc 000000000008b6a8 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) [arm64-v8a::e18cca17d252ede5b01226139ce195f2] 06-01 16:50:40.729 24246 28282 E CrashReport: java: 06-01 16:50:40.729 24246 28282 E CrashReport: [Failed to get Java stack]
05-30 19:41:11.581 10731 12246 E CrashReport: # CRASH STACK: 05-30 19:41:11.581 10731 12246 E CrashReport: SIGABRT 05-30 19:41:11.581 10731 12246 E CrashReport: 0x27c5000029eb 05-30 19:41:11.581 10731 12246 E CrashReport: #00 pc 00000000000705b8 /apex/com.android.runtime/lib64/bionic/libc.so (abort+176) [arm64-v8a::73f59276370cad4329ffc70a23088363] 05-30 19:41:11.581 10731 12246 E CrashReport: #01 pc 0000000000070994 /apex/com.android.runtime/lib64/bionic/libc.so (__assert2+36) [arm64-v8a::73f59276370cad4329ffc70a23088363] 05-30 19:41:11.581 10731 12246 E CrashReport: #02 pc 000000000001c858 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzyre.so [arm64-v8a::ee15188bb257b0e58b2d87245e90db21] 05-30 19:41:11.581 10731 12246 E CrashReport: #03 pc 000000000001b310 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzyre.so [arm64-v8a::ee15188bb257b0e58b2d87245e90db21] 05-30 19:41:11.581 10731 12246 E CrashReport: #04 pc 0000000000037adc /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libczmq.so [arm64-v8a::c923e5c4c5c642a8a7ef480d8b215224] 05-30 19:41:11.581 10731 12246 E CrashReport: #05 pc 00000000000d0724 /apex/com.android.runtime/lib64/bionic/libc.so (_ZL15__pthread_startPv+36) [arm64-v8a::73f59276370cad4329ffc70a23088363] 05-30 19:41:11.581 10731 12246 E CrashReport: #06 pc 00000000000721b0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) [arm64-v8a::73f59276370cad4329ffc70a23088363] 05-30 19:41:11.581 10731 12246 E CrashReport: java: 05-30 19:41:11.581 10731 12246 E CrashReport: [Failed to get Java stack]
05-30 19:48:12.971 14831 15364 E CrashReport: # CRASH STACK: 05-30 19:48:12.971 14831 15364 E CrashReport: SIGABRT 05-30 19:48:12.971 14831 15364 E CrashReport: 0x27c5000039ef 05-30 19:48:12.971 14831 15364 E CrashReport: #00 pc 00000000000705b8 /apex/com.android.runtime/lib64/bionic/libc.so (abort+176) [arm64-v8a::73f59276370cad4329ffc70a23088363] 05-30 19:48:12.971 14831 15364 E CrashReport: #01 pc 0000000000079dd8 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzmq.so [arm64-v8a::d50172624901f1b15b585866e43e678f] 05-30 19:48:12.971 14831 15364 E CrashReport: #02 pc 000000000008a298 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzmq.so [arm64-v8a::d50172624901f1b15b585866e43e678f] 05-30 19:48:12.971 14831 15364 E CrashReport: #03 pc 00000000000eb1c4 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzmq.so (zmq_msg_size+20) [arm64-v8a::d50172624901f1b15b585866e43e678f] 05-30 19:48:12.971 14831 15364 E CrashReport: #04 pc 00000000000eada4 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzmq.so (zmq_socket+52) [arm64-v8a::d50172624901f1b15b585866e43e678f] 05-30 19:48:12.971 14831 15364 E CrashReport: #05 pc 00000000000eaa90 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzmq.so (zmq_msg_recv+72) [arm64-v8a::d50172624901f1b15b585866e43e678f] 05-30 19:48:12.971 14831 15364 E CrashReport: #06 pc 00000000000eaa38 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzmq.so (zmq_recvmsg+36) [arm64-v8a::d50172624901f1b15b585866e43e678f] 05-30 19:48:12.971 14831 15364 E CrashReport: #07 pc 000000000004e420 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libczmq.so (zframe_recv+156) [arm64-v8a::c923e5c4c5c642a8a7ef480d8b215224] 05-30 19:48:12.971 14831 15364 E CrashReport: #08 pc 0000000000060404 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libczmq.so (zmsg_recv+100) [arm64-v8a::c923e5c4c5c642a8a7ef480d8b215224] 05-30 19:48:12.971 14831 15364 E CrashReport: #09 pc 000000000001b65c /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzyre.so [arm64-v8a::ee15188bb257b0e58b2d87245e90db21] 05-30 19:48:12.971 14831 15364 E CrashReport: #10 pc 000000000001b310 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzyre.so [arm64-v8a::ee15188bb257b0e58b2d87245e90db21] 05-30 19:48:12.971 14831 15364 E CrashReport: #11 pc 0000000000037adc /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libczmq.so [arm64-v8a::c923e5c4c5c642a8a7ef480d8b215224] 05-30 19:48:12.971 14831 15364 E CrashReport: #12 pc 00000000000d0724 /apex/com.android.runtime/lib64/bionic/libc.so (_ZL15__pthread_startPv+36) [arm64-v8a::73f59276370cad4329ffc70a23088363] 05-30 19:48:12.971 14831 15364 E CrashReport: #13 pc 00000000000721b0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) [arm64-v8a::73f59276370cad4329ffc70a23088363] 05-30 19:48:12.971 14831 15364 E CrashReport: java: 05-30 19:48:12.971 14831 15364 E CrashReport: [Failed to get Java stack]
05-30 19:48:33.294 15405 15748 E CrashReport: # CRASH STACK: 05-30 19:48:33.294 15405 15748 E CrashReport: SIGABRT 05-30 19:48:33.294 15405 15748 E CrashReport: 0x27c500003c2d 05-30 19:48:33.294 15405 15748 E CrashReport: #00 pc 00000000000705b8 /apex/com.android.runtime/lib64/bionic/libc.so (abort+176) [arm64-v8a::73f59276370cad4329ffc70a23088363] 05-30 19:48:33.294 15405 15748 E CrashReport: #01 pc 0000000000079dd8 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzmq.so [arm64-v8a::d50172624901f1b15b585866e43e678f] 05-30 19:48:33.294 15405 15748 E CrashReport: #02 pc 0000000000098d58 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzmq.so [arm64-v8a::d50172624901f1b15b585866e43e678f] 05-30 19:48:33.294 15405 15748 E CrashReport: #03 pc 0000000000097504 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzmq.so [arm64-v8a::d50172624901f1b15b585866e43e678f] 05-30 19:48:33.294 15405 15748 E CrashReport: #04 pc 00000000000bbd00 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzmq.so [arm64-v8a::d50172624901f1b15b585866e43e678f] 05-30 19:48:33.294 15405 15748 E CrashReport: #05 pc 00000000000ead7c /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzmq.so (zmq_socket+12) [arm64-v8a::d50172624901f1b15b585866e43e678f] 05-30 19:48:33.294 15405 15748 E CrashReport: #06 pc 00000000000eaa90 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzmq.so (zmq_msg_recv+72) [arm64-v8a::d50172624901f1b15b585866e43e678f] 05-30 19:48:33.294 15405 15748 E CrashReport: #07 pc 00000000000eaa38 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzmq.so (zmq_recvmsg+36) [arm64-v8a::d50172624901f1b15b585866e43e678f] 05-30 19:48:33.294 15405 15748 E CrashReport: #08 pc 000000000004e420 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libczmq.so (zframe_recv+156) [arm64-v8a::c923e5c4c5c642a8a7ef480d8b215224] 05-30 19:48:33.294 15405 15748 E CrashReport: #09 pc 0000000000060404 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libczmq.so (zmsg_recv+100) [arm64-v8a::c923e5c4c5c642a8a7ef480d8b215224] 05-30 19:48:33.294 15405 15748 E CrashReport: #10 pc 000000000001b65c /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzyre.so [arm64-v8a::ee15188bb257b0e58b2d87245e90db21] 05-30 19:48:33.294 15405 15748 E CrashReport: #11 pc 000000000001b310 /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libzyre.so [arm64-v8a::ee15188bb257b0e58b2d87245e90db21] 05-30 19:48:33.294 15405 15748 E CrashReport: #12 pc 0000000000037adc /data/app/com.adventure.app-dZW4jqQx_IVSMVR_gyHzMA==/lib/arm64/libczmq.so [arm64-v8a::c923e5c4c5c642a8a7ef480d8b215224] 05-30 19:48:33.294 15405 15748 E CrashReport: #13 pc 00000000000d0724 /apex/com.android.runtime/lib64/bionic/libc.so (_ZL15__pthread_startPv+36) [arm64-v8a::73f59276370cad4329ffc70a23088363] 05-30 19:48:33.294 15405 15748 E CrashReport: #14 pc 00000000000721b0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) [arm64-v8a::73f59276370cad4329ffc70a23088363] 05-30 19:48:33.294 15405 15748 E CrashReport: java: 05-30 19:48:33.294 15405 15748 E CrashReport: [Failed to get Java stack]
Not sure what you are doing but zyre runs its own threads so blocking the main thread shouldn't stop zyre I guess.
I use zyre in the main process of Android application, when I go to breakpoint debugging process or the main process is unresponsive, zyre will crash.
The following is part of the crash log: