/srv/irclogs.ubuntu.com/2007/12/15/#ubuntu-x.txt

ubotuNew bug: #150572 in libx11 (main) "gnome-panel crashed with SIGSEGV in _XimServerDestroy()" [Medium,New] https://launchpad.net/bugs/15057211:55
ubotuNew bug: #137735 in xserver-xorg-video-via (main) "[gutsy] wine causes hard lockup - every time" [Undecided,Confirmed] https://launchpad.net/bugs/13773513:14
ubotuNew bug: #132000 in kdebase (main) "Clicking on OpenGL in KInfoCenter freezes up the system in Gutsy (dup-of: 137735)" [Undecided,Confirmed] https://launchpad.net/bugs/13200013:26
ubotuNew bug: #147269 in kipi-plugins (main) "[gutsy] When clicking on tools > Image Viewer; the PC freezes (dup-of: 137735)" [Undecided,Invalid] https://launchpad.net/bugs/14726913:26
ubotuNew bug: #176555 in libx11 (main) "libx11-6 / libx11-data conflict during upgrade from Dapper" [Medium,Confirmed] https://launchpad.net/bugs/17655514:46
ubotuNew bug: #176562 in linux-restricted-modules-2.6.22 (restricted) "Config fails in low memory machine (64MB) " [Undecided,New] https://launchpad.net/bugs/17656215:36
ubotuNew bug: #149507 in xorg (main) "Amarok's "global hotkeys" become stuck often" [Undecided,New] https://launchpad.net/bugs/14950716:45
pochuhey there. Every video I play is played in black&white colours, but they are full-colour. slomo told me this was X fault, since I tried running them with a different engine from mplayer and it was the same. Also, while trying to reproduce them, I've had some X crashes, one of which I reported as bug 173265 (the backtrace is completely useless). Is there something I could do to help debugging this?19:11
ubotuBug 173265 on http://launchpad.net/bugs/173265 is private19:11
pochuThis is with an intel gma 915 and the -intel driver19:11
pochu(hardy up-to-date)19:12
jcristauwhich xv adaptor are you using (textured or video)?19:13
pochuI don't really know, and I can't find on X/Debugging how to find it.19:21
pochu(II) Loading extension XVideo19:21
pochuNot sure if that means video - that's in Xorg.0.log19:21
jcristaumplayer allows you to choose which one19:21
pochuah19:22
jcristaumplayer -vo xv:port=<number>19:23
jcristauget the number from xvinfo19:24
pochumplayer -vo xv /path/to/file19:24
pochuok19:24
jcristau(each adaptor has a "port base" line)19:25
pochumplayer -vo xv:port=73 Desktop/andando10.mp4 - black&white19:27
pochuI only have one adaptor so the number should be the good one19:27
jcristauhmm, i thought only the 965 didn't have a video adaptor19:28
pochu915 mobile, that is19:29
pochu00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04)19:29
jcristauaiui, the textured adaptor is using the 3d engine to display video, so maybe there's a bug in that part of the driver on your hardware19:32
pochuI've seen more bugs on lp with similar descriptions (playing a video in totem and then crash!) - bug 175303, bug 17457119:34
ubotuBug 175303 on http://launchpad.net/bugs/175303 is private19:34
ubotuLaunchpad bug 174571 in xorg-server "Xorg crashed with SIGSEGV" [Medium,Incomplete] https://launchpad.net/bugs/17457119:34
pochudunno if they have the same hardware or not19:34
pochuIs it crazy to try to get the crash when running X under gdb? I've never done that before19:35
jcristauyou need to run gdb over ssh19:35
jcristaubut, it usually works19:35
pochuI could do that, yes19:36
pochudo you think the backtrace will be helpful?19:36
jcristaumake sure you have debugging symbols for the server and driver19:36
pochu-dbg or dbgsym?19:36
pochuor both? :)19:36
jcristaueither, i think19:37
jcristaui've never used dbgsym19:37
=== emilio is now known as pochu_
pochu_let's get started :-)20:01
pochu_I'd have expected https://help.ubuntu.com/community/DebuggingSystemCrash to explain how to run X under gdb :-/20:08
pochu_https://wiki.ubuntu.com/DebuggingXorg explains how to attach to it though :-)20:09
pochu_ouch, ctrl+alt+f1 corrupted the screen20:14
pochu_hmm, I could have restarted X through ssh instead of a tty...20:14
pochu_Program received signal SIGSEGV, Segmentation fault.20:24
pochu_[Switching to Thread 0xb7c846b0 (LWP 5643)]20:24
pochu_0xb7d9df8b in strlen () from /lib/tls/i686/cmov/libc.so.620:24
pochu_\o/20:24
pochu_jcristau: I've pasted it in bug 173265, in case you want to have a look20:30
ubotuBug 173265 on http://launchpad.net/bugs/173265 is private20:30
pochu_bug 17326520:30
ubotuLaunchpad bug 173265 in xorg-server "Xorg crashed with SIGSEGV" [Medium,New] https://launchpad.net/bugs/17326520:30
pochu_I still have the connection opened, in case there is something useful I can do20:32
pochu_Should I attach /etc/X11/xorg.conf, /var/log/Xorg.0.log, /var/log/syslog, /var/log/dmesg ... ?20:33
ubotuNew bug: #173265 in xorg-server (main) "Xorg crashed with SIGSEGV in strlen" [Medium,New] https://launchpad.net/bugs/17326520:41
pochuback20:45
pochuI lost the connection - I shouldn't probably do this kind of things via wifi :P20:46
jcristauheh20:51
jcristaucan you go to the i830_unbind_memory frame, and print the value of *mem?20:54
pochuI'm afraid I can't - I've restarted my laptop since I lost the connection :(20:55
pochuI could try to get the crash again, now wired20:56
* pochu vs X - round 221:06
pochuLet's give this another try21:06
=== emilio is now known as pochu_
brycehi guys21:11
pochu_hey bryce 21:11
pochuheya bryce 21:12
pochu:-)21:12
pochu_woah, this was faster!21:13
pochu_[Switching to Thread 0xb7ca36b0 (LWP 5634)]21:13
pochu_0xb7b7810e in i830_free_memory (pScrn=0x821be58, mem=0x86d87d8) at ../../src/i830_memory.c:28921:13
pochu_289     ../../src/i830_memory.c: No such file or directory.21:13
pochu_jcristau: http://paste.ubuntu.com/2779/plain/21:16
tormodpochu_: type "up" until you are in i830_unbind_memory, then: print *mem21:17
pochu_I had to go down :) but here it is21:20
pochu_(gdb) print *mem21:20
pochu_$1 = {offset = 35, end = 0, size = 32, allocated_size = 0, bus_addr = 593808606253023233, key = 0, bound = 0, agp_offset = 4294967295, tiling = TILE_NONE,  fence_nr = 0, pitch = 0, name = 0x0, next = 0x0, prev = 0x40}21:20
brycejcristau: btw, I was trying to build current xserver git-head with the current debian rules file, but it's failing in some of the glx code21:22
brycejcristau: xserver compiles fine using a default ./configure, though21:22
brycejcristau: I'm wondering if it's a mesa version mismatch or something?21:22
* tormod updates DebuggingSystemCrash with links21:26
pochu_any idea? :)21:41
tormodI don't know what bus_addr is, but that's a seriously big number :)21:47
pochu_heh21:47
pochu_I have 1GB of ram, fwiw21:47
tormodpochu_: did you follow DebuggingXorg? Was it clear? Just would like feedback since I wrote it. Any suggestions are welcome.21:49
pochu_yeah, I did, and it looks perfect :)21:49
tormodwell that's what I wanted to hear :)21:49
pochu_although you might want to say in the part of restarting X after modifying xorg.conf that it's a good idea to do it over ssh, since you have to connect to ssh anyway21:50
pochu_since ctrl+alt+f1 corrupted my screen and I had to reboot to restart it ;)21:50
Q-FUNKbryce: there's been progress on the -amd driver. it appears that changes in VBE since X core 1.3 might make -amd and several other marginal drivers (such as the siliconmotion on my laptop, also) fail DDC parsing.21:53
tormodpochu_: if ctrl-alt-f1 corrupts your screen that's another problem, but it's a good idea to suggest doing it remotely, thanks.21:54
* pochu_ looks at fdo to see if this has been reported there21:59
pochu_doesn't look like22:05
jcristaubryce: xserver master needs mesa master22:18
jcristaupochu_: it's crashing because mem->name is NULL...22:19
jcristaubut, the mprotect() call just before that shouldn't have failed, i think22:20
jcristauanyway, it'd be good to report the crash upstream22:20
pochu_any X expert wants to do that? I'm afraid a developer will ask something I won't know how to answer ;)22:22
jcristaudon't worry about that, there will be people to help :)22:24
pochu_:-)22:24
jcristauweird, your two backtraces on #173265 are different22:25
pochu_the first one looks a bit similar since frame 8 though22:27
pochu_although mem isn't null in that one22:27
jcristaunot the same line number22:27
pochu_oh, right22:27
pochu_Do you want me to get a third one? ;-)22:28
jcristauheh22:29
pochu_not kidding :P22:30
pochu_are they two different bugs, or could they be the same one?22:30
jcristaui don't know22:31
ubotuNew bug: #132171 in xserver-xorg-video-via (main) "AntSpotlight and other screensaver freezes the system" [Medium,New] https://launchpad.net/bugs/13217122:41
ubotuNew bug: #70731 in xscreensaver (main) "Crash (dup-of: 122999)" [Undecided,New] https://launchpad.net/bugs/7073123:01
ubotuNew bug: #111645 in xserver-xorg-video-via (main) "crash when screensaver is activated" [Undecided,New] https://launchpad.net/bugs/11164523:16
jcristaupochu: actually your crashes look like they're the same as https://bugs.freedesktop.org/show_bug.cgi?id=1310823:34
ubotuFreedesktop bug 13108 in Driver/intel "[overlay] XV window hidden for some seconds causes SEGFAULT when taken into foreground again" [Major,New] 23:34

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