**** BEGIN LOGGING AT Sun May 29 02:59:58 2016 May 29 03:33:21 Hi :) May 29 03:34:52 I got problem when build the android parts May 29 03:35:24 make: *** No rule to make target '/media/refa/port/luneos/out/target/product/falcon/obj/STATIC_LIBRARIES/libinit_msm_intermediates/export_includes', needed by '/media/refa/port/luneos/out/target/product/falcon/obj/EXECUTABLES/init_intermediates/import_includes'. Stop. May 29 03:35:52 make: *** No rule to make target '/media/refa/port/luneos/out/target/product/falcon/obj/STATIC_LIBRARIES/libinit_msm_intermediates/export_includes', needed by '/media/refa/port/luneos/out/target/product/falcon/obj/EXECUTABLES/init_intermediates/import_includes'. Stop. May 29 03:36:17 I have CyanogenMod/android_device_qcom_common in my manifest May 29 04:02:53 refa: Hi May 29 04:33:55 refa: You still around? May 29 04:34:03 Herrie|Pre3 yes May 29 04:34:46 refa: The problem might be our old WOP11 branch you're trying to use. I recently did some cleanup but that's still largely untested May 29 04:35:19 Herrie|Pre3: Which branch should I use? May 29 04:35:42 I just follow the instruction from wiki. May 29 04:35:46 There's a wop11new or wop11wip or something. That one is a bit cleaned up May 29 04:36:10 refa: Wiki wasn't updated yet because new one needs more testing but it fixed some initial issues. May 29 04:37:33 Herrie|Pre3: wop-11.0New ? May 29 04:37:45 Yeah that one should behave better a bit May 29 04:37:53 Broken links etc have been fixed there May 29 04:38:24 I was able to get Hammerheader (N5) building OK with that it seems. May 29 04:40:44 Ah seems that the Mer/Sailfish guys did their port based on 12.1 not 11.0? May 29 05:00:18 scoutcamper: ping May 29 05:05:43 scoutcamper: ping May 29 05:05:56 blargh May 29 05:06:24 whats up? May 29 05:06:50 Can you clean up the file server? May 29 05:07:13 Any testing images from Feb, Mar, April can be deleted :P May 29 05:07:51 http://build.webos-ports.org/luneos-testing/images/mako/ http://build.webos-ports.org/luneos-testing/images/maguro/ http://build.webos-ports.org/luneos-testing/images/tenderloin/ http://build.webos-ports.org/luneos-testing/images/grouper/ http://build.webos-ports.org/luneos-testing/images/qemux86/ May 29 05:08:36 Herrie, I started looking at that and ran out of time to deal with it May 29 05:12:41 scoutcamper: OK May 29 05:12:44 Herrie, ok, that freed 20gb. May 29 05:13:00 better have jama work up a cleanup script. May 29 05:14:05 scoutcamper: Yeah May 29 05:14:10 Thnx May 29 05:14:27 no problem May 29 05:15:11 Herrie Herrie|Pre3: How to change branch? May 29 05:21:24 refa: I think it would be best to base a port on CM 12.1 for Falcon but seems we've only done CM 11.0 so far. May 29 05:22:05 Would need to add some wop-12.1 branch to https://github.com/webOS-ports/android/branches based on https://github.com/mer-hybris/android/tree/hybris-12.1 with our specifics added May 29 05:22:50 But that's for quite some repo's. Also the android_build one and other ones as well May 29 05:56:22 Tofe: Seems my internal compiler error could be due to running out of memory, especially seeing it was when there were multiple compile steps running in parallel May 29 05:56:34 I added a 4GB swap file now, maybe that will help. May 29 05:56:45 Since this build system only has 8GB of memory May 29 06:56:44 elvispre|s: Seems that my internal compiler errors might be due to memory running out May 29 06:56:56 Now added some swap to see if that improves stuff May 29 06:57:19 It seems that it happens mainly when it's compiling 5-7 things at the same time, so with 8GB memory that could be a likely cause I guess May 29 06:57:23 Just added 8GB swap now ;) May 29 07:04:07 Herrie: Hmm... So which branch to use? Yes sailfish using 12.1 branch. May 29 07:04:35 AFAIK, Firefox OS using cm-11.0. CMIIW. May 29 07:07:34 Morning May 29 07:07:54 Herrie: that's strange, on my previous machine I only had 4GB + 5Gb swap, and the swap was barely used May 29 07:08:33 But I only have 4 parallel bb task with 4 parallel gcc per make May 29 07:35:42 Herrie: Like Tofe, I have only ("only"!) 4 parallel bb tasks. My VM has 8 GB of memory. If adding swap works for you, good but I must say the error message could have been better. A memory managemen May 29 07:35:42 t failure could be one kind of internal compiler error though, I suppose. May 29 07:57:22 elvispre|s: Yeah I guess I could reduce the parallel tasks :P May 29 08:19:10 nizovn: ping May 29 08:20:24 Herrie: pong May 29 08:21:12 nizovn: Is there any way to test media indexer on the build system or only way is to push it to emulator and test there? May 29 08:21:33 only on emulator May 29 08:21:54 Ah ok. Will do that then. May 29 08:22:13 I seem to get a segfault sometimes :s May 29 08:22:23 I guess I'll need gdb to debug that? May 29 08:22:30 right May 29 08:22:47 OK will have a look. May 29 08:22:50 Thnx May 29 08:22:58 i looked at it a little yesterday May 29 08:23:34 seems it's not my fault :P May 29 08:23:52 nizovn: Well it worked before your changes :P May 29 08:23:56 And not after :P May 29 08:24:25 you can try to revert my commits, it's coincidence :P May 29 08:24:47 nizovn: Hmmz OK May 29 08:24:55 we also upgraded qt and glib at that time May 29 08:25:01 Could be taglib update somehow I guess May 29 08:25:20 That was updated as well. May 29 08:26:01 I doubt it was qt, more likely glib though :P May 29 08:26:09 i'm not 100% sure, but seems it's crashing on https://github.com/webOS-ports/mediaindexer/blob/master/src/MojoMediaDatabaseImage.cc#L259 May 29 08:28:39 https://bpaste.net/show/27b22f207b11 May 29 08:30:15 You could put in a hard value of 10 instead and see if that sorts it. May 29 08:30:29 not sure, maybe it's somehow related to QHash in Settings, something similar was in qtwebengine May 29 08:30:30 i did May 29 08:30:46 it worked for me, but i'm on old glib, etc May 29 08:31:29 nizovn: Now you say I have scale issues with FirstUse in QtCreator May 29 08:31:51 Which might be due to it not being able to get the GridUnit as well somehow. May 29 08:35:52 strange thing is that Settings are ok in others binaries, as maliit, lunaappmanager... May 29 08:38:48 nizovn: Well we have some crashes in: May 29 04:10:10 qemux86 kernel: LunaAppManager[596]: segfault at 11 ip b671194e sp bfb828e0 error 4 in libc-2.23.so[b66a1000+172000] May 29 08:38:52 So that might be related May 29 08:39:03 I'm testing now with hard value for GridUnit May 29 08:39:14 hm, ok May 29 08:41:20 Herrie: How to change revision using repo? May 29 08:41:52 nizovn: Hmmz even with hard value 10 it segfaults May 29 08:42:09 refa: I guess we'd need to add CM 12.1 based branches to a number of repos :S May 29 08:42:26 Pretty much any repo that starts with Android in the name, so that's quite a few May 29 08:42:59 Herrie: I think it takes time... May 29 08:43:47 Herrie: ok, you should try gdb then May 29 08:46:13 refa: Yeah, I hope to have some time tonight or tomorrow to look into this May 29 08:46:21 there are two memory leaks here, but not sure they can cause crash https://github.com/webOS-ports/mediaindexer/blob/master/src/MojoMediaDatabaseImage.cc#L253-L254 May 29 08:52:20 nizovn: seems I did the regular not dev image, so missing valgrind and gdb, making new image now May 29 08:53:48 Shouldn't be too long though, just 100 tasks remaining from almost 6000 ;) May 29 08:53:53 And no qt stuff :P May 29 08:55:33 ok, the bad thing is i don't know how to install debug symbols May 29 08:58:05 nizovn: Ehm JaMa posted something about that May 29 08:58:08 Let me find it May 29 09:01:08 nizovn: http://logs.nslu2-linux.org/livelogs/webos-ports/webos-ports.20160401.txt May 29 09:01:31 ok May 29 09:01:34 thanks May 29 09:02:31 nizovn: Seems you also can set https://www.yoctoproject.org/docs/2.1/mega-manual/mega-manual.html May 29 09:02:48 "The supported method to accomplish something similar is to set IMAGE_GEN_DEBUGFS to "1", which will generate a companion debug image containing unstripped binaries and associated debug sources alongside the image." May 29 09:04:49 That was introduced again in Krogoth it seems :) May 29 10:26:32 nizovn: Valgrind: https://bpaste.net/show/24948e8b74c8 May 29 10:42:00 Herrie: it's not very useful because another mediaindexer was already running May 29 10:42:08 i suggest trying gdb attach `pidof mediaindexer` May 29 10:46:11 you can cause a crash by copying png image May 29 10:47:15 nizovn: Having difficulties getting the debug symbols into vbox :S May 29 10:47:25 When I build it with debug symbols, it doesn't boot :S May 29 10:48:24 maybe even without symbols backtrace can help May 29 10:48:39 honestly i never used debug symbols :P May 29 10:56:31 nizovn: OK so I attached gdb, copied some files over May 29 10:56:34 Then I do what? May 29 10:56:39 Just backtrace in gdb? May 29 10:57:27 yes May 29 10:58:52 https://bpaste.net/show/d0006531acf6 May 29 11:00:54 Herrie: you need to execute c after loading gdb May 29 11:01:02 then copy files, it should stop May 29 11:01:04 then bt May 29 11:04:45 . das stimmt. May 29 11:07:12 nizovn: https://bpaste.net/show/76e1e5880676 May 29 11:07:14 Better? May 29 11:08:24 yes, could you try again to see if it reproduces May 29 11:08:47 i had same bt before May 29 11:13:27 nizovn: Yeah seems it does May 29 11:13:36 You want me to try with hardcoded 10 value for the gridunit? May 29 11:13:55 yes May 29 11:14:11 so it crashes again in g_build_filename? May 29 11:14:22 Yeah exactly the same May 29 11:14:25 ok May 29 11:14:32 https://bpaste.net/show/519247868740 May 29 11:19:28 nizovn: The same with hardcoded 10 value May 29 11:20:25 could you try to add third argument NULL here https://github.com/webOS-ports/mediaindexer/blob/master/src/MojoMediaDatabaseImage.cc#L254 ? May 29 11:23:19 Trying that now May 29 11:24:58 It doesn't seem to crash anymore :D May 29 11:25:50 And I have appGridThumbNails again ;) May 29 11:26:21 And image albums :P May 29 11:27:13 ok, good, but it isn't a proper fix May 29 11:30:10 Well according to https://developer.gnome.org/glib/stable/glib-Miscellaneous-Utility-Functions.html#g-build-filename it should be terminated by NULL ? May 29 11:30:18 So why wouldn't this be proper? May 29 11:30:35 there is a memory leak when assigning it to std::string May 29 11:31:49 btw strange thing it worked before May 29 11:33:03 nizovn: Yeah, could just be newer gcc or something that's more picky? May 29 11:33:26 yes, maybe May 29 11:33:51 But to put in the NULL would be a good idea anyway right, since it should have it according to spec? May 29 11:35:29 yes, it's safer, but i don't fully understand docs, i thought they need NULL-terminated strings May 29 11:36:27 nizovn: Well other bits of code that use g_build_filename all seem to have , NULL at the end May 29 11:36:45 Even old webkit stuff: https://github.com/search?p=4&q=org%3AwebOS-ports+g_build_filename&type=Code May 29 11:37:07 ok May 29 11:58:13 nizovn: https://bpaste.net/show/759ca92269f2 May 29 11:58:34 I needed to disable the auto restart from systemd so I could start mediaindexer with valgrind ;) May 29 12:00:51 ok, thanks, i will look when have time May 29 12:06:55 nizovn: Thnx May 29 15:38:35 Tofe: ping May 29 15:45:05 Garfonso: ping May 29 15:46:55 Herrie: pong May 29 15:52:44 I have LunaAppManager segfaulting here sometimes May 29 15:52:54 You too on Mako? This is on qemu May 29 15:53:49 Actually quite frequently May 29 17:43:36 Well, I don't use it very long usually May 29 17:44:18 but yes, lately, it's more unstable I think May 29 17:45:51 Tofe: Hmmz May 29 17:46:00 It's probably something small somewhere May 29 17:46:14 Just it's a bit tricky to debug due to systemd I guess May 29 17:46:19 Because it will auto restart it May 29 17:49:47 yup **** ENDING LOGGING AT Mon May 30 02:59:58 2016