I have an issue with dmengine.
On my xiaomi redmi note 2 dmengine do not start at all. When I try to start app it’s show me black sreen and app crash after few seconds.
Bug reproduce only on dmengine 1.2.84 and 1.2.83,
With game build and 1.2.82 - all fine.
dmengine really cool thing, will be great if you can help me with this bug.
logcat info:
D/libc-netbsd(20778): getaddrinfo: localhost get result from proxy >>
F/libc (20778): …/src/dlib/socket.cpp:42: uint32_t* dmSocket::IPv4(dmSocket::Address*): assertion “address->m_family == DOMAIN_IPV4” failed
F/libc (20778): Fatal signal 6 (SIGABRT), code -6 in tid 20803 (Thread-1335)
D/AEE/AED ( 263): $===AEE===AEE===AEE===$
D/AEE/AED ( 263): p 0 poll events 1 revents 0
D/AEE/AED ( 263): not know revents:0
D/AEE/AED ( 263): p 1 poll events 1 revents 0
D/AEE/AED ( 263): not know revents:0
D/AEE/AED ( 263): p 2 poll events 1 revents 1
D/AEE/AED ( 263): aed_main_fork_worker: generator 0xab9df7f0, worker 0xffb58b88, recv_fd 0
D/AEE/AED ( 263): p 3 poll events 1 revents 0
D/AEE/AED ( 263): not know revents:0
D/AEE/AED ( 263): p 4 poll events 1 revents 0
D/AEE/AED ( 263): not know revents:0
D/AEE/AED ( 263): p 5 poll events 0 revents 0
D/AEE/AED ( 263): not know revents:0
I/DEBUG (20811): handle_request(0)
I/DEBUG (20811): check process 20778 name:defold.dmengine
I/DEBUG (20811): tid 20803 abort msg address is:0xf0bfc000, si_code is:-6 (request from 20778:10180)
I/DEBUG (20811): BOOM: pid=20778 uid=10180 gid=10180 tid=20803
I/DEBUG (20811): [OnPurpose Redunant in void preset_info(aed_report_record*, int, int)] pid: 20778, tid: 20803, name: Thread-1335 >>> com.defold.dmengine <<<
I/DEBUG (20811): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG (20811): Build fingerprint: ‘Xiaomi/hermes/hermes:5.0.2/LRX22G/6.4.28:user/release-keys’
I/DEBUG (20811): Revision: ‘0’
I/DEBUG (20811): ABI: ‘arm’
I/DEBUG (20811): pid: 20778, tid: 20803, name: Thread-1335 >>> com.defold.dmengine <<<
I/DEBUG (20811): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG (20811): Abort message: ‘…/src/dlib/socket.cpp:42: uint32_t* dmSocket::IPv4(dmSocket::Address*): assertion “address->m_family == DOMAIN_IPV4” failed’
I/DEBUG (20811): r0 00000000 r1 00005143 r2 00000006 r3 00000000
I/DEBUG (20811): r4 e4f83dd8 r5 00000006 r6 00000000 r7 0000010c
I/DEBUG (20811): r8 e4f83a30 r9 e4f831bc sl e4f831cc fp 00000002
I/DEBUG (20811): ip 00005143 sp e4f83118 lr f77404df pc f7765d04 cpsr 600f0010
I/DEBUG (20811):
I/DEBUG (20811): backtrace:
I/DEBUG (20811): #00 pc 0003bd04 /system/lib/libc.so (tgkill+12)
I/DEBUG (20811): #01 pc 000164db /system/lib/libc.so (pthread_kill+66)
I/DEBUG (20811): #02 pc 000170a7 /system/lib/libc.so (raise+10)
I/DEBUG (20811): #03 pc 00013997 /system/lib/libc.so (__libc_android_abort+34)
I/DEBUG (20811): #04 pc 000120c8 /system/lib/libc.so (abort+4)
I/DEBUG (20811): #05 pc 00014b93 /system/lib/libc.so (__libc_fatal+16)
I/DEBUG (20811): #06 pc 00013a21 /system/lib/libc.so (__assert2+20)
I/DEBUG (20811): #07 pc 001c5084 /data/app/com.defold.dmengine-2/lib/arm/libdmengine.so (dmSocket::IPv4(dmSocket::Address*)+48)
I/DEBUG (20811): #08 pc 001c5980 /data/app/com.defold.dmengine-2/lib/arm/libdmengine.so (dmSocket::GetLocalAddress(dmSocket::Address*)+208)
I/DEBUG (20811): #09 pc 00091a68 /data/app/com.defold.dmengine-2/lib/arm/libdmengine.so (dmEngineService::EngineService::Init(unsigned short)+216)
I/DEBUG (20811): #10 pc 00091de4 /data/app/com.defold.dmengine-2/lib/arm/libdmengine.so (dmEngineService::New(unsigned short)+40)
I/DEBUG (20811): #11 pc 000914b4 /data/app/com.defold.dmengine-2/lib/arm/libdmengine.so (dmEngine::Launch(int, char**, void ()(dmEngine::Engine, void*), void ()(dmEngine::Engine, void*), void*)+268)
I/DEBUG (20811): #12 pc 0008ab48 /data/app/com.defold.dmengine-2/lib/arm/libdmengine.so (main+104)
I/DEBUG (20811): #13 pc 00219d2c /data/app/com.defold.dmengine-2/lib/arm/libdmengine.so (_glfwPreMain+236)
I/DEBUG (20811): #14 pc 0021a548 /data/app/com.defold.dmengine-2/lib/arm/libdmengine.so (android_app_entry+176)
I/DEBUG (20811): #15 pc 00015c5b /system/lib/libc.so (__pthread_start(void*)+30)
I/DEBUG (20811): #16 pc 00013ceb /system/lib/libc.so (__start_thread+6)