[00:07] bregma, I've got a pristine checkout of lp:utouch-geis here [00:07] make check is failing for GeisSubscriptionTests.duplicate_window_subscription [00:07] gtest_subscriptions.cpp:91: Failure [00:07] Expected: (GEIS_STATUS_SUCCESS) != (geis_subscription_activate(sub2)), actual: 0 vs 0 [00:07] mistakenly activated subscription 2 [00:08] we'll need to get that fixed before releasing anything [00:21] so how does your utouch stack differ from my utouch stack (I've had a few pristine checkouts since that test went in and it continues to pass on every rebuild) [00:25] hmm [00:25] I don't know [00:25] I'll have to investigate [00:25] in the meantime, I'm finding a geis bug where the number of touches in a geis gesture is not being set properly [00:25] I'm tracking it down [00:25] well, I think it's a geis bug :) [01:30] oh right, it's a grail bug that I wrote a fix for but hadn't gotten around to writing a testcase for [01:31] is there a bug for it? [01:37] not yet, though I think it's a separate issue again === MacSlow is now known as MacSlow|lunch === MacSlow|lunch is now known as MacSlow [15:16] * bregma stands up, looking around..... [15:17] Working on #950974, deployed BuildService server to staging jenkins, updated documentation on builder setup [15:17] * tvoss stands up as well [15:17] I'm working on a utouch bugs that are resulting in issues in unity [15:17] cnd, dandrader, ping [15:18] tvoss, pong [15:18] I may have a fix for bug 940308 [15:18] I'm working on making that 3-touches gesture to move windows around work again (in unity code) [15:19] dandrader, just ping'd for standup :) [15:19] tvoss, does the merge proposal script work now? [15:20] yeah, I'm preparing a follow-up mail on the call for testing and send out instructions [15:20] cool [15:20] you do not need to interact with script any more [15:20] tvoss, a web ui now? [15:20] dandrader, yeah, a very simple one, but a web ui ;) [15:21] cool [15:21] or curl, if you like that better [15:21] I'm beating my pulpy head against the wall trying to figure out why the basic compile checks segfault when utouch-geis is buitl in a PPA (and not in a pbuilder) [15:21] i've now problems with a web ui [15:21] s/now/no [15:23] bregma, is it always failing or only on some builds? [15:23] always fails, only in PPA === dandrader is now known as dandrader|afk [15:41] bregma, I remember a thread on some mailing-list about "corrupt" ppa builders [15:41] bregma, for that I asked === dandrader|afk is now known as dandrader [15:48] I don;t think that's the problem here, more liekely something to do with PPA kernels disallowing pipes to be opened from built apps or something [15:49] I beleive I can force a stacktrace but the build backlog is on the order of hours, so turnaround is slow [15:49] it feels like software development in the 1980s again [15:59] * tvoss sighs === dandrader is now known as dandrader|lunch [17:41] bregma, got an issue with geis that we can resolve in a couple ways [17:41] when a "system" geis v1 tap subscription is created [17:41] the min touches is set to 1 instead of matching the start touches [17:42] what ends up happening is a tap gesture is recognized by grail, but it continues to send events all the way down to when only 1 touch is left on the device [17:42] so if you do a two-touch tap you might get from grail: [17:42] gesture begin: 1 touch, no gesture [17:43] gesture update: 2 touches, no gesture [17:43] gesture update: 1 touch, no gesture [17:43] gesture end: 1 touch, tap recognized [17:43] because geis v1 does not allow for tentative events, we transform that into one geis v1 event: [17:44] geis gesture update: 1 touch, tap recognized [17:44] when it should have been: [17:44] geis gesture update: 2 touch, tap recognized [17:44] I'm thinking the best way to resolve this is to only set minimum touches to 1 for non-tap system gestures [17:45] what do you think? [17:45] did it not give the 2-tap gesture event? [17:46] grail is giving a "gesture", which in the end slice is a 1-touch tap [17:46] but in the middle of the gesture there was a slice with 2-touches [17:46] but only the end slice is transformed into the geis v1 gesture event [17:46] which is why it says only 1 touch [17:47] I mean the original grail, you;re saying it never gave the 2-tap gesture? [17:47] the original grail probably did not honor the system flag for tap events [17:47] mmm [17:48] an alternative would be to keep the max touch count of a gesture in the geis gesture state [17:48] and when emitting a tap gesture, emit it with the max number of touches [17:48] but then we have to keep around more state, such as each touch position [17:49] I think that would be a hairy solution [17:49] that would effectively be moving gesture recognition out of the recognizer and into geis [17:49] yeah [17:50] a tap event is already a special case, what with not haveing a begin and an end [17:50] I see nothing wrong with treating it special in other ways [17:50] bregma, is not setting the min touches to 1 for a system tap gesture alright with you? [17:51] I can whip up a patch for it fairly quickly I think [17:51] yes, I'm fine wit hthat [17:51] ok [17:52] ... it looks like the build failures I see in the PPA are _bash_ segfaulting, not the test program [17:52] curiouser and curiouser [17:53] bregma, it looks like bash segfaults when the program executed at make check segfaults [17:53] that's been my experience [17:53] bregma, do you have the build log url? [17:53] I can see if it matches what I've seen before [17:54] https://launchpadlibrarian.net/96910377/buildlog_ubuntu-precise-i386.utouch-geis_2.2.6%2Br217%2Bp159~ppa2_FAILEDTOBUILD.txt.gz [17:54] in this run, I run the test program in valgrind to catch and display a traceback of the segfault [17:54] ahh [17:55] yeah, this is the test segfaulting [17:55] not bash [17:55] bash still appears to segfault [17:55] you mean, the test segfaults and valgrin is not catching it? [17:55] bregma, are you referring to this line: /bin/bash: line 5: 30068 Segmentation fault valgrind ${dir}$tst [17:55] ? [17:55] yep [17:55] yeah, I've seen that exact message before [17:56] it's not bash segfaulting, it's valgrind [17:56] I thought the same thing when I first saw it [17:57] and RAOF told me what's really going on :) [17:57] I have no idea why those tests would segfault though... [17:57] I have always assumed it's the app segfaulting, but it makes no sense valgrind would be degfaulting here [17:58] bregma, maybe remove valgrind and add a signal handler to the testcases to get a backtrace? [17:58] it's a pretty heavy-handed approach, but it might work [17:58] I added valgrind to get the backtrace -- valgrind will give a backtrace if the app it's running segfaults [17:58] without valgrind you get the same message, except without the valgrind [17:59] hmm [17:59] as you can see, valgrind is not catching any errors with the app [17:59] what if it's segfaulting at program exit/cleanup time? [17:59] the package builds cleanly using sbuild and pbuilder on my machine [18:00] maybe the code would be run at valgrind exit/cleanup time too [18:00] which would be why it appears that valgrind finishes running the test [18:01] so what's in the PPA that selective segfaults any program run in several nested bash shells (like the automake CHECK targets here) that does not occur without the nested shells and does not occur in an sbuild elsewhere? [18:01] it has to be something ni the buildd's custom sbuild environment [18:02] bugs could be dormant on some systems and not others [18:02] I don't know we can be sure that the environment is different in a systematic way [18:03] well, it's the same up-to-date precise distro, it's both x86 and amd64 architectures, and it consistently fails in various PPAs and consistently passes in clean sbuild and pbuilder images [18:04] it wouldn't be so bad except for the build delays in PPAs [18:05] yeah [18:06] bregma, maybe add geis_delete() and see if it fixes things? [18:07] bregma, I assume your valgrind run would output any stack or heap corruption? [18:08] valgrind has always been useful to find errors like that, it's kinda the point [18:09] I will crank up the volume of valgrin messages and see what obtains [18:11] yeah, I just wanted to make sure you weren't somehow disabling that === dandrader|lunch is now known as dandrader [18:45] cnd, in Geis, what's the difference between the centroid and the position of a gesture? [18:45] dandrader, there isn't, it's a bit of a snafu [18:45] IIRC [18:46] there was a big issue of how to handle two ways of defining gesture motion [18:46] centroid + full affine transformation [18:46] or center of rotation + rotation + multiplication [18:47] in the mix of the discussion, we added a centroid parameter, but it should be the same as the position parameter [18:47] we needed to add a center of rotation parameter instead [18:47] which we never did... [18:48] no one has asked for it, so... [18:48] :) [18:48] ok, thanks for explanation [18:50] * bregma slaps forehead with dead fish and mumbles something unintelligible about libtool [18:52] bregma, did you figure it out? [19:06] bregma, wow, geisv1 has a badly broken api :( [19:06] the xcb window info takes a uint32_t window id [19:06] but X Window is typedef'd to a long [19:07] so on 64-bit, the geis v1 window id only holds the lower 32-bits [19:07] it probably won't matter too much, but it's quite an oversight [19:08] hi [19:08] burli, hi === tvoss is now known as tvoss|dinner [19:09] hi cnd. The guy I want to see ;) [19:09] :) [19:09] Currently I'm trying Kubuntu-Active. [19:09] Same problems like with Unity-3D [19:09] add a comment to the bug report https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/949791 [19:10] burli, I've seen a few reports about it [19:10] I can't seem to reproduce it here [19:10] but I may have a commit that would fix it [19:11] burli, are you capable of compiling a branch of utouch-grail to see if it's fixed? [19:12] cnd, I can try [19:12] burli, to make sure you have all the dependencies you need, run "apt-get build-dep utouch-grail" [19:13] just a second [19:14] then, check out the branch: bzr branch lp:~chasedouglas/utouch-grail/tap-accept-v2 [19:14] cd into it [19:14] run: ./autogen.sh && ./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --with-xi [19:14] make [19:14] sudo make install [19:15] log out and back into unity 3d and see if it fixes things [19:15] hang on. let me first install all updates [19:17] ok [19:17] I've got all day, so don't worry about time :) [19:20] need to install bzr first ;) [19:23] heh [19:24] cnd, x86_64? [19:24] burli, are you on i386? [19:24] shure [19:24] ok [19:24] use --libdir=/usr/lib/i386-linux-gnu [19:25] ok [19:26] cnd, 64 Bit on an Atom CPU with 1GB RAM is not a good idea ;) [19:27] suit yourself :) [19:27] ok, compiling [19:27] ok, no errors [19:28] good :) [19:28] well, lets see [19:29] no, sorry. nothing changed [19:29] let me reboot [19:31] hm, strange. let me test something [19:38] cnd, ok. Same problem. I can do something for a few seconds. [19:39] burli, ok [19:39] burli, I need you to try to figure out the simplest way to always trigger the bug [19:39] for example move the hover icon from onboard or drag a select box on the desktop [19:39] that may be tapping over one window [19:40] burli, dragging a select box once will trigger the bug? [19:40] let me try again something [19:41] k [19:42] it's confusing [19:49] ok. first, I can't use the panel all the time, doesn't matter what I do. Not even F10 works. [19:49] wait, got a bug [19:50] Its the second time that nautilus crashed [19:51] nautilus crashed with SIGABRT in raise() [19:51] cnd, got the 3-finger drag working again! (with hit test method) [19:51] dandrader, sweet! [19:52] I'll be able to test it on my touchscreen here too [19:52] dandrader, did you get rid of the XQueryTree call too? [19:52] ok, next: I can open the launcher with the Super key directly after login and drag the launcher icons for a few seconds. [19:53] cnd, yes [19:54] dandrader, \o/ [19:55] :) [19:55] burli, do you mean you drag one launcher icon to reorder it in the dock? [19:55] and then your touch is broken? [19:56] cnd, not reorder. just scroll all icons up and down [19:56] ok [19:56] I copied a file to my desktop folder and relogin [19:56] I can drag this file twice, than touch is broken [19:57] let me try something different [19:57] burli, I worry that this may be exacerbated by the slowness of your system [19:57] but I'll try those [19:58] my unity 3d touch screen system is a quad core i7 [20:00] cnd, I try to drag the file for a longer time. than I dropped it and drag it again for a while. Works fine so far. If I try to drag it again it doesn't work [20:01] ok, now I can drag it only once [20:02] burli, btw, I'm tracking this issue in bug 949791: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/949791 [20:02] this is my report ^^ [20:03] ahh, ok [20:03] right [20:03] I was thinking of another bug [20:04] are you shure this is a performance issue? Unity-3D runs fine on my netbook [20:04] I think I started commenting on the other bug instead of your bug by mistake [20:04] burli, it's not that unity 3d shouldn't be able to run on your machine [20:05] just that the bug may only manifest on a slower machine [20:05] which would explain why I haven't seen the bug yet [20:05] ah, ok [20:05] If you are in germany I can send you my tablet for testing ;) [20:06] cnd, where do you live? [20:08] burli, portland, OR [20:08] US [20:08] ouch. thats to complicated [20:09] burli, I'm sure we'll be able to fix it [20:09] I am working on all the bugs I can find involving utouch [20:10] I'm wondering that nautilus crashed twice [20:10] did not crash on unty 2d [20:10] unity [20:11] ooo... it's already 1:12 [20:11] I need to get some lunch [20:11] biab [20:12] hehe [21:06] bregma, when you ran the tests under valgrind, did you run valgrind ./test? [21:07] if so, that won't work since ./ is a script to run the progname under .libs [21:07] maybe that's what you meant when you cursed at libtool earlier? [21:09] yeppurs [21:10] valgrind needs --follow-children or something like that [21:10] or else libtool execute valgrind, but that would miss the shell [21:10] looks like the problem is that the kernel used in the PPA does not support epoll [21:11] interesting... [21:11] in an unpleasant sort of way [21:11] bregma, does that break all geis tests? [21:11] or is there a workaround for when epoll isn't available? [21:12] it will break geis [21:12] I have another build pending that will reveal more details of why epoll_create() is failing [21:12] ok [21:12] I guess we might have to disable tests when building in the archive [21:13] do you think it's ppa only? [21:14] I believe PPAs use the exact same buildd used by the distro [21:14] generally they don't [21:14] it's a separate system [21:14] are you sure/ [21:15] I don't know all the details, but I think the setups are very different in implementation [21:15] whether that makes a difference in the build environment, I don't know [21:15] when I asked for arm builders for some dx-touch ppas [21:15] they seemed to need to flip a switch to make them build on a different set of buildds [21:16] I remember something about virtual builders vs regular builders [21:16] do you know weher to ask for more information on all this stuff? [21:16] *shere* [21:16] I think #soyuz [21:16] hot spit, I mean _where_ [21:16] nope [21:17] soyuz is the project [21:17] I think #launchpad is the irc channel [21:49] cnd, you can try this one lp:~dandrader/unity/geisv2/ [21:49] it has the 3-touches drag fix [21:49] dandrader, I will in a bit [21:49] I'm knee deep fixing other issues [21:49] 4-touches drag and 4-touches tap behave way better as well [21:50] I'm currently fixing timeout calculation now that atomic gestures must wait for the composition time :) [21:50] sweet [21:50] hopefully with some stuff I'm working on they will be perfect [21:50] I bet it must be because of the kinds of subscriptions done [21:50] I have around 3 fixes I'm currently working on [21:51] cool [21:52] hopefully it fixes the craziness I get when I just apply the 3-touches fix on top of unity trunk (without all the geisv1 -> geisv2 refactoring) [21:53] one of the particular bugs I'm working on is geisv1 only [21:53] so it might [21:53] the number of touches in a tap gesture are reported incorrectly in geisv1 right now [21:54] I was thinking we might want to spin a grail release early next week [21:55] bregma, yeah, after a couple fixes I have in the queue [21:55] the next freeze is next thursday anyways [21:55] so we need to get stuff out by then [21:56] if you all could all the fixes you want in to the next milestone, we'll know when we're ready because they're all committed [21:58] yeah, I should do that [21:58] the problem is that I'm trying to solve one bug, and I'm already up to 3 necessary fixes [21:58] and I think I need to fix a fourth [21:59] 2 in geis, 2 in grail [22:15] bregma, have you filed the FFe for the geis accept/reject? [22:31] not until I have it building in a PPA [22:32] PPAs run kernel 2.6.24, I need 2.6.27 but I think I can maybe fall back to an older epoll_create() if the first try fails [22:33] either way the code path for handling epoll_create() failure needs fixing [22:33] bregma, we need to file the FFe today [22:33] I think they've started approving FFes at the release team meeting on friday mornings [22:33] is that going to be possible? [22:34] OK, I don't need the build working to file the FFe, especially now I know why it was failing [22:35] k [23:01] bregma, a tap event in geis v1 should come across as one update event [23:01] no begin or end events [23:01] right? [23:17] "should" is a strong word: yes, that's the way it did come across