Defold 1.2.178 has been released

Yes: https://defold.com/ref/stable/dmGameObject/

1 Like

I don’t see anything here that can help get dmGameObject :: HInstance for particular gameobject.

Ah, it may not have been added yet. @JCash?

Hey, cool! Any chance to take a look on that bug? This issue is what bothers me most of the time and is very critical to dev productivity:


Please, help if possible. I’m eager to provide any telemetry/logs/info/steps/OS settings.

P.S. Ubuntu mates, please help me to confirm that this nasty bug still persists in Defold Editor.

@dmitriy Is your use case from within a script function?

I think we can add dmGameObject::GetInstanceFromLua(L) with relatively little effort.

I had originally planned to expose it together with some other similar functions (that are much more hairy from a stable API point of view, so that’s why I had postponed it).

3 Likes

I want to do something like this in extension:

static int get_position_xy(lua_State *L) {
   dmGameObject::HInstance inst = function_to_get_instance_from_url(L, 1);
   Vectormath::Aos::Point3 const p = GetPosition(inst);
   lua_pushnumber(L, p.getX());
   lua_pushnumber(L, p.getY());
   return 2;
}

And in lua:

local x, y = get_position_xy(url)
1 Like

Ok. Yes, that’s part of the more complicated functions I need to think more about before releasing into the dmSDK. I.e. they need a cleanup to make sure they’re stable. My current ETA is early Q2.

3 Likes

I’ve had the 1.2.178 version of my game released for a few days now, and I’m not seeing any sound-related crashes so far.

How are your results?

4 Likes

Great news! We haven’t yet updated the game that had the issues. I’ll report back when/if we do!

2 Likes

Thank you very much @Mathias_Westerdahl.

IMHO it will be very useful if there is a way to pass a bulk of HInstances in a buffer from Lua to the extension method. So, the user can keep object lists/pools in Lua side and send their handles in bulk to the native extension. The extension can do its intensive calculations and using APIs like GetPosition/SetPosition to update all of these objects in the C side. That will save the crossing of the boundaries between Lua <> C for each of these objects. It will be just one call from Lua to C with a buffer(s) with all of the Hinstance handles and additional buffers with additional game specific data like (Color, is_alive, health, etc…).

I don’t know if there is a need be able to convert from a buffer of handles passed back from C extension to be looked up and converted to Lua objects table.

I’ve registered 92 crashes for the week after update the game in Google Play with 1.2.178

ares__sortaddrinfo

Stack trace:
Occurrence 1 of 92:

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> com.dragosha.hamster <<<

