[00:07] I dunno...I dont understand enough about the problem to think of anything better than DispatchableFactory I guess [00:07] arranger/provider/source etc none really seem to add anything [00:07] I think I'm going for Dispatcher vs Dispatchable. [00:09] mm. Despite it being a subject of some debate I'm in to -er suffixes ;) [00:47] I've still never understood the point of this [00:47] auto foo(int bar) -> return_type [00:47] pattern [00:49] As far as I'm aware it's only vaguely interesting when you're doing crazy stuff. [00:50] *Or* when you don't want to have to specify namespaces. [00:50] (As the -> return_type is implicitly namespaced by whatever scope foo is in) [00:50] I don't know why we use it, because I don't think we ever use either of those properties. [00:50] AFAIK we just use it as a confusing alternate syntax :) [00:52] I wish we wouldn't [00:52] do things like that :/ [00:52] lol [00:52] Yeah, we might want to put it in the style guide. [00:52] Seems you are right and that all the uses come around.... [00:52] yeah mostly crazy stuff...when the return type is templated [00:52] or dependent on template parameters I guess [00:52] like auto foo (T a, T b) -> decltype(a + b) [00:53] is apparently [00:53] a thing [00:53] Right. [00:53] :) [00:55] approaching EOD :) [00:59] p.s. buffer stream done but I want to manualyl test screencast, etc [00:59] which...I didn't quite get too today [01:00] Woot! [01:00] Please subscribe me to that when you submit it. [01:00] I'd like to see what my suggestion hath wrought. [01:01] ♪ Let the moonlight / take the lid / off your dreams ♫ [01:01] :) [01:51] Hm. [01:51] std::shared_ptr>>> is appearing in my code. [02:57] RAOF: That looks suboptimal [02:57] For human readers [02:58] Although part of the problem is just verbosity in the language. sp> would be slightly better === 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 === 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 === 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 [06:15] There will come a time when I don't have to merge trunk into the platform probing branches more than once a day. [06:30] RAOF: Been there. Sometimes on the same branch every day for many months :P [06:30] duflu: If you can work out some way to use rpath that *doesn't* involve having somewhat-fragile code in libmirserver/libmirclient (or something they link to) go ahead :) [06:31] RAOF: One last request: Sanity check again that our parallel version installs won't break [06:31] We don't want to regress on that one [06:31] Already done so. [06:32] Jolly good. Enjoy your evening [09:25] duflu: alf__ should we commit lp:~vanvugt/mir/fix-1401365 directly to help clear CI? [09:25] alan_g: I would think so [09:26] OK, I'll do it [09:30] Ta [09:43] alan_g: duflu: There is also https://bugs.launchpad.net/mir/+bug/1401364 [09:43] Launchpad bug 1401364 in Mir "CI test failure in multiple tests" [High,In progress] [09:43] alan_g: duflu: It's not clear if the leak is an effect or the cause. Like duflu, I can't reproduce it locally. [09:44] Yay. Kind of hard to bisect if only Jenkins can reproduce it [09:44] alf__: yes. But you'd grabbed it so I wasn't duplicating effort (yet) === dandrader is now known as dandrader|afk [09:56] alan_g: Do you know if adding noexcept to a method is an ABI break? [09:57] Hmm. [09:59] ABI isn't directly mentioned in the standard. But it IIRC noexcept isn't part of the type (i.e. one can assign function pointers) so the implication is "no". [10:09] alf__: @lp:1401364 it looks as though the "leak" is irrelevant - we get leaks in the forked processes because we call exit() to prevent them continuing to run the tests. [10:15] alf__: @lp:1401364 looking at the tests that fail it is suggestive that the exit code from the client is based on the valgrind error, when it should be the the exit code we return from the client. (There was some magic incantation about this - maybe that is what broke...) [10:18] alan_g: Locally, when running the tests I don't get any "definitely lost" leaks, even though the forked processes still call exit() the same way === dandrader|afk is now known as dandrader [10:23] alf__: FWIW I find the same. [10:28] can I mix mir_surface_get_current_buffer with eglSwapBuffers? [10:28] on android [10:33] mlankhorst: I think so. Better ask kdub later in the day. [10:33] mlankhorst: to make sure [10:35] ok [10:35] i'm trying to get rid of the glitching on android [10:40] alf__: I can reproduce using valgrind --error-exitcode=1 --trace-children=yes --leak-check=full --show-leak-kinds=definite --errors-for-leak-kinds=definite bin/mir_acceptance_tests --gtest_filter=ClientLibraryErrors*:ClientLibraryThread* [10:48] alan_g: Nice! In particular it seems that ClientLibraryErrorsDeathTest* messes up things somehow [10:50] alf__: I'm happy toback off now and let you investigate. Or should I did deeper? [10:52] alan_g: I have a lead to follow now. If I get stuck I will let you know, thanks. [10:52] yw [10:56] alf__: but on android should eglSwapBuffers in a mir application block? [10:59] mlankhorst: eglSwapBuffers with a mir EGLSurface needs to contact the server, so it can block until the server gives it another frame back [11:03] hey all, we've been getting random usc crashes on vivid, it's starting to look android-input-related: bug #1401488 [11:03] bug 1401488 in unity-system-compositor (Ubuntu) "unity-system-compositor assert failure: *** Error in `unity-system-compositor': corrupted double-linked list: 0xaa817808 ***" [Undecided,New] https://launchpad.net/bugs/1401488 [11:05] alf__: yeah, but I was still getting some glitches, do I need additional sync on android if I move my swapbuffers to a separate thread? [11:41] Saviq: it looks corrupt heap related. The fact that android-input is allocating memory at the time doesn't make it the cause (or exonerate it). [11:42] * alan_g tries to remember how to run USC under valgrind [11:42] alan_g, if it matters, it always happened for me when interacting with the screen [11:42] and yeah, it's not easily reproducible, it's not rare, but totally random [11:47] USC won't be doing much memory management when you're not interacting with the screen [11:52] alf__, hey, so I have the desktop-next iso working under VMWare, can I somehow control the screen size? [11:56] Saviq: I don't know if the KMS driver exports any other modes besides the default one. Could you try the mirout utility to see if there are other modes available? [11:57] alf__, hmm "could not connect to a display server", should I run as root or something? [11:58] alf__, ah, got it, connected to usc [11:58] alf__, yeah, there's plenty modes [11:58] Saviq: can you pastebin them please [11:58] * Saviq tries [12:02] alan_g: https://code.launchpad.net/~afrantzis/mir/fix-1401364-death-test-leaks/+merge/244414 [12:04] alf__, http://paste.ubuntu.com/9475199/ [12:05] alf__: looking [12:07] Saviq: so VMware tells us that the recommended/native mode is 800x600@60 so we choose that. I don't know what would happen if we chose a different mode (i.e., if the modes are actually supported). [12:08] alf__, ah, I can change the resolution in the VM settings, /me tries [12:09] Saviq: one thing to try is to run mir_demo_server_shell and use mir_demo_client_display_config to change the mode to see if it can actually be changed. [12:09] Saviq: this won't help with USC but it will let us know if the modes are actually supported [12:09] alf__, I'll try and have a look [12:11] alf__: I don't see any change in behaviour [12:11] alf__, FWIW, changing the VM settings didn't change much [12:15] alan_g: What did you try? When running the command you pasted before without the fix I get leaks in ClientLibraryThread* tests. With the fix I don't. (Leaks in ClientLibraryErrorDeathTest are normal and expected for the forked processes). [12:17] alf__: exactly that [12:20] And I still see the test failures [12:25] And yes I do have the changes and saw the recompile [12:31] alan_g: Is this a clean build of the proposed branch, or did you apply the changes to an older branch? [12:31] Just merged it to an existing copy of trunk [12:43] guys, what is responsible of calling frame_posted in the client? is it eglSwapBuffers? if so in which part of mir does it "hook" that call? [12:44] alan_g: Hmm, not sure what's going on then. I built again from scratch (clean trunk no existing build directory, merged fix branch, cmake .. -Duse_debflags=true), it works with the fix and it breaks if I revert the fix. [12:45] alan_g: Let's see what CI thinks of it. [12:45] alf__: I'm approacing lunch - I'll wait and see what CI does. === 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 [13:47] alf__: FWIW I left a clean build running over lunch - and still see the failures. Weird [13:54] alan_g: indeed... and s-jenkins isn't accessible to get an early peek at how the CI build is going [13:57] * alan_g broke his tablet by trying to debug USC (and now it goes into a reboot loop) [13:59] alan_g, you can ubuntu-device-flash --bootstrap from the bootloader screen [14:00] kdub: yeah. I know. But I'd rather be able to boot to a command line and revert config edits === chihchun is now known as chihchun_afk [15:15] alan_g: hey, could I get you to merge qtmir trunk into your refactor-after-migrate-to-mir-Server-API branch? [15:15] greyback_: you could [15:16] alan_g: branch is not under a team, but your username [15:27] greyback_: pushed [15:27] alan_g: thank you === alan_g is now known as alan_g|EOD [18:32] kdub, hi. So I've arrived at the conclusion that the compositor stops after a while the server is running. [18:32] (I think the _render_to_fb demo uses another mechanism as it works fine) [18:33] well, the render_to_fb is a subsystem [18:33] kdub, ok, but has it got its compositor? [18:34] not the same one as the server [18:34] kdub, so it starts it internally in another way than the other servers [18:35] or I can't explain that the same thing woks in a case and in the others no. [18:35] right, maybe a backtrace from where it hangs or crashes would help [18:37] greyback_: Just checked out lp:qtmir to build it and getting problems about no FindGMock...have you run in to this? Did we miss some files or something? [18:44] kdub, installing the debug symbols packages [18:45] kdub, anyway really I don't get errors on the server with gdb when the compositor stop [18:45] right, it could be hung [18:46] Anyone have a branch of qtmir that works with lp:mir? [20:03] kdub, do you want a strace of the server? [20:05] mibofra, maybe not, unless you see something interesting [20:06] not really [22:47] kdub, any ideas? === LockeAnarchist- is now known as LockeAnarchist [23:08] kdub, if you have any idea or remember some particular debug process to see why the compositor stops, let me now [23:08] *know [23:08] I'm here