[00:15] so I reinstalled [00:15] I got the same bug, but eventually it started [00:16] the timing for pressing power button might matter [00:43] racarr, kgunn: Pretty good news [00:44] racarr, kgunn: It was borderline unstable, but now that I have hud with it, unity8 doens't crash anymore and boot is much more stable [00:44] and everything is going in archive, one at a time [01:17] lool: thanks man! [01:18] kgunn: we have an issue with Hud [01:18] kgunn: it's likely regressing the desktop [01:19] kgunn: who would be able to help this? [01:19] kgunn: I can land without it, but the results will be crappy [01:19] lool: i assume its likely backend ?? ted would be best [01:19] but doesn't seem on [01:19] ted isn't up til 10 hours [01:19] at least [01:19] i know the issues were around the backend.... [01:20] kgunn: So they added a platform-api backend [01:20] kgunn: but on desktop I think we still want bamf [01:20] but we dropped the bdep [01:20] olli_: you on ?? ^ [01:20] lool: thostr_ will be our best bet euro am [01:21] ok [01:21] I might try just adding the bdep [01:21] you could get some sleep man and hit it in the morning [01:21] yeah that too [01:22] ricmm_: know anyone who knows about hud backend ?? ^ [01:26] back [01:26] seems like we definitely need bamf on desktop [01:31] lool: Good to hear image is working better with hud :D [01:31] is boot faster now too? [01:32] unity mir boot has been really slooow [01:32] and ive kind of suspected it has to do with errors about hud timeouts :p [01:45] kgunn, yep [04:19] kgunn: what happened? [04:20] lool: I explicitly remember them saying "we both tested on desktop and phone and all works fine" [04:21] lool: how did the MR land to trunk if it didnt have the bamf build dep? [04:22] oh that was 3 hours ago [04:22] crap [04:22] his fix looking good [04:22] * ricmm_ -> zzz [04:25] kdub_: btw if you are still around [04:26] kdub_: timings show that unity8 is busy blocking on buffer swap for about ~50ms per frame every other frame or so [04:26] when rendering intensively [04:31] racarr: kind of suspected? its a known thing since ever! [05:18] ricmm_: I guess I didnt know it was known because the one or two times I mentioned it no one said anything [05:18] and I was just like [05:18] ok move on! [05:21] Ok. How have I managed to break egl-platform-mir? [05:26] RAOF: If you expect either a useful or amusing answer, I can't comment [05:32] racarr: (1) log off, else (2) Should bug 1233245 have Mir task? [05:32] bug 1233245 in Mir "[mir] key events not working through input devices (aka volume up/down)" [Critical,Triaged] https://launchpad.net/bugs/1233245 [05:33] that bug is done afaik [05:33] ricmm_: BTW, the "50ms per frame", what device? [05:33] mako [05:33] Oh. Mako should be better than that already [05:34] theres a whole bug going on since the fencing was introduced to remove the tearing [05:34] of course it *should* be [05:34] but it hasnt been for a while [05:34] ricmm_: Yeah I was going to point you at that bug [05:35] ricmm_, do you know if kdub tried switching to triple buffering while I was sleeping? [05:35] tvoss: he didnt because apparently its not trivial to do [05:38] It occurs to me we have a significant bottleneck for touch with only one Android person on mir-team [05:49] Dear bandwidth: where have you gone? :( [05:57] didrocks, salut :) [05:57] hey tvoss! === Stskeepz is now known as Stskeeps [06:35] lool: Which PPA contains the packages you used to test the fix to the close.qml crash (or have the packages reached the archive now)? [06:51] lool: FWIW, with latest packages from the archive, I can't reproduce the crash anymore [06:54] Bah! How was mesa mis-built? [06:56] * mlankhorst looks at excuse calendar [06:57] high pressure system failure [07:05] Current theories include: cosmic rays, and clang. [07:06] well a computer generated my excuse, so it's more reliable [07:06] But did cosmic rays affect the computer's output? [07:08] we're not in space [07:08] Yes we are [07:08] * duflu goes to close the pod bay doors [08:02] alf_: it's all in #90 now [08:02] alf_: racarr also gets the crash with latest tip [08:02] alf_: I haven't tried again though [08:02] alf_: maybe we landed something else from archive in image that we were lacking in testing [08:06] lool: are you tests with mako or maguro [08:06] ? [08:08] alf_: haven't retried yet [08:08] alf_: but if you're not seeing it with latest image great [08:08] alf_: mako [08:09] lool: ok, please give it another try when you can and let me know [08:09] yup [08:09] breakfast first [08:49] Hey I got my phone back!... How do I tell the image number (like "90")? [08:50] duflu: cat /etc/media-info gives you some information, which you can use to find the image number [08:50] Ta [08:52] duflu: of course, if you upgrade packages then this is not accurate any more [08:52] None seem to need upgrading... [08:53] duflu, just reflash 90 :) [08:53] Did we kill off /tmp/mir_socket for unity8? [08:55] duflu: look in $XDG_RUNTIME_DIR [08:57] tvoss: a great problem with reflashing is that it deletes your development environment on the phone... it's a big waste of time to set it up again (get all the build-deps and -dbg(sym) packages, tools etc) [08:58] alf_: +1 [08:58] alf_: (and every time I think I understand it well enough to write a script something changes) [09:01] hm anyone got something for me to look at? :P [09:04] duflu: since you have a fresh image, do you have a moment to try https://bugs.launchpad.net/qtubuntu/+bug/1237052 ? [09:04] Error: Could not gather data from Ubuntu for bug #1237052 (https://launchpad.net/bugs/1237052). The error has been logged [09:04] alf_: Just put it away. I'll get back to it soon [09:05] alan_g, https://code.launchpad.net/~thomas-voss/mir/add-pthread-linker-and-preprocessor-flags/+merge/190316 [09:05] duflu: ok, btw you don't need to build anything, all fixes are in the archive now (check my last comment in that bug) [09:06] tvoss: ack [09:07] alan_g, waiting for CI to produce a testable package [09:07] mlankhorst: nested Mir EGLImage support is still pending if you are interested ;) [09:08] hm fine :P I'll poke it a bit more [09:10] mlankhorst: I know that RAOF also took another look recently, but I am not sure if there was any progress [09:10] RAOF: ^^ [09:10] mlankhorst: (or at least that he wanted to take a look) [09:20] tvoss: see https://code.launchpad.net/~thomas-voss/mir/add-pthread-linker-and-preprocessor-flags/+merge/190316/comments/436722 [09:23] alan_g, duflu: it's about our own usage of pthread [09:23] tvoss: Can you detail the findings in the MP? [09:24] duflu, the linked bug points to a very weird issue when a client tries to access the display configuration. Same happens for maliit server, which results in a lot of crashes during test automation [09:25] tvoss: Ah yes, spent time staring at those crashes today [09:25] duflu, alan_g was able to reproduce the issue with a simple program using a std::unique_lock and not adding -pthred [09:25] -pthread [09:25] tvoss: the maliit server definitely pulls in pthreads [09:25] alan_g, but: our client library is not compiled with that flag [09:25] alan_g, and that's where the exception is thrown [09:26] tvoss: It's a theory, but I'm not convinced the Mir code is in need of any more "-pthreads", because it would be crashing immediately in the same way (which it doesn't) [09:27] tvoss: what duflu said [09:27] duflu, anyway, I'm only sticking to what the pthread manual suggests: add -pthread [09:27] alan_g, duflu I'm basically waiting for jenkins to produce a testable package, thus the mp [09:27] duflu: I don't think it hurts to try this [09:27] AFAIK -pthread just defines some macros and adds -lpthread to LDFLAGS [09:28] duflu, implementation defined [09:28] duflu, usually REENTRANT is set, but could be more complex for arm for example [09:28] alan_g: It's likely unnecessary bloat to link libraries not all binaries need. Though I suspect all Mir binaries do :/ [09:29] duflu, if you have got a better idea to solve it -> go for it :) as long as the maliit server crashes are down to 0 in http://reports.qa.ubuntu.com/smokeng/saucy/touch_mir/mako/90:20131010:20131010/4644/ [09:29] duflu: If it fixes the problem that is a useful data point [09:29] duflu, library bloat -> micro optimization, let's save that for later [09:29] Not worth arguing... [09:30] duflu, ack [09:30] tvoss: Worth a try. Linked bug 1233988 too [09:30] bug 1233988 in platform-api (Ubuntu) "With Mir enabled: maliit-server crashed with SIGABRT in __gnu_cxx::__verbose_terminate_handler(), thrown from mir::client::DisplayConfiguration::copy_to_client()" [High,Confirmed] https://launchpad.net/bugs/1233988 [09:31] duflu, thx [09:31] duflu, can you give the package a spin, too, once ci spits it out? [09:32] tvoss: Sure but I think I'll be gone before then. [09:32] duflu, ack :) [09:40] alf_: huh? this is messed up [09:40] oh nm :P [09:55] alf_: so I assume the problem is in the nested mir somewhere, what is the image supposed to be for empty server, is it cleared? [09:56] mlankhorst: yes, it's glClear()-ed, and then surfaces are composited [09:58] lool: any luck with https://bugs.launchpad.net/qtubuntu/+bug/1237052 ? [09:58] Ubuntu bug 1237052 in qtubuntu "Apps that close themselves crash trying to use deleted EGL resources" [Undecided,Fix committed] [10:01] * duflu goes to play with vegetables [10:05] alan_g, https://jenkins.qa.ubuntu.com/job/mir-saucy-amd64-ci/831/console [10:05] alan_g, is that known? [10:07] tvoss: it wasn't to me - but https://bugs.launchpad.net/mir/+bug/1236698 [10:07] Ubuntu bug 1236698 in Mir "The following tests FAILED: 99 - memcheck(unit-tests.PublishedSocketConnector.*) (Failed)" [High,Triaged] [10:09] alan_g, are you on it? [10:09] tvoss: I'll add it to my list [10:12] alf_: sorry didn't have time so far, but I do now [10:14] alf_: and it worked! [10:14] alf_: So I didn't have all the in distro changes when I tried that yesterday; I definitely had updated qtubuntu, and had an intermediate update of the mir packages, but not anything else [10:14] lool: \o/ [10:14] alf_: but now with image #90 it passed [10:15] alf_: sorry for the delay in confirming [10:15] alf_: huh.. [10:15] why is dri2_create_image_khr_pixmap never called? :P [10:15] alf_: I'm glad it's fixed after all, I almost didn't take qtubuntu in because of this [10:16] alf_: updated bug too [10:16] lool: thanks [10:17] oh nm [10:18] mlankhorst: :) [10:18] alf_: hm if you use the native platform allocator for allocating buffers, what do you use for allocating the main window for nested? [10:19] mlankhorst: the host mir allocates that and sends us the buffer (host mir uses platform_drm) [10:19] yeah where's the code for importing that? [10:26] mlankhorst: in mesa mir_advance_colour_buffer() [10:27] mlankhorst: it uses the prime_fd from the buffer package [10:27] mlankhorst: i.e. the host mir essentially sends the nested mir the prime fd for the "main window" surface, and nested mir passes that to mesa [10:29] alf_: yeah but if the nested mir has no clients, does anything clear the contents of the bo? [10:33] mlankhorst: yes, it is made current, and glClear() is called [10:33] mlankhorst: prime_fd -> EGLSurface -> make_current -> glClear() [10:34] mlankhorst: (at least this is what should be happening) [11:11] can I somehow enable the spam from mir? [11:11] jibel: I am checking the Mir Testing Notes document for bugs to look into... is bug 1237900 still private? [11:11] Error: Launchpad bug 1237900 could not be found [11:12] jibel: or is it a typo? [11:12] jibel: It's the last bug in Image 90:20131010:20131010 list === hikiko is now known as hikiko|lunch [11:36] alf_, it is public now but invalid [11:53] racarr: alf_: any news on the crashers front? [11:53] Saviq: ^^ (unity8 crashes in particular i think) [12:01] asac: Most of the crashes caused by the interaction with Mir have been fixed in the latest image [12:02] we still see unity8 crashing http://reports.qa.ubuntu.com/smokeng/saucy/touch_mir/mako/91:20131010.1:20131010/4658/webbrowser-app-autopilot/ [12:03] this doesnt happen with SF [12:03] just run webbrowser autopilot [12:04] asac: that seems like https://bugs.launchpad.net/ubuntu/+source/platform-api/+bug/1233988, which is in progress from what I can see [12:04] Ubuntu bug 1233988 in platform-api (Ubuntu) "With Mir enabled: maliit-server crashed with SIGABRT in __gnu_cxx::__verbose_terminate_handler(), thrown from mir::client::DisplayConfiguration::copy_to_client()" [High,Confirmed] [12:04] can someone tell me where Mir gets the VSYNC info from ? [12:05] alf_: there is maliit and unity8 crash [12:05] alf_: you say that unity8 crash goes away if maliit doesnt crash? [12:05] bleh stupid thing, glClear being ignored;S [12:05] alf_: _usr_bin_unity8.32011.crash [12:05] asac: I am not saying anything :) [12:05] hehe [12:05] * ogra_ is fiddling with bug 1234743 and moving the VSYNC event from a uevent to a sysfs node makes Mir choke while surfaceflinger still starts [12:05] bug 1234743 in linux (Ubuntu) "omapfb module floods system with udev events on samsung galaxy nexus" [Undecided,Incomplete] https://launchpad.net/bugs/1234743 [12:05] well, you said its in progress most likely... but that smells like the maliit fix [12:05] not the unity8 [12:05] alf_: the unity8 goes away on SF as well [12:06] i wouls suggest embracing that as a crash that is caused by MIR interactions === alan_g is now known as alan_g|lunch [12:07] oh you've got to be kidding me [12:09] asac: not how I diplomatically said that *most* of the crashes... have been fixed ;) [12:09] asac: s/not/note/ [12:09] right [12:09] are you on this one? [12:09] asac: I am now [12:09] any leads/hopes? [12:09] nice :) [12:19] mlankhorst: ? [12:25] nah was hoping for a more logical explanation, meh [12:26] I'll try without radeon, and use intel, at least it has dri2 support. :P === hikiko|lunch is now known as hikiko === alan_g|lunch is now known as alan_g [13:00] alf_: but that code was working with android right? [13:00] mlankhorst: yes [13:46] alf_: only thing i found so far is that linuxvirtualterminal should probably not be created in nested, meh [14:07] tvoss: What's the problem in maliit with bug 1233988? I have found a problem in platform-api related to this, too... [14:07] bug 1233988 in maliit-framework (Ubuntu) "With Mir enabled: maliit-server crashed with SIGABRT in __gnu_cxx::__verbose_terminate_handler(), thrown from mir::client::DisplayConfiguration::copy_to_client()" [High,Fix committed] https://launchpad.net/bugs/1233988 [14:07] lool: ^^ [14:11] alf_: tvoss is exploring the theory that because we've not linked the Mir client library against pthreads maliit blows up. (I don't know if the theory has been tested yet) [14:14] alan_g, issue is solved, it wasn't that in the end [14:14] alan_g, but: -pthread is still a good idea [14:15] tvoss: then what was it? [14:16] alan_g, maliit trying to access mir, without mir running :) [14:16] alan_g, working on a fix to the platform api [14:16] alan_g, it should handle that situation more graceful [14:17] tvoss: "mir running" == there's a Mir connection? [14:18] tvoss: lool: alan_g: see my latest comment and MP in https://launchpad.net/bugs/1233988 [14:18] Ubuntu bug 1233988 in platform-api (Ubuntu) "With Mir enabled: maliit-server crashed with SIGABRT in __gnu_cxx::__verbose_terminate_handler(), thrown from mir::client::DisplayConfiguration::copy_to_client()" [High,In progress] [14:21] alf_: meh I'll try what happens if I always enable gbm, ran out of other ideas :P [14:21] alf_: tvoss I see. But Mir is also behaving badly - it ought to fail operations, not crash. (One reason for returning an "Error" connection is that it can provide sensible error mode behaviour) [14:22] alan_g: agreed [14:22] alan_g, true. I won't find time to fix that part, though === alan_g is now known as alan_g|tea === pete-woods is now known as pete-woods-away [14:31] alf_: ah excellent, if I force the gbm path to be always taken it corrupts too, that makes it a lot easier to debug.. [14:32] http://paste.debian.net/55230/ [14:33] to the best of my knowledge, it should behave identically right? === ricmm_ is now known as ricmm === alan_g|tea is now known as alan_g [14:57] mlankhorst: when you have some time please check https://code.launchpad.net/~hikiko/mir/mir.fix-in-session-leader/+merge/190353 (also see my comment there) [14:58] alf_: did your crash investigation give reason for hope :)? [15:01] asac: got caught up in https://bugs.launchpad.net/ubuntu/+source/maliit-framework/+bug/1233988, wanted to fix the strange crash to ensure it's not involved somehow with the ap failures/maliit [15:01] Ubuntu bug 1233988 in platform-api (Ubuntu) "With Mir enabled: maliit-server crashed with SIGABRT in __gnu_cxx::__verbose_terminate_handler(), thrown from mir::client::DisplayConfiguration::copy_to_client()" [High,In progress] [15:01] asac: so no direct progress there yet [15:06] good mirning [15:06] alf_, I replied just now [15:18] racarr: mornin' [15:29] alf_: looking [15:31] alf_: platform-api change to detect whether connection is truly good seems a good idea [15:32] alf_: but I'd rather not confirm the exact semantics of the functions you're calling etc. [15:32] alf_: would someone else review this? then we can add this to landing plan [15:33] trying out new image :) [15:34] racarr: want to review https://code.launchpad.net/~afrantzis/platform-api/fix-1233988-somewhat/+merge/190378 ? :) [15:34] alf_, did you remove the anon namespace in the header file? :) [15:35] alf_: only somewhat happy :p [15:37] alf_: +1 [15:37] racarr: thanks [15:37] image seems really good === pete-woods-away is now known as pete-woods [15:37] I'd really like to fix the [15:37] screen unblank buffer [15:37] bla [15:38] actually now [15:38] tvoss: no, why? [15:38] any luck on unity8 crashers? :) [15:38] lol [15:38] asac: Autopilot you mean? [15:39] unity8 crashes [15:39] during autopilot its easy to reproduce yes [15:39] just run webbrowser AP [15:39] and it will crash [15:39] 5 out of 6 times [15:39] ok I guess I can work on autopilot failures today [15:40] alf_, an anonymous namespace in a header file is usually a bad idea [15:40] racarr: note that its not really autopilot failures... its just the best and easiest to reproduce crashers we have right now :) [15:40] we see loads of crashers that are hard to reproduce in QA [15:40] so we can start here and hopefully the world will improve :) [15:41] asac: :D [15:41] anyway. let me know ifyou need something [15:41] those are real crashers ... we dont start unity with special instrumentation flags or anythig [15:41] if we run application autopilots [15:42] thanks! [15:42] tvoss: sure, "why" == is it related to the 1233988 problem in some way? [15:43] alf_, nope [15:43] racarr: btw, keep in mind that running the tests one by one seems to work just fine, which give a hint to what the problem is... [15:43] tvoss: ok :) [15:44] alf_: you talk about webbrowser? [15:44] there are two things: [15:44] a) webbrowser tests fail and make unity super slow after they finish [15:44] racarr: didn't top approve? [15:44] b) webbrowser tests crash unity8 more or less relliably [15:44] asac: I...lost the bug that someone put autopilot instructions in. Is there a summary somewhere? [15:44] ah right, two reviews I guess [15:45] alf_: so once that's top approved ping me to get it in PPA for testing [15:45] lool: Hmm no someone could top approve I guess [15:45] racarr: https://wiki.ubuntu.com/Touch/Testing#Testing_your_Ubuntu_Touch_Code_before_submission [15:45] give that a shot [15:45] racarr: for running AP tests run 'phablet-click-test-setup' to download all the test cases [15:45] 'phablet-test-run '...e.g. unity8 [15:45] to run tests: [15:45] racarr: apt-get install webbrowser-app-autopilot, autopilot run [15:45] a) touch /userdata/.writable_image [15:45] alf_: dont do that [15:45] b) reboot [15:45] tvoss: Want to double sanity check the papi branch and top approve? [15:45] c) unlock screen [15:45] alf_: use the isntructions above [15:45] then run: [15:45] ./phablet-test-run -p webbrowser-app-autopilot webbrowser_app [15:46] or for unity8: [15:46] racarr, feel free [15:46] ./phablet-test-run -n -p unity8-autopilot unity8 [15:46] otherwise we will argue until we are blue about not seeing the same things [15:46] asac: why not? [15:46] alf_: use the phablet-test-run interface [15:46] alf_: doesnt matter... just strictly follow the instructionms [15:46] alf_: so that we all do the same thing [15:46] alf_: people dont get it right and do stuff to their device [15:46] *parsing* XD thanks all [15:46] and then claim the tests succeed and move on [15:46] make sure to reboot after the unity8 tests ... never run an app test after unity [15:47] and i have to argue for 2 days with them until they finally see that they didnt do it the same way [15:47] lool: please refer to these isntructions: https://wiki.ubuntu.com/Touch/Testing#Testing_your_Ubuntu_Touch_Code_before_submission [15:47] racarr: what do you need top approved ? [15:47] so we start consolidating it at one place [15:47] kgunn: https://code.launchpad.net/~afrantzis/platform-api/fix-1233988-somewhat/+merge/190378 I did it though [15:48] lool: can we get a CI run & landing on https://code.launchpad.net/~afrantzis/platform-api/fix-1233988-somewhat/+merge/190378 [15:49] kdub, ping [15:50] hello [15:50] Saviq: just to make sure we don't have people running round duplicating effort.... racarr is going to look into crashes associated with webbrowser AP tests [15:50] shout if someones already working [15:51] tvoss, going to try to shift waiting to the compositor side, should make unity wait less [15:51] kgunn: autolanding actually -- ci ran [15:51] kdub, sounds good, had the same idea. [15:51] tvoss, i'll let you know once i've tested it... just getting my phone all put together [15:51] kgunn: was waiting for the top approve :-) [15:51] kdub, I will grab a quick bite and be back after that [15:52] argh I don't see why this should give different results.. [15:52] lool: so we are back to normal everywhere ? (no more manual merges) [15:52] kgunn, tvoss, racarr, maliit loops on unity8 exit with https://bugs.launchpad.net/ubuntu/+source/maliit-framework/+bug/1238107 [15:52] Ubuntu bug 1238107 in maliit-framework (Ubuntu) "maliit-server crashed with SIGSEGV in poll()" [Undecided,New] [15:52] kgunn: running [15:52] tvoss, I saw the copy_on_client DisplayConfiguration somewhere before [15:52] tvoss, today, that is [15:53] kgunn: Only on some projects; Francis sent a list; I dont know for yours, but you sometimes have to wait 15mn for a run, so pinging might still be useful when urgent [15:53] ack [15:53] asac: I've updated the AP instructions with my own additions for other testsuites and for Click instructions [15:53] Saviq, something went out of scope too early [15:54] Saviq, racarr the DisplayConfiguration is NULL [15:55] tvoss, I expect unity8 hanging at the same time to be very much related, correct? [15:55] Saviq: copy_on_client problem, essentially means that the connection to the server failed for some reason (no server, connection rejected), and platform-api wasn't handling this well, see https://code.launchpad.net/~afrantzis/platform-api/fix-1233988-somewhat/+merge/190378 [15:55] alf_, yay, so that's fixed [15:55] alf_, I knew I saw that somewhere [15:55] Does mthis looks like [15:55] ... [15:55] what alf said [15:55] alf_, racarr yes, it does [15:55] the mutex is null which can only happen if the mirconnection pointer [15:56] yay, sorted [15:56] is invalid [15:56] Saviq, not entirely sure, could be [15:56] * Saviq pushes unity8's crash on exit [15:56] lool: yeah. all this know how should be somewhere in phablet-tools i believe [15:56] lool: would be great if phablet-test-run unity8-autopilot would just do the rigth thing [15:56] :) [15:57] Saviq: note, that's this only explains crashes for new connection attempts. If you see this for an existing connection then it's something else. [15:59] alf_, ah, that's on unity8 exit [15:59] alf_, so unity8 + maliit were connected, but unity8 was shutting down, pushed maliit over the edge into spinning, unity8 stuck [16:01] So what is expected to happen with the webbrowser ap tests? [16:01] I dont see a unity8 crash [16:02] but eventually the tests themselves crash... File "/usr/lib/python2.7/socket.py", line 303, in flush [16:02] self._sock.sendall(view[write_offset:write_offset+buffer_size]) [16:02] error: [Errno 32] Broken pipe [16:03] asac, ^ [16:03] though it seems like they are still running lol because stuff is still going on on my phone [16:03] racarr: what device are you on? [16:03] tvoss, that looks like a Qt bug https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1238116 [16:03] Ubuntu bug 1238116 in unity8 (Ubuntu) "unity8 crashed with SIGSEGV in QIcon::~QIcon()" [Undecided,New] [16:03] asac: mako [16:04] tvoss, unity8 crashes shutting down on Mir [16:04] Saviq, hang on [16:04] tvoss, hanging [16:04] racarr: so not sure. you might be struck by something flaki :) [16:04] lol [16:05] so sometimes MTP is funny and takes over adb and you disconnect [16:05] in those cases, just reboot and try again [16:05] it doesnt happen all of the times :) ... wait until you have MTP seen mounted i guess [16:05] mm [16:06] going to try unity8 next... [16:06] I have to run soon though, one more dental filling :( (they couldn't quit finish last time) [16:06] ill be back before too long though [16:06] alf_: I think your issues with this are addressed? https://code.launchpad.net/~robertcarr/mir/socket-messenger-race/+merge/187647 [16:09] tvoss: I tested adding a rm to unity8 upstart job; then unity8 crashed and when I used it again, the keyboard would show up when entering an input field, but its window would disappear each type I type letter [16:09] tvoss: so I think it was still using the old socket [16:10] lool, do you have both pre start and post stop? [16:12] Saviq, looking at it, need to debug [16:12] Saviq, what did you do? [16:12] Saviq, gut feeling tells me: qt [16:13] tvoss: no [16:13] tvoss: also didn't check whether maliit indeed restarted [16:13] tvoss, that's just unity8 exiting [16:13] tvoss: I'm running out of time for today [16:13] tvoss, 100% reproducible [16:13] got unity8 autopilot running at least. um [16:13] lool, sure, no problem ... got your current pushed to a branch? [16:13] some tests seem to be running [16:13] need to get some sleep tonight, might not be able to test this further today [16:13] tvoss, let me see if another one will be the same trace [16:14] Saviq, ack [16:14] its a little confusing XD. [16:14] will dig deepeer on crashes when I get back [16:15] racarr, they're all running, more or less [16:16] racarr, but only the first one in a run gets input [16:16] lool, tvoss https://code.launchpad.net/~mterry/session-manager-touch/socket/+merge/186391 [16:16] not sure if that helps anything [16:16] (i had it on my MP monitoring list) [16:19] racarr, maybe you'd have an idea about that? or could help tracking it down? [16:19] racarr, if you run two or more unity8 tests within one autopilot run, only the first one will get input [16:24] ogra_: I commented on the branch [16:24] alan_g: yes, approved [16:27] tvoss: did you send the -pthread thing to trunk? [16:27] lool, nope [16:27] tvoss: we have a slot for it FYI [16:27] lool, ah okay ... [16:27] there was some discussion on the mp [16:28] looking [16:28] tvoss: I miss the devel mp? [16:28] tvoss: only have the trunk one [16:29] tvoss: In any case -lpthread is wrong and should be fixed to -pthread [16:29] even if it didn't fix whatever we were seeing [16:29] tvoss: this is how I had changed unity8.conf upstart job: http://paste.ubuntu.com/6218716/ [16:30] lool, hang on [16:31] lool, https://code.launchpad.net/~thomas-voss/mir/add-pthread-linker-and-preprocessor-flags/+merge/190316 [16:31] thanks [16:31] alan_g, removed the linked bugs [16:31] will add to tracking [16:31] tvoss: oh that's against trunk again [16:31] isn't it? [16:32] tvoss: that's the one I had [16:32] lool, yup, that's against trunk, want me to resubmit against devel? [16:32] tvoss: Just send it against devel branch? [16:32] tvoss: I think that's mir process [16:32] tvoss: first land in devel, then merge devel in trunk [16:32] tvoss: but others here are more knowledgeable on this [16:33] tvoss: yes === dandrader is now known as dandrader|lunch [16:33] lool: " [16:34] lool: @"In any case -lpthread is wrong and should be fixed to -pthread" - comment against the MP. chat gets lost [16:34] alan_g, lool resubmitted [16:39] tvoss: spurious changes: debian/changelog === yofel_ is now known as yofel [16:43] kdub, btw if you need any help testing something. I am at service [16:43] thanks om26er [16:46] alf_: but the diff I posted is the smallest way to reproduce the problem, if you apply it it happens with normal mir clients too and not just nested :P [16:49] and I have no explanation as to why === ChickenCutlass is now known as ChickenCutlass_l [16:58] but I'll keep looking === alan_g is now known as alan_g|EOD [17:05] really nice job on Mir on the N4 :-) [17:05] working pretty good for me :-) === chihchun_afk is now known as chihchun [17:16] jono, just because your last name isnt -autopilot [17:16] ther test results are still pretty bad (but we're getting there) [17:20] lool, alan_g|EOD https://code.launchpad.net/~thomas-voss/mir/add-pthread-linker-and-preprocessor-flags-2/+merge/190432 [17:21] tvoss: approved but not top approved; leaving that to mir folks [17:21] lool, ack, sorry, took me a while, my bzr foo was lacking [17:22] tvoss: np, added to landing plan too, but will need this to go to trunk too [17:23] alf_: You might have expected me to test your branch; I just made sure it went to PPA and someone else will try it in landing plan; might be good to provide some instructions on testing it [17:23] alf_: sorry, not staying long tonight, otherwise would have tried it out [17:23] * lool off & [17:27] lool.sleep() [17:27] lool.force_to_sleep(); [17:27] lool, awesome job, dude [17:32] ogra_, yeah, seems like a good integration result [17:33] and now everyone can focus on bugfixing [17:33] well, first on getting the tests to work again [17:33] then on bugfixing [17:35] :-) [18:07] Back [18:10] Front === dandrader|lunch is now known as dandrader === ChickenCutlass_l is now known as ChickenCutlass [18:19] :p [18:34] kgunn: or any one else. The logs in /home/phablet/.cache/upstart are they only for the current session? i.e. if I say pull the battery out to get back to a working system does it start the log afresh? [18:35] davmor2: good question...i think it can be a mix....for unity i suspect new everytime...for things that maybe dont get autolaunched on boot, i suspect they're old [18:35] davmor2: i say this because i see diff timestamps when i look [18:35] just noticed earlier myself :) [18:36] kgunn: that'll possibly be why I can't see anything obvious for this lock up issue that maguro has then [18:37] kgunn: in order to get back to a working system to pull the logs I need to pull the battery [18:38] davmor2: weird...so when it locks up, you can't even adb shell in ? [18:38] kgunn: Nope and macslow confirmed too [18:39] kgunn: the only thing you can do is pull the battery, even pressing and holding the power button does nothing [18:39] kgunn: thankfully it doesn't seem to be hitting mako's [18:41] kgunn: I also tried getting around it by running top in adb shell so the connection was live when it died, but that just kicks you out of the adb session when it locks up and you can't get back in [18:43] kgunn: I've been trying to get some reproducible steps, but there don't seem to be any. You can have lots of apps open, 1 app open, be swiping between scopes, or pulling down the indicator bar [18:44] davmor2: mmmm....that actually sounds kernel-ish [18:45] kgunn: only happen on mir, on SF I could run it all day no hangs [19:00] kdub, which buffers and how many do we hand out to internal clients? [19:01] tvoss, internal and external have the same type of buffers and same count [19:01] so, gpu buffers (not fb's or flagged for hwc usage) and 3 [19:02] kdub, hmmm, why would the shell ever block then? [19:02] tvoss, my branch linked to that slowness bug helps the speed [19:03] i messed up something having to do with snapshotting in that branch though, have to figure out what [19:03] kdub, mind pinging me the link? [19:03] https://code.launchpad.net/~kdub/mir/android-buffer-syncfence [19:04] kdub, awesome [19:07] i swear i think dash decelerates .... [19:07] render times are pretty quick...then get large when you take your finger off [19:07] kdub, I like what I see [19:08] kdub, is the performance improvement tangible? [19:08] woohoo go kdub [19:10] tvoss, haven't measured [19:11] trying to track down why when you click 'recent apps' you get a white snapshot frame in there in that branch atm [19:11] kdub, ack [19:11] morning [19:11] kdub, go ahead [19:11] morning thomi [19:12] o/ [19:12] o/ [19:12] hey tvoss, up late? [19:12] thomi, yup, as usual during this week [19:13] :( [19:14] thomi, all good :) it's actually quite a lot of fun [19:14] I suppose. I've not been feeling well for the last couple of weeks - mostly I'm always tired. Can hardly keep my eyes open, even after my numerous coffees [19:15] thomi, oh, sounds like you should go and see a doctor [19:15] thomi, do you have enough water with your coffee? [19:15] tvoss: I would, but it's not that bad - I'm just tired, no other symptoms [19:15] tvoss: actually, that reminds [19:15] me [19:15] * thomi goes to find his water bottle [19:29] kdub: that's freakin' awesome.... [19:30] just tried your sample "make it go fast" [19:30] thanks :) [19:30] kdub: you do realize when you do things like this people will just keep expecting miracles [19:31] kdub, awesome !!! [19:31] davmor2: you still on ? [19:32] kgunn: I am [19:32] :D [19:32] davmor2: wanna try something on maguro ? [19:32] kgunn: just doing a flash at the minute but I'm happy to try after [19:32] * kdub doesnt know if that will fix maguro [19:32] kdub, no worries, we will try ;) [19:33] kdub: I'm as happy to break your code as anyone elses I wouldn't want you to fell left out :) [19:33] kdub: mmm....it should be indep of hwc1.0 vs 1.1 right ? [19:34] kgunn, screw it, let's just try [19:34] :) [19:34] well, i think the omap drivers are using the deprecated native window hooks, which don't do anything with fencing [19:35] yeah...omap efforts pre-dated the butter activity [19:42] kdub: so just to confirm...i was taking data just before copying over your fix [19:42] kdub: and the qml render numbers are back down to where they were weeks ago [19:42] \o/ [19:43] * tvoss goes to get alcohol [19:43] kdub: like...roughly ~27ms todays image....copy your *.so's....i'm getting ~8ms [19:43] yea [19:43] renders are back to near-SF numbers [19:44] swap time went down in half too [19:44] all we need is screenshots now [19:44] kdub: a few spikes of 19/20 ms....but not completely abnormal....plus I am certain...unity/qt does something funky to decelerate [19:44] when you lift a finger or come to a stop [19:45] kdub: not only that....i'm convinced the quality is actually better than SF...since they had some serious flickering you could easily witness [19:46] kdub: btw, i do not see the white full screen render...did you already fix that pre-herion sample [19:47] the white frames are when tapping on a running app [19:47] the screenshot should slide in from the right [19:47] however it is an empty frame thats doing it [19:49] ricmm: btw...i didn't try your powerd deb yet...i was having trouble getting the latest image to exhibit the "can't unblank" upon a unity8 stop/start [19:49] i wanted to ensure i could easily repro the problem.... [19:50] i did just get one...but had been doing this many times [19:50] ricmm: do you still want me to try that deb ? [19:54] what deb? [19:54] the powerd one? [19:54] they are already testing it for tests [19:55] kdub: so I see a difference now with screenshots [19:55] ricmm: yeah...ok.... [19:55] kdub: less screenshotting issues, before most of the times the surface wouldnt be ready for screenshotting [19:55] so it would use an old screenshot instead of refreshing [19:56] kdub: now with this patch the surface is allowing the screenshot [19:56] which is actually making it lag behind a bit while its mapped to sheet coming in from the right [19:57] kdub: tvoss kgunn worse comes to worse I prefer this over the choppiness [19:57] I can live with a couple frames of white [20:00] ricmm, +1 [20:01] ricmm, kdub http://reports.qa.ubuntu.com/smokeng/saucy/touch_mir/mako/92:20131010.2:20131010/4662/ [20:02] not bad [20:02] I am going to work on this...extra characters showing up from real keyboards/autopilot keyboard http://reports.qa.ubuntu.com/smokeng/saucy/touch_mir/mako/92:20131010.2:20131010/4662/calendar-app-autopilot/474291/ [20:02] yeah, getting better [20:02] should be pretty easy to isolate [20:02] and probably just a problem in qtubuntu or our xkbcommon mapper [20:03] I've seen it happen in normal apps with OSK [20:03] as soon as you bring up or focus a text field [20:03] garbage char will be delivered [20:03] once I had the filter branch for the hardware keys that didnt happen [20:04] ah I havent seen ti happen with osk I dont believe [20:11] ok. quick lunmch before an afternoon of digging autopilot failures [20:17] kgunn: it's feels faster initially, however it is also glitchier here. So for example I opened to the camera app and there was lots of flashing that wasn't there before, if you tap on the flash for example. I'll have a proper go at it after I log off in a bit and I'll double check that I have put files in the right places too [20:19] I'll let you know tomorrow ;) [20:19] night all [20:21] davmor2: cool... [20:22] davmor2: yeah...mainly curious about the dash app lens full of icons scrolling === bschaefer_ is now known as bschaefer [21:02] Back [21:03] hey, need help with mir specific crash [21:04] getting the following after linking to ubuntu_application_api_mirclient [21:04] gst-codec-info loads libandroidmedia, which depends on libubuntu_application_api_mirclient, probe for video caps, and then crashes when trying to unload the library [21:04] not using any platform-api or mir specific call at this point [21:04] http://paste.ubuntu.com/6219717/ [21:04] the crash [21:06] ricmm: racarr: ^ [21:07] rsalveti: I am thinking [21:07] rsalveti: So, static deinitialization segfault is almost certainlly [21:07] some sort of linking error [21:07] so the first thought is [21:08] https://code.launchpad.net/~thomas-voss/mir/add-pthread-linker-and-preprocessor-flags-2/+merge/190432 [21:08] but I don't know exactly how [21:08] that would produce this [21:09] racarr: would that branch help? [21:09] tvoss: ^ [21:09] not sure how would be related [21:10] wonder why this wasn't causing any issue before we tried this [21:10] rsalveti, nope, looks like something different [21:11] same code was working fine when linking against ubuntu_application_api [21:11] as all it's doing at this point is loading & unloading it [21:11] rsalveti, my brain is fried tbh :/ [21:11] seems a common issue around here this week lol [21:14] rsalveti: I dunno...I would ldd things and look for any conflicts but I am not sure...what could show up === jhodapp is now known as jhodapp|bbiab [21:19] racarr: ldd seems sane http://paste.ubuntu.com/6219825/ [21:20] rsalveti: Mm [21:20] maybe valgrind or something [21:20] can give hints [21:20] at earlier corruption [21:21] rsalveti: There may be interesting stuff with LD_DEBUG=all (don't know LD_DEBUG well enough to suggest better flags) [21:21] It seems liek its probably either some sort of linking problem or [21:21] some sort of memory corruption [21:21] let me check [21:25] racarr: not much with valgrind: http://paste.ubuntu.com/6219845/ [21:25] checking linker [21:26] rsalveti: is there any static init going on that might be failing [21:26] ChickenCutlass: we're not doing that in this lib directly [21:26] at this point we're just linking at it [21:26] rsalveti: so linked at compile time with -l [21:27] the code that uses platform-api: https://github.com/jhodapp/gst-plugins-bad/blob/master/sys/androidmedia/gstamchybris.c [21:27] rsalveti: wheres the code that does it [21:27] ok [21:27] and how we're linking to it: https://github.com/jhodapp/gst-plugins-bad/blob/master/sys/androidmedia/Makefile.am [21:28] and this isnt being used? [21:28] why do you say its only loading and unloading [21:28] ricmm: nops, because gst-codec-info loads the lib, calls a function to get caps and close itself [21:28] ricmm: at this point nothing is calling platform-api [21:29] ricmm: I know because even when using mir, and calling with the older library, it works just fine [21:31] do you have a bt ? [21:31] http://paste.ubuntu.com/6219870/ the build log [21:32] ricmm: bt? [21:32] ricmm: http://paste.ubuntu.com/6219717/ [21:35] what the hell [21:35] rsalveti: Can you try the log from running it [21:35] with LD_DEBUG [21:36] racarr: uploading, but nothing really useful it seems [21:36] 37mb of logs [21:37] rsalveti: could this be a missing hybrid hook? [21:37] rsalveti: sure looks like it [21:37] hybris [21:37] but why? [21:37] on just loading the lib [21:38] rsalveti: >< [21:39] ChickenCutlass: it's not [21:39] ChickenCutlass: all gst is doing is calling plugin_init [21:39] even if I put a simple return FALSE right after that, it crashes [21:39] ChickenCutlass: and works fine with the old platform-api lib [21:39] this is a crash at the class destructor it seems [21:40] yea but at which class [21:40] if you arent creating anything fro mplatform-api in there [21:40] I'm not [21:40] I dont get why there would be a mention to mir in those logs [21:42] ricmm: are there any static init's in there [21:45] ricmm: commented out all the platform-api related function calls and it worked now [21:45] will get them back one by one [21:46] thought you said it wasnt being used! [21:46] ricmm: it's not [21:47] then why would commenting them out screw it? [21:47] err fix it [21:52] ricmm: this is what I added back: http://paste.ubuntu.com/6219951/ [21:52] ricmm: and it's not called! [21:52] and it's already enough for the crash [21:52] ok [21:54] rsalveti: so should you not use sizeof (session) [21:54] rsalveti: not *session [21:56] ChickenCutlass: ricmm: http://paste.ubuntu.com/6219958/ [21:56] this is already enough for the crash [21:56] phablet@ubuntu-phablet:/tmp/test$ gcc test.c -o test -lubuntu_application_api_mirclient [21:56] phablet@ubuntu-phablet:/tmp/test$ ./test [21:56] Testing [21:56] Segmentation fault (core dumped) [21:56] rsalveti: ah ok -- so ricmm bug [21:57] give me some minutes [21:57] racarr: ^ [21:58] does argv ever get passed to execve(2)? argv[argc] is expected to be a NULL pointer, and there's no trailing ascii NUL after \n in the first array element [21:59] works fine on the desktop [22:00] that test.c is not crashing for me [22:00] phablet@ubuntu-phablet:~$ ldd ./test libubuntu_application_api_mirclient.so.1 => /usr/lib/arm-linux-gnueabihf/libubuntu_application_api_mirclient.so.1 (0x401da000) [22:00] phablet@ubuntu-phablet:~$ ./test [22:00] Testing [22:00] phablet@ubuntu-phablet:~$ [22:01] ricmm: latest image and everything? [22:01] always [22:01] this also crashed with jhodapp|bbiab [22:01] are you sure your mirclient platform-api and your mir are not somehow out of sync? [22:02] ricmm: unless I got a partial update with apt, no [22:02] im resetting all my versions to saucy for mir and platform-api [22:02] to make sure we have the same [22:03] as I'm pretty sure I had trunk mir [22:04] ricmm: you did build your own mir, right? [22:04] yea [22:04] for the other bug [22:04] sec still installing [22:04] yeah, have latest of everything [22:04] just did apt-get update & upgrade [22:05] just reproduced with maguro [22:05] let me reflash it with latest [22:05] might be fixed in trunk then === jhodapp|bbiab is now known as jhodapp [22:06] uh yea it breaks [22:06] \o/ [22:06] lemme push trunk again [22:06] ricmm: trunk of mir or platform-api? [22:06] mir, I havent rebuilt platform-api [22:06] so there's some issue with a version of the mir platform-api then? [22:07] jhodapp: mir [22:07] ah [22:07] jhodapp: http://paste.ubuntu.com/6219958/ is already enough to get the crash [22:07] wow [22:07] yeah, bad stuff [22:07] that's basic [22:09] yea with my local build it seems to be fine [22:09] trunk mir [22:10] let me build mir from trunk [22:11] but I dont see anything in trunk that would cause this... [22:12] mlankhorst: I was poking at nested-gbm yesterday, but mostly finding out that I'd misbuilt mesa in some way and so the egl platform was crashing after _glapi_get_proc_address returned garbage for glFlush [22:12] RAOF: oh did you see my pastebin from earlier? [22:12] I can reproduce the garbage with a normal client if I force a gbm device to be created and use the screen from that [22:13] mlankhorst: Hm, no. [22:13] racarr: trunk has nothing special in it, however having built it from my machine with the cross-compile script and deployed to phone makes it not fail [22:13] racarr: what the hell? [22:14] so just the fact that gbm is used is messing things up [22:14] and i have no idea how [22:14] ricmm: Thiiiinking [22:14] to the best of my knowledge the paths appear to be identical, at least after the gbm proxying :s [22:16] mlankhorst: Could you repost your pastebin? [22:16] http://paste.debian.net/55230/ [22:17] ricmm: does it fail if built natively? [22:17] well, it's a different toolchain [22:17] I'm building mir trunk locally to see [22:18] RAOF: with that patch normal mir clients fail too, that should at least make it easier to debug :P [22:18] Does this just mean we broke client ABI somehow? [22:18] err no that doesn't quite make sense... [22:18] building trunk without rebuilding everything else reportedly fixes it [22:18] could be a toolchain/linker issue [22:18] maybe [22:19] well, ricmm cross-built it [22:19] something happened in say... [22:19] that introduces ABI breaks [22:19] err...in say hybris [22:19] or something else [22:19] and just mirclient [22:19] not a hybris issue [22:19] needed to be rebuilt against it [22:19] but wasn't [22:19] *shrug* it could be, if memory is getting stomped on in static initialization [22:20] rebuilding trunk locally ti see [22:20] hey guys, here's another nice one... https://bugs.launchpad.net/ubuntu/+source/maliit-framework/+bug/1238296 [22:20] Ubuntu bug 1238296 in maliit-framework (Ubuntu) "maliit-server crashed with SIGABRT in raise()" [Undecided,New] [22:20] Saviq: thanks [22:21] ricmm, /me got retracing powers now ;D [22:21] maybe similar issue? [22:22] no, looks different [22:22] different trace [22:25] racarr: rebuilt platform-api against my local build and it still works [22:26] is it possible that something went wrong in the recent archive build? [22:29] ricmm: well, if rebuilding the current version fixes it, then it could [22:29] still waiting trunk here [22:36] I think if it does work, (rsalvetis build) [22:36] then probably Mir and were buitl against different versions of [22:36] err [22:36] lol [22:39] rsalveti: get that system76 already [22:39] geez [22:39] ricmm: dude, building locally [22:39] == mako [22:39] wow [22:39] see you tomorrow then [22:40] rsalveti: Build from [22:40] build/src/ [22:40] and make install from there [22:40] skip tests [22:40] save lifetimes [22:40] ricmm: I need to confirm if this is not a toolchain issue [22:40] just build, will test now [22:41] ricmm: racarr: crashed still [22:41] just built and installed trunk [22:41] well that sucks [22:41] can you uh [22:41] one sec [22:41] merge lp:~kdub/mir/android-buffer-syncfence [22:41] I know it makes no sense, but just try [22:41] thats the only other change in my branch [22:42] sure [22:43] hmmm [22:43] shit, huge merge [22:43] its pretty large yea but it shouldnt touch anything related to this [22:45] ricmm: replacing libmirclient.so is enough, right? [22:45] should be as its talking about the connection [22:45] but you never know with this beast [22:45] replace it all [22:45] as im doing so as well [22:46] yes sr [22:46] im building a clean trunk, cross built [22:47] I'll put the binaries up somewhere for you [22:47] you put your locally built ones somewhere [22:48] ricmm: booom, no [22:48] still failing? [22:48] try http://people.canonical.com/~ricmm/mir-fixed/ [22:49] ricmm: where is the mir socket now? [22:49] trying to see if unity8 is still working [22:49] I'm not sure, alan_g moved it [22:49] /run/user/32011/mir_socket [22:49] right xdg runtime [22:50] ricmm: this shit is fast now [22:50] super pro [22:50] ricmm: so yeah, using the right ones [22:50] let me try with yours [22:53] people.c is super slow for me today [22:54] I believe this issue might be happening with unit8 as well [22:54] it's crashing during shutdown [22:55] sounds terribad [22:55] ricmm: no crash with yours [22:55] smells like toolchain [22:55] well thats odd [22:55] let me open a bug [22:59] ricmm: bug 1238312 [22:59] bug 1238312 in Mir "Segfault when closing apps that link against ubuntu_application_api_mirclient" [Critical,Confirmed] https://launchpad.net/bugs/1238312 [22:59] ricmm: please add that it works with your lib, when cross-built [23:01] kdub: sync fence is fast :D [23:01] done [23:01] tested it out [23:04] ricmm: how can I cross build mir? [23:04] rsalveti: thres a script right in trunk [23:04] ricmm: want to cross build the same version used by the image [23:04] ./cross-build-... [23:04] something like that [23:04] great [23:05] racarr, yay [23:09] * Authored by: Thomas Guest [23:09] tvoss: is that you? lol [23:10] no [23:10] ricmm: creating phablet-compatible armhf partial chroot for mir compiles in directory /tmp/mir/mir-0.0.14+13.10.20131010/partial-armhf-chroot [23:10] E: No packages found [23:11] might be missing something still [23:11] oh yea [23:11] racarr: do you have the cross compile instructions list at hand? [23:11] nvm [23:11] rsalveti: http://unity.ubuntu.com/mir/building_source_for_android.html [23:11] you need to add armhf sources to your apt [23:12] its bad [23:12] haha, this is not for android [23:12] that's fine [23:12] yea I dont know why its called that [23:12] this if for ubuntu dudes [23:14] at one point [23:14] it literally [23:14] was for android [23:14] in mirs case :p [23:14] right [23:14] not anymore :P [23:18] rsalveti: :P [23:19] rsalveti: can you reproduce this by linking directly to libmirclient? [23:19] one more :-) [23:19] trying, was just cross-building the same version to confirm [23:33] rsalveti: soooo [23:33] racarr: [23:33] http://paste.ubuntu.com/6220225/ [23:33] thats how it looks when it dies [23:33] http://paste.ubuntu.com/6220219/ [23:34] thats how it looks when it works [23:34] the later hits the destructor of the hash table [23:35] makes me believe that when it fails the hash table has bogus data and it attempts to clear the set [23:35] which fails, probably guesses a wrong size [23:36] ricmm: slangasek: works fine when linking against libmirclient directly [23:36] but I know the platform-api one links to a bunch of mir related libs [23:36] are you actually pointing to a function somewhere? [23:36] if so, what mirclient func [23:37] ricmm: was trying mir_connection_is_valid, but checking if it's really part of that lib [23:38] src/client/mir_client_library.cpp:int mir_connection_is_valid(MirConnection * connection) [23:38] yup [23:40] ricmm: why is it trying to clear the hash table? [23:40] at that point, is it valid at all? [23:40] it shouldnt be [23:40] the compiler is generating different paths tho [23:41] one is perhaps initializing it to null while the other is leaving it uninitialized, or something [23:41] just guesses here [23:41] right [23:43] ricmm: slangasek: working with the cross-built based libs, same src version [23:43] yea [23:43] can you check cxflags? [23:43] cxx [23:44] perhaps there are some things different to the default way of building debs [23:44] probably [23:44] optimization or other specific flags [23:45] ricmm: not sure because the cmake files are shared === chihchun_afk is now known as chihchun === jhodapp is now known as jhodapp|afk [23:51] ricmm: wonder why it seems to be fine If I link against it directly [23:52] maybe a different lib [23:52] linking against mir brings the entire universe