backtrace:
  #00  pc 00000000001f07e8  /data/app/com.dragosha.hamster-QIO7DEn0iu_qehKq-4cWDQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (ares__sortaddrinfo) (SourceCode: /Users/mawe/work/defold-switch/external/cares/build/../package/c-ares-1.16.1/ares__sortaddrinfo.c:491)
  #00  pc 00000000001e8b00  /data/app/com.dragosha.hamster-QIO7DEn0iu_qehKq-4cWDQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (end_hquery) (SourceCode: /Users/mawe/work/defold-switch/external/cares/build/../package/c-ares-1.16.1/ares_getaddrinfo.c:402)
  #00  pc 00000000001ee168  /data/app/com.dragosha.hamster-QIO7DEn0iu_qehKq-4cWDQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (qcallback) (SourceCode: /Users/mawe/work/defold-switch/external/cares/build/../package/c-ares-1.16.1/ares_query.c)
  #00  pc 00000000001ed5e4  /data/app/com.dragosha.hamster-QIO7DEn0iu_qehKq-4cWDQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (end_query) (SourceCode: /Users/mawe/work/defold-switch/external/cares/build/../package/c-ares-1.16.1/ares_process.c:1413)
  #00  pc 00000000001edd94  /data/app/com.dragosha.hamster-QIO7DEn0iu_qehKq-4cWDQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (process_answer) (SourceCode: /Users/mawe/work/defold-switch/external/cares/build/../package/c-ares-1.16.1/ares_process.c:668)
  #00  pc 00000000001ec924  /data/app/com.dragosha.hamster-QIO7DEn0iu_qehKq-4cWDQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (read_udp_packets) (SourceCode: /Users/mawe/work/defold-switch/external/cares/build/../package/c-ares-1.16.1/ares_process.c:532)
  #00  pc 00000000001ec924  /data/app/com.dragosha.hamster-QIO7DEn0iu_qehKq-4cWDQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (processfds) (SourceCode: /Users/mawe/work/defold-switch/external/cares/build/../package/c-ares-1.16.1/ares_process.c:131)
  #00  pc 000000000016a834  /data/app/com.dragosha.hamster-QIO7DEn0iu_qehKq-4cWDQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (dmDNS::GetHostByName(char const*, dmSocket::Address*, dmDNS::Channel*, int, bool, bool)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/dns.cpp:413)
  #00  pc 000000000016b420  /data/app/com.dragosha.hamster-QIO7DEn0iu_qehKq-4cWDQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (dmConnectionPool::DoDial(dmConnectionPool::ConnectionPool*, char const*, unsigned short, dmDNS::Channel*, bool, int, unsigned int*, dmSocket::Result*, bool, bool)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/connection_pool.cpp:350)
  #00  pc 000000000016ba70  /data/app/com.dragosha.hamster-QIO7DEn0iu_qehKq-4cWDQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (dmConnectionPool::Dial(dmConnectionPool::ConnectionPool*, char const*, unsigned short, dmDNS::Channel*, bool, int, unsigned int*, dmSocket::Result*)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/connection_pool.cpp:429)
  #00  pc 0000000000137274  /data/app/com.dragosha.hamster-QIO7DEn0iu_qehKq-4cWDQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (dmHttpClient::Response::Connect(char const*, unsigned short, bool, int)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/http_client.cpp:196)
  #00  pc 0000000000137a90  /data/app/com.dragosha.hamster-QIO7DEn0iu_qehKq-4cWDQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (dmHttpClient::DoRequest(dmHttpClient::Client*, char const*, char const*)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/http_client.cpp:1012)
  #00  pc 00000000000e45c4  /data/app/com.dragosha.hamster-QIO7DEn0iu_qehKq-4cWDQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (dmHttpService::HandleRequest(dmHttpService::Worker*, dmMessage::URL const*, dmHttpDDF::HttpRequest*)) (SourceCode: /home/runner/work/defold/defold/engine/script/build/../src/http_service.cpp:240)
  #00  pc 00000000000e47e4  /data/app/com.dragosha.hamster-QIO7DEn0iu_qehKq-4cWDQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (dmHttpService::Dispatch(dmMessage::Message*, void*)) (SourceCode: /home/runner/work/defold/defold/engine/script/build/../src/http_service.cpp:269)
  #00  pc 0000000000148680  /data/app/com.dragosha.hamster-QIO7DEn0iu_qehKq-4cWDQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (dmMessage::InternalDispatch(unsigned long, void (*)(dmMessage::Message*, void*), void*, bool)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/message.cpp:497)
  #00  pc 00000000000e49a4  /data/app/com.dragosha.hamster-QIO7DEn0iu_qehKq-4cWDQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (dmHttpService::Loop(void*)) (SourceCode: /home/runner/work/defold/defold/engine/script/build/../src/http_service.cpp:326)
  #00  pc 000000000015004c  /data/app/com.dragosha.hamster-QIO7DEn0iu_qehKq-4cWDQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (dmThread::ThreadStartProxy(void*)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/thread.cpp:42)
  #00  pc 00000000000e3614  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
  #00  pc 0000000000084e98  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

and 7 crashes:
end_hquery

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> com.dragosha.hamster <<<

