/srv/irclogs.ubuntu.com/2014/06/09/#ubuntu-mir.txt

=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== alan_g_ is now known as alan_g
=== ogra_ is now known as 1JTAAEF0J
=== ogra_ is now known as 1JTAAEF3J
=== chihchun is now known as chihchun_afk
=== dandrader is now known as dandrader|afk
=== alan_g is now known as alan_g|lunch
=== dandrader|afk is now known as dandrader
=== alan_g|lunch is now known as alan_g
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== alan_g is now known as alan_g|EOD
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== jono is now known as Guest90711
mterryHey folks!  I'm trying to figure out lifecycle event management for mirserver instances.  If USC gives the mirserver a life cycle event, which piece of code might end up calling SIGSTOP on the shell?19:14
mterrykdub_, racarr__ ^ ?19:17
=== dandrader is now known as dandrader|afk
racarr__mterry: "Calling SIGSTOP on the shell"A20:16
racarr__?20:16
mterryracarr__, well20:19
mterryracarr__, what seems to happen is that the unity8-greeter *sometimes* will be SIGSTOPPED when inactive20:19
mterryracarr__, seemingly due to Mir lifecycle management20:19
mterryracarr__, the unity8 shell doesn't seem to have this problem20:19
racarr__interesting, and they are both usc clients?20:20
mterryracarr__, and the greeter doesn't always.  I'm trying to trace down the origin of the SIGSTOP20:20
mterryracarr__, yeah20:20
mterryracarr__, platform-api has some code to SIGSTOP, but I didn't think USC ran the platform-api code.  Does Mir do any default interpretation of those events, or does it simply pass them on to clients?20:21
racarr__prettysure it just passes it on...maybe platform API does some interpretation20:21
racarr__I dont think things are wired to sigstop themselves though?!20:22
racarr__so lets see whats going on20:25
racarr__mterry: So the normal process lifecycle management sigstop stuff20:25
racarr__is processcontroller.cpp in unity-mir...20:25
racarr__there is also this weird20:26
racarr__serverstatuslistener.cpp20:26
racarr__which raises SIGSTOP as part of some dance with upstart...20:26
racarr__maybe that is your offender20:26
mterryracarr__, right20:26
mterryracarr__, I don't *think* so20:26
mterryracarr__, not the upstart bit though.  greeter doesn't set that variable and there is no corresponding SIGCONT for that one20:26
racarr__(the second part of that could be the problem though right?)20:27
racarr__second argument to signal handler, siginfo_t20:27
racarr__has pid of sender20:27
racarr__so maybe best to start there20:27
mterryracarr__, well the greeter CONTs fine20:28
mterryracarr__, and will STOP/CONT as it becomes active/inactive20:28
mterryracarr__, and processcontroller looks like it's used for shell apps, not shells themselves.  :-/20:29
mterryracarr__, good point about pid of sender20:29
* mterry goes afk for a bit20:30
racarr__mterry: Yes...I don't think processcontroller could be involved...20:30
racarr__I was just trying to locate all the sigstops lol20:30
mterryfair!20:30
racarr__the one in platform API is for the old surface flinger compatibility20:30
mterryracarr__, oh really?  You don't think that's still used?20:30
racarr__errr let me look more carefully lol but I dont think so20:30
mterryracarr__, the stuff in default_application_manager.cpp is what I was looking at.  Not sure when it's used though20:31
racarr__yeah 98% sure thats its the old20:31
racarr__surface flinger out of process window manager20:32
racarr__thing20:32
=== dandrader|afk is now known as dandrader
mterryracarr__, I would love it if we just deleted all non-Mir ways of doing things20:32
racarr__I kind of thought I heard we had done that lol20:33
racarr__but apparently now20:33
racarr__not20:33
* mterry goes afk for realz20:33
racarr__cya20:33
kdub_mterry, i've seen bad drivers use signals (maybe even sigstop)20:38
kdub_AlbertA, with usc and alpha, is it that the nested display doesn't fill the alpha channel?23:46
kdub_i'm finding I have to disable the alpha blending to get pixels with the overlay work23:46

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