Defold 1.2.178 has been released

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

Trying to catch this issue on my device with logcat + debug version, unsuccessfully so far. But got one interesting error with no crash dump. App just closed while I switched game screen and logcat printing that:

2021-03-01 19:06:56.558 23075-23140/com.dragosha.hamster W/Adreno-GSL: <gsl_ldd_control:553>: ioctl fd 81 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 22 Invalid argument
2021-03-01 19:06:56.808 23075-23187/com.dragosha.hamster E/defold: ERROR:DLIB: mbedtls_ssl_handshake failed: MBEDTLS_ERR_NET_SEND_FAILED - -78 (-0x004E)
1 Like

Interesting. That log message is from within the secure socket creating code.
I’m guessing you make a https request when entering the new game screen?

The error is

#define MBEDTLS_ERR_NET_SEND_FAILED -0x004E /**< Sending information through the socket failed. */

Failing that handshake shouldn’t cause the engine to shut down though :thinking:

I would probably also look closer on what the logcat says before/after that line, and not filtering the log, to see what the OS actually says before closing the process.

yes. There was cloud saving (complete) and next request is sending score to the leaderboard.

No-filter log around an error timing + start next session:

2021-03-01 19:06:56.391 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:06:56.486 23075-23140/com.dragosha.hamster D/defold: DEBUG:SCRIPT: Gameover Gui_script Init
2021-03-01 19:06:56.490 23075-23140/com.dragosha.hamster D/defold: DEBUG:SCRIPT: ---saveFile---
2021-03-01 19:06:56.490 23075-23140/com.dragosha.hamster D/defold: DEBUG:SCRIPT: ---saveBoard---
2021-03-01 19:06:56.491 23075-23140/com.dragosha.hamster D/defold: DEBUG:SCRIPT: Gameover INIT
2021-03-01 19:06:56.491 23075-23140/com.dragosha.hamster D/defold: DEBUG:SCRIPT: 1 = hash: [menu]
    2 = hash: [hero]
    3 = hash: [shop]
    4 = hash: [mode]
    5 = hash: [board]
    6 = hash: [gameover]
2021-03-01 19:06:56.491 23075-23140/com.dragosha.hamster D/defold: DEBUG:SCRIPT: ------------------
2021-03-01 19:06:56.491 23075-23140/com.dragosha.hamster D/defold: DEBUG:SCRIPT: IN:	hash: [transition_show_in]	
     previous_screen:	hash: [board]	next_screen:	nil
