/srv/irclogs.ubuntu.com/2013/10/10/#ubuntu-mir.txt

loolso I reinstalled00:15
loolI got the same bug, but eventually it started00:15
loolthe timing for pressing power button might matter00:16
loolracarr, kgunn: Pretty good news00:43
loolracarr, kgunn: It was borderline unstable, but now that I have hud with it, unity8 doens't crash anymore and boot is much more stable00:44
looland everything is going in archive, one at a time00:44
kgunnlool: thanks man!01:17
loolkgunn: we have an issue with Hud01:18
loolkgunn: it's likely regressing the desktop01:18
loolkgunn: who would be able to help this?01:19
loolkgunn: I can land without it, but the results will be crappy01:19
kgunnlool: i assume its likely backend ?? ted would be best01:19
kgunnbut doesn't seem on01:19
loolted isn't up til 10 hours01:19
loolat least01:19
kgunni know the issues were around the backend....01:19
loolkgunn: So they added a platform-api backend01:20
loolkgunn: but on desktop I think we still want bamf01:20
loolbut we dropped the bdep01:20
kgunnolli_: you on ?? ^01:20
kgunnlool: thostr_ will be our best bet euro am01:20
loolok01:21
loolI might try just adding the bdep01:21
kgunnyou could get some sleep man and hit it in the morning01:21
loolyeah that too01:21
kgunnricmm_: know anyone who knows about hud backend ?? ^01:22
racarrback01:26
racarrseems like we definitely need bamf on desktop01:26
racarrlool: Good to hear image is working better with hud :D01:31
racarris boot faster now too?01:31
racarrunity mir boot has been really slooow01:32
racarrand ive kind of suspected it has to do with errors about hud timeouts :p01:32
olli_kgunn, yep01:45
ricmm_kgunn: what happened?04:19
ricmm_lool: I explicitly remember them saying "we both tested on desktop and phone and all works fine"04:20
ricmm_lool: how did the MR land to trunk if it didnt have the bamf build dep?04:21
ricmm_oh that was 3 hours ago04:22
ricmm_crap04:22
ricmm_his fix looking good04:22
* ricmm_ -> zzz04:22
ricmm_kdub_: btw if you are still around04:25
ricmm_kdub_: timings show that unity8 is busy blocking on buffer swap for about ~50ms per frame every other frame or so04:26
ricmm_when rendering intensively04:26
ricmm_racarr: kind of suspected? its a known thing since ever!04:31
racarrricmm_: I guess I didnt know it was known because the one or two times I mentioned it no one said anything05:18
racarrand I was just like05:18
racarrok move on!05:18
RAOFOk. How have I managed to break egl-platform-mir?05:21
dufluRAOF: If you expect either a useful or amusing answer, I can't comment05:26
dufluracarr: (1) log off, else (2) Should bug 1233245 have Mir task?05:32
ubot5bug 1233245 in Mir "[mir] key events not working through input devices (aka volume up/down)" [Critical,Triaged] https://launchpad.net/bugs/123324505:32
ricmm_that bug is done afaik05:33
dufluricmm_: BTW, the "50ms per frame", what device?05:33
ricmm_mako05:33
dufluOh. Mako should be better than that already05:33
ricmm_theres a whole bug going on since the fencing was introduced to remove the tearing05:34
ricmm_of course it *should* be05:34
ricmm_but it hasnt been for a while05:34
dufluricmm_: Yeah I was going to point you at that bug05:34
tvossricmm_, do you know if kdub tried switching to triple buffering while I was sleeping?05:35
ricmm_tvoss: he didnt because apparently its not trivial to do05:35
dufluIt occurs to me we have a significant bottleneck for touch with only one Android person on mir-team05:38
RAOFDear bandwidth: where have you gone? :(05:49
tvossdidrocks, salut :)05:57
didrockshey tvoss!05:57
=== Stskeepz is now known as Stskeeps
alf_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:35
alf_lool: FWIW, with latest packages from the archive, I can't reproduce the crash anymore06:51
RAOFBah! How was mesa mis-built?06:54
* mlankhorst looks at excuse calendar06:56
mlankhorsthigh pressure system failure06:57
RAOFCurrent theories include: cosmic rays, and clang.07:05
mlankhorstwell a computer generated my excuse, so it's more reliable07:06
dufluBut did cosmic rays affect the computer's output?07:06
mlankhorstwe're not in space07:08
dufluYes we are07:08
* duflu goes to close the pod bay doors07:08
loolalf_: it's all in #90 now08:02
loolalf_: racarr also gets the crash with latest tip08:02
loolalf_: I haven't tried again though08:02
loolalf_: maybe we landed something else from archive in image that we were lacking in testing08:02
alf_lool: are you tests with mako or maguro08:06
alf_?08:06
loolalf_: haven't retried yet08:08
loolalf_: but if you're not seeing it with latest image great08:08
loolalf_: mako08:08
alf_lool: ok, please give it another try when you can and let me know08:09
loolyup08:09
loolbreakfast first08:09
dufluHey I got my phone back!... How do I tell the image number (like "90")?08:49
alf_duflu: cat /etc/media-info gives you some information, which you can use to find the image number08:50
dufluTa08:50
alf_duflu: of course, if you upgrade packages then this is not accurate any more08:52
dufluNone seem to need upgrading...08:52
tvossduflu, just reflash 90 :)08:53
dufluDid we kill off /tmp/mir_socket for unity8?08:53
alf_duflu: look in $XDG_RUNTIME_DIR08:55
alf_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:57
alan_galf_: +108:58
alan_galf_:  (and every time I think I understand it well enough to write a script something changes)08:58
mlankhorsthm anyone got something for me to look at? :P09:01
alf_duflu: since you have a fresh image, do you have a moment to try https://bugs.launchpad.net/qtubuntu/+bug/1237052 ?09:04
ubot5Error: Could not gather data from Ubuntu for bug #1237052 (https://launchpad.net/bugs/1237052). The error has been logged09:04
duflualf_: Just put it away. I'll get back to it soon09:04
tvossalan_g, https://code.launchpad.net/~thomas-voss/mir/add-pthread-linker-and-preprocessor-flags/+merge/19031609:05
alf_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:05
alan_gtvoss: ack09:06
tvossalan_g, waiting for CI to produce a testable package09:07
alf_mlankhorst: nested Mir EGLImage support is still pending if you are interested ;)09:07
mlankhorsthm fine :P I'll poke it a bit more09:08
alf_mlankhorst: I know that RAOF also took another look recently, but I am not sure if there was any progress09:10
alf_RAOF: ^^09:10
alf_mlankhorst: (or at least that he wanted to take a look)09:10
alan_gtvoss: see https://code.launchpad.net/~thomas-voss/mir/add-pthread-linker-and-preprocessor-flags/+merge/190316/comments/43672209:20
tvossalan_g, duflu: it's about our own usage of pthread09:23
duflutvoss: Can you detail the findings in the MP?09:23
tvossduflu, 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 automation09:24
duflutvoss: Ah yes, spent time staring at those crashes today09:25
tvossduflu, alan_g was able to reproduce the issue with a simple program using a std::unique_lock and not adding -pthred09:25
tvoss-pthread09:25
alan_gtvoss: the maliit server definitely pulls in pthreads09:25
tvossalan_g, but: our client library is not compiled with that flag09:25
tvossalan_g, and that's where the exception is thrown09:25
duflutvoss: 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:26
alan_gtvoss: what duflu said09:27
tvossduflu, anyway, I'm only sticking to what the pthread manual suggests: add -pthread09:27
tvossalan_g, duflu I'm basically waiting for jenkins to produce a testable package, thus the mp09:27
alan_gduflu: I don't think it hurts to try this09:27
dufluAFAIK -pthread just defines some macros and adds -lpthread to LDFLAGS09:27
tvossduflu, implementation defined09:28
tvossduflu, usually REENTRANT is set, but could be more complex for arm for example09:28
duflualan_g: It's likely unnecessary bloat to link libraries not all binaries need. Though I suspect all Mir binaries do :/09:28
tvossduflu, 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
alan_gduflu: If it fixes the problem that is a useful data point09:29
tvossduflu, library bloat -> micro optimization, let's save that for later09:29
dufluNot worth arguing...09:29
tvossduflu, ack09:30
duflutvoss: Worth a try. Linked bug 1233988 too09:30
ubot5bug 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/123398809:30
tvossduflu, thx09:31
tvossduflu, can you give the package a spin, too, once ci spits it out?09:31
duflutvoss: Sure but I think I'll be gone before then.09:32
tvossduflu, ack :)09:32
mlankhorstalf_: huh? this is messed up09:40
mlankhorstoh nm :P09:40
mlankhorstalf_: 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:55
alf_mlankhorst: yes, it's glClear()-ed, and then surfaces are composited09:56
alf_lool: any luck with https://bugs.launchpad.net/qtubuntu/+bug/1237052 ?09:58
ubot5Ubuntu bug 1237052 in qtubuntu "Apps that close themselves crash trying to use deleted EGL resources" [Undecided,Fix committed]09:58
* duflu goes to play with vegetables10:01
tvossalan_g, https://jenkins.qa.ubuntu.com/job/mir-saucy-amd64-ci/831/console10:05
tvossalan_g, is that known?10:05
alan_gtvoss: it wasn't to me - but https://bugs.launchpad.net/mir/+bug/123669810:07
ubot5Ubuntu bug 1236698 in Mir "The following tests FAILED: 99 - memcheck(unit-tests.PublishedSocketConnector.*) (Failed)" [High,Triaged]10:07
tvossalan_g, are you on it?10:09
alan_gtvoss: I'll add it to my list10:09
loolalf_: sorry didn't have time so far, but I do now10:12
loolalf_: and it worked!10:14
loolalf_: 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 else10:14
alf_lool: \o/10:14
loolalf_: but now with image #90 it passed10:14
loolalf_: sorry for the delay in confirming10:15
mlankhorstalf_: huh..10:15
mlankhorstwhy is dri2_create_image_khr_pixmap never called? :P10:15
loolalf_: I'm glad it's fixed after all, I almost didn't take qtubuntu in because of this10:15
loolalf_: updated bug too10:16
alf_lool: thanks10:16
mlankhorstoh nm10:17
alf_mlankhorst: :)10:18
mlankhorstalf_: hm if you use the native platform allocator for allocating buffers, what do you use for allocating the main window for nested?10:18
alf_mlankhorst: the host mir allocates that and sends us the buffer (host mir uses platform_drm)10:19
mlankhorstyeah where's the code for importing that?10:19
alf_mlankhorst: in mesa mir_advance_colour_buffer()10:26
alf_mlankhorst: it uses the prime_fd from the buffer package10:27
alf_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 mesa10:27
mlankhorstalf_: yeah but if the nested mir has no clients, does anything clear the contents of the bo?10:29
alf_mlankhorst: yes, it is made current, and glClear() is called10:33
alf_mlankhorst: prime_fd -> EGLSurface -> make_current -> glClear()10:33
alf_mlankhorst: (at least this is what should be happening)10:34
mlankhorstcan I somehow enable the spam from mir?11:11
alf_jibel: I am checking the Mir Testing Notes document for bugs to look into... is bug 1237900 still private?11:11
ubot5Error: Launchpad bug 1237900 could not be found11:11
alf_jibel: or is it a typo?11:12
alf_jibel: It's the last bug in Image 90:20131010:20131010 list11:12
=== hikiko is now known as hikiko|lunch
jibelalf_, it is public now but invalid11:36
asacracarr: alf_: any news on the crashers front?11:53
asacSaviq: ^^ (unity8 crashes in particular i think)11:53
alf_asac: Most of the crashes caused by the interaction with Mir have been fixed in the latest image12:01
asacwe still see unity8 crashing http://reports.qa.ubuntu.com/smokeng/saucy/touch_mir/mako/91:20131010.1:20131010/4658/webbrowser-app-autopilot/12:02
asacthis doesnt happen with SF12:03
asacjust run webbrowser autopilot12:03
alf_asac: that seems like https://bugs.launchpad.net/ubuntu/+source/platform-api/+bug/1233988, which is in progress from what I can see12:04
ubot5Ubuntu 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
ogra_can someone tell me where Mir gets the VSYNC info from ?12:04
asacalf_: there is maliit and unity8 crash12:05
asacalf_: you say that unity8 crash goes away if maliit doesnt crash?12:05
mlankhorstbleh stupid thing, glClear being ignored;S12:05
asacalf_: _usr_bin_unity8.32011.crash12:05
alf_asac: I am not saying anything :)12:05
asachehe12: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 starts12:05
ubot5bug 1234743 in linux (Ubuntu) "omapfb module floods system with udev events on samsung galaxy nexus" [Undecided,Incomplete] https://launchpad.net/bugs/123474312:05
asacwell, you said its in progress most likely... but that smells like the maliit fix12:05
asacnot the unity812:05
asacalf_: the unity8 goes away on SF as well12:05
asaci wouls suggest embracing that as a crash that is caused by MIR interactions12:06
=== alan_g is now known as alan_g|lunch
mlankhorstoh you've got to be kidding me12:07
alf_asac: not how I diplomatically said that *most* of the crashes... have been fixed ;)12:09
alf_asac: s/not/note/12:09
asacright12:09
asacare you on this one?12:09
alf_asac: I am now12:09
asacany leads/hopes?12:09
asacnice :)12:09
alf_mlankhorst: ?12:19
mlankhorstnah was hoping for a more logical explanation, meh12:25
mlankhorstI'll try without radeon, and use intel, at least it has dri2 support. :P12:26
=== hikiko|lunch is now known as hikiko
=== alan_g|lunch is now known as alan_g
mlankhorstalf_: but that code was working with android right?13:00
alf_mlankhorst: yes13:00
mlankhorstalf_: only thing i found so far is that linuxvirtualterminal should probably not be created in nested, meh13:46
alf_tvoss: What's the problem in maliit with bug 1233988? I have found a problem in platform-api related to this, too...14:07
ubot5bug 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/123398814:07
alf_lool: ^^14:07
alan_galf_: 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:11
tvossalan_g, issue is solved, it wasn't that in the end14:14
tvossalan_g, but: -pthread is still a good idea14:14
alan_gtvoss: then what was it?14:15
tvossalan_g, maliit trying to access mir, without mir running :)14:16
tvossalan_g, working on a fix to the platform api14:16
tvossalan_g, it should handle that situation more graceful14:16
alan_gtvoss: "mir running" == there's a Mir connection?14:17
alf_tvoss: lool: alan_g: see my latest comment and MP in https://launchpad.net/bugs/123398814:18
ubot5Ubuntu 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:18
mlankhorstalf_: meh I'll try what happens if I always enable gbm, ran out of other ideas :P14:21
alan_galf_: 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:21
alf_alan_g: agreed14:22
tvossalan_g, true. I won't find time to fix that part, though14:22
=== alan_g is now known as alan_g|tea
=== pete-woods is now known as pete-woods-away
mlankhorstalf_: ah excellent, if I force the gbm path to be always taken it corrupts too, that makes it a lot easier to debug..14:31
mlankhorsthttp://paste.debian.net/55230/14:32
mlankhorstto the best of my knowledge, it should behave identically right?14:33
=== ricmm_ is now known as ricmm
=== alan_g|tea is now known as alan_g
alf_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:57
asacalf_: did your crash investigation give reason for hope :)?14:58
alf_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/maliit15:01
ubot5Ubuntu 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
alf_asac: so no direct progress there yet15:01
racarrgood mirning15:06
hikikoalf_, I replied just now15:06
kgunnracarr: mornin'15:18
loolalf_: looking15:29
loolalf_: platform-api change to detect whether connection is truly good seems a good idea15:31
loolalf_: but I'd rather not confirm the exact semantics of the functions you're calling etc.15:32
loolalf_: would someone else review this?  then we can add this to landing plan15:32
racarrtrying out new image :)15:33
alf_racarr: want to review https://code.launchpad.net/~afrantzis/platform-api/fix-1233988-somewhat/+merge/190378 ? :)15:34
tvossalf_, did you remove the anon namespace in the header file? :)15:34
racarralf_: only somewhat happy :p15:35
racarralf_: +115:37
alf_racarr: thanks15:37
racarrimage seems really good15:37
=== pete-woods-away is now known as pete-woods
racarrI'd really like to fix the15:37
racarrscreen unblank buffer15:37
racarrbla15:37
racarractually now15:38
alf_tvoss: no, why?15:38
asacany luck on unity8 crashers? :)15:38
asaclol15:38
racarrasac: Autopilot you mean?15:38
asacunity8 crashes15:39
asacduring autopilot its easy to reproduce yes15:39
asacjust run webbrowser AP15:39
asacand it will crash15:39
asac5 out of 6 times15:39
racarrok I guess I can work on autopilot failures today15:39
tvossalf_, an anonymous namespace in a header file is usually a bad idea15:40
asacracarr: note that its not really autopilot failures... its just the best and easiest to reproduce crashers we have right now :)15:40
asacwe see loads of crashers that are hard to reproduce in QA15:40
asacso we can start here and hopefully the world will improve :)15:40
racarrasac: :D15:41
asacanyway. let me know ifyou need something15:41
asacthose are real crashers ... we dont start unity with special instrumentation flags or anythig15:41
asacif we run application autopilots15:41
asacthanks!15:42
alf_tvoss: sure, "why" == is it related to the 1233988 problem in some way?15:42
tvossalf_, nope15:43
alf_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
alf_tvoss: ok :)15:43
asacalf_: you talk about webbrowser?15:44
asacthere are two things:15:44
asaca) webbrowser tests fail and make unity super slow after they finish15:44
loolracarr: didn't top approve?15:44
asacb) webbrowser tests crash unity8 more or less relliably15:44
racarrasac: I...lost the bug that someone put autopilot instructions in. Is there a summary somewhere?15:44
loolah right, two reviews I guess15:44
loolalf_: so once that's top approved ping me to get it in PPA for testing15:45
racarrlool: Hmm no someone could top approve I guess15:45
asacracarr: https://wiki.ubuntu.com/Touch/Testing#Testing_your_Ubuntu_Touch_Code_before_submission15:45
asacgive that a shot15:45
kgunnracarr: for running AP tests run 'phablet-click-test-setup' to download all the test cases15:45
kgunn'phablet-test-run <suite>'...e.g. unity815:45
loolto run tests:15:45
alf_racarr: apt-get install webbrowser-app-autopilot, autopilot run <test>15:45
loola) touch /userdata/.writable_image15:45
asacalf_: dont do that15:45
loolb) reboot15:45
racarrtvoss: Want to double sanity check the papi branch and top approve?15:45
loolc) unlock screen15:45
asacalf_: use the isntructions above15:45
loolthen run:15:45
lool./phablet-test-run -p webbrowser-app-autopilot webbrowser_app15:45
loolor for unity8:15:46
tvossracarr, feel free15:46
lool./phablet-test-run -n -p unity8-autopilot unity815:46
asacotherwise we will argue until we are blue about not seeing the same things15:46
alf_asac: why not?15:46
loolalf_: use the phablet-test-run interface15:46
asacalf_: doesnt matter... just strictly follow the instructionms15:46
loolalf_: so that we all do the same thing15:46
asacalf_: people dont get it right and do stuff to their device15:46
racarr*parsing* XD thanks all15:46
asacand then claim the tests succeed and move on15:46
ogra_make sure to reboot after the unity8 tests ... never run an app test after unity15:46
asacand i have to argue for 2 days with them until they finally see that they didnt do it the same way15:47
asaclool: please refer to these isntructions: https://wiki.ubuntu.com/Touch/Testing#Testing_your_Ubuntu_Touch_Code_before_submission15:47
kgunnracarr: what do you need top approved ?15:47
asacso we start consolidating it at one place15:47
racarrkgunn: https://code.launchpad.net/~afrantzis/platform-api/fix-1233988-somewhat/+merge/190378 I did it though15:47
kgunnlool: can we get a CI run & landing on https://code.launchpad.net/~afrantzis/platform-api/fix-1233988-somewhat/+merge/19037815:48
tvosskdub, ping15:49
kdubhello15:50
kgunnSaviq: just to make sure we don't have people running round duplicating effort.... racarr is going to look into crashes associated with webbrowser AP tests15:50
kgunnshout if someones already working15:50
kdubtvoss, going to try to shift waiting to the compositor side, should make unity wait less15:51
loolkgunn: autolanding actually -- ci ran15:51
tvosskdub, sounds good, had the same idea.15:51
kdubtvoss,  i'll let you know once i've tested it... just getting my phone all put together15:51
loolkgunn: was waiting for the top approve  :-)15:51
tvosskdub, I will grab a quick bite and be back after that15:51
mlankhorstargh I don't see why this should give different results..15:52
kgunnlool: so we are back to normal everywhere ? (no more manual merges)15:52
Saviqkgunn, tvoss, racarr, maliit loops on unity8 exit with https://bugs.launchpad.net/ubuntu/+source/maliit-framework/+bug/123810715:52
ubot5Ubuntu bug 1238107 in maliit-framework (Ubuntu) "maliit-server crashed with SIGSEGV in poll()" [Undecided,New]15:52
loolkgunn: running15:52
Saviqtvoss, I saw the copy_on_client DisplayConfiguration somewhere before15:52
Saviqtvoss, today, that is15:52
loolkgunn: 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 urgent15:53
kgunnack15:53
loolasac: I've updated the AP instructions with my own additions for other testsuites and for Click instructions15:53
tvossSaviq, something went out of scope too early15:53
tvossSaviq, racarr the DisplayConfiguration is NULL15:54
Saviqtvoss, I expect unity8 hanging at the same time to be very much related, correct?15:55
alf_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/19037815:55
Saviqalf_, yay, so that's fixed15:55
Saviqalf_, I knew I saw that somewhere15:55
racarrDoes mthis looks like15:55
racarr...15:55
racarrwhat alf said15:55
Saviqalf_, racarr yes, it does15:55
racarrthe mutex is null which can only happen if the mirconnection pointer15:55
Saviqyay, sorted15:56
racarris invalid15:56
tvossSaviq, not entirely sure, could be15:56
* Saviq pushes unity8's crash on exit15:56
asaclool: yeah. all this know how should be somewhere in phablet-tools i believe15:56
asaclool: would be great if phablet-test-run unity8-autopilot would just do the rigth thing15:56
asac:)15:56
alf_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:57
Saviqalf_, ah, that's on unity8 exit15:59
Saviqalf_, so unity8 + maliit were connected, but unity8 was shutting down, pushed maliit over the edge into spinning, unity8 stuck15:59
racarrSo what is expected to happen with the webbrowser ap tests?16:01
racarrI dont see a unity8 crash16:01
racarrbut eventually the tests themselves crash...  File "/usr/lib/python2.7/socket.py", line 303, in flush16:02
racarr    self._sock.sendall(view[write_offset:write_offset+buffer_size])16:02
racarrerror: [Errno 32] Broken pipe16:02
tvossasac, ^16:03
racarrthough it seems like they are still running lol because stuff is still going on on my phone16:03
asacracarr: what device are you on?16:03
Saviqtvoss, that looks like a Qt bug https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/123811616:03
ubot5Ubuntu bug 1238116 in unity8 (Ubuntu) "unity8 crashed with SIGSEGV in QIcon::~QIcon()" [Undecided,New]16:03
racarrasac: mako16:03
Saviqtvoss, unity8 crashes shutting down on Mir16:04
tvossSaviq, hang on16:04
Saviqtvoss, hanging16:04
asacracarr: so not sure. you might be struck by something flaki :)16:04
asaclol16:04
asacso sometimes MTP is funny and takes over adb and you disconnect16:05
asacin those cases, just reboot and try again16:05
asacit doesnt happen all of the times :) ... wait until you have MTP seen mounted i guess16:05
racarrmm16:05
racarrgoing to try unity8 next...16:06
racarrI have to run soon though, one more dental filling :( (they couldn't quit finish last time)16:06
racarrill be back before too long though16:06
alan_galf_: I think your issues with this are addressed? https://code.launchpad.net/~robertcarr/mir/socket-messenger-race/+merge/18764716:06
looltvoss: 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 letter16:09
looltvoss: so I think it was still using the old socket16:09
tvosslool, do you have both pre start and post stop?16:10
tvossSaviq, looking at it, need to debug16:12
tvossSaviq, what did you do?16:12
tvossSaviq, gut feeling tells me: qt16:12
looltvoss: no16:13
looltvoss: also didn't check whether maliit indeed restarted16:13
Saviqtvoss, that's just unity8 exiting16:13
looltvoss: I'm running out of time for today16:13
Saviqtvoss, 100% reproducible16:13
racarrgot unity8 autopilot running at least. um16:13
tvosslool, sure, no problem ... got your current pushed to a branch?16:13
racarrsome tests seem to be running16:13
loolneed to get some sleep tonight, might not be able to test this further today16:13
Saviqtvoss, let me see if another one will be the same trace16:13
tvossSaviq, ack16:14
racarrits a little confusing XD.16:14
racarrwill dig deepeer on crashes when I get back16:14
Saviqracarr, they're all running, more or less16:15
Saviqracarr, but only the first one in a run gets input16:16
ogra_lool, tvoss https://code.launchpad.net/~mterry/session-manager-touch/socket/+merge/18639116:16
ogra_not sure if that helps anything16:16
ogra_(i had it on my MP monitoring list)16:16
Saviqracarr, maybe you'd have an idea about that? or could help tracking it down?16:19
Saviqracarr, if you run two or more unity8 tests within one autopilot run, only the first one will get input16:19
loologra_: I commented on the branch16:24
alf_alan_g: yes, approved16:24
looltvoss: did you send the -pthread thing to trunk?16:27
tvosslool, nope16:27
looltvoss: we have a slot for it FYI16:27
tvosslool, ah okay ...16:27
tvossthere was some discussion on the mp16:27
loollooking16:28
looltvoss: I miss the devel mp?16:28
looltvoss: only have the trunk one16:28
looltvoss: In any case -lpthread is wrong and should be fixed to -pthread16:29
looleven if it didn't fix whatever we were seeing16:29
looltvoss: this is how I had changed unity8.conf upstart job: http://paste.ubuntu.com/6218716/16:29
tvosslool, hang on16:30
tvosslool, https://code.launchpad.net/~thomas-voss/mir/add-pthread-linker-and-preprocessor-flags/+merge/19031616:31
loolthanks16:31
tvossalan_g, removed the linked bugs16:31
loolwill add to tracking16:31
looltvoss: oh that's against trunk again16:31
loolisn't it?16:31
looltvoss: that's the one I had16:32
tvosslool, yup, that's against trunk, want me to resubmit against devel?16:32
looltvoss: Just send it against devel branch?16:32
looltvoss: I think that's mir process16:32
looltvoss: first land in devel, then merge devel in trunk16:32
looltvoss: but others here are more knowledgeable on this16:32
alan_gtvoss: yes16:33
=== dandrader is now known as dandrader|lunch
alan_glool: "16:33
alan_glool: @"In any case -lpthread is wrong and should be fixed to -pthread" - comment against the MP. chat gets lost16:34
tvossalan_g, lool resubmitted16:34
alan_gtvoss: spurious changes: debian/changelog16:39
=== yofel_ is now known as yofel
om26erkdub, btw if you need any help testing something. I am at service16:43
kdubthanks om26er16:43
mlankhorstalf_: 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 :P16:46
mlankhorstand I have no explanation as to why16:49
=== ChickenCutlass is now known as ChickenCutlass_l
pete-woodsbut I'll keep looking16:58
=== alan_g is now known as alan_g|EOD
jonoreally nice job on Mir on the N4 :-)17:05
jonoworking pretty good for me :-)17:05
=== chihchun_afk is now known as chihchun
ogra_jono, just because your last name isnt -autopilot17:16
ogra_ther test results are still pretty bad (but we're getting there)17:16
tvosslool, alan_g|EOD https://code.launchpad.net/~thomas-voss/mir/add-pthread-linker-and-preprocessor-flags-2/+merge/19043217:20
looltvoss: approved but not top approved; leaving that to mir folks17:21
tvosslool, ack, sorry, took me a while, my bzr foo was lacking17:21
looltvoss: np, added to landing plan too, but will need this to go to trunk too17:22
loolalf_: 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 it17:23
loolalf_: sorry, not staying long tonight, otherwise would have tried it out17:23
* lool off &17:23
tvosslool.sleep()17:27
tvosslool.force_to_sleep();17:27
tvosslool, awesome job, dude17:27
jonoogra_, yeah, seems like a good integration result17:32
jonoand now everyone can focus on bugfixing17:33
ogra_well, first on getting the tests to work again17:33
ogra_then on bugfixing17:33
jono:-)17:35
racarrBack18:07
ogra_Front18:10
=== dandrader|lunch is now known as dandrader
=== ChickenCutlass_l is now known as ChickenCutlass
racarr:p18:19
davmor2kgunn: 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:34
kgunndavmor2: 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 old18:35
kgunndavmor2: i say this because i see diff timestamps when i look18:35
kgunnjust noticed  earlier myself :)18:35
davmor2kgunn:  that'll possibly be why I can't see anything obvious for this lock up issue that maguro has then18:36
davmor2kgunn: in order to get back to a working system to pull the logs I need to pull the battery18:37
kgunndavmor2: weird...so when it locks up, you can't even adb shell in ?18:38
davmor2kgunn: Nope and macslow confirmed too18:38
davmor2kgunn: the only thing you can do is pull the battery, even pressing and holding the power button does nothing18:39
davmor2kgunn: thankfully it doesn't seem to be hitting mako's18:39
davmor2kgunn: 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 in18:41
davmor2kgunn: 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 bar18:43
kgunndavmor2: mmmm....that actually sounds kernel-ish18:44
davmor2kgunn: only happen on mir, on SF I could run it all day no hangs18:45
tvosskdub, which buffers and how many do we hand out to internal clients?19:00
kdubtvoss, internal and external have the same type of buffers and same count19:01
kdubso, gpu buffers (not fb's or flagged for hwc usage) and 319:01
tvosskdub, hmmm, why would the shell ever block then?19:02
kdubtvoss, my branch linked to that slowness bug helps the speed19:02
kdubi messed up something having to do with snapshotting in that branch though, have to figure out what19:03
tvosskdub, mind pinging me the link?19:03
kdubhttps://code.launchpad.net/~kdub/mir/android-buffer-syncfence19:03
tvosskdub, awesome19:04
kgunni swear i think dash decelerates ....19:07
kgunnrender times are pretty quick...then get large when you take your finger off19:07
tvosskdub, I like what I see19:07
tvosskdub, is the performance improvement tangible?19:08
kgunnwoohoo go kdub19:08
kdubtvoss, haven't measured19:10
kdubtrying to track down why when you click 'recent apps' you get a white snapshot frame in there in that branch atm19:11
tvosskdub, ack19:11
thomimorning19:11
tvosskdub, go ahead19:11
racarrmorning thomi19:11
thomio/19:12
tvosso/19:12
thomihey tvoss, up late?19:12
tvossthomi, yup, as usual during this week19:12
thomi:(19:13
tvossthomi, all good :) it's actually quite a lot of fun19:14
thomiI 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 coffees19:14
tvossthomi, oh, sounds like you should go and see a doctor19:15
tvossthomi, do you have enough water with your coffee?19:15
thomitvoss: I would, but it's not that bad - I'm just tired, no other symptoms19:15
thomitvoss: actually, that reminds19:15
thomime19:15
* thomi goes to find his water bottle19:15
kgunnkdub: that's freakin' awesome....19:29
kgunnjust tried your sample "make it go fast"19:30
kdubthanks :)19:30
kgunnkdub: you do realize when you do things like this people will just keep expecting miracles19:30
tvosskdub, awesome !!!19:31
kgunndavmor2: you still on ?19:31
davmor2kgunn: I am19:32
kdub:D19:32
kgunndavmor2: wanna try something on maguro ?19:32
davmor2kgunn: just doing a flash at the minute but I'm happy to try after19:32
* kdub doesnt know if that will fix maguro19:32
tvosskdub, no worries, we will try ;)19:32
davmor2kdub: I'm as happy to break your code as anyone elses I wouldn't want you to fell left out :)19:33
kgunnkdub: mmm....it should be  indep of hwc1.0 vs 1.1 right ?19:33
tvosskgunn, screw it, let's just try19:34
tvoss:)19:34
kdubwell, i think the omap drivers are using the deprecated native window hooks, which don't do anything with fencing19:34
kgunnyeah...omap efforts pre-dated the butter activity19:35
kgunnkdub: so just to confirm...i was taking data just before copying over your fix19:42
kgunnkdub: and the qml render numbers are back down to where they were weeks ago19:42
tvoss\o/19:42
* tvoss goes to get alcohol19:43
kgunnkdub: like...roughly ~27ms todays image....copy your *.so's....i'm getting ~8ms19:43
ricmmyea19:43
ricmmrenders are back to near-SF numbers19:43
ricmmswap time went down in half too19:44
ricmmall we need is screenshots now19:44
kgunnkdub: a few spikes of 19/20 ms....but not completely abnormal....plus I am certain...unity/qt does something funky to decelerate19:44
kgunnwhen you lift a finger or come to a stop19:44
kgunnkdub: not only that....i'm convinced the quality is actually better than SF...since they had some serious flickering you could easily witness19:45
kgunnkdub: btw, i do not see the white full screen render...did you already fix that pre-herion sample19:46
ricmmthe white frames are when tapping on a running app19:47
ricmmthe screenshot should slide in from the right19:47
ricmmhowever it is an empty frame thats doing it19:47
kgunnricmm: 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/start19:49
kgunni wanted to ensure i could easily repro the problem....19:49
kgunni did just get one...but had been doing this many times19:50
kgunnricmm: do you still want me to try that deb ?19:50
ricmmwhat deb?19:54
ricmmthe powerd one?19:54
ricmmthey are already testing it for tests19:54
ricmmkdub: so I see a difference now with screenshots19:55
kgunnricmm: yeah...ok....19:55
ricmmkdub: less screenshotting issues, before most of the times the surface wouldnt be ready for screenshotting19:55
ricmmso it would use an old screenshot instead of refreshing19:55
ricmmkdub: now with this patch the surface is allowing the screenshot19:56
ricmmwhich is actually making it lag behind a bit while its mapped to sheet coming in from the right19:56
ricmmkdub: tvoss kgunn worse comes to worse I prefer this over the choppiness19:57
ricmmI can live with a couple frames of white19:57
tvossricmm, +120:00
tvossricmm, kdub http://reports.qa.ubuntu.com/smokeng/saucy/touch_mir/mako/92:20131010.2:20131010/4662/20:01
ricmmnot bad20:02
racarrI 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
kdubyeah, getting better20:02
racarrshould be pretty easy to isolate20:02
racarrand probably just a problem in qtubuntu or our xkbcommon mapper20:02
ricmmI've seen it happen in normal apps with OSK20:03
ricmmas soon as you bring up or focus a text field20:03
ricmmgarbage char will be delivered20:03
ricmmonce I had the filter branch for the hardware keys that didnt happen20:03
racarrah I havent seen ti happen with osk I dont believe20:04
racarrok. quick lunmch before an afternoon of digging autopilot failures20:11
davmor2kgunn: 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 too20:17
davmor2I'll let you know tomorrow ;)20:19
davmor2night all20:19
kgunndavmor2: cool...20:21
kgunndavmor2: yeah...mainly curious about the dash app lens full of icons scrolling20:22
=== bschaefer_ is now known as bschaefer
racarrBack21:02
rsalvetihey, need help with mir specific crash21:03
rsalvetigetting the following after linking to ubuntu_application_api_mirclient21:04
rsalvetigst-codec-info loads libandroidmedia, which depends on libubuntu_application_api_mirclient, probe for video caps, and then crashes when trying to unload the library21:04
rsalvetinot using any platform-api or mir specific call at this point21:04
rsalvetihttp://paste.ubuntu.com/6219717/21:04
rsalvetithe crash21:04
rsalvetiricmm: racarr: ^21:06
racarrrsalveti: I am thinking21:07
racarrrsalveti: So, static deinitialization segfault is almost certainlly21:07
racarrsome sort of linking error21:07
racarrso the first thought is21:07
racarrhttps://code.launchpad.net/~thomas-voss/mir/add-pthread-linker-and-preprocessor-flags-2/+merge/19043221:08
racarrbut I don't know exactly how21:08
racarrthat would produce this21:08
rsalvetiracarr: would that branch help?21:09
rsalvetitvoss: ^21:09
rsalvetinot sure how would be related21:09
rsalvetiwonder why this wasn't causing any issue before we tried this21:10
tvossrsalveti, nope, looks like something different21:10
rsalvetisame code was working fine when linking against ubuntu_application_api21:11
rsalvetias all it's doing at this point is loading & unloading it21:11
tvossrsalveti, my brain is fried tbh :/21:11
rsalvetiseems a common issue around here this week lol21:11
racarrrsalveti: I dunno...I would ldd things and look for any conflicts but I am not sure...what could show up21:14
=== jhodapp is now known as jhodapp|bbiab
rsalvetiracarr: ldd seems sane http://paste.ubuntu.com/6219825/21:19
racarrrsalveti: Mm21:20
racarrmaybe valgrind or something21:20
racarrcan give hints21:20
racarrat earlier corruption21:20
racarrrsalveti: There may be interesting stuff with LD_DEBUG=all (don't know LD_DEBUG well enough to suggest better flags)21:21
racarrIt seems liek its probably either some sort of linking problem or21:21
racarrsome sort of memory corruption21:21
rsalvetilet me check21:21
rsalvetiracarr: not much with valgrind: http://paste.ubuntu.com/6219845/21:25
rsalvetichecking linker21:25
ChickenCutlassrsalveti: is there any static init going on that might be failing21:26
rsalvetiChickenCutlass: we're not doing that in this lib directly21:26
rsalvetiat this point we're just linking at it21:26
ChickenCutlassrsalveti: so linked at compile time with -l21:26
rsalvetithe code that uses platform-api: https://github.com/jhodapp/gst-plugins-bad/blob/master/sys/androidmedia/gstamchybris.c21:27
ricmmrsalveti: wheres the code that does it21:27
ricmmok21:27
rsalvetiand how we're linking to it: https://github.com/jhodapp/gst-plugins-bad/blob/master/sys/androidmedia/Makefile.am21:27
ricmmand this isnt being used?21:28
ricmmwhy do you say its only loading and unloading21:28
rsalvetiricmm: nops, because gst-codec-info loads the lib, calls a function to get caps and close itself21:28
rsalvetiricmm: at this point nothing is calling platform-api21:28
rsalvetiricmm: I know because even when using mir, and calling with the older library, it works just fine21:29
ricmmdo you have a bt ?21:31
rsalvetihttp://paste.ubuntu.com/6219870/ the build log21:31
rsalvetiricmm: bt?21:32
rsalvetiricmm: http://paste.ubuntu.com/6219717/21:32
ricmmwhat the hell21:35
racarrrsalveti: Can you try the log from running it21:35
racarrwith LD_DEBUG21:35
rsalvetiracarr: uploading, but nothing really useful it seems21:36
rsalveti37mb of logs21:36
ChickenCutlassrsalveti: could this be a missing hybrid hook?21:37
ChickenCutlassrsalveti: sure looks like it21:37
ChickenCutlasshybris21:37
ChickenCutlassbut why?21:37
ChickenCutlasson just loading the lib21:37
racarrrsalveti: ><21:38
rsalvetiChickenCutlass: it's not21:39
rsalvetiChickenCutlass: all gst is doing is calling plugin_init21:39
rsalvetieven if I put a simple return FALSE right after that, it crashes21:39
rsalvetiChickenCutlass: and works fine with the old platform-api lib21:39
rsalvetithis is a crash at the class destructor it seems21:39
ricmmyea but at which class21:40
ricmmif you arent creating anything fro mplatform-api in there21:40
rsalvetiI'm not21:40
ricmmI dont get why there would be a mention to mir in those logs21:40
ChickenCutlassricmm: are there any static init's in there21:42
rsalvetiricmm: commented out all the platform-api related function calls and it worked now21:45
rsalvetiwill get them back one by one21:45
ricmmthought you said it wasnt being used!21:46
rsalvetiricmm: it's not21:46
ricmmthen why would commenting them out screw it?21:47
ricmmerr fix it21:47
rsalvetiricmm: this is what I added back: http://paste.ubuntu.com/6219951/21:52
rsalvetiricmm: and it's not called!21:52
rsalvetiand it's already enough for the crash21:52
ricmmok21:52
ChickenCutlassrsalveti: so should you not use sizeof (session)21:54
ChickenCutlassrsalveti: not *session21:54
rsalvetiChickenCutlass: ricmm: http://paste.ubuntu.com/6219958/21:56
rsalvetithis is already enough for the crash21:56
rsalvetiphablet@ubuntu-phablet:/tmp/test$ gcc test.c -o test -lubuntu_application_api_mirclient21:56
rsalvetiphablet@ubuntu-phablet:/tmp/test$ ./test21:56
rsalvetiTesting21:56
rsalvetiSegmentation fault (core dumped)21:56
ChickenCutlassrsalveti: ah ok -- so ricmm bug21:56
ricmmgive me some minutes21:57
rsalvetiracarr: ^21:57
sarnolddoes 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 element21:58
rsalvetiworks fine on the desktop21:59
ricmmthat test.c is not crashing for me22:00
ricmmphablet@ubuntu-phablet:~$ ldd ./test libubuntu_application_api_mirclient.so.1 => /usr/lib/arm-linux-gnueabihf/libubuntu_application_api_mirclient.so.1 (0x401da000)22:00
ricmmphablet@ubuntu-phablet:~$ ./test22:00
ricmmTesting22:00
ricmmphablet@ubuntu-phablet:~$22:00
rsalvetiricmm: latest image and everything?22:01
ricmmalways22:01
rsalvetithis also crashed with jhodapp|bbiab22:01
ricmmare you sure your mirclient platform-api and your mir are not somehow out of sync?22:01
rsalvetiricmm: unless I got a partial update with apt, no22:02
ricmmim resetting all my versions to saucy for mir and platform-api22:02
ricmmto make sure we have the same22:02
ricmmas I'm pretty sure I had trunk mir22:03
rsalvetiricmm: you did build your own mir, right?22:04
ricmmyea22:04
ricmmfor the other bug22:04
ricmmsec still installing22:04
rsalvetiyeah, have latest of everything22:04
rsalvetijust did apt-get update & upgrade22:04
rsalvetijust reproduced with maguro22:05
rsalvetilet me reflash it with latest22:05
rsalvetimight be fixed in trunk then22:05
=== jhodapp|bbiab is now known as jhodapp
ricmmuh yea it breaks22:06
rsalveti\o/22:06
ricmmlemme push trunk again22:06
rsalvetiricmm: trunk of mir or platform-api?22:06
ricmmmir, I havent rebuilt platform-api22:06
jhodappso there's some issue with a version of the mir platform-api then?22:06
rsalvetijhodapp: mir22:07
jhodappah22:07
rsalvetijhodapp: http://paste.ubuntu.com/6219958/ is already enough to get the crash22:07
jhodappwow22:07
rsalvetiyeah, bad stuff22:07
jhodappthat's basic22:07
ricmmyea with my local build it seems to be fine22:09
ricmmtrunk mir22:09
rsalvetilet me build mir from trunk22:10
ricmmbut I dont see anything in trunk that would cause this...22:11
RAOFmlankhorst: 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 glFlush22:12
mlankhorstRAOF: oh did you see my pastebin from earlier?22:12
mlankhorstI can reproduce the garbage with a normal client if I force a gbm device to be created and use the screen from that22:12
RAOFmlankhorst: Hm, no.22:13
ricmmracarr: 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 fail22:13
ricmmracarr: what the hell?22:13
mlankhorstso just the fact that gbm is used is messing things up22:14
mlankhorstand i have no idea how22:14
racarrricmm: Thiiiinking22:14
mlankhorstto the best of my knowledge the paths appear to be identical, at least after the gbm proxying :s22:14
RAOFmlankhorst: Could you repost your pastebin?22:16
mlankhorsthttp://paste.debian.net/55230/22:16
rsalvetiricmm: does it fail if built natively?22:17
rsalvetiwell, it's a different toolchain22:17
rsalvetiI'm building mir trunk locally to see22:17
mlankhorstRAOF: with that patch normal mir clients fail too, that should at least make it easier to debug :P22:18
racarrDoes this just mean we broke client ABI somehow?22:18
racarrerr no that doesn't quite make sense...22:18
racarrbuilding trunk without rebuilding everything else reportedly fixes it22:18
rsalveticould be a toolchain/linker issue22:18
racarrmaybe22:18
rsalvetiwell, ricmm cross-built it22:19
racarrsomething happened in say...22:19
racarrthat introduces ABI breaks22:19
racarrerr...in say hybris22:19
racarror something else22:19
racarrand just mirclient22:19
rsalvetinot a hybris issue22:19
racarrneeded to be rebuilt against it22:19
racarrbut wasn't22:19
racarr*shrug* it could be, if memory is getting stomped on in static initialization22:19
rsalvetirebuilding trunk locally ti see22:20
Saviqhey guys, here's another nice one... https://bugs.launchpad.net/ubuntu/+source/maliit-framework/+bug/123829622:20
ubot5Ubuntu bug 1238296 in maliit-framework (Ubuntu) "maliit-server crashed with SIGABRT in raise()" [Undecided,New]22:20
ricmmSaviq: thanks22:20
Saviqricmm, /me got retracing powers now ;D22:21
rsalvetimaybe similar issue?22:21
rsalvetino, looks different22:22
ricmmdifferent trace22:22
ricmmracarr: rebuilt platform-api against my local build and it still works22:25
ricmmis it possible that something went wrong in the recent archive build?22:26
rsalvetiricmm: well, if rebuilding the current version fixes it, then it could22:29
rsalvetistill waiting trunk here22:29
racarrI think if it does work, (rsalvetis build)22:36
racarrthen probably Mir and <SOME PACKAGE> were buitl against different versions of <SOME PACKAGE>22:36
racarrerr22:36
racarr<SOME OTHER PACKAGE> lol22:36
ricmmrsalveti: get that system76 already22:39
ricmmgeez22:39
rsalvetiricmm: dude, building locally22:39
rsalveti== mako22:39
ricmmwow22:39
ricmmsee you tomorrow then22:39
racarrrsalveti: Build from22:40
racarr build/src/22:40
racarrand make install from there22:40
racarrskip tests22:40
racarrsave lifetimes22:40
rsalvetiricmm: I need to confirm if this is not a toolchain issue22:40
rsalvetijust build, will test now22:40
rsalvetiricmm: racarr: crashed still22:41
rsalvetijust built and installed trunk22:41
ricmmwell that sucks22:41
ricmmcan you uh22:41
ricmmone sec22:41
ricmmmerge lp:~kdub/mir/android-buffer-syncfence22:41
ricmmI know it makes no sense, but just try22:41
ricmmthats the only other change in my branch22:41
rsalvetisure22:42
racarrhmmm22:43
rsalvetishit, huge merge22:43
ricmmits pretty large yea but it shouldnt touch anything related to this22:43
rsalvetiricmm: replacing libmirclient.so is enough, right?22:45
ricmmshould be as its talking about the connection22:45
ricmmbut you never know with this beast22:45
ricmmreplace it all22:45
ricmmas im doing so as well22:45
rsalvetiyes sr22:46
ricmmim building a clean trunk, cross built22:46
ricmmI'll put the binaries up somewhere for you22:47
ricmmyou put your locally built ones somewhere22:47
rsalvetiricmm: booom, no22:48
ricmmstill failing?22:48
ricmmtry http://people.canonical.com/~ricmm/mir-fixed/22:48
rsalvetiricmm: where is the mir socket now?22:49
rsalvetitrying to see if unity8 is still working22:49
ricmmI'm not sure, alan_g moved it22:49
rsalveti /run/user/32011/mir_socket22:49
ricmmright xdg runtime22:49
rsalvetiricmm: this shit is fast now22:50
ricmmsuper pro22:50
rsalvetiricmm: so yeah, using the right ones22:50
rsalvetilet me try with yours22:50
rsalvetipeople.c is super slow for me today22:53
rsalvetiI believe this issue might be happening with unit8 as well22:54
rsalvetiit's crashing during shutdown22:54
ricmmsounds terribad22:55
rsalvetiricmm: no crash with yours22:55
rsalvetismells like toolchain22:55
ricmmwell thats odd22:55
rsalvetilet me open a bug22:55
rsalvetiricmm: bug 123831222:59
ubot5bug 1238312 in Mir "Segfault when closing apps that link against ubuntu_application_api_mirclient" [Critical,Confirmed] https://launchpad.net/bugs/123831222:59
rsalvetiricmm: please add that it works with your lib, when cross-built22:59
racarrkdub: sync fence is fast :D23:01
ricmmdone23:01
racarrtested it out23:01
rsalvetiricmm: how can I cross build mir?23:04
ricmmrsalveti: thres a script right in trunk23:04
rsalvetiricmm: want to cross build the same version used by the image23:04
ricmm./cross-build-...23:04
ricmmsomething like that23:04
rsalvetigreat23:04
kdubracarr, yay23:05
ricmm * Authored by: Thomas Guest <thomas.guest@canonical.com>23:09
ricmmtvoss: is that you? lol23:09
racarrno23:10
rsalvetiricmm: creating phablet-compatible armhf partial chroot for mir compiles in directory /tmp/mir/mir-0.0.14+13.10.20131010/partial-armhf-chroot23:10
rsalvetiE: No packages found23:10
rsalvetimight be missing something still23:11
ricmmoh yea23:11
ricmmracarr: do you have the cross compile instructions list at hand?23:11
ricmmnvm23:11
ricmmrsalveti: http://unity.ubuntu.com/mir/building_source_for_android.html23:11
ricmmyou need to add armhf sources to your apt23:11
ricmmits bad23:12
rsalvetihaha, this is not for android23:12
rsalvetithat's fine23:12
ricmmyea I dont know why its called that23:12
rsalvetithis if for ubuntu dudes23:12
racarrat one point23:14
racarrit literally23:14
racarrwas for android23:14
racarrin mirs case :p23:14
rsalvetiright23:14
rsalvetinot anymore :P23:14
slangasekrsalveti: :P23:18
slangasekrsalveti: can you reproduce this by linking directly to libmirclient?23:19
rsalvetione more :-)23:19
rsalvetitrying, was just cross-building the same version to confirm23:19
ricmmrsalveti: soooo23:33
ricmmracarr:23:33
ricmmhttp://paste.ubuntu.com/6220225/23:33
ricmmthats how it looks when it dies23:33
ricmmhttp://paste.ubuntu.com/6220219/23:33
ricmmthats how it looks when it works23:34
ricmmthe later hits the destructor of the hash table23:34
ricmmmakes me believe that when it fails the hash table has bogus data and it attempts to clear the set23:35
ricmmwhich fails, probably guesses a wrong size23:35
rsalvetiricmm: slangasek: works fine when linking against libmirclient directly23:36
rsalvetibut I know the platform-api one links to a bunch of mir related libs23:36
ricmmare you actually pointing to a function somewhere?23:36
ricmmif so, what mirclient func23:36
rsalvetiricmm: was trying mir_connection_is_valid, but checking if it's really part of that lib23:37
rsalvetisrc/client/mir_client_library.cpp:int mir_connection_is_valid(MirConnection * connection)23:38
rsalvetiyup23:38
rsalvetiricmm: why is it trying to clear the hash table?23:40
rsalvetiat that point, is it valid at all?23:40
ricmmit shouldnt be23:40
ricmmthe compiler is generating different paths tho23:40
ricmmone is perhaps initializing it to null while the other is leaving it uninitialized, or something23:41
ricmmjust guesses here23:41
rsalvetiright23:41
rsalvetiricmm: slangasek: working with the cross-built based libs, same src version23:43
ricmmyea23:43
ricmmcan you check cxflags?23:43
ricmmcxx23:43
ricmmperhaps there are some things different to the default way of building debs23:44
rsalvetiprobably23:44
ricmmoptimization or other specific flags23:44
rsalvetiricmm: not sure because the cmake files are shared23:45
=== chihchun_afk is now known as chihchun
=== jhodapp is now known as jhodapp|afk
rsalvetiricmm: wonder why it seems to be fine If I link against it directly23:51
rsalvetimaybe a different lib23:52
rsalvetilinking against mir brings the entire universe23:52

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!