backtrace:
  #00  pc 00000000001e8b2c  /data/app/com.dragosha.hamster-qS3KLhdGxj8U-ls6v487Hg==/lib/arm64/libLookYourLoot.so (end_hquery) (SourceCode: /Users/mawe/work/defold-switch/external/cares/build/../package/c-ares-1.16.1/ares_getaddrinfo.c)
  #00  pc 00000000001ee168  /data/app/com.dragosha.hamster-qS3KLhdGxj8U-ls6v487Hg==/lib/arm64/libLookYourLoot.so (qcallback) (SourceCode: /Users/mawe/work/defold-switch/external/cares/build/../package/c-ares-1.16.1/ares_query.c)
  #00  pc 00000000001ed5e4  /data/app/com.dragosha.hamster-qS3KLhdGxj8U-ls6v487Hg==/lib/arm64/libLookYourLoot.so (end_query) (SourceCode: /Users/mawe/work/defold-switch/external/cares/build/../package/c-ares-1.16.1/ares_process.c:1413)
  #00  pc 00000000001edd94  /data/app/com.dragosha.hamster-qS3KLhdGxj8U-ls6v487Hg==/lib/arm64/libLookYourLoot.so (process_answer) (SourceCode: /Users/mawe/work/defold-switch/external/cares/build/../package/c-ares-1.16.1/ares_process.c:668)
  #00  pc 00000000001ec924  /data/app/com.dragosha.hamster-qS3KLhdGxj8U-ls6v487Hg==/lib/arm64/libLookYourLoot.so (read_udp_packets) (SourceCode: /Users/mawe/work/defold-switch/external/cares/build/../package/c-ares-1.16.1/ares_process.c:532)
  #00  pc 00000000001ec924  /data/app/com.dragosha.hamster-qS3KLhdGxj8U-ls6v487Hg==/lib/arm64/libLookYourLoot.so (processfds) (SourceCode: /Users/mawe/work/defold-switch/external/cares/build/../package/c-ares-1.16.1/ares_process.c:131)
  #00  pc 000000000016a834  /data/app/com.dragosha.hamster-qS3KLhdGxj8U-ls6v487Hg==/lib/arm64/libLookYourLoot.so (dmDNS::GetHostByName(char const*, dmSocket::Address*, dmDNS::Channel*, int, bool, bool)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/dns.cpp:413)
  #00  pc 000000000016b420  /data/app/com.dragosha.hamster-qS3KLhdGxj8U-ls6v487Hg==/lib/arm64/libLookYourLoot.so (dmConnectionPool::DoDial(dmConnectionPool::ConnectionPool*, char const*, unsigned short, dmDNS::Channel*, bool, int, unsigned int*, dmSocket::Result*, bool, bool)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/connection_pool.cpp:350)
  #00  pc 000000000016ba70  /data/app/com.dragosha.hamster-qS3KLhdGxj8U-ls6v487Hg==/lib/arm64/libLookYourLoot.so (dmConnectionPool::Dial(dmConnectionPool::ConnectionPool*, char const*, unsigned short, dmDNS::Channel*, bool, int, unsigned int*, dmSocket::Result*)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/connection_pool.cpp:429)
  #00  pc 0000000000137274  /data/app/com.dragosha.hamster-qS3KLhdGxj8U-ls6v487Hg==/lib/arm64/libLookYourLoot.so (dmHttpClient::Response::Connect(char const*, unsigned short, bool, int)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/http_client.cpp:196)
  #00  pc 0000000000137a90  /data/app/com.dragosha.hamster-qS3KLhdGxj8U-ls6v487Hg==/lib/arm64/libLookYourLoot.so (dmHttpClient::DoRequest(dmHttpClient::Client*, char const*, char const*)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/http_client.cpp:1012)
  #00  pc 00000000000e45c4  /data/app/com.dragosha.hamster-qS3KLhdGxj8U-ls6v487Hg==/lib/arm64/libLookYourLoot.so (dmHttpService::HandleRequest(dmHttpService::Worker*, dmMessage::URL const*, dmHttpDDF::HttpRequest*)) (SourceCode: /home/runner/work/defold/defold/engine/script/build/../src/http_service.cpp:240)
  #00  pc 00000000000e47e4  /data/app/com.dragosha.hamster-qS3KLhdGxj8U-ls6v487Hg==/lib/arm64/libLookYourLoot.so (dmHttpService::Dispatch(dmMessage::Message*, void*)) (SourceCode: /home/runner/work/defold/defold/engine/script/build/../src/http_service.cpp:269)
  #00  pc 0000000000148680  /data/app/com.dragosha.hamster-qS3KLhdGxj8U-ls6v487Hg==/lib/arm64/libLookYourLoot.so (dmMessage::InternalDispatch(unsigned long, void (*)(dmMessage::Message*, void*), void*, bool)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/message.cpp:497)
  #00  pc 00000000000e49a4  /data/app/com.dragosha.hamster-qS3KLhdGxj8U-ls6v487Hg==/lib/arm64/libLookYourLoot.so (dmHttpService::Loop(void*)) (SourceCode: /home/runner/work/defold/defold/engine/script/build/../src/http_service.cpp:326)
  #00  pc 000000000015004c  /data/app/com.dragosha.hamster-qS3KLhdGxj8U-ls6v487Hg==/lib/arm64/libLookYourLoot.so (dmThread::ThreadStartProxy(void*)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/thread.cpp:42)
  #00  pc 00000000000668a0  /system/lib64/libc.so (__pthread_start(void*)+36)
  #00  pc 000000000001f374  /system/lib64/libc.so (__start_thread+68)
