/srv/irclogs.ubuntu.com/2014/02/20/#ubuntu-mir.txt

=== jono is now known as Guest99797
RAOF...that point where you realise there's *more* umockdev work to be done :/05:51
dufluRAOF: Sounds less than awesome05:55
dufluAt least from your perspective, having worked on it for so long already05:55
RAOFI think what it actually means is that I'll do something else for a moment.05:57
dufluHey Mir's surface class hierarchy appears to be simpler and nicer than last time I mapped it out. Nice07:31
dufluEek. I just managed to delete 620 lines of code, and everything still works :)07:41
alf__duflu: as long as they are not 620 lines of tests... ;)08:04
duflualf__: No, mostly interface definitions not used within Mir itself. Seems unity-mir uses it still so can't quite propose removing it yet08:04
dufluBut it's fun to see a large diff of red that doesn't break anything locally :)08:06
alan_gduflu: are we intentionally delaying https://code.launchpad.net/~vanvugt/mir/server-abi-16/+merge/206842? or shall we top-approve?09:48
duflualan_g: Nothing has landed since 0.1.5 requiring the bump yet. Still all under review09:49
alan_gok09:49
dufluIt would be nice to have a point release without ABI bumps09:49
alan_gWhat about https://code.launchpad.net/~andreas-pokorny/mir/report-namespace/+merge/20557709:50
duflualan_g: Yeah that would probably qualify ( bzr status -r1413..1414)09:52
=== dandrader is now known as dandrader|afk
duflualan_g: Given we will almost certainly have to change unity-mir multiple times for various SDK cleanups, it's probably a good idea to spread the changes out, without dumping too many of them in a single point release.09:57
dufluAlthough that's not necessarily something we can completely plan09:57
dufluIt seems every time I find something that makes no sense at all in the Mir source, unity-mir is using it. It's just a matter of whether we can design a better way each time :P09:59
alan_gduflu: Yep09:59
* duflu goes to find dinner, with a newfound aversion to spaghetti ;)10:03
=== dandrader|afk is now known as dandrader
alan_galf__: can this really be true? https://code.launchpad.net/~vanvugt/mir/fix-1281938/+merge/207123/comments/48646610:35
alf__alan_g: no, replying10:37
alan_gthanks10:38
alan_gBRB (reboot)10:40
alan_galf__: are we happy with https://code.launchpad.net/~afrantzis/mir/valgrind-suppressions-armhf/+merge/207188?10:52
alf__alan_g: I am waiting fo fginther to schedule the pre-merge tests10:53
alan_ganpok_: alf__ - [not urgent] any preferences on the way forward? https://code.launchpad.net/~alan-griffiths/mir/make-ConfigurationOptions-a-dependency-of-DefaultServerConfiguration/+merge/20699612:17
anpok_hm hm12:40
kgunnanpok_: alan_g alf__ so who wants to have some mwc fun ? :)13:02
kgunnok, so seems like we might have a freeze/crash caused by the snapshotting interaction on the phone13:02
kgunnphone is special due to the new right edge navigation13:03
kgunnhttps://bugs.launchpad.net/ubuntu/+source/unity8/+bug/128172813:03
alan_gkgunn: what? (can it wait until after lunch?)13:03
ubot5Launchpad bug 1281728 in unity8 (Ubuntu) "Unity8 random freeze on demo image" [Critical,In progress]13:03
kgunnalan_g: yes...eating still allowed :)13:03
=== alan_g is now known as alan_g|lunch
kgunnlooking at it, i wonder if alf__ might be the right person ?13:03
mzanettihey, I'm able to reproduce https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/128172813:05
ubot5Launchpad bug 1281728 in unity8 (Ubuntu) "Unity8 random freeze on demo image" [Critical,In progress]13:05
kgunnmzanetti: i think alf__ might be the right person...but he hasn't responded yet....but seems all the repro instructions are there13:05
mzanettiI believe its the screenshotting functionality in mir13:05
kgunnmzanetti: yep...they got prepped13:05
mzanettiin case a screenshot is requested shortly after an app has crashed13:05
kgunnstepping away for a.m. duties....13:05
mzanettiwho can help me with this?13:06
kgunnmzanetti: he might be at lunch...he'll come back soon...as alan_g|lunch just left13:06
alf__kgunn: I am investigating https://bugs.launchpad.net/mir/+bug/1282248 , but I can switch if it's more urgent13:06
ubot5Launchpad bug 1282248 in Mir "Unity8 crashes when using latest mir/android backend with system-compositor" [High,In progress]13:06
mzanettiah13:06
kgunnalf__: yeah....this one is a race on time unfortunately13:06
kgunnthank you13:06
mzanettialf__: steps to reproduce are in the bug report, 3rd last comment13:08
alf__mzanetti: which image should I get?13:09
mzanettialf__: in theory it should happen with trunk too. however, we've been using the MWC demo image. its easiest to reproduce there13:09
mzanettialf__: unitymirteam ML has instructions how to flash it13:09
mzanetticomes down to:13:10
mzanettisudo add-apt-repository ppa:cwayne18/demo13:10
mzanettisudo apt-get update && sudo apt-get install mwcinstall13:10
mzanettimwc-flash13:10
mzanettialf__: ^13:10
alf__mzanetti: ok, nexus 4 or 10?13:10
mzanetti413:10
alf__mzanetti: ok, starting process I will let you know if I need anything... don't leave town :)13:11
mzanettiheh, ok13:11
=== dandrader is now known as dandrader|afk
alf__mzanetti: so, the problem is that unity-mir is requesting a screenshot for a crashed app, and mir can't handle that?13:18
mzanettialf__: yes, afaics13:18
mzanettialf__: there is a time gap in between the app crashes and unity-mir gets informed about that13:19
mzanettialf__: and if unity-mir tries to update the screenshot in that timeframe it'll crash13:19
mzanettialf__: given that this should behave better for MWC I'd probably be ok if Mir just doesn't crash and returns an empty screenshot or whatever13:20
mzanettithe proper solution would probably be to handle crashes faster13:20
alf__mzanetti: ok13:20
mzanettinot sure what's involved there tho13:20
alf__mzanetti: do you know if this is pure mir 0.1.5 or whether it's mir/devel or ...?13:23
mzanettialf__: hmm... afaik it's whatever is in the regular image + this ppa: https://code.launchpad.net/~unity-team/+archive/phone-right-edge/+packages13:23
alf__mzanetti: ok, thanks13:24
greybackanyone else using nexus7 find if shell restarts, input breaks?13:27
mzanettigreyback: I think I've seen this on the Nex4 today13:28
mzanettigreyback: does it recover if you press the power button twice?13:28
greybackmzanetti: will try that next time13:29
greybackmzanetti: ah that helped13:30
mzanettigreyback: so yeah. seen this quite often already today with the MWC image13:30
mzanettion the Nexus 413:30
greybackmzanetti: well shell just has to never fall over and we'll be fine :)13:30
mzanettiheh, ack13:31
mzanettigreyback: there are more reasons to that :D. While hunting another issue I found that there are cases where unity8 restarts, but leaves a previously running app around, eating 100% cpu13:31
mzanettihave seen it a couple of times, but not way to intentionally reproduce it yet13:32
greybackmzanetti: yeah that I see often too. When it looses the Mir server, the client sometimes does that13:32
mzanettialf__: leaving town for ~1h, ok?13:38
mzanettianything you need from me before?13:38
alf__mzanetti: Do the instructions to reproduce this still apply?13:40
alf__mzanetti: I read that you have a partial fix for this?13:40
mzanettialf__: yes, they still apply. especially if you didn't upgrade after flashing you don't even have the partial fix ye13:40
mzanettit13:40
mzanettialf__: if you did upgrade, just make sure to be fast enough after the app crashes.13:41
mzanettibut its about 2 secs, so plenty of time13:41
alf__mzanetti: ok13:41
=== dandrader|afk is now known as dandrader
alf_mzanetti: kgunn: I can't get a crash! I open Calculator, swipe it away => back to apps screen, open Media Player, click on OK button. Then I see something both a "blank" app (white) and the Calculator app trying to get to the screen. I have tried swiping to the right both while this is happening and after things have settled, and everything works ok, I am back to apps screen.14:12
fginther`alf_, I attached test results to your MP: https://code.launchpad.net/~afrantzis/mir/valgrind-suppressions-armhf/+merge/20718814:14
fginther`alf_, the armhf build passed, the amd64 did not14:15
mzanettialf_: re14:15
alf_fginther`: great thanks14:15
mzanettialf_: hmm... strange. crashes reliable here14:15
mzanettialf_: did you use the mwc-flash script to set it up?14:15
kgunnalf_: so just to be sure...you're using the mwc-flash image ?14:15
alf_mzanetti: kgunn: yes, perhaps because I got the image so recently, something has changed?14:16
kgunnmzanetti: video maybe ?14:16
kgunnof your methodology14:16
mzanettiack14:16
* kgunn is updating his n414:17
kgunnalf_: its possible...or we just buy you and your n4 a ticket to barcelona :)14:17
alf_mzanetti: kgunn: unity8 7.84+14.04.20140218-1rightedge647~659~ubuntu14.04.1,  libunity-mir1 0.2+14.04.20140214-1rightedge176~180~ubuntu14.04.114:18
* mzanetti compares14:18
=== alan_g|lunch is now known as alan_g
mzanettialf_: yep, that's it14:18
alan_gkgunn: I take it alf_ has taken the "fun"?14:20
alf_alan_g: yes, but I cannot reproduce the issue...14:20
kgunnalan_g: yes :) of course there's always fun to go around if you want some14:20
kgunn...uh, i think i need to reboot...somethings wonky...brb14:21
mzanettialf_: http://notyetthere.org/data/14020002.mp414:26
alf_mzanetti: ok, I think I can get it now (I rebooted)14:26
alf_mzanetti: thanks14:26
mzanettialf_: not always, but most of the time you need to reboot after reproducing because the media player won't start at all any more14:29
alf_mzanetti: an interesting observation... removing the apport package "fixes" the problem for me, try it and in the worst case we can use this as a workaround14:36
mzanettialf_: now that's quite weird...14:37
* mzanetti tries14:37
mzanettialf_: indeed... confirming you observation14:40
alf_kgunn: managed to reproduce (needed a reboot for some reason), also found that removing the apport package """fixes""" this14:40
mzanettiso I guess apport tracing the media player delays some threads in unity/mir to increase chances of this happening14:40
kgunnalf_: ack...weird..14:41
kgunnwhat made you try that ?14:41
kgunnhunch ?14:41
alf_kgunn: no, just I saw apport delaying the phone's startup :)14:42
anpok_is this one of those apps get the wrong session object bugs?14:44
alf_anpok_: hmm, I don't know, but may be related somehow14:47
anpok_if the media player closes itself it might go through ApplicationManager::onSessionStopping - and it could then terminate the calculater of it was in "Starting" mode while the media player came up14:54
alf_kgunn: mzanetti: anpok_: After installing the debug packages I am getting a different problem. *Every* time I try to swipe an app away, I get: http://paste.ubuntu.com/6965862/15:09
kgunngreyback: dandrader ^15:10
alf_kgunn: mzanetti: anpok_: perhaps that's related to what anpok_ suggested, i.e., apps get the wrong session object somehow?15:10
anpok_there would be a fix for that one..15:12
anpok_but if it happens everytime you swipe away it might be that there is just no session yet15:13
anpok_not sure15:13
anpok_where is updateScreenshot?15:13
anpok_thats a different branch?15:13
greybackalf_: this the nexus4?15:13
alf_anpok_: I mean  every time I swipe away from an app, so there's at least that app's session15:13
alf_greyback: yes, with mwc image15:13
greybackok, let me flash & see15:14
alf_greyback: plus some -dbg packages15:14
greybackI don't understand how -dbg packages would change anything15:14
kgunntiming15:14
kgunn....or worse15:14
* kgunn remembers finding new code path in gpu vendor (who'll remain nameless) debug drivers15:15
alf_kgunn: greyback: I will reflash to get a clean environment...15:19
fginther`alan_g, can you take a look at this job and let me know if it's running the tests as you expect? http://s-jenkins.ubuntu-ci:8080/job/mir-clang-trusty-amd64-build-fjg/6/15:30
alan_gfginther`: sure...15:30
kgunngreyback:  just fyi...i'm gonna land the 4 mp's approved on unity-mir15:32
kgunnhttps://code.launchpad.net/unity-mir/+activereviews15:32
greybackkgunn: thanks15:32
alan_gfginther`: it is running the tests (which is what I asked for) but not under valgrind (which is much less important as we do that with the other builds). So I'd be happy with this15:33
mzanettialf_: which version of unity-mir do you have when you see the "new" issue?15:33
greybackanpok_: ah thanks for https://code.launchpad.net/~andreas-pokorny/unity-mir/fix-1281075/+merge/207375 ! I had it done myself, but no test.15:33
fginther`alan_g, just for the record, adding the build tests increased the build time from 16 minutes to 75 minutes15:34
alan_gfginther`: that's weird: "Total Test time (real) =  12.33 sec"15:35
fginther`alan_g, ugh, I looked at the wrong field15:37
fginther`build time was under 9 minutes15:37
fginther`alan_g, sorry for the alarm15:37
alan_gfginther`: np15:37
alan_gkgunn: ^^15:38
=== alan_g is now known as alan_g|tea
kgunncool, times are coming down15:41
alf_mzanetti: I don't know, I reflashed and I can't reproduce anymore...15:45
alf_mzanetti: I will check if I may have updated to a newer version15:45
mzanettialf_: well, you need the ppa stuff as that one changes when screenshots are requested15:46
mzanettimight well be that trunk never triggers this15:46
anpok_greyback: after refactoring it got tempting simple to add the tests15:52
=== alan_g|tea is now known as alan_g
kgunnmzanetti: just to be sure...the recipe uses unity-mir trunk & then merges your right edge changes no top15:53
kgunnassuming that's the pkg you guys are talking about15:53
greybackanpok_: tests badly needed, so it's very welcome. I see your refactoring branch too, will review next week once things calm down, but again, am delighted.15:54
kgunnSaviq: any specific question about the freeze bug ?16:35
Saviqkgunn, no, just saw that John posted another .crash file, was wondering if anything's happening16:35
kgunnalf_ is looking into it...but now hitting the issue of getting a different bug/result when he builds debug packages16:36
kgunnSaviq: i thikn the guys did determine that the crashes fire apport ...which in turn causes the timing to change such that mir freezes16:37
kgunnpoint being...if people are loading crash files...those are seperate bugs i think16:37
mzanettiSaviq: does building code in debug mode and calling "make install" prevent apport from kicking in?16:56
Saviqmzanetti, it might prevent it from crashing, not from apport kicking in...16:56
mzanettiwhich could explain why I didn't see the issue at all when I first tried ricmm's fix manually16:57
=== yofel_ is now known as yofel
mzanettialf_: anything I can do to help you? can you reproduce again?16:59
alf_kgunn: mzanetti: I have a workaround (solution?). I need to leave really soon, so please take care of it. It's a small patch, I will pastebin soon.16:59
mzanettialf_: awesome!16:59
* kgunn suspects alf_'s pastebin will say "remove apport" :P17:02
alf_kgunn: lol17:02
alf_mzanetti: kgunn: http://paste.ubuntu.com/6966425/ , it returns an empty Snapshot if we don't have a surface for some reason. It seems that  ApplicationScreenshotProvider in unity-mir can handle that, i.e., a QImage(nullptr, 0,0) is a valid (although null) image17:09
mzanettialf_: yep, should be safe from a QImage pov. I'll verify that17:10
mzanettiexactly what I hoped for :)17:10
mzanettikgunn: what are we doing with this? merge to trunk of put into the ppa for mwc for now? I think trunk would make sense in any case.17:11
alf_all: bye!17:12
mzanettibyu alf17:13
mzanetti-u+e17:13
kgunnalf_: thanks! enjoy the evening17:14
mzanettikgunn: I need to leave too for today :/. Can you make sure this patch somehow ends up in the mir we use for MWC and first thing I'll do tomorrow morning is to verify if unity-mir can properly digest this.17:14
alf_mzanetti: It works for me (TM) :)17:16
kgunnmzanetti: yeah...i'll wrestle with it17:16
mzanettialf_: I'm thinking about generating a white surface in that case17:17
kgunnshould only take me 5x as long as you guys :)17:17
mzanettiso crashed apps hang around as white rect instead of transparent surfaces blocking mouse input17:17
mzanettiand then it'll disappear when apport is done with it17:17
mzanettikgunn: meh... you're right... let me propose a merge for it17:18
kgunnmzanetti: no worries...17:21
kgunnmzanetti:  i can do it...17:21
kgunnmzanetti: i'll just create a recipe for it17:21
kgunnmzanetti: reason being...don't quite feel comfortable promoting mir-devel right now due to some other stuff that's gone in recently17:22
mzanettikgunn: https://code.launchpad.net/~mzanetti/mir/dont-crash-when-shooting-invalid-surface/+merge/20750717:24
mzanettikgunn: ah17:24
mzanettikgunn: should I propose it against another branch?17:24
kgunnmzanetti: propose against lp:mir/devel17:25
mzanettiack17:25
kgunnmzanetti: so it will get picked up and landed probably next week....17:25
kgunnjust not today17:25
mzanettikgunn: ok, new one: https://code.launchpad.net/~mzanetti/mir/dont-crash-when-shooting-invalid-surface/+merge/20750917:26
kgunnmzanetti: ta...i'll get right on the recipe17:26
kgunnmzanetti: phone only right ?17:26
mzanettikgunn: yeah, trunk never seems to trigger this, otherwise we'd have noticed earlier I'd say17:27
mzanettibut it shouldn't hurt (TM)17:27
mzanettimaybe it even fixes some crashes we've seen very rarely17:28
mzanettiok. then. I'm off too17:29
kgunnmzanetti: enjoy the evening17:30
mzanettikgunn: meh... need to help a friend moving17:30
mzanetticarrying furniture down 4 floors17:30
kgunnoh geeeze....please be careful!....don't end up like dandrader17:30
mzanettiheh... I'll try17:31
fginther`alf_, any comments on https://code.launchpad.net/~afrantzis/mir/valgrind-suppressions-armhf/+merge/207188 and the modified hook script?17:31
mzanettioh noes. I messed with the changelog.. will resubmit17:32
mzanettifginther`: alf has gone for today17:32
fginther`thx17:32
=== alan_g is now known as alan_g|EOD
=== fginther` is now known as fginther
=== yofel_ is now known as yofel

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