2021-03-01 19:06:56.495 23075-23140/com.dragosha.hamster D/defold: DEBUG:SCRIPT: Cloud save:	{"savedGem":1174,"version":"1.66","nickname":"dragosha","iast1":false,"gpgsUnlock":true,"besttwo3":466,"music":true,"bestscore3":14762,"platform":"Android","present1":true,"classes":{"g3":14,"re25":13175,"re24":3786,"g5":21,"s11":1,"s10":1,"s8":1,"s2":1,"g6":17,"s9":1,"s7":1,"g9":13,"s3":1,"g7":18,"s5":1,"re210":9114,"re211":16096,"s4":1,"re27":2614,"re21":13283,"re23":7784,"re22":46596,"g1":21,"re29":6032,"re28":13914,"re26":9628,"g8":22,"g2":34,"s6":1,"g4":12,"g10":17,"g11":22},"overall":6490,"bestparty":6042,"statistic":{"pzl":82,"mix":0,"four":109,"classic":343,"deck":609,"treasure":46,"atk":28,"two":474},"present":1,"language":"en","puzzles":{"p14":42,"p46":536,"p42":27,"p27":142,"p32":90,"p4":66,"p41":384,"p1":148,"p50":131,"p11":271,"p29":48,"p2":159,"p48":317,"p5":49,"p9":103,"p6":29,"p31":69,"p15":48,"p7":22,"p44":91,"p26":52,"p35":435,"p22":566,"p37":150,"p38":292,"p8":73,"p21":29,"p40":51,"p20":71,"p34":336,"p49":68,"p10":131,"p17":24,"p13":22,"p3":85,"p16":140,"p47":71,"
2021-03-01 19:06:56.497 23075-23140/com.dragosha.hamster D/defold: DEBUG:SCRIPT: ------------------
2021-03-01 19:06:56.558 23075-23140/com.dragosha.hamster W/Adreno-GSL: <gsl_ldd_control:553>: ioctl fd 81 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 22 Invalid argument
2021-03-01 19:06:56.666 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:06:56.768 27357-27385/? I/chatty: uid=1002(bluetooth) BT Service Call identical 1 line
2021-03-01 19:06:56.784 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:06:56.797 834-834/? W/Binder:834_2: type=1400 audit(0.0:58039): avc: denied { read write } for path="socket:[22845364]" dev="sockfs" ino=22845364 scontext=u:r:netd:s0 tcontext=u:r:untrusted_app_29:s0:c32,c257,c512,c768 tclass=unix_stream_socket permissive=0
2021-03-01 19:06:56.807 834-858/? E/libnetd_resolv: control message was truncated when receiving file descriptors
2021-03-01 19:06:56.808 23075-23187/com.dragosha.hamster E/defold: ERROR:DLIB: mbedtls_ssl_handshake failed: MBEDTLS_ERR_NET_SEND_FAILED - -78 (-0x004E)
2021-03-01 19:06:56.938 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:06:57.064 27357-27385/? I/chatty: uid=1002(bluetooth) BT Service Call identical 2 lines
2021-03-01 19:06:57.217 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:06:57.258 31965-31965/? W/chromium: [0301/190657.256598:WARNING:thread_snapshot_linux.cc(111)] Unknown scheduling policy 1073741825
2021-03-01 19:06:57.318 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:06:57.329 27357-27385/? I/chatty: uid=1002(bluetooth) BT Service Call identical 1 line
2021-03-01 19:06:57.335 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:06:57.465 1484-1742/? W/InputDispatcher: channel '2761385 com.dragosha.hamster/com.dynamo.android.DefoldActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
2021-03-01 19:06:57.465 1484-1742/? E/InputDispatcher: channel '2761385 com.dragosha.hamster/com.dynamo.android.DefoldActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
2021-03-01 19:06:57.465 1484-3498/? D/ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ TRACK_DEFAULT id=21348, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10288 AdministratorUids: [] RequestorUid: 10288 RequestorPackageName: com.dragosha.hamster] ], android.os.BinderProxy@5037e7d)
2021-03-01 19:06:57.466 1484-3498/? D/ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ LISTEN id=21349, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND Uid: 10288 AdministratorUids: [] RequestorUid: 10288 RequestorPackageName: com.dragosha.hamster] ], android.os.BinderProxy@4b52172)
2021-03-01 19:06:57.467 864-864/? I/Zygote: Process 23075 exited due to signal 11 (Segmentation fault)
2021-03-01 19:06:57.467 1484-1801/? I/WindowManager: WIN DEATH: Window{2761385 u0 com.dragosha.hamster/com.dynamo.android.DefoldActivity}
2021-03-01 19:06:57.467 1484-1772/? D/ConnectivityService: releasing NetworkRequest [ TRACK_DEFAULT id=21348, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10288 AdministratorUids: [] RequestorUid: 10288 RequestorPackageName: com.dragosha.hamster] ] (release request)
2021-03-01 19:06:57.467 1484-1801/? W/InputDispatcher: Attempted to unregister already unregistered input channel '2761385 com.dragosha.hamster/com.dynamo.android.DefoldActivity (server)'
2021-03-01 19:06:57.468 1484-1800/? I/ActivityManager: Process com.dragosha.hamster (pid 23075) has died: fg  TOP 
2021-03-01 19:06:57.468 1484-1533/? I/libprocessgroup: Successfully killed process cgroup uid 10288 pid 23075 in 0ms
2021-03-01 19:06:57.474 1086-4616/? E/OMXNodeInstance: !!! Observer died. Quickly, do something, ... anything...
2021-03-01 19:06:57.480 1484-1800/? W/ActivityTaskManager: Force removing ActivityRecord{dbb70ca u0 com.dragosha.hamster/com.dynamo.android.DefoldActivity t10767}: app died, no saved state
2021-03-01 19:06:57.481 1099-20187/? D/BufferPoolAccessor2.0: bufferpool2 0x7b04791848 : 4(16384 size) total buffers - 0(0 size) used buffers - 16/20 (recycle/alloc) - 5/20 (fetch/transfer)
2021-03-01 19:06:57.483 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:06:57.486 1080-1195/? E/mediaserver: unlinkToDeath: removed reference to death recipient but unlink failed.
2021-03-01 19:06:57.486 1080-1195/? E/IPCThreadState: attemptIncStrongHandle(15): Not supported
2021-03-01 19:06:57.490 1484-1800/? I/ActivityManager: Killing 23284:com.google.android.webview:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:0/u0a288i123 (adj 0): isolated not needed
2021-03-01 19:06:57.491 1484-1533/? W/libprocessgroup: Failed to open process cgroup uid 99123 pid 23284: Permission denied
2021-03-01 19:06:57.491 1484-1533/? E/libprocessgroup: Error encountered killing process cgroup uid 99123 pid 23284: Permission denied
2021-03-01 19:06:57.492 1099-20187/? D/BufferPoolConnection: connection 4723929510370 closed on death
2021-03-01 19:06:57.494 1484-1525/? W/ActivityManager: setHasOverlayUi called on unknown pid: 23075
2021-03-01 19:06:57.509 8327-8327/? I/A: onApplyWindowInsets: systemWindowInsets=Insets{left=0, top=98, right=0, bottom=168}
2021-03-01 19:06:57.510 8327-8327/? I/A: onApplyWindowInsets: systemWindowInsets=Insets{left=0, top=98, right=0, bottom=168}
2021-03-01 19:06:57.511 1846-1846/? V/KeyguardUpdateMonitor: onSubscriptionInfoChanged()
2021-03-01 19:06:57.513 2281-2281/? D/Telephony: isEmergencyPreferredAccount: subId=2, activeData=2
2021-03-01 19:06:57.513 2281-2281/? D/Telephony: isEmergencyPreferredAccount: Device does not require preference.
2021-03-01 19:06:57.515 1846-1846/? V/KeyguardUpdateMonitor: SubInfo:{id=2 iccId=897012044[****] simSlotIndex=0 carrierId=1028 displayName=Tele2 carrierName=Tele2 nameSource=0 iconTint=-16746133 number= dataRoaming=0 iconBitmap=android.graphics.Bitmap@76f0635 mcc=250 mnc=20 countryIso=ru isEmbedded=false nativeAccessRules=null cardString=897012044[****] cardId=-1 isOpportunistic=false groupUUID=null isGroupDisabled=false profileClass=-1 ehplmns=[] hplmns=[] subscriptionType=0 groupOwner=null carrierConfigAccessRules=null areUiccApplicationsEnabled=true}
2021-03-01 19:06:57.516 1099-1222/? V/C2Store: in ~ComponentModule
2021-03-01 19:06:57.516 1099-1222/? V/C2Store: unloading dll
2021-03-01 19:06:57.520 1936-1936/? I/Zygote: Process 23284 exited due to signal 9 (Killed)
2021-03-01 19:06:57.522 1099-1222/? D/BufferPoolAccessor2.0: Destruction - bufferpool2 0x7b04791848 cached: 0/0M, 0/0% in use; allocs: 20, 80% recycled; transfers: 20, 75% unfetched
2021-03-01 19:06:57.523 32079-5976/? W/qc_adm: discontinuity -0.210333 ms real_duration_ns 114186210333, written_ns 114186000000
2021-03-01 19:06:57.525 1484-1772/? D/ConnectivityService: NetReassign [no changes]
2021-03-01 19:06:57.542 1484-1509/? I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4
2021-03-01 19:06:57.542 32079-32087/? D/ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE, vol index 0
2021-03-01 19:06:57.542 32079-32087/? D/android.hardware.audio.service: Failed to fetch the lookup information of the device 0000000F 
2021-03-01 19:06:57.542 32079-32087/? E/ACDB-LOADER: Error: ACDB AudProc vol returned = -19
2021-03-01 19:06:57.542 32079-32087/? E/volume_listener: check_and_set_gain_dep_cal: Failed to set gain dep cal level
2021-03-01 19:06:57.542 32079-32105/? E/volume_listener: check_and_set_gain_dep_cal: Failed to set gain dep cal level
2021-03-01 19:06:57.543 32078-32094/? W/APM::AudioPolicyEngine: getDevicesForStrategy() unknown strategy: -1
2021-03-01 19:06:57.543 32078-32094/? W/APM::AudioPolicyEngine: getDevicesForStrategy() unknown strategy: -1
2021-03-01 19:06:57.549 8327-8327/? I/A: onApplyWindowInsets: systemWindowInsets=Insets{left=0, top=98, right=0, bottom=168}
2021-03-01 19:06:57.549 8327-8327/? I/A: onApplyWindowInsets: systemWindowInsets=Insets{left=0, top=98, right=0, bottom=168}
2021-03-01 19:06:57.570 8327-8421/? W/ThreadPoolDumper: Queue length for executor EventBus is now 11. Perhaps some tasks are too long, or the pool is too small.
2021-03-01 19:06:57.574 21437-21437/? I/GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3311 
2021-03-01 19:06:57.576 21437-21437/? I/GoogleInputMethodService: GoogleInputMethodService.onStartInput():1914 
2021-03-01 19:06:57.605 8327-8421/? I/A: isInitializing-false locale not changed-true model not changed-true
2021-03-01 19:06:57.608 15627-23522/? I/Icing: IndexChimeraService.getServiceInterface callingPackage=com.google.android.googlequicksearchbox componentName=null serviceId=36
2021-03-01 19:06:57.610 28258-28270/? W/s.nexuslaunche: Reducing the number of considered missed Gc histogram windows from 154 to 100
2021-03-01 19:06:57.615 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:06:57.622 28258-28272/? W/System: A resource failed to call release. 
2021-03-01 19:06:57.622 28258-28272/? W/System: A resource failed to call release. 
2021-03-01 19:06:57.623 15627-28970/? I/GmsCoreXrpcWrapper: Returning a channel provider with trafficStatsTag=12803
2021-03-01 19:06:57.632 8327-8327/? I/BgTaskExecutorImpl: Starting EXCLUSIVE background task TNG_VOICE_SEARCH_SYNC.
2021-03-01 19:06:57.632 8327-8327/? I/BgTaskExecutorImpl: Starting EXCLUSIVE background task TNG_MINUS_ONE_SYNC.
2021-03-01 19:06:57.638 15627-23522/? I/Icing: IndexChimeraService.getServiceInterface callingPackage=com.google.android.gms componentName=null serviceId=30
2021-03-01 19:06:57.658 8327-8421/? I/MicroDetectionState: Should stop hotword detection immediately - false
2021-03-01 19:06:57.661 8327-8421/? I/MicroDetectionState: Should stop hotword detection immediately - false
2021-03-01 19:06:57.662 8327-8421/? I/TngVoiceSearchSync: Syncing TNG:VoiceSearch
2021-03-01 19:06:57.665 8327-8421/? I/TngMinusOneSync: Syncing TNG:-1
2021-03-01 19:06:57.693 1086-4616/? I/OMX-VDEC-1080P: omx_vdec::component_deinit() complete
2021-03-01 19:06:57.695 1086-4616/? I/OMX-VDEC-1080P: Exit OMX vdec Destructor: fd=7
2021-03-01 19:06:57.696 1086-4616/? I/OMX-VDEC-1080P: Video slvp perflock released
2021-03-01 19:06:57.715 15627-28970/? I/Icing: Usage reports ok 1, Failed Usage reports 0, indexed 0, rejected 0
2021-03-01 19:06:57.724 15627-28970/? I/GmsCoreXrpcWrapper: Returning a channel provider with trafficStatsTag=12803
2021-03-01 19:06:57.754 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:06:57.756 15627-28970/? I/Icing: Usage reports ok 0, Failed Usage reports 0, indexed 0, rejected 0
2021-03-01 19:06:57.862 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:06:57.867 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:06:57.870 15627-15641/? I/gle.android.gm: Background young concurrent copying GC freed 370407(19MB) AllocSpace objects, 94(4184KB) LOS objects, 43% free, 30MB/53MB, paused 1.006ms total 179.032ms
2021-03-01 19:06:57.870 15627-15641/? W/gle.android.gm: Reducing the number of considered missed Gc histogram windows from 358 to 100
2021-03-01 19:06:57.892 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:06:58.247 27357-27385/? I/chatty: uid=1002(bluetooth) BT Service Call identical 7 lines
2021-03-01 19:06:58.299 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:06:58.340 889-889/? I/android.hardware.health@2.0-service.wahoo: SRAM data: 3699000
2021-03-01 19:06:58.346 1846-3173/? D/PowerUI: can't show warning due to - plugged: true status unknown: false
2021-03-01 19:06:58.348 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:07:00.475 27357-27385/? I/chatty: uid=1002(bluetooth) BT Service Call identical 44 lines
2021-03-01 19:07:00.492 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:07:00.542 32079-32087/? D/audio_hw_primary: disable_audio_route: usecase(5) reset and update mixer path: audio-ull-playback speaker
2021-03-01 19:07:00.542 675-675/? D/android.hardware.power@1.3-service.pixel-libperfmgr: AUDIO_LOW_LATENCY: 0
2021-03-01 19:07:00.544 32079-32087/? D/audio_hw_primary: disable_snd_device: snd_device(2: speaker)
2021-03-01 19:07:00.545 1484-3565/? I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4
2021-03-01 19:07:00.594 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:07:02.300 27357-27385/? I/chatty: uid=1002(bluetooth) BT Service Call identical 35 lines
2021-03-01 19:07:02.396 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:07:02.494 1099-2220/? D/BufferPoolAccessor2.0: evictor expired: 1, evicted: 0
2021-03-01 19:07:02.501 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:07:11.922 27357-27385/? I/chatty: uid=1002(bluetooth) BT Service Call identical 124 lines
2021-03-01 19:07:11.935 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:07:11.936 1846-1846/? D/b/63783866: KeyButtonView.abortCurrentGesture
2021-03-01 19:07:11.940 10515-10515/? V/GlobalScreenshot: clearing screenshot: close system dialogs
2021-03-01 19:07:11.954 1846-1846/? V/ShadeControllerImpl: NotificationShadeWindow: com.android.systemui.statusbar.phone.NotificationShadeWindowView{ee01bc3 I.E...... ......ID 0,0-1440,2880} canPanelBeCollapsed(): false
2021-03-01 19:07:12.032 889-889/? I/android.hardware.health@2.0-service.wahoo: SRAM data: 3699000
2021-03-01 19:07:12.038 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:07:12.038 1846-3162/? D/PowerUI: can't show warning due to - plugged: true status unknown: false
2021-03-01 19:07:12.566 27357-27385/? I/chatty: uid=1002(bluetooth) BT Service Call identical 12 lines
2021-03-01 19:07:12.618 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:07:12.664 889-889/? I/android.hardware.health@2.0-service.wahoo: SRAM data: 3699000
2021-03-01 19:07:12.669 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:07:12.676 1846-3058/? D/PowerUI: can't show warning due to - plugged: true status unknown: false
2021-03-01 19:07:13.043 1484-3565/? I/ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10300000 cmp=com.dragosha.hamster/com.dynamo.android.DefoldActivity} from uid 10013
2021-03-01 19:07:12.988 27357-27385/? I/chatty: uid=1002(bluetooth) BT Service Call identical 6 lines
2021-03-01 19:07:13.020 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:07:13.066 675-675/? D/android.hardware.power@1.3-service.pixel-libperfmgr: LAUNCH: 1
2021-03-01 19:07:13.070 1484-1525/? D/EventSequenceValidator: Transition from INIT to INTENT_STARTED
2021-03-01 19:07:13.071 1484-1525/? D/CompatibilityChangeReporter: Compat change id reported: 135634846; UID 10288; state: DISABLED
2021-03-01 19:07:13.072 1484-1525/? D/EventSequenceValidator: Transition from INTENT_STARTED to ACTIVITY_LAUNCHED
2021-03-01 19:07:13.072 1484-1532/? D/CompatibilityChangeReporter: Compat change id reported: 143937733; UID 10288; state: DISABLED
2021-03-01 19:07:13.080 864-864/? D/Zygote: Forked child process 31983
2021-03-01 19:07:13.085 31983-31983/? I/ragosha.hamste: Late-enabling -Xcheck:jni
2021-03-01 19:07:13.088 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:07:13.094 1484-1532/? I/ActivityManager: Start proc 31983:com.dragosha.hamster/u0a288 for pre-top-activity {com.dragosha.hamster/com.dynamo.android.DefoldActivity}
2021-03-01 19:07:13.111 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:07:13.116 31983-31983/? I/ragosha.hamste: Unquickening 12 vdex files!
2021-03-01 19:07:13.130 1173-1213/? I/adbd: jdwp connection from 31983
2021-03-01 19:07:13.149 28258-28258/? D/RecentsOrientedState: current RecentsOrientedState: [this=RecentsOrientedState@6637b4a mOrientationHandler=PortraitPagedViewHandler@c7f1529 mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=false mSystemRotation=false mFlags=3]
2021-03-01 19:07:13.149 28258-28258/? I/chatty: uid=10013(com.google.android.apps.nexuslauncher) identical 2 lines
2021-03-01 19:07:13.149 28258-28258/? D/RecentsOrientedState: current RecentsOrientedState: [this=RecentsOrientedState@6637b4a mOrientationHandler=PortraitPagedViewHandler@c7f1529 mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=false mSystemRotation=false mFlags=3]
2021-03-01 19:07:13.152 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:07:13.153 31983-31983/? D/ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.test.base.jar
2021-03-01 19:07:13.153 889-889/? I/android.hardware.health@2.0-service.wahoo: SRAM data: 3699000
2021-03-01 19:07:13.156 8327-8327/? I/A: onApplyWindowInsets: systemWindowInsets=Insets{left=0, top=98, right=0, bottom=168}
2021-03-01 19:07:13.156 8327-8327/? I/A: onApplyWindowInsets: systemWindowInsets=Insets{left=0, top=98, right=0, bottom=168}
2021-03-01 19:07:13.196 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:07:13.262 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:07:13.292 31983-31983/? D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2021-03-01 19:07:13.292 31983-31983/? D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2021-03-01 19:07:13.295 31983-31983/? I/MultiDex: VM with version 2.1.0 has multidex support
2021-03-01 19:07:13.295 31983-31983/? I/MultiDex: install
2021-03-01 19:07:13.295 31983-31983/? I/MultiDex: VM has multidex support, MultiDex support library is disabled.
2021-03-01 19:07:13.299 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:07:13.304 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:07:13.348 31983-31983/? V/threaded_app: Creating: 0x71b5c503f0
2021-03-01 19:07:13.348 31983-32020/? V/threaded_app: Config: mcc=250 mnc=20 lang=ru cnt=RU orien=1 touch=3 dens=560 keys=1 nav=1 keysHid=3 navHid=0 sdk=30 size=2 long=2 modetype=1 modenight=1
2021-03-01 19:07:13.349 31983-32020/? V/glfw-android: _glfwPreMain
2021-03-01 19:07:13.354 31983-31983/? V/threaded_app: Start: 0x71b5c503f0
2021-03-01 19:07:13.354 31983-32020/? V/threaded_app: activityState=10
2021-03-01 19:07:13.354 31983-32020/? V/glfw-android: handleCommand (looper thread): APP_CMD_START
2021-03-01 19:07:13.354 31983-32020/? V/glfw-android: handleCommand (main thread): APP_CMD_START
2021-03-01 19:07:13.356 31983-31983/? V/threaded_app: Resume: 0x71b5c503f0
2021-03-01 19:07:13.356 31983-32020/? V/threaded_app: activityState=11
2021-03-01 19:07:13.356 31983-32020/? V/glfw-android: handleCommand (looper thread): APP_CMD_RESUME
2021-03-01 19:07:13.356 31983-32020/? V/glfw-android: iconified: YES    (resume: YES, focus: no, surface: no)
2021-03-01 19:07:13.356 31983-32020/? V/glfw-android: handleCommand (main thread): APP_CMD_RESUME
2021-03-01 19:07:13.375 31983-31983/? V/threaded_app: InputQueueCreated: 0x71b5c503f0 -- 0x71c5c82c10
2021-03-01 19:07:13.375 31983-32020/? V/threaded_app: APP_CMD_INPUT_CHANGED
2021-03-01 19:07:13.375 31983-32020/? V/threaded_app: Attaching input queue to looper
2021-03-01 19:07:13.375 31983-32020/? V/glfw-android: handleCommand (looper thread): APP_CMD_INPUT_CHANGED
2021-03-01 19:07:13.375 31983-32020/? V/glfw-android: handleCommand (main thread): APP_CMD_INPUT_CHANGED
2021-03-01 19:07:13.384 31983-32021/? W/DynamiteModule: Local module descriptor class for com.google.android.gms.measurement.dynamite not found.
2021-03-01 19:07:13.384 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:07:13.391 31983-31983/? V/threaded_app: NativeWindowCreated: 0x71b5c503f0 -- 0x7275c72f10
2021-03-01 19:07:13.391 31983-32020/? V/threaded_app: APP_CMD_INIT_WINDOW
2021-03-01 19:07:13.391 31983-32020/? V/glfw-android: handleCommand (looper thread): APP_CMD_INIT_WINDOW
2021-03-01 19:07:13.391 31983-32020/? V/glfw-android: handleCommand (main thread): APP_CMD_INIT_WINDOW
2021-03-01 19:07:13.391 31983-32020/? V/glfw-android: iconified: YES    (resume: YES, focus: no, surface: no)
2021-03-01 19:07:13.392 31983-32020/? V/glfw-android: _glfwPlatformInit
2021-03-01 19:07:13.399 1484-1530/? D/ArtManagerInternalImpl: /data/misc/iorapd/com.dragosha.hamster/93/com.dynamo.android.DefoldActivity/compiled_traces/compiled_trace.pb doesn't exist
2021-03-01 19:07:13.400 675-675/? D/android.hardware.power@1.3-service.pixel-libperfmgr: LAUNCH: 0
2021-03-01 19:07:13.400 1484-1530/? I/ActivityTaskManager: Displayed com.dragosha.hamster/com.dynamo.android.DefoldActivity: +355ms
2021-03-01 19:07:13.400 1484-1525/? D/EventSequenceValidator: Transition from ACTIVITY_LAUNCHED to ACTIVITY_FINISHED
2021-03-01 19:07:13.412 31983-31983/? V/threaded_app: WindowFocusChanged: 0x71b5c503f0 -- 1
2021-03-01 19:07:13.412 31983-32020/? V/glfw-android: handleCommand (looper thread): APP_CMD_GAINED_FOCUS
2021-03-01 19:07:13.412 31983-32020/? V/glfw-android: iconified: YES    (resume: YES, focus: YES, surface: no)
2021-03-01 19:07:13.416 31983-32015/? I/DynamiteModule: Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:204890103
2021-03-01 19:07:13.416 31983-32015/? I/DynamiteModule: Selected remote version of com.google.android.gms.ads.dynamite, version >= 204890103
2021-03-01 19:07:13.417 31983-32015/? V/DynamiteModule: Dynamite loader version >= 2, using loadModule2NoCrashUtils
2021-03-01 19:07:13.419 21437-21437/? I/GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3311 
2021-03-01 19:07:13.419 31983-32021/? I/DynamiteModule: Considering local module com.google.android.gms.measurement.dynamite:0 and remote module com.google.android.gms.measurement.dynamite:45
2021-03-01 19:07:13.420 31983-32021/? I/DynamiteModule: Selected remote version of com.google.android.gms.measurement.dynamite, version >= 45
2021-03-01 19:07:13.420 31983-32021/? V/DynamiteModule: Dynamite loader version >= 2, using loadModule2NoCrashUtils
2021-03-01 19:07:13.420 21437-21437/? I/GoogleInputMethodService: GoogleInputMethodService.onStartInput():1914 
2021-03-01 19:07:13.425 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:07:13.427 31983-32022/? I/TetheringManager: registerTetheringEventCallback:com.dragosha.hamster
2021-03-01 19:07:13.428 31983-32022/? I/defold: INFO:DLIB: Log server started on port 43267
2021-03-01 19:07:13.430 31983-32022/? I/defold: INFO:ENGINE: Target listening with name: Google-Pixel 2 XL - 192.168.0.21 - Android
2021-03-01 19:07:13.430 31983-32022/? I/defold: INFO:ENGINE: Engine service started on port 8001
2021-03-01 19:07:13.430 31983-32015/? I/DynamiteLoaderV2Impl: [71] AdsFdrDynamite.integ
2021-03-01 19:07:13.430 31983-32022/? I/defold: INFO:ENGINE: Defold Engine 1.2.180 (0e87b02)
2021-03-01 19:07:13.435 31983-32022/? I/defold: INFO:GpgsExt: Registered extension Gpgs
2021-03-01 19:07:13.435 31983-32022/? V/glfw-android: _glfwPlatformOpenWindow
2021-03-01 19:07:13.435 31983-32022/? V/glfw-android: init_gl
2021-03-01 19:07:13.435 31983-32022/? I/AdrenoGLES-0: QUALCOMM build                   : e883189, Ia11ce2d146
    Build Date                       : 09/02/20
    OpenGL ES Shader Compiler Version: EV031.31.04.00
    Local Branch                     : gfx-adreno.lnx.2.0
    Remote Branch                    : quic/gfx-adreno.lnx.2.0
    Remote Branch                    : NONE
    Reconstruct Branch               : NOTHING