2 Likes

These seem the same as this issue:

What was your Defold version before 1.2.178?
What Android versions are they running?

1 Like

Hi @Karim_Ahmed!
I think it would help to know more about your use case.
You mention “intensive calculations”. What might those be in your case?

Oh. An old one, 1.2.168 may be or so… Previous update was on May 2020.

2021-01-23_15-29-52

1 Like

@Mathias_Westerdahl Thank you for your quick reply. Basically, our game has many flocks of boids and I am using an ECS system (Flecs) and most of the game logic will be implemented in C++ (including the physics). For the best effect we want to show as much boids as possible, so the more optimum the code is the better for us (specially with your great buffer system). We want the Lua use to be minimal specially with the cross-boundary calls. We don’t have real measurements yet. I just wanted to share my thought for a simple addition like a batch conversion between handles and objects to allow passing big list of objects in an efficient way. The Lua API will take a Lua table with all of the Defold objects and it will return a buffer with all of their instance handles in the same order of the table (or INVALID_HANDLE inplace of the invalid objects). without the need to cross the boundary for each call conversion call.
IMHO this can be added an addition (function_to_get_instance_from_url, GetInstanceFromLua), these are great and more user friendly (and intuitive), but they will also impose a certain usage on the users using the extensions. They will force the user to call an extension method per object to get the current object’s handle (if new extension API will treat extensions as Defold components), or worse, to pass a url from Lua to C and in C convert the URL to. Which will only increase the lookups and will make iteration performance on thousands of objects to be less optimal, which might be defying the purpose of having native C extensions.

Thank you again for all of the great work on Defold and sorry for the long reply.

3 Likes

Upd:
453 crashes ares__sortaddrinfo (/Users/mawe/work/defold-switch/external/cares/build/…/package/c-ares-1.16.1/ares__sortaddrinfo.c:491)
and
44 end_hquery

Crash rate has grown 0.22 -> 2.5% :

5 Likes

Yes, this is most unfortunate. We will take a look at this this week (starting tomorrow I believe).

5 Likes

Unfortunately, we haven’t been able to reproduce this issue.
In the 1.2.180 beta we’ve updated our internal dependency on the library c-ares from 1.16.1 to 1.17.1. A bit of a long shot, I’m afraid, but worth testing.

2 Likes

I made partial roll-out Android version with 1.2.180 beta for tests purposes and got first reports in Google Console.
It looks similar to previous stack trace :confused:

2 crashes registered for now on HTC One (M8), Android 6.0 (SDK 23):
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR)
ares__sortaddrinfo

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> com.dragosha.hamster <<<

backtrace:
(ares__sortaddrinfo) (SourceCode: /Users/mawe/work/defold/external/cares/build/../package/c-ares-1.17.1/src/lib/ares__sortaddrinfo.c:491)
(end_hquery) (SourceCode: /Users/mawe/work/defold/external/cares/build/../package/c-ares-1.17.1/src/lib/ares_getaddrinfo.c:405)
(qcallback) (SourceCode: /Users/mawe/work/defold/external/cares/build/../package/c-ares-1.17.1/src/lib/ares_query.c)
(end_query) (SourceCode: /Users/mawe/work/defold/external/cares/build/../package/c-ares-1.17.1/src/lib/ares_process.c:1493)
(process_answer) (SourceCode: /Users/mawe/work/defold/external/cares/build/../package/c-ares-1.17.1/src/lib/ares_process.c:669)
(read_udp_packets) (SourceCode: /Users/mawe/work/defold/external/cares/build/../package/c-ares-1.17.1/src/lib/ares_process.c:533)
(processfds) (SourceCode: /Users/mawe/work/defold/external/cares/build/../package/c-ares-1.17.1/src/lib/ares_process.c:132)
(ares_process) (SourceCode: /Users/mawe/work/defold/external/cares/build/../package/c-ares-1.17.1/src/lib/ares_process.c:142)
(dmDNS::GetHostByName(char const*, dmSocket::Address*, dmDNS::Channel*, int, bool, bool)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/dns.cpp:413)
(dmConnectionPool::DoDial(dmConnectionPool::ConnectionPool*, char const*, unsigned short, dmDNS::Channel*, bool, int, unsigned int*, dmSocket::Result*, bool, bool)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/connection_pool.cpp:350)
(dmConnectionPool::Dial(dmConnectionPool::ConnectionPool*, char const*, unsigned short, dmDNS::Channel*, bool, int, unsigned int*, dmSocket::Result*)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/connection_pool.cpp:429)
(dmHttpClient::Response::Connect(char const*, unsigned short, bool, int)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/http_client.cpp:195)
(dmHttpClient::DoRequest(dmHttpClient::Client*, char const*, char const*)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/http_client.cpp:1011)
(dmMessage::InternalDispatch(unsigned long long, void (*)(dmMessage::Message*, void*), void*, bool)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/message.cpp:497)
(dmMessage::DispatchBlocking(unsigned long long, void (*)(dmMessage::Message*, void*), void*)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/message.cpp:529)
(dmThread::ThreadStartProxy(void*)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/thread.cpp:42)
  #00  pc 0000000000041f47  /system/lib/libc.so (__pthread_start(void*)+30)
  #00  pc 00000000000190b3  /system/lib/libc.so (__start_thread+6)

and one crash on Asus ZenFone 6 (ZS630KL) (WW) / 6Z (ZS630KL), Android 11 (SDK 30)

pid: 0, tid: 0 >>> com.dragosha.hamster <<<

