**** BEGIN LOGGING AT Wed Jul 01 03:01:14 2020 Jul 01 06:41:27 Herrie: usually we use a tool like valgrind to detect such allocation issue Jul 01 06:41:33 Morning! **** BEGIN LOGGING AT Wed Jul 01 06:58:02 2020 **** BEGIN LOGGING AT Wed Jul 01 07:11:59 2020 Jul 01 07:20:41 Morning! Jul 01 07:21:09 Tofe: Would something like Coverity Scan be useful for us as well for our own maintained pieces of code? I see LG is using it to solve some code issues **** BEGIN LOGGING AT Wed Jul 01 07:24:53 2020 Jul 01 07:27:03 https://paste.ubuntu.com/p/9zCb3QfBf9/ Jul 01 07:27:09 That's what Valgrind tells me Jul 01 07:32:58 Herrie: mmh that's just a leak, it shouldn't be harmful Jul 01 07:34:51 Herrie: but in that run, you didn't have any allocation issue, right ? Jul 01 07:35:35 Well I just manually ran it Jul 01 07:35:42 I did systemctl stop luna-appmanager Jul 01 07:35:45 Then manually ran it Jul 01 07:36:48 Herrie: I think the issue happens when first-use app is starting up Jul 01 07:40:22 The thing is that when I do gdb LunaAppManager and then in another window do luna-send -n 1 luna://com.palm.applicationManager/launch '{"id":"org.webosports.app.firstuse"}' it seems to be OK Jul 01 07:40:28 FirstUse doesn't start though Jul 01 07:40:34 But gdb doesn't crash Jul 01 07:41:22 strange... **** BEGIN LOGGING AT Wed Jul 01 07:51:38 2020 Jul 01 07:58:56 Tofe: https://paste.ubuntu.com/p/g8sFwGZnJT/ Jul 01 07:59:22 But it seems gdb doesn't do anything.. I guess I might need to add a breakpoint on the bad_alloc ? Jul 01 08:00:57 Herrie: you can try break std::bad_alloc Jul 01 08:01:10 not sure if it's the right way of catching it Jul 01 08:01:49 might be "catch throw std::bad_alloc" **** BEGIN LOGGING AT Wed Jul 01 08:21:43 2020 Jul 01 08:51:27 Tofe: It seems to be mainly Qt/QML apps somehow Jul 01 08:51:49 Tofe: That doesn't seem to work, I tried that Jul 01 08:51:56 It throws it but doesn't break on it :S Jul 01 08:55:17 https://paste.ubuntu.com/p/RZfmMb5BpF/ Jul 01 09:20:11 Though Messwerk & QMLTerm work OK Jul 01 09:21:13 So does Fingerterm, but none of our org.webosports ones do :S Jul 01 09:21:24 So Browser, Phone, QML Settings, FirstUSe Jul 01 09:21:27 Testr also works fine Jul 01 09:21:30 Really weird Jul 01 09:33:29 Tofe: I have a slight clue maybe.... Jul 01 09:33:38 Jul 01 09:21:16 tenderloin LunaAppManager[1111]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate() Jul 01 09:33:54 They added this in libhybris: https://github.com/libhybris/libhybris/commit/43d250409bf8ed90cb4e8915ef58add43225022f Jul 01 09:34:16 My do_configure for libhybris shows: checking for wayland-egl >= 1.15... no Jul 01 09:35:02 I would expect that to be yes? https://paste.ubuntu.com/p/cDwkhh5jdR/ Jul 01 09:36:18 Or QtWayland provides Wayland-egl and isn't > 1.15 yet? **** BEGIN LOGGING AT Wed Jul 01 12:40:24 2020 **** BEGIN LOGGING AT Wed Jul 01 12:43:13 2020 **** BEGIN LOGGING AT Thu Jul 02 00:17:11 2020 **** BEGIN LOGGING AT Thu Jul 02 01:02:08 2020 **** BEGIN LOGGING AT Thu Jul 02 01:20:11 2020 **** BEGIN LOGGING AT Thu Jul 02 02:02:28 2020 **** BEGIN LOGGING AT Thu Jul 02 02:49:50 2020 **** ENDING LOGGING AT Thu Jul 02 02:59:57 2020