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

* duflu dusts off the old netbook in readiness for Mesa 10.3 celebrations03:12
greyback__alf_: ping10:50
=== greyback__ is now known as greyback
alf_greyback: Hi10:51
greybackalf_: hey, I've a weird question about signals10:51
greybackduring startup unity8/mir raises SIGSTOP on itself to tell upstart that it is running, and so clients can start connecting to it10:52
greybackthis works perfectly fine10:52
greybackI'm moving that SIGSTOP emission to later in the startup, after Mir's event loop is definitely running10:53
greybackagain, works perfectly fine with upstart10:53
greybackbut we've an autopilot test that tests this behaviour too10:53
greybackso it executes unity8 manually, and waits for it to SIGSTOP itself, then resumes it10:54
greybackhowever, in this case, it appears the Mir signal handling code captures the signal10:54
greybackwhich is weird, as I didn't think it would capture SIGSTOP!10:55
greybackdo you think there's some raciness here?10:55
alf_greyback: so, SIGSTOP cannot be captured anyway, so something else is going on10:57
greybackas I'm not using run_mir, qtmir registers a signal handler for SIGINT and SIGTERM in Mir's event loop - and that seems to fire10:58
greybackalf_: hmm, it might be unrelated indeed. Something just caught my eye11:00
greybackI will dig a bit more, sorry for interruption11:00
alf_greyback: no worries, which mir version are you using?11:00
greybackalf_: 0.7.3+14.10.20140918.1-0ubuntu111:01
alf_greyback: ok, so the only way for Mir to raise a SIGTERM to itself is at mir::terminate_with_current_exception(), you could check if that is being called, otherwise the signal comes externally11:03
greybackalf_: ok, thanks. I suspect it's coming externally11:04
=== ara_ is now known as ara
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
alf_kdub_: Hi! @ read-from-buffer-msg , what's the API for returning a buffer going to look like? Something like PlatformIpcOperations::release_buffer(BufferIpcMessage& message) ?13:13
kdub_alf_, right, that's in PlatformIpcOperations::unpack_buffer(BufferI&, Buffer const&)13:16
kdub_whoops13:17
kdub_PlatformIpcOperations::unpack_buffer(BufferIpcMessage&, Buffer const&)13:17
alf_kdub_: ah, ok, so no separate call13:18
kdub_right13:18
kdub_I mean, BufferIpcMessage is somewhat unneeded in the current state of the code13:19
kdub_because we don't have anything other than protobuf13:19
kdub_but, may as well keep the ipc abstractions around13:19
kdub_oh, and, may as well not link the platforms to protobuf too :)13:28
=== dandrader__ is now known as dandrader|lunch
=== dandrader|lunch is now known as dandrader
=== davmor2_ is now known as davmor2

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