backtrace:
  #00  pc 00000000001dc3a0  /data/app/~~GCsGUkkltFWq2iNoxUo5Xw==/com.dragosha.hamster-cQjhdbrI8rx4gGKsPlwlsg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (ares__sortaddrinfo) (SourceCode: /Users/mawe/work/defold/external/cares/build/../package/c-ares-1.17.1/src/lib/ares__sortaddrinfo.c:491)
  #00  pc 00000000001d24f0  /data/app/~~GCsGUkkltFWq2iNoxUo5Xw==/com.dragosha.hamster-cQjhdbrI8rx4gGKsPlwlsg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (end_hquery) (SourceCode: /Users/mawe/work/defold/external/cares/build/../package/c-ares-1.17.1/src/lib/ares_getaddrinfo.c:405)
  #00  pc 00000000001d9d18  /data/app/~~GCsGUkkltFWq2iNoxUo5Xw==/com.dragosha.hamster-cQjhdbrI8rx4gGKsPlwlsg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (qcallback) (SourceCode: /Users/mawe/work/defold/external/cares/build/../package/c-ares-1.17.1/src/lib/ares_query.c)
  #00  pc 00000000001d8ff4  /data/app/~~GCsGUkkltFWq2iNoxUo5Xw==/com.dragosha.hamster-cQjhdbrI8rx4gGKsPlwlsg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (end_query) (SourceCode: /Users/mawe/work/defold/external/cares/build/../package/c-ares-1.17.1/src/lib/ares_process.c:1493)
  #00  pc 00000000001d97a8  /data/app/~~GCsGUkkltFWq2iNoxUo5Xw==/com.dragosha.hamster-cQjhdbrI8rx4gGKsPlwlsg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) ($d.26) (SourceCode: /Users/mawe/work/defold/external/cares/build/../package/c-ares-1.17.1/src/lib/ares_process.c:669)
  #00  pc 00000000001d7334  /data/app/~~GCsGUkkltFWq2iNoxUo5Xw==/com.dragosha.hamster-cQjhdbrI8rx4gGKsPlwlsg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (read_udp_packets) (SourceCode: /Users/mawe/work/defold/external/cares/build/../package/c-ares-1.17.1/src/lib/ares_process.c:533)
  #00  pc 00000000001d7334  /data/app/~~GCsGUkkltFWq2iNoxUo5Xw==/com.dragosha.hamster-cQjhdbrI8rx4gGKsPlwlsg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) ($d.14) (SourceCode: /Users/mawe/work/defold/external/cares/build/../package/c-ares-1.17.1/src/lib/ares_process.c:132)
  #00  pc 000000000017945c  /data/app/~~GCsGUkkltFWq2iNoxUo5Xw==/com.dragosha.hamster-cQjhdbrI8rx4gGKsPlwlsg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (dmDNS::GetHostByName(char const*, dmSocket::Address*, dmDNS::Channel*, int, bool, bool)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/dns.cpp:413)
  #00  pc 000000000017a048  /data/app/~~GCsGUkkltFWq2iNoxUo5Xw==/com.dragosha.hamster-cQjhdbrI8rx4gGKsPlwlsg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (dmConnectionPool::DoDial(dmConnectionPool::ConnectionPool*, char const*, unsigned short, dmDNS::Channel*, bool, int, unsigned int*, dmSocket::Result*, bool, bool)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/connection_pool.cpp:350)
  #00  pc 000000000017a698  /data/app/~~GCsGUkkltFWq2iNoxUo5Xw==/com.dragosha.hamster-cQjhdbrI8rx4gGKsPlwlsg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (dmConnectionPool::Dial(dmConnectionPool::ConnectionPool*, char const*, unsigned short, dmDNS::Channel*, bool, int, unsigned int*, dmSocket::Result*)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/connection_pool.cpp:429)
  #00  pc 00000000001483a0  /data/app/~~GCsGUkkltFWq2iNoxUo5Xw==/com.dragosha.hamster-cQjhdbrI8rx4gGKsPlwlsg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (dmHttpClient::Response::Connect(char const*, unsigned short, bool, int)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/http_client.cpp:195)
  #00  pc 0000000000148bbc  /data/app/~~GCsGUkkltFWq2iNoxUo5Xw==/com.dragosha.hamster-cQjhdbrI8rx4gGKsPlwlsg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (dmHttpClient::DoRequest(dmHttpClient::Client*, char const*, char const*)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/http_client.cpp:1011)
  #00  pc 00000000000f5668  /data/app/~~GCsGUkkltFWq2iNoxUo5Xw==/com.dragosha.hamster-cQjhdbrI8rx4gGKsPlwlsg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (dmHttpService::HandleRequest(dmHttpService::Worker*, dmMessage::URL const*, dmHttpDDF::HttpRequest*)) (SourceCode: /home/runner/work/defold/defold/engine/script/build/../src/http_service.cpp:240)
  #00  pc 00000000000f5888  /data/app/~~GCsGUkkltFWq2iNoxUo5Xw==/com.dragosha.hamster-cQjhdbrI8rx4gGKsPlwlsg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (dmHttpService::Dispatch(dmMessage::Message*, void*)) (SourceCode: /home/runner/work/defold/defold/engine/script/build/../src/http_service.cpp:269)
  #00  pc 0000000000159a7c  /data/app/~~GCsGUkkltFWq2iNoxUo5Xw==/com.dragosha.hamster-cQjhdbrI8rx4gGKsPlwlsg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (dmMessage::InternalDispatch(unsigned long, void (*)(dmMessage::Message*, void*), void*, bool)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/message.cpp:497)
  #00  pc 00000000000f5a48  /data/app/~~GCsGUkkltFWq2iNoxUo5Xw==/com.dragosha.hamster-cQjhdbrI8rx4gGKsPlwlsg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (dmHttpService::Loop(void*)) (SourceCode: /home/runner/work/defold/defold/engine/script/build/../src/http_service.cpp:326)
  #00  pc 0000000000161448  /data/app/~~GCsGUkkltFWq2iNoxUo5Xw==/com.dragosha.hamster-cQjhdbrI8rx4gGKsPlwlsg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libLookYourLoot.so (offset 0x1000) (dmThread::ThreadStartProxy(void*)) (SourceCode: /home/runner/work/defold/defold/engine/dlib/build/../src/dlib/thread.cpp:42)
  #00  pc 00000000000af888  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
  #00  pc 000000000004fd08  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
3 Likes

Thank you very much for testing and confirming this is still an issue!

If anyone is able to produce this issue locally with their device, I would be very interested in knowing more on repro cases etc.
I could also provide a special build with a lot more debug-logging.

3 Likes