[1.14.0-rc2] xts5 XI tests: backtraces

Knut Petersen Knut_Petersen at t-online.de
Mon Feb 25 11:57:06 PST 2013


On an AOpen i915GMm-hfs mobo running openSuSE 12.2 with a full fresh build of todays xorg code
(libunwind patch included) the following xts5 XI patches fail miserably:

ChangeDeviceControl:


[ 45194.049] (EE)
[ 45194.049] (EE) Backtrace:
[ 45194.051] (EE) 0: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (OsSigHandler+0x38) [0x82356bd]
[ 45194.052] (EE) 1: ? (?+0x38) [0xb773d443]
[ 45194.053] (EE) 2: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (ChangeDeviceControl+0x12) [0x80e3524]
[ 45194.054] (EE) 3: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (ProcXChangeDeviceControl+0x1ca) [0x81b737d]
[ 45194.055] (EE) 4: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (ProcIDispatch+0x5a) [0x81a2eda]
[ 45194.057] (EE) 5: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (Dispatch+0x27e) [0x80785de]
[ 45194.088] (EE) 6: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (main+0x587) [0x806a738]
[ 45194.091] (EE) 7: /lib/libc.so.6 (__libc_start_main+0xf5) [0xb73ae3d5]
[ 45194.094] (EE) 8: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (_start+0x21) [0x806a0d2]
[ 45194.095] (EE)
[ 45194.096] (EE) Segmentation fault at address 0x18


DeviceBell:

[ 47022.329] (EE)
[ 47022.330] (EE) Backtrace:
[ 47022.331] (EE) 0: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (OsSigHandler+0x38) [0x82356bd]
[ 47022.332] (EE) 1: ? (?+0x38) [0xb77d3443]
[ 47022.333] (EE)
[ 47022.333] (EE) Segmentation fault at address 0x0


SetDeviceMode:

[ 47419.486] (EE)
[ 47419.486] (EE) Backtrace:
[ 47419.492] (EE) 0: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (OsSigHandler+0x38) [0x82356bd]
[ 47419.495] (EE) 1: ? (?+0x38) [0xb7745443]
[ 47419.496] (EE) 2: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (SetDeviceMode+0x11) [0x80e34a2]
[ 47419.500] (EE) 3: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (ProcXSetDeviceMode+0x100) [0x81abb16]
[ 47419.501] (EE) 4: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (ProcIDispatch+0x5a) [0x81a2eda]
[ 47419.504] (EE) 5: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (Dispatch+0x27e) [0x80785de]
[ 47419.505] (EE) 6: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (main+0x587) [0x806a738]
[ 47419.516] (EE) 7: /lib/libc.so.6 (__libc_start_main+0xf5) [0xb73b63d5]
[ 47419.517] (EE) 8: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (_start+0x21) [0x806a0d2]
[ 47419.517] (EE)
[ 47419.517] (EE) Segmentation fault at address 0x1c


SetDeviceValuators:

[ 47531.500] (EE)
[ 47531.501] (EE) Backtrace:
[ 47531.502] (EE) 0: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (OsSigHandler+0x38) [0x82356bd]
[ 47531.503] (EE) 1: ? (?+0x38) [0xb7772443]
[ 47531.504] (EE) 2: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (SetDeviceValuators+0x11) [0x80e34df]
[ 47531.507] (EE) 3: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (ProcXSetDeviceValuators+0x179) [0x81ab451]
[ 47531.511] (EE) 4: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (ProcIDispatch+0x5a) [0x81a2eda]
[ 47531.516] (EE) 5: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (Dispatch+0x27e) [0x80785de]
[ 47531.518] (EE) 6: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (main+0x587) [0x806a738]
[ 47531.528] (EE) 7: /lib/libc.so.6 (__libc_start_main+0xf5) [0xb73e33d5]
[ 47531.531] (EE) 8: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (_start+0x21) [0x806a0d2]
[ 47531.531] (EE)
[ 47531.532] (EE) Segmentation fault at address 0x20


XGetDeviceControl:

[ 47687.636] (EE)
[ 47687.637] (EE) Backtrace:
[ 47687.637] (EE) 0: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (OsSigHandler+0x38) [0x82356bd]
[ 47687.638] (EE) 1: ? (?+0x38) [0xb77c1443]
[ 47687.639] (EE) 2: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (ChangeDeviceControl+0x12) [0x80e3524]
[ 47687.640] (EE) 3: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (ProcXChangeDeviceControl+0x1ca) [0x81b737d]
[ 47687.641] (EE) 4: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (ProcIDispatch+0x5a) [0x81a2eda]
[ 47687.642] (EE) 5: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (Dispatch+0x27e) [0x80785de]
[ 47687.643] (EE) 6: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (main+0x587) [0x806a738]
[ 47687.644] (EE) 7: /lib/libc.so.6 (__libc_start_main+0xf5) [0xb74323d5]
[ 47687.645] (EE) 8: /home/knut/fast/xorg/X11-a/usr/bin/Xorg (_start+0x21) [0x806a0d2]
[ 47687.646] (EE)
[ 47687.646] (EE) Segmentation fault at address 0x18


Absolutely nothing unusual in the logs until execution of the tests.
Attached  the build script.

cu,
  Knut
-------------- next part --------------
export MYROOT=`ls  --sort=time -r /home/knut/fast/xorg/X11-?/usr/bin/Xorg | head -n 1 | grep -o "/home/knut/fast/xorg/X11-[a-z]"`

export PREFIX=$MYROOT/usr
export EPREFIX=$PREFIX
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig
export PATH=$PREFIX/bin:$PATH
export ACLOCAL="aclocal -I $PREFIX/share/aclocal"
export LD_LIBRARY_PATH=$PREFIX/lib
export PYTHONPATH=$PREFIX/lib/python2.7/site-packages
export CC=/usr/bin/cc
export CPP=/usr/bin/cpp
export CFLAGS="-H -O3 -D MULTITOUCH"
export CXXFLAGS="-H -O3"
export MAKEFLAGS=""
export GMAKEFLAGS=""

rm -rf $MYROOT
mkdir -p $PREFIX

echo =====================
echo updating util/modular
echo =====================
cd ~/fast/xorg/util/modular
git pull --rebase
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi

echo =========================
echo updating $MYROOT/modules_to_build
echo =========================
cd ~/fast/xorg
mkdir -p $PREFIX
util/modular/build.sh -L | sed \
-e "s/driver\/xf86-input-aiptek/\#driver\/xf86-input-aiptek/" \
-e "s/driver\/xf86-input-joystick/\#driver\/xf86-input-joystick/" \
-e "s/driver\/xf86-input-vmmouse/\#driver\/xf86-input-vmmouse/" \
-e "s/driver\/xf86-input-acecad/\#driver\/xf86-input-acecad/" \
-e "s/driver\/xf86-input-keyboard/\#driver\/xf86-input-keyboard/" \
-e "s/driver\/xf86-input-mouse/\#driver\/xf86-input-mouse/" \
-e "s/driver\/xf86-input-penmount/\#driver\/xf86-input-penmount/" \
-e "s/driver\/xf86-input-synaptics/\#driver\/xf86-input-synaptics/" \
-e "s/driver\/xf86-input-void/\#driver\/xf86-input-void/" \
-e "s/driver\/xf86-video-sunffb/\#driver\/xf86-video-sunffb/" \
-e "s/driver\/xf86-video-v4l/\#driver\/xf86-video-v4l/" \
-e "s/driver\/xf86-video-geode/\#driver\/xf86-video-geode/" \
-e "s/driver\/xf86-video-i740/\#driver\/xf86-video-i740/" \
-e "s/driver\/xf86-video-apm/\#driver\/xf86-video-apm/" \
-e "s/driver\/xf86-video-ark/\#driver\/xf86-video-ark/" \
-e "s/driver\/xf86-video-ast/\#driver\/xf86-video-ast/" \
-e "s/driver\/xf86-video-ati/\#driver\/xf86-video-ati/" \
-e "s/driver\/xf86-video-chips/\#driver\/xf86-video-chips/" \
-e "s/driver\/xf86-video-cirrus/\#driver\/xf86-video-cirrus/" \
-e "s/driver\/xf86-video-dummy/\#driver\/xf86-video-dummy/" \
-e "s/driver\/xf86-video-fbdev/\#driver\/xf86-video-fbdev/" \
-e "s/driver\/xf86-video-glint/\#driver\/xf86-video-glint/" \
-e "s/driver\/xf86-video-i128/\#driver\/xf86-video-i128/" \
-e "s/driver\/xf86-video-mach64/\#driver\/xf86-video-mach64/" \
-e "s/driver\/xf86-video-mga/\#driver\/xf86-video-mga/" \
-e "s/driver\/xf86-video-neomagic/\#driver\/xf86-video-neomagic/" \
-e "s/driver\/xf86-video-newport/\#driver\/xf86-video-newport/" \
-e "s/driver\/xf86-video-nv/\#driver\/xf86-video-nv/" \
-e "s/driver\/xf86-video-qxl/\#driver\/xf86-video-qxl/" \
-e "s/driver\/xf86-video-rendition/\#driver\/xf86-video-rendition/" \
-e "s/driver\/xf86-video-r128/\#driver\/xf86-video-r128/" \
-e "s/driver\/xf86-video-s3/\#driver\/xf86-video-s3/" \
-e "s/driver\/xf86-video-savage/\#driver\/xf86-video-savage/" \
-e "s/driver\/xf86-video-siliconmotion/\#driver\/xf86-video-siliconmotion/" \
-e "s/driver\/xf86-video-sis/\#driver\/xf86-video-sis/" \
-e "s/driver\/xf86-video-tdfx/\#driver\/xf86-video-tdfx/" \
-e "s/driver\/xf86-video-tga/\#driver\/xf86-video-tga/" \
-e "s/driver\/xf86-video-trident/\#driver\/xf86-video-trident/" \
-e "s/driver\/xf86-video-tseng/\#driver\/xf86-video-tseng/" \
-e "s/driver\/xf86-video-vesa/\#driver\/xf86-video-vesa/" \
-e "s/driver\/xf86-video-vmware/\#driver\/xf86-video-vmware/" \
-e "s/driver\/xf86-video-voodoo/\#driver\/xf86-video-voodoo/" \
-e "s/driver\/xf86-video-xgi/\#driver\/xf86-video-xgi/" \
> $MYROOT/modules_to_build
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi

echo ================================
echo checkout master for some modules
echo ================================
cd ~/fast/xorg/xserver
git checkout master
git pull --rebase
cd ~/fast/xorg/driver/xf86-video-intel
git checkout master
git pull --rebase


echo =====================
echo updating rest of xorg
echo =====================
cd ~/fast/xorg
util/modular/build.sh $PREFIX  --clone --modfile $MYROOT/modules_to_build -a -n --cmd "git pull --rebase"
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi

export LD_PRELOAD=
echo =========================================
echo resetting/cleaning source and build trees
echo =========================================
util/modular/build.sh $PREFIX --modfile $MYROOT/modules_to_build -a -n --cmd "git reset --hard" &>> /dev/null
if [ $? -ne 0 ]; then echo "ABORT";fi
util/modular/build.sh $PREFIX --modfile $MYROOT/modules_to_build -a -n --cmd "git clean -dfx" &>> /dev/null
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi

echo =====================
echo store source versions
echo =====================
util/modular/build.sh $PREFIX --modfile $MYROOT/modules_to_build -a -n --cmd "git log -n 1 --pretty=oneline"  | \
sed -e ':a;N;$!ba;s/\n/ /g;' \
    -e 's/  ====================================================================== /\n/g;' \
    -e 's/==  Processing module\/component:  //g;' \
    -e 's/==        configuration options://g;' \
    -e 's/\"//g' \
> $MYROOT/versions
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi

echo ======================================================================
echo Building mtdev
echo ======================================================================
cd ~/fast/xorg/mtdev
git pull --rebase&> $MYROOT/buildlog
git clean -dfx &> /dev/null
./autogen.sh --prefix=$PREFIX &>> $MYROOT/buildlog
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi  
./configure --prefix=$PREFIX &>> $MYROOT/buildlog
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi
make &>> $MYROOT/buildlog
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi
make install &>> $MYROOT/buildlog
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi
export LD_PRELOAD=$PREFIX/lib/libmtdev.so



echo ======================================================================
echo Building libunwind
echo ======================================================================
cd ~/fast/xorg/libunwind
git pull --rebase&>> $MYROOT/buildlog
git clean -dfx &> /dev/null
autoreconf -i &>> $MYROOT/buildlog
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi
./configure --prefix=$PREFIX &>> $MYROOT/buildlog
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi
make &>> $MYROOT/buildlog
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi
make install  &>> $MYROOT/buildlog
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi
cd ..




rm -f $MYROOT/built-modules.txt
echo ========================================================
echo building xorg, logfile: $MYROOT/buildlog
echo ========================================================
util/modular/build.sh   $PREFIX \
   --autoresume $MYROOT/built-modules.txt \
   --modfile $MYROOT/modules_to_build \
   --confflags " \
   --enable-kdrive \
   --with-dri-drivers=i915 \
   --with-gallium-drivers=i915 \
   --disable-xaa \
   --disable-radeon \
   --enable-gles1 \
   --enable-gles2 \
   --localstatedir=$MYROOT/var \
   --enable-config-dbus \
   --with-serverconfig-path=$PREFIX/share/X11/xorg.conf.d \
   --enable-xkb \
   --without-xf86misc \
   --without-fontcache \
   --with-fop=no \
   --disable-docs \
   --disable-devel-docs \
   --disable-specs \
   --disable-dependency-tracking \
   --with-fc-confdir=$MYROOT/etc/fonts \
   " &>> $MYROOT/buildlog
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi

echo ======================================================================
echo Building xrestop
echo ======================================================================
cd ~/fast/xorg/xrestop
git pull --rebase &>> $MYROOT/buildlog
git clean -dfx &> /dev/null
echo -n "xrestop     " >> $MYROOT/versions
git log -n 1 --pretty=oneline >> $MYROOT/versions
./autogen.sh --prefix=$PREFIX &>> $MYROOT/buildlog
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi  
./configure --prefix=$PREFIX &>> $MYROOT/buildlog
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi
make &>> $MYROOT/buildlog
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi
make install &>> $MYROOT/buildlog
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi
cd ..


echo ======================================================================
echo Building intel-gpu-tools
echo ======================================================================
cd ~/fast/xorg/intel-gpu-tools
git pull --rebase &>> $MYROOT/buildlog
git clean -dfx &> /dev/null
echo -n "intel-gpu-tools     " >> $MYROOT/versions
git log -n 1 --pretty=oneline >> $MYROOT/versions
./autogen.sh --prefix=$PREFIX &>> $MYROOT/buildlog
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi  
./configure --prefix=$PREFIX &>> $MYROOT/buildlog
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi
make &>> $MYROOT/buildlog
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi
make install &>> $MYROOT/buildlog
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi
cd ..

echo ======================================================================
echo Building xts 
echo ======================================================================
cd ~/fast/xorg/xts
git pull --rebase &>> $MYROOT/buildlog
git clean -dfx &> /dev/null
echo -n "xts     " >> $MYROOT/versions
git log -n 1 --pretty=oneline >> $MYROOT/versions
./autogen.sh --prefix=$PREFIX &>> $MYROOT/buildlog
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi  
./configure --prefix=$PREFIX &>> $MYROOT/buildlog
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi
make &>> $MYROOT/buildlog
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi
make install &>> $MYROOT/buildlog
if [ $? -ne 0 ]; then echo "ABORT";exit;else echo "OK";fi
cd ..


grep /usr/include/X $MYROOT/buildlog | grep -v knut | sed -e "s/\.\+ \//\//g" | sort | uniq > $MYROOT/ERR_wrong_headers
echo X11 headers out of area:
cat $MYROOT/ERR_wrong_headers



More information about the xorg-devel mailing list