2021-03-01 19:07:13.435 31983-32022/? I/AdrenoGLES-0: Build Config                     : S L 10.0.5 AArch64
2021-03-01 19:07:13.435 31983-32022/? I/AdrenoGLES-0: Driver Path                      : /vendor/lib64/egl/libGLESv2_adreno.so
2021-03-01 19:07:13.437 976-1013/? I/CHRE: @ 1644639.498: [ImuCal] [NanoSensorCal:GYRO_RPS] Offset | Temperature [C]: -0.006706, 0.005057, -0.004377 | 29.53
2021-03-01 19:07:13.437 976-1013/? I/CHRE: @ 1644639.498: [ImuCal] [NanoSensorCal:GYRO_RPS] Temp Sensitivity: -0.000106, -0.000058, -0.000091
2021-03-01 19:07:13.437 976-1013/? I/CHRE: @ 1644639.498: [ImuCal] [NanoSensorCal:GYRO_RPS] Temp Intercept: -0.003747, 0.006774, -0.001923
2021-03-01 19:07:13.438 31983-32022/? I/AdrenoGLES-0: PFP: 0x005ff113, ME: 0x005ff066
2021-03-01 19:07:13.439 31983-32022/? W/AdrenoUtils: <ReadGpuID_from_sysfs:197>: Failed to open /sys/class/kgsl/kgsl-3d0/gpu_model
2021-03-01 19:07:13.439 31983-32022/? W/AdrenoUtils: <ReadGpuID:221>: Failed to read chip ID from gpu_model. Fallback to use the GSL path
2021-03-01 19:07:13.442 31983-32021/? I/DynamiteLoaderV2Impl: [71] Measurementdynamite
2021-03-01 19:07:13.450 31983-32022/? V/glfw-android: create_gl_aux_context..
2021-03-01 19:07:13.450 31983-32022/? V/glfw-android: create_gl_aux_context success
2021-03-01 19:07:13.450 31983-32022/? V/glfw-android: create_gl_surface
2021-03-01 19:07:13.456 31983-32022/? V/glfw-android: window size changed from 720x1280 to 1440x2880
2021-03-01 19:07:13.456 31983-32022/? V/glfw-android: iconified: no    (resume: YES, focus: YES, surface: YES)
2021-03-01 19:07:13.459 31983-32021/? W/DynamiteModule: Local module descriptor class for com.google.android.gms.measurement.dynamite not found.
2021-03-01 19:07:13.461 31983-32022/? I/defold: INFO:ENGINE: Loading data from: dmanif:game.dmanifest
2021-03-01 19:07:13.509 28258-28258/? I/AiAiSuggestUi: Clearing suggestions.
2021-03-01 19:07:13.509 28258-28258/? I/AiAiSuggestUi: Clearing suggestions.
2021-03-01 19:07:13.509 28258-28258/? D/RecentsOrientedState: current RecentsOrientedState: [this=RecentsOrientedState@ba8a2b0 mOrientationHandler=PortraitPagedViewHandler@c7f1529 mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=false mSystemRotation=false mFlags=259]
2021-03-01 19:07:13.509 28258-28258/? I/chatty: uid=10013(com.google.android.apps.nexuslauncher) identical 2 lines
2021-03-01 19:07:13.509 28258-28258/? D/RecentsOrientedState: current RecentsOrientedState: [this=RecentsOrientedState@ba8a2b0 mOrientationHandler=PortraitPagedViewHandler@c7f1529 mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=false mSystemRotation=false mFlags=259]
2021-03-01 19:07:13.512 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 19:07:13.523 31983-32028/? I/Ads: App measurement initialized, version: 38002
2021-03-01 19:07:13.524 31983-32028/? I/Ads: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
1 Like

