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

Bug#569337: xserver-xorg-input-tslib: "xset q" crashes X server



Hi,

I tried to debug this today. Much to my surprise the bug does not
occur if I rebuild the package (0.0.6-5) locally!

The only meaningful difference that I can see is that the working
version talks about InitPtrFeedbackClassDeviceStruct while the broken
one does not:

$ diff -u <(strings -n3 broken/usr/lib/xorg/modules/input/tslib_drv.so) <(strings -n3 working/usr/lib/xorg/modules/input/tslib_drv.so)
--- /dev/fd/63  2011-01-29 22:29:15.036718000 +0200
+++ /dev/fd/62  2011-01-29 22:29:15.056718000 +0200
@@ -34,12 +34,13 @@
 xf86PostButtonEvent
 xf86Screens
 rrPrivKey
+AddEnabledDevice
 XIGetKnownProperty
 InitButtonClassDeviceStruct
 InitValuatorClassDeviceStruct
 InitValuatorAxisStruct
 InitProximityClassDeviceStruct
-AddEnabledDevice
+InitPtrFeedbackClassDeviceStruct
 ts_close
 tslibModuleData
 libts-0.0.so.0
@@ -118,4 +119,3 @@
 X.Org Foundation
 X.Org XInput driver
 X.Org XInput Driver
-oP


The patch debian/patches/0001-fix-segfault.patch talks about
InitPtrFeedbackClassDeviceStruct -- is it possible that the version
0.0.6-5 in the archive somehow did not apply that patch at all?

The log at

https://buildd.debian.org/fetch.cgi?pkg=xf86-input-tslib;ver=0.0.6-5;arch=armel;stamp=1273491446

shows

Unpack source
-------------
...
dpkg-source: info: applying 0001-fix-segfault.patch



but then

dpkg-buildpackage
-----------------
...
Unapplying patches...Removing patch 0001-fix-segfault.patch
...
./configure --build arm-linux-gnueabi --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info CFLAGS="-g -O2" LDFLAGS="-z,defs"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
...

and nothing in the build log mentions that patch anymore. What's going
on?




Reply to: