/srv/irclogs.ubuntu.com/2009/03/24/#ubuntu-x.txt

superm1so i'm having a hard time making sense of https://wiki.ubuntu.com/X/Bisecting . whenever i try to operate off of one of the "ubuntu" branches, as soon as i put in the good and bad commits, debian/ disappears 03:00
superm1so i could no longer run debuild etc03:00
superm1is that the intended behavior?  03:00
tjaaltonbryce: mesa 7.4 is the stable release, 7.3 was a devel snapshot :)05:05
DarknessssenkraDHi, I have a question, can I enable UXA on intrepid ibex?06:47
RAOFDarknessssenkraD: Yes.06:50
RAOFDarknessssenkraD: Sorry, I should read the actual question.  No :)06:50
DarknessssenkraDok now I'm confused :P06:50
DarknessssenkraDso I can't :( ?06:50
RAOFThat's right.  You can't.  I was thinking of Jaunty.06:52
RAOFBoth the X driver and the kernel modules are too old to do that in Intrepid.06:52
tjaaltonbryce: I've got a new wacom-tools (0.8.2.2) with the fedora patches to support proper hotplug (with all the devices, not just stylus). will test next08:20
brycetjaalton: ok08:20
tjaaltonaccording to the fdi file it should support serial devices too08:26
brycenice08:27
bryceregarding mesa, I don't have an issue going to 7.4 if you'd like, but it should probably go in post-beta08:28
tjaaltonof course08:31
tjaaltonabout the strange crasher with intel.. the backtrace mdz got had something about libdbus-1.. I wonder if --enable-config-dbus broke something08:32
tjaaltonat least it's pretty much unmaintained upstream08:33
tjaaltonand enabled only because of the wacom daemon which is not in the archive08:33
tjaalton(by Alexia)08:33
* bryce nods08:55
brycewell, time for bed... got the desktop meeting in 6.5 hrs.  night.08:55
tjaaltonnight08:55
tjaaltonwacom hotplug works, but my device still gets the "usbParse: Exceeded channel count" errors, and the cursor doesn't move09:34
tjaaltonneed to revert one change09:35
* Ng hopes we can find and fix that intel crasher10:14
seb128what crasher?10:14
NgLP #32803510:14
ubottuLaunchpad bug 328035 in xserver-xorg-video-intel "*** glibc detected *** free(): invalid next size (fast) for xf86Wakeup() call" [High,Triaged] https://launchpad.net/bugs/32803510:14
seb128I don't get this one10:15
Ng(bryce and tjaalton had a quick chat about it a while ago, I was just chiming in because it's annoying me, but I don't have anything useful to add, unfortunately ;)10:15
seb128but my box completely freezes on xorg session switches sometimes10:18
seb128which is really annoying10:18
seb128can't use guest session or user switch since jaunty10:18
Ngerk10:18
NgI rarely use either. lemmie try Guest...10:18
tjaaltonseb128: which driver? that happens with nvidia here10:18
seb128intel10:18
tjaaltonok10:18
seb128intel 965 card on a d630 laptop config10:18
tjaaltonI'll try to reproduce on mine10:19
Ngwell that didn't go well10:20
Ngguest session started ok, but the brightness was minimal and I couldn't change it (the notifications appeared, but nothing happened). logged out of the guest session and the screen stayed black, changing VT made no difference (I think because it just wasn't changing, or the chip was so wedged that it couldn't draw anything). sysrq s and u produced disk activity, but b did nothing10:21
tjaaltonseb128: about user switch: here going back to the original user exits/crashes the second session11:48
seb128Ng: that seems similar to the issue I'm having there11:48
seb128tjaalton: I don't get that one11:49
* Ng just dropped xorg-edgers PPA in and while I haven't had time to burn it in, so far having a slightly newer driver and UXA has fixed the most conspicuous problems I was having. Hardly a good solution this close to release though :/11:50
tjaaltonNg: can't seem to reproduce the crash with the non-dbus xserver12:09
Ngtjaalton: interesting, although do you have a reliable test case? it seems to be something that happens sometimes and often only when suspended for some time12:10
tjaaltonno test case, just suspended a number of times12:11
tjaaltonI'll let it sleep for a while now12:16
=== maco_ is now known as maco
tjaaltonExamining /etc/kernel/header_postinst.d.15:51
tjaaltonrun-parts: executing /etc/kernel/header_postinst.d/nvidia-common15:51
tjaaltonrun-parts: /etc/kernel/header_postinst.d/nvidia-common exited with return code 1015:51
tjaaltonFailed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-2.6.28-11-generic.postinst line 110.15:51
tjaaltonsigh15:51
tjaaltonmvo: hey, you have ideas why that ^^ happens? here's the more complete output: http://pastebin.ubuntu.com/136835/16:02
brycemorning16:27
tjaaltonhowdy16:28
tjaaltonso, the new wacom package works properly with hotplug16:28
tjaaltonhad to revert one change in 0.8.2.2 though16:28
bryceNg: that crash happens because of a bug in the log timestamping code16:29
bryceNg: going to disable it asap16:29
tjaaltonheh16:29
Ngbryce: yeah, I saw the bug mail. very happy that's been identified :)16:29
tjaaltonhope it fixes my issues as well16:30
Ngalthough quite how time manages to go backwards while suspended.... *shrug*16:30
brycetjaalton: you've had it too?16:30
tjaaltonbryce: not necessarily the same, hard to say16:30
brycethere's enough bugs in -intel to go around, so maybe you have your own16:31
tjaaltonhmm, blinking cursor on resume16:32
tjaaltonlast time I docked it when this happened, and the kernel crashed16:33
=== maco_ is now known as maco
mvotjaalton: run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 10 - what happens if you run this manually?17:17
mvotjaalton: without the run-parts?17:18
mvotjaalton: eh, nevermind17:18
tjaaltonmvo: :)17:18
mvotjaalton: is that from a bugreport or do you get it on your system? it looks like the nvidia-common debconf tempalte got not registered with debconf for some reason17:20
superm1of maybe debconf corruption17:21
superm1wasn't there a report from stgraber that there was corruption on a fresh install somehow too?17:21
tjaaltonmvo: on my server yes17:21
mvoyep, corruption is quite possible as well17:21
tjaaltoninstalled yesterday17:21
stgraberyeah, there was a bug with debconf corrupting the template17:22
superm1bug 34764817:22
ubottuLaunchpad bug 347648 in debconf "Jaunty oem installer doesn't get run after reboot" [Critical,Fix released] https://launchpad.net/bugs/34764817:22
stgraberit's been fixed by colin last night17:22
tjaaltonoh, ok17:22
superm1so there is some benefit that i see all ~ubuntu-installer bugs :).  i thought i saw that fly by17:23
tjaaltonheh :)17:23
tjaaltonI get them too, but rarely have time to look at them17:23
tjaaltonI'll reinstall it tomorrow anyway, so if it works then it's ok17:24
tjaaltonbryce: mind pushing the xserver changes to git for easier review?18:44
tormodand please upload one of my patches for bug 328035 ...19:05
ubottuLaunchpad bug 328035 in xorg-server "X server crash: *** glibc detected *** free(): in valid next size (fast)" [High,Triaged] https://launchpad.net/bugs/32803519:05
brycetjaalton: sure19:16
tjaaltonthanks :)19:16
brycedone19:17
brycetormod: got it - https://edge.launchpad.net/~bryceharrington/+archive/ppa19:17
brycetjaalton: probably too late now for -beta19:20
tjaaltonbryce: no worries19:20
tormodbryce: I looked at the code and it seems to overflow the buffer after (ahem) 28 hours19:20
brycetormod: O_o19:20
tormod28 hours uptime should be enough for everyone :)19:21
* tormod wears a brown paperbag19:21
brycetormod: how do we not get tons of bug reports about that??19:21
bryceyou know, I've not seen crashes at 28 hrs on my machines19:22
tormodthat is one question I have - I guess small overflows 1-3 byte won't matter in many cases19:22
bryceyeah19:22
brycewell, overflow doesn't always result in crashes19:22
tormodbecause of word alignment etc19:22
bryceright19:22
tormodthe second question I have is how could Matt get such a big negative number as a time delta?19:22
bryceanyway, I guess I can say my gut was right that we should have excluded the patch for -beta19:23
tormodyes, absolutely. and your initial analysis in the bug report was correct. I only saw it today.19:23
tormodis it not worthy a BFe?19:24
bryceI think it's worth it, just that cd's are already being spun...19:25
tormodI wonder if it would resolve a number of "random" crashes after resume19:26
bryceheh19:27
bryce<bryyce> tormod has done some additional analysis and sees that there is a stack corruption after 28 hours with this patch19:27
bryce I'm kicking myself for not pulling it out earlier.  I bet a number of our "random crashes" we've gotten lately have been an outcome of this patch19:27
brycetormod: I had the same thought at the same time as you ;-)19:27
tormodMatt's time delta was -1009303149 seconds. how is that possible? is gettimeofday out whack for a second after resume? or is the casting of time intervals into int (?) the reason?19:29
brycehmm, uninitialized value vs. a signed/unsigned value19:31
tormodI was thinking signed/unsigned but that number is like 1/4 of 2^32.19:32
* bryce nods19:32
tormodbryce, btw, where was that <bryyce> quote from?19:33
bryceit's a pdx'er channel on LinuxNET 19:34
tormodpdx?19:35
brycepdx == portland19:35
brycesounds like snprintf ought to be used in that patch (or an X equivalent if it's not available)19:42
tormodwell all lengths are known, except if the number of digits of the timestamp goes above the format specification. one could print the timestamp to a (large enough) buffer first and count the characters, but then you might as well make the target buffer large enough like I did in today's patch.19:45
tormodor truncate the timestamp of course19:46
superm1bryce, what are your feelings on that bug that i went and tracked down the commits from xorg server causing the troubles with mythtv?19:50
superm1unfortunately it will make mythbuntu beta disks kinda useless unless you are using closed drivers :(19:51
mvobryce: hrm, I just fixed a bug in the fglrx -> ati transition code :/ looks like this needs to be in the beta notes that this is not working with the current u-m (the version in bzr should be fine though)19:52
brycesuperm1: I looked at it briefly last night.  Good work chasing it down.  Since the patch made it through a freeze review and cherrypicked into the 1.6 release, I assume it solves an important bug, so am hesistant to drop it outright, so think the next step would be to raise the bug upstream for input19:54
brycemvo: oh what is the trouble?19:55
brycemvo: fwiw, I have some directions on fglrx -> ati, which I tested several times and found worked on my system:  19:55
brycehttps://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver19:55
mvobryce: just a bug in update-manager, it marks the package for removal but then when it performs the upgrade forgets about that earlier marking :/19:56
mvobryce: I did a initial test today with the fix and it looks fine, I will do a full upgrade test again tomorrow that includes the fix19:57
mvobut I'm pretty positive that this will then work19:57
brycemvo: cool20:16
keesbryce: this updated patch for 160 will avoid the overflow creep: http://pastebin.osuosl.org/2507620:21
keesbryce: but I don't think upstream will take it, due to the asprintf use.20:22
bryceright20:23
brycethere may be an X equivalent.  I've added the patch to bug 328035 to keep track of it for now20:23
ubottuLaunchpad bug 328035 in xorg-server "X server crash: *** glibc detected *** free(): in valid next size (fast)" [High,Triaged] https://launchpad.net/bugs/32803520:23
keesah, cool20:23
jcristauisn't that bug caused by an ubuntu patch in the first place? :)20:27
bryceI think I'm going to require the patch to be gutted and rewritten before taking it in20:27
brycejcristau: oh stop laughing at us.  ;-)20:28
keesjcristau: heh, good point.  though I was thinking someone might want to push timestamping upstream at some point.20:28
jcristaubryce: i'd never do that. then you'd talk to me about openssl.20:28
keesheh20:28
keesbryce: this is almost certainly the source of my USB crashes.  the USB disconnect would ... write a log entry.  :)20:29
bryceaha!20:29
keesbut people doing suspend/resume, etc etc which my desktop never does would see it "right away" after 28 hours.20:29
bryceyeah, once tormod described what was going on, I wondered if this could be the source of a number of random crashes we've had.  I'll have to troll through our trackers a bit more closely20:29
slangasekjcristau: a patch following in the wonderful upstream example of sprintf and strcat, yes. :)20:31
jcristauslangasek: next you'll tell me that buffer overflows in setuid root code are bad.20:34
jcristauwhat's not to love about the X code? :)20:35
slangasekdon't make me nostalgic for xmkmf20:36
superm1bryce, ack, i'll do that, thanks20:45
tjaaltonbryce: ok, I'll mail ubuntu-devel about the new wacom-tools with proper hotplug, and ask people (in addition to davmor2) to test it20:47
brycetjaalton: great thanks20:47

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