[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#572268: xserver-xorg-core: Crash, Segmentation fault, VidModeSetGamma+0x67, xf86ChangeGamma+0x4b



Marcin Szewczyk, Wodny <debian.bugreport@wodny.org> (03/03/2010):
> I've failed in providing a smaller testcase.

OK.

> I hope the attachment is the thing.

Sure!

> I've recompiled the package. Installed it. /usr/bin/Xorg md5sum has
> changed, so I suppose it has been actually installed.
> 
> Doing so wasn't easy as:
> $ DEB_BUILD_OPTIONS="nostrip noopt" fakeroot apt-get -b source xorg-server
> doesn't end successfully. It stops with:
> /dix/xtest/init: FAIL: xtest
> ========================================================================
> 1 of 3 tests failed
> [...more info...]
> 
> It continued after issuing manually:
> dpkg-buildpackage -uc -nc

I'll try and remember to document how to do so more easily. Myself, I
tend to “apt-get source $foo; cd $foo-$version; make -f debian/rules
patch”, and then apply manually some patches.

Then: dpkg-buildpackage -us -uc -b -nc

(You also don't need to set nostrip/noopt since symbols are available
through the -dbg package, so they're going to be usable by gdb as long
as you install both new -core and -core-dbg packages.)

> After applying the patch Xorg still crashes.

I'm not sure, but it looks like the backtrace slightly changed: we had
no mentions of xf86RandR12ChangeGamma() previously; that might be
because the previous trace was obtained through X's embedded segfault
catcher.

I think I've seen some changes related to that “new” (in the
backtrace) function, I'll follow up in a moment.

> One interesting thing is that when I launch UT with both monitors on
> it doesn't crash. It happens when I leave only the VGA1 on
> (eg. using xrandr).
> 
> And now I know why I haven't noticed it earlier. Generally I don't
> start my day with a UT session. I switch from the X vt to a text one
> and back many times a day.  During the first switch back LVDS1 is
> left on, even though it stops being updated with new graphics (text
> actually).

Sounds like other issues we have with multimonitor setups. I'll
concentrate on the original issue for now. ;)

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: