/srv/irclogs.ubuntu.com/2014/11/11/#ubuntu-mir.txt

=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== duflu__ is now known as duflu
=== Trevinho__ is now known as Trevinho_
dufluDoes anyone think we might be overloading the AsioMainLoop thread?09:12
dufluI'm assuming it's just one thread. Looks like it (one per run())09:13
dufluEspecially if we submit jobs that might entail some blocking or IO, that might explain a lot09:13
dufluAlthough that's an easy theory to test09:14
=== alan_g is now known as alan_g|afk
=== alan_g|afk is now known as alan_g|lunch
kdubI got a failure with linking libmirprotobuf and building qtmir (sbuild/armhf), is this known?14:08
kdubkinda looks like https://bugs.launchpad.net/mir/+bug/138868614:09
ubot5Ubuntu bug 1388686 in Mir "[regression] unity-system-compositor & qtmir FTBFS with Mir 0.9 source (libmirprotobuf.so.0 not found)" [Critical,Fix committed]14:09
kgunnkdub: i hadn't heard of this14:10
* kdub investigates further14:12
kgunndandrader: do you cross build qtmir ?14:13
dandraderkgunn, never14:13
dandraderdid14:13
kdubI havent gotten a cross build working, usually use emulated14:15
kgunnalf_: so reading duflu's mail about performance and thread blocking...am i wrong in thinking, there's not really a problem there?14:15
kgunni mean if a client blocks for some very small amount of time to feed the server that seems normal14:15
kgunnor do i not understand what he's describing14:16
kgunn(blocking on the server side for the full frame creation incl gpu time would be a problem)14:16
anpok_hm could frame dropping wait on a lock14:17
anpok_but it shouldnt drop in that use case..14:18
=== alan_g|lunch is now known as alan_g
alf_kgunn: I am not 100% sure either, but think what it came down to is that the thread blocking seen in the main loop is actually correct behavior (not waking up more often than required). The problem seems to be that we are not waking as often as we should in some cases.14:19
kgunnah, ok thanks...so it's not a blocking prob, it's a "remained idle and i expected it to run" prob14:20
alf_kgunn: i.e. the delays in the main loop are the effect not the cause14:21
anpok_ah run_once includes the wait for events..14:21
alf_kgunn: yes, that's my understanding, but I haven't looked in depth14:21
kgunnalf_: makes me wonder what glib spike would reflect14:22
kgunnguess we'll find out as we conclude landing14:22
alf_kgunn: unless there is a problem with either our asio or glib implementations, the behavior should be similar in terms of blocking14:23
alf_kgunn: yes, getting close14:23
Saviqhey folks, we got bug #137733215:12
ubot5bug 1377332 in unity8 (Ubuntu) "UI randomly freezes" [High,In progress] https://launchpad.net/bugs/137733215:12
SaviqJosh has been trying to look into it, but I managed to get it today15:12
Saviqand there's an interesting trace: http://pastebin.ubuntu.com/8942307/15:13
Saviqrecvmsg seems stuck15:13
Saviqin thread 2915:13
SaviqI still have the phone in that state if there's more data that could be interesting15:15
greybackSaviq: glib2.0 debug symbols please15:16
greybackSaviq: I'd like to know what thread1 is doing15:17
Saviqgreyback, hmm thought I had them, coming right up15:17
Saviqgreyback, http://pastebin.ubuntu.com/8942429/15:20
Saviqstuck on socket :/15:20
greybackSaviq: hmm, UAL symbols just to be sure what point qtmir is blocking at15:21
Saviqgreyback, yeah, was just getting them15:21
greyback:)15:21
Saviqgreyback, http://pastebin.ubuntu.com/8942460/15:23
greybackwhat went wrong there15:24
greybackSaviq: we need ted15:24
Saviqgreyback, fwiw I just pressed my last passcode number15:24
greybackSaviq: is unity8-dash running?15:25
Saviqgreyback, yes, SIGCONT'ed even15:25
Saviqgreyback, with qtmir http://pastebin.ubuntu.com/8942528/15:26
Saviqyikes that's a deep bt15:26
greybackSaviq: it appears upstart isn't replying to the request UAL is putting to it, so everything blocks15:27
greybackwhy that happens... I can't say15:27
Saviqtedg, you about?15:28
tedgSaviq, Depends on the question. Easy or hard?15:31
tedgHmm, that's not good.15:32
tedgNot sure how we can block on the cgmanager connection.15:33
tedgSaviq, How did you get there? Long running or a first time thing?15:33
ogra_greyback, https://bugs.launchpad.net/bugs/1391076 ??15:33
ubot5Error: ubuntu bug 1391076 not found15:33
greybackogra_: bug not found..15:34
ogra_greyback, well, by the bot :P15:34
greybackoh I can see it, duh15:34
ogra_yeah, i didnt know what to file it against originally15:35
ogra_sounds a bit similar and i wouldnt mind duplicating it15:35
ogra_if someone confirms it is)15:35
greybackogra_: yeah. Lockup never easy for me to repro, will keep at it15:36
ogra_though for me the whole UI stalls ... not sure that is what the bug describes15:36
ogra_(and i dont have any process consuming much)15:36
Saviqtedg, I was just using the phone for a bit15:38
Saviqtedg, have stopped/started some apps15:38
Saviqtedg, and then I tried to log in again, and after I tapped the last number in my passcode, it got stuck15:39
Saviqtedg, so it was probably trying to resume an app15:39
tedgSaviq, Hmm, okay. So it's probably talked to cgmanager before though, when all the other apps started.15:40
Saviqtedg, definitely, uptime is 2:1515:40
tedgSaviq, Do you have anything in your cgmanager log?15:47
tedgSaviq, /var/log/upstart/cgmanager*15:48
tedgOr cgproxy I guess, but I don't think it'd be there.15:48
=== chihchun is now known as chihchun_afk
Saviqtedg, http://pastebin.ubuntu.com/8942980/15:56
tedgSaviq, So assuming we can't find anything useful out from cgmanager, I think one of our only choices is to timeout on the connection. It'll be suboptimal, but at least Unity won't hang.15:56
Saviqtedg, sounds like a plan, it will reconcile itself after you stop and start an app again anyway, right?15:57
tedgSaviq, Yeah, we'd just miss a pause or resume, or worst case a connection on startup. But it seems to be rather rare.15:57
Saviqtedg, yeah, definitely better than hanging15:57
=== dandrader is now known as dandrader|lunch
tedgIt's going to make my code significantly less pretty though ;-)15:58
kgunnSaviq: so is this the same bug as ogra_ posted ?15:58
Saviqkgunn, symptoms are definitely the same15:58
Saviqtedg, could you comment on bug #1377332 please and add tasks as appropriate16:01
ubot5bug 1377332 in unity8 (Ubuntu) "UI randomly freezes" [High,In progress] https://launchpad.net/bugs/137733216:01
tedgk16:04
=== dandrader|lunch is now known as dandrader
=== om26er_ is now known as om26er
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== qengho is now known as CardinalFang
=== CardinalFang is now known as qengho

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