2021-03-01 19:06:57.467 864-864/? I/Zygote: Process 23075 exited due to signal 11 (Segmentation fault)

It was indeed a crash somewhere. Interesting though that nothing is printed out in the logcat. Neither from Defold nor Android.

I’m going to try hardcoding an error inside that part of the code, to mimic your use case, to see what happens.

2 Likes

Catched another ERROR:DLIB: mbedtls_ssl_handshake failed:. Same case: quick switching between game menus contained https request. But again don’t known what is trigger for an error :confused:

2021-03-01 21:10:32.726 31983-32022/com.dragosha.hamster D/defold: DEBUG:SCRIPT: ------------------
2021-03-01 21:10:32.727 31983-32022/com.dragosha.hamster D/defold: DEBUG:SCRIPT: OUT:	hash: [transition_show_out]	
     previous_screen:	nil	next_screen:	hash: [leaderboard]
2021-03-01 21:10:32.727 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 21:10:32.768 31983-32022/com.dragosha.hamster I/defold: INFO:GRAPHICS: MAWE: Transcoding: 0x70e3cf7b7b from 16 to 10 (TEXTURE_FORMAT_RGBA_ASTC_4x4 -> cTFASTC_4x4_RGBA)
2021-03-01 21:10:32.818 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 21:10:32.831 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 21:10:32.852 31983-32022/com.dragosha.hamster I/defold: INFO:GRAPHICS: MAWE: Transcoding: 0x70e3cf7bd5 from 12 to 0 (TEXTURE_FORMAT_RGB_ETC1 -> cTFETC1_RGB)
2021-03-01 21:10:32.881 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 21:10:32.912 31983-32022/com.dragosha.hamster D/defold: DEBUG:SCRIPT: Leaderboard INIT
2021-03-01 21:10:32.912 31983-32022/com.dragosha.hamster D/defold: DEBUG:SCRIPT: 1 = hash: [menu]
    2 = hash: [hero]
    3 = hash: [shop]
    4 = hash: [mode]
    5 = hash: [leaderboard]
2021-03-01 21:10:32.912 31983-32022/com.dragosha.hamster D/defold: DEBUG:SCRIPT: ------------------
2021-03-01 21:10:32.912 31983-32022/com.dragosha.hamster D/defold: DEBUG:SCRIPT: IN:	hash: [transition_show_in]	
     previous_screen:	hash: [mode]	next_screen:	nil
2021-03-01 21:10:32.914 31983-32022/com.dragosha.hamster D/defold: DEBUG:SCRIPT: Focus gained, previous screen: 	hash: [mode]
2021-03-01 21:10:32.914 31983-32022/com.dragosha.hamster D/defold: DEBUG:SCRIPT: Congratulations, get leaderboard!
2021-03-01 21:10:32.936 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 21:10:33.354 27357-27385/? I/chatty: uid=1002(bluetooth) BT Service Call identical 8 lines
2021-03-01 21:10:33.363 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 21:10:33.425 31983-32020/com.dragosha.hamster V/threaded_app: New input event: type=2
2021-03-01 21:10:33.434 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 21:10:33.439 31983-32020/com.dragosha.hamster V/threaded_app: New input event: type=2
2021-03-01 21:10:33.444 31983-31983/com.dragosha.hamster W/Thread-125031: type=1400 audit(0.0:58667): avc: denied { ioctl } for path="socket:[23016653]" dev="sockfs" ino=23016653 ioctlcmd=8927 scontext=u:r:untrusted_app_29:s0:c32,c257,c512,c768 tcontext=u:r:untrusted_app_29:s0:c32,c257,c512,c768 tclass=udp_socket permissive=0 app=com.dragosha.hamster
2021-03-01 21:10:33.456 31983-32020/com.dragosha.hamster V/threaded_app: New input event: type=2
2021-03-01 21:10:33.472 31983-32020/com.dragosha.hamster I/chatty: uid=10288(com.dragosha.hamster) looper_main identical 1 line
2021-03-01 21:10:33.489 31983-32020/com.dragosha.hamster V/threaded_app: New input event: type=2
2021-03-01 21:10:33.498 31983-32033/com.dragosha.hamster E/defold: ERROR:DLIB: mbedtls_ssl_handshake failed: Unknown error - -31104 (-0x7980)
2021-03-01 21:10:33.498 31983-32034/com.dragosha.hamster E/defold: ERROR:DLIB: mbedtls_ssl_handshake failed: Unknown error - -30464 (-0x7700)
2021-03-01 21:10:33.500 31983-32020/com.dragosha.hamster V/threaded_app: New input event: type=2
2021-03-01 21:10:33.500 31983-32020/com.dragosha.hamster V/threaded_app: New input event: type=2
2021-03-01 21:10:33.526 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 21:10:33.769 27357-27385/? I/chatty: uid=1002(bluetooth) BT Service Call identical 6 lines
2021-03-01 21:10:33.799 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 21:10:33.853 12455-12455/? E/chromium: [0301/211033.850998:ERROR:scoped_ptrace_attach.cc(45)] ptrace: Operation not permitted (1)
2021-03-01 21:10:33.872 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 21:10:33.875 12454-12454/? W/chromium: [0301/211033.875258:WARNING:thread_snapshot_linux.cc(111)] Unknown scheduling policy 1073741825
2021-03-01 21:10:33.905 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 21:10:33.965 27357-27385/? I/chatty: uid=1002(bluetooth) BT Service Call identical 1 line
2021-03-01 21:10:33.981 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 21:10:34.071 1086-20696/? E/OMXNodeInstance: !!! Observer died. Quickly, do something, ... anything...
2021-03-01 21:10:34.071 1086-4616/? E/OMXNodeInstance: !!! Observer died. Quickly, do something, ... anything...
2021-03-01 21:10:34.075 1484-4654/? I/WindowManager: WIN DEATH: Window{366704a u0 com.dragosha.hamster/com.dynamo.android.DefoldActivity}
2021-03-01 21:10:34.075 1484-1801/? D/ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ LISTEN id=21501, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND Uid: 10288 AdministratorUids: [] RequestorUid: 10288 RequestorPackageName: com.dragosha.hamster] ], android.os.BinderProxy@a944bb5)
2021-03-01 21:10:34.075 1484-1742/? W/InputDispatcher: channel '366704a com.dragosha.hamster/com.dynamo.android.DefoldActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0xd
2021-03-01 21:10:34.075 1484-1742/? E/InputDispatcher: channel '366704a com.dragosha.hamster/com.dynamo.android.DefoldActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
2021-03-01 21:10:34.075 864-864/? I/Zygote: Process 31983 exited due to signal 11 (Segmentation fault)
2021-03-01 21:10:34.075 27357-27385/? E/BtGatt.ContextMap: Context not found for ID 6
2021-03-01 21:10:34.076 1484-4654/? W/InputDispatcher: Attempted to unregister already unregistered input channel '366704a com.dragosha.hamster/com.dynamo.android.DefoldActivity (server)'
2021-03-01 21:10:34.076 1484-1742/? W/InputDispatcher: Window Window{366704a u0 com.dragosha.hamster/com.dynamo.android.DefoldActivity} already unregistered input channel
2021-03-01 21:10:34.077 1484-4700/? D/ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ TRACK_DEFAULT id=21500, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10288 AdministratorUids: [] RequestorUid: 10288 RequestorPackageName: com.dragosha.hamster] ], android.os.BinderProxy@80aee31)
2021-03-01 21:10:34.077 1484-2022/? I/ActivityManager: Process com.dragosha.hamster (pid 31983) has died: fg  TOP 
2021-03-01 21:10:34.078 1484-1772/? D/ConnectivityService: releasing NetworkRequest [ TRACK_DEFAULT id=21500, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10288 AdministratorUids: [] RequestorUid: 10288 RequestorPackageName: com.dragosha.hamster] ] (release request)
2021-03-01 21:10:34.079 1484-1533/? I/libprocessgroup: Successfully killed process cgroup uid 10288 pid 31983 in 0ms
2021-03-01 21:10:34.085 1080-1080/? E/mediaserver: unlinkToDeath: removed reference to death recipient but unlink failed.
2 Likes