[PATCH 1/2] test: init the sync extensions for tests to pass again
Peter Hutterer
peter.hutterer at who-t.net
Tue Mar 27 23:20:27 PDT 2012
On Mon, Mar 26, 2012 at 11:39:00AM -0700, Jeremy Huddleston wrote:
> test/xtest.c now passes, but with this series committed, xi2 is sad. Note
> that during my bisecting to find the xtest failure, xi was failing on some
> "good" cases, but it was not failing this horrifically.
diff --git a/test/xi2/protocol-common.c b/test/xi2/protocol-common.c
index 47bb421..e2b0b8b 100644
--- a/test/xi2/protocol-common.c
+++ b/test/xi2/protocol-common.c
@@ -39,7 +39,7 @@ struct devices devices;
ScreenRec screen;
WindowRec root;
WindowRec window;
-static ClientPtr server_client;
+static ClientRec server_client;
void *userdata;
better not speculate why this only triggered on ppc, not on i386 and
x86_64...
Cheers,
Peter
>
>
> *** glibc detected *** ./protocol-xiqueryversion: double free or corruption (fasttop): 0x105c0c58 ***
> ======= Backtrace: =========
> /lib/powerpc-linux-gnu/libc.so.6(+0x80314)[0xf998314]
> /lib/powerpc-linux-gnu/libc.so.6(cfree+0x8c)[0xf99c6a8]
> /lib/powerpc-linux-gnu/libc.so.6(realloc+0x220)[0xf99c9a4]
> ./protocol-xiqueryversion(MakeAtom+0x320)[0x10005c7c]
> ./protocol-xiqueryversion[0x10179d1c]
> ./protocol-xiqueryversion[0x10006e78]
> ./protocol-xiqueryversion[0x1000ee60]
> ./protocol-xiqueryversion[0x10004a24]
> ./protocol-xiqueryversion[0x10004fb8]
> ./protocol-xiqueryversion[0x100058f0]
> /lib/powerpc-linux-gnu/libc.so.6(+0x21fc0)[0xf939fc0]
> /lib/powerpc-linux-gnu/libc.so.6(+0x22194)[0xf93a194]
> ======= Memory map: ========
> 00100000-00103000 r-xp 00000000 00:00 0 [vdso]
> 0f7e9000-0f7f0000 r-xp 00000000 08:03 279616 /var/tmp/jhbuild/lib/libfontenc.so.1.0.0
> 0f7f0000-0f7ff000 ---p 00007000 08:03 279616 /var/tmp/jhbuild/lib/libfontenc.so.1.0.0
> 0f7ff000-0f800000 r--p 00006000 08:03 279616 /var/tmp/jhbuild/lib/libfontenc.so.1.0.0
> 0f800000-0f801000 rw-p 00007000 08:03 279616 /var/tmp/jhbuild/lib/libfontenc.so.1.0.0
> 0f811000-0f826000 r-xp 00000000 08:03 531400 /lib/powerpc-linux-gnu/libz.so.1.2.3.4
> 0f826000-0f835000 ---p 00015000 08:03 531400 /lib/powerpc-linux-gnu/libz.so.1.2.3.4
> 0f835000-0f836000 r--p 00014000 08:03 531400 /lib/powerpc-linux-gnu/libz.so.1.2.3.4
> 0f836000-0f837000 rw-p 00015000 08:03 531400 /lib/powerpc-linux-gnu/libz.so.1.2.3.4
> 0f847000-0f8d0000 r-xp 00000000 08:13 21109707 /home/jeremy/src/freedesktop/jhbuild/external/build/lib/libfreetype.so.6.6.2
> 0f8d0000-0f8df000 ---p 00089000 08:13 21109707 /home/jeremy/src/freedesktop/jhbuild/external/build/lib/libfreetype.so.6.6.2
> 0f8df000-0f8e3000 r--p 00088000 08:13 21109707 /home/jeremy/src/freedesktop/jhbuild/external/build/lib/libfreetype.so.6.6.2
> 0f8e3000-0f8e4000 rw-p 0008c000 08:13 21109707 /home/jeremy/src/freedesktop/jhbuild/external/build/lib/libfreetype.so.6.6.2
> 0f8f4000-0f8f7000 r-xp 00000000 08:03 531370 /lib/powerpc-linux-gnu/libgpg-error.so.0.8.0
> 0f8f7000-0f906000 ---p 00003000 08:03 531370 /lib/powerpc-linux-gnu/libgpg-error.so.0.8.0
> 0f906000-0f907000 r--p 00002000 08:03 531370 /lib/powerpc-linux-gnu/libgpg-error.so.0.8.0
> 0f907000-0f908000 rw-p 00003000 08:03 531370 /lib/powerpc-linux-gnu/libgpg-error.so.0.8.0
> 0f918000-0fa76000 r-xp 00000000 08:03 540476 /lib/powerpc-linux-gnu/libc-2.13.so
> 0fa76000-0fa86000 ---p 0015e000 08:03 540476 /lib/powerpc-linux-gnu/libc-2.13.so
> 0fa86000-0fa8a000 r--p 0015e000 08:03 540476 /lib/powerpc-linux-gnu/libc-2.13.so
> 0fa8a000-0fa8b000 rw-p 00162000 08:03 540476 /lib/powerpc-linux-gnu/libc-2.13.so
> 0fa8b000-0fa8e000 rw-p 00000000 00:00 0
> 0fa9e000-0faa6000 r-xp 00000000 08:03 540498 /lib/powerpc-linux-gnu/librt-2.13.so
> 0faa6000-0fab5000 ---p 00008000 08:03 540498 /lib/powerpc-linux-gnu/librt-2.13.so
> 0fab5000-0fab6000 r--p 00007000 08:03 540498 /lib/powerpc-linux-gnu/librt-2.13.so
> 0fab6000-0fab7000 rw-p 00008000 08:03 540498 /lib/powerpc-linux-gnu/librt-2.13.so
> 0fac7000-0fb6b000 r-xp 00000000 08:03 540484 /lib/powerpc-linux-gnu/libm-2.13.so
> 0fb6b000-0fb7b000 ---p 000a4000 08:03 540484 /lib/powerpc-linux-gnu/libm-2.13.so
> 0fb7b000-0fb7e000 r--p 000a4000 08:03 540484 /lib/powerpc-linux-gnu/libm-2.13.so
> 0fb7e000-0fb7f000 rw-p 000a7000 08:03 540484 /lib/powerpc-linux-gnu/libm-2.13.so
> 0fb8f000-0fb95000 r-xp 00000000 08:03 279759 /var/tmp/jhbuild/lib/libXdmcp.so.6.0.0
> 0fb95000-0fba4000 ---p 00006000 08:03 279759 /var/tmp/jhbuild/lib/libXdmcp.so.6.0.0
> 0fba4000-0fba5000 r--p 00005000 08:03 279759 /var/tmp/jhbuild/lib/libXdmcp.so.6.0.0
> 0fba5000-0fba6000 rw-p 00006000 08:03 279759 /var/tmp/jhbuild/lib/libXdmcp.so.6.0.0
> 0fbb6000-0fbb9000 r-xp 00000000 08:03 279655 /var/tmp/jhbuild/lib/libXau.so.6.0.0
> 0fbb9000-0fbc8000 ---p 00003000 08:03 279655 /var/tmp/jhbuild/lib/libXau.so.6.0.0
> 0fbc8000-0fbc9000 r--p 00002000 08:03 279655 /var/tmp/jhbuild/lib/libXau.so.6.0.0
> 0fbc9000-0fbca000 rw-p 00003000 08:03 279655 /var/tmp/jhbuild/lib/libXau.so.6.0.0
> 0fbda000-0fc35000 r-xp 00000000 08:03 279620 /var/tmp/jhbuild/lib/libXfont.so.1.4.1
> 0fc35000-0fc45000 ---p 0005b000 08:03 279620 /var/tmp/jhbuild/lib/libXfont.so.1.4.1
> 0fc45000-0fc46000 r--p 0005b000 08:03 279620 /var/tmp/jhbuild/lib/libXfont.so.1.4.1
> 0fc46000-0fc47000 rw-p 0005c000 08:03 279620 /var/tmp/jhbuild/lib/libXfont.so.1.4.1
> 0fc47000-0fc48000 rw-p 00000000 00:00 0
> 0fc58000-0fe81000 r-xp 00000000 08:03 268031 /var/tmp/jhbuild/lib/libpixman-1.so.0.25.3
> 0fe81000-0fe90000 ---p 00229000 08:03 268031 /var/tmp/jhbuild/lib/libpixman-1.so.0.25.3
> 0fe90000-0fe94000 r--p 00228000 08:03 268031 /var/tmp/jhbuild/lib/libpixman-1.so.0.25.3
> 0fe94000-0fe95000 rw-p 0022c000 08:03 268031 /var/tmp/jhbuild/lib/libpixman-1.so.0.25.3
> 0fea5000-0febc000 r-xp 00000000 08:03 540496 /lib/powerpc-linux-gnu/libpthread-2.13.so
> 0febc000-0fecb000 ---p 00017000 08:03 540496 /lib/powerpc-linux-gnu/libpthread-2.13.so
> 0fecb000-0fecc000 r--p 00016000 08:03 540496 /lib/powerpc-linux-gnu/libpthread-2.13.so
> 0fecc000-0fecd000 rw-p 00017000 08:03 540496 /lib/powerpc-linux-gnu/libpthread-2.13.so
> 0fecd000-0fecf000 rw-p 00000000 00:00 0
> 0fedf000-0feeb000 r-xp 00000000 08:03 279697 /var/tmp/jhbuild/lib/libpciaccess.so.0.11.0
> 0feeb000-0fefa000 ---p 0000c000 08:03 279697 /var/tmp/jhbuild/lib/libpciaccess.so.0.11.0
> 0fefa000-0fefb000 r--p 0000b000 08:03 279697 /var/tmp/jhbuild/lib/libpciaccess.so.0.11.0
> 0fefb000-0fefc000 rw-p 0000c000 08:03 279697 /var/tmp/jhbuild/lib/libpciaccess.so.0.11.0
> 0ff0c000-0ff0f000 r-xp 00000000 08:03 540483 /lib/powerpc-linux-gnu/libdl-2.13.so
> 0ff0f000-0ff1e000 ---p 00003000 08:03 540483 /lib/powerpc-linux-gnu/libdl-2.13.so
> 0ff1e000-0ff1f000 r--p 00002000 08:03 540483 /lib/powerpc-linux-gnu/libdl-2.13.so
> 0ff1f000-0ff20000 rw-p 00003000 08:03 540483 /lib/powerpc-linux-gnu/libdl-2.13.so
> 0ff30000-0ff3d000 r-xp 00000000 08:03 531395 /lib/powerpc-linux-gnu/libudev.so.0.12.0
> 0ff3d000-0ff4c000 ---p 0000d000 08:03 531395 /lib/powerpc-linux-gnu/libudev.so.0.12.0
> 0ff4c000-0ff4d000 r--p 0000c000 08:03 531395 /lib/powerpc-linux-gnu/libudev.so.0.12.0
> 0ff4d000-0ff4e000 rw-p 0000d000 08:03 531395 /lib/powerpc-linux-gnu/libudev.so.0.12.0
> 0ff5e000-0ffdd000 r-xp 00000000 08:03 531368 /lib/powerpc-linux-gnu/libgcrypt.so.11.7.0
> 0ffdd000-0ffec000 ---p 0007f000 08:03 531368 /lib/powerpc-linux-gnu/libgcrypt.so.11.7.0
> 0ffec000-0ffee000 r--p 0007e000 08:03 531368 /lib/powerpc-linux-gnu/libgcrypt.so.11.7.0
> 0ffee000-0fff0000 rw-p 00080000 08:03 531368 /lib/powerpc-linux-gnu/libgcrypt.so.11.7.0
> 10000000-102bb000 r-xp 00000000 08:13 26478251 /home/jeremy/src/freedesktop/jhbuild/src/xorg/xserver/test/xi2/protocol-xiqueryversion
> 102ca000-102d1000 r--p 002ba000 08:13 26478251 /home/jeremy/src/freedesktop/jhbuild/src/xorg/xserver/test/xi2/protocol-xiqueryversion
> 102d1000-102d8000 rw-p 002c1000 08:13 26478251 /home/jeremy/src/freedesktop/jhbuild/src/xorg/xserver/test/xi2/protocol-xiqueryversion
> 102d8000-102e5000 rwxp 00000000 00:00 0
> 105c0000-105e1000 rwxp 00000000 00:00 0 [heap]
> 40000000-4001f000 r-xp 00000000 08:03 540473 /lib/powerpc-linux-gnu/ld-2.13.so
> 4001f000-40025000 rw-p 00000000 00:00 0
> 4002e000-4002f000 r--p 0001e000 08:03 540473 /lib/powerpc-linux-gnu/ld-2.13.so
> 4002f000-40030000 rw-p 0001f000 08:03 540473 /lib/powerpc-linux-gnu/ld-2.13.so
> 40100000-40121000 rw-p 00000000 00:00 0
> 40121000-40200000 ---p 00000000 00:00 0
> ffb79000-ffb9a000 rw-p 00000000 00:00 0 [stack]
> /bin/bash: line 5: 13884 Aborted MALLOC_PERTURB_=15 ${dir}$tst
> FAIL: protocol-xiqueryversion
> *** glibc detected *** ./protocol-xiquerydevice: double free or corruption (fasttop): 0x10717c58 ***
> ======= Backtrace: =========
> /lib/powerpc-linux-gnu/libc.so.6(+0x80314)[0xf998314]
> /lib/powerpc-linux-gnu/libc.so.6(cfree+0x8c)[0xf99c6a8]
> /lib/powerpc-linux-gnu/libc.so.6(realloc+0x220)[0xf99c9a4]
> ./protocol-xiquerydevice(MakeAtom+0x320)[0x10006dc8]
> ./protocol-xiquerydevice[0x1017ae68]
> ./protocol-xiquerydevice[0x10007fc4]
> ./protocol-xiquerydevice[0x1000ffac]
> ./protocol-xiquerydevice[0x10004a24]
> ./protocol-xiquerydevice[0x10004fb8]
> ./protocol-xiquerydevice[0x10006a3c]
> /lib/powerpc-linux-gnu/libc.so.6(+0x21fc0)[0xf939fc0]
> /lib/powerpc-linux-gnu/libc.so.6(+0x22194)[0xf93a194]
> ======= Memory map: ========
> 00100000-00103000 r-xp 00000000 00:00 0 [vdso]
> 0f7e9000-0f7f0000 r-xp 00000000 08:03 279616 /var/tmp/jhbuild/lib/libfontenc.so.1.0.0
> 0f7f0000-0f7ff000 ---p 00007000 08:03 279616 /var/tmp/jhbuild/lib/libfontenc.so.1.0.0
> 0f7ff000-0f800000 r--p 00006000 08:03 279616 /var/tmp/jhbuild/lib/libfontenc.so.1.0.0
> 0f800000-0f801000 rw-p 00007000 08:03 279616 /var/tmp/jhbuild/lib/libfontenc.so.1.0.0
> 0f811000-0f826000 r-xp 00000000 08:03 531400 /lib/powerpc-linux-gnu/libz.so.1.2.3.4
> 0f826000-0f835000 ---p 00015000 08:03 531400 /lib/powerpc-linux-gnu/libz.so.1.2.3.4
> 0f835000-0f836000 r--p 00014000 08:03 531400 /lib/powerpc-linux-gnu/libz.so.1.2.3.4
> 0f836000-0f837000 rw-p 00015000 08:03 531400 /lib/powerpc-linux-gnu/libz.so.1.2.3.4
> 0f847000-0f8d0000 r-xp 00000000 08:13 21109707 /home/jeremy/src/freedesktop/jhbuild/external/build/lib/libfreetype.so.6.6.2
> 0f8d0000-0f8df000 ---p 00089000 08:13 21109707 /home/jeremy/src/freedesktop/jhbuild/external/build/lib/libfreetype.so.6.6.2
> 0f8df000-0f8e3000 r--p 00088000 08:13 21109707 /home/jeremy/src/freedesktop/jhbuild/external/build/lib/libfreetype.so.6.6.2
> 0f8e3000-0f8e4000 rw-p 0008c000 08:13 21109707 /home/jeremy/src/freedesktop/jhbuild/external/build/lib/libfreetype.so.6.6.2
> 0f8f4000-0f8f7000 r-xp 00000000 08:03 531370 /lib/powerpc-linux-gnu/libgpg-error.so.0.8.0
> 0f8f7000-0f906000 ---p 00003000 08:03 531370 /lib/powerpc-linux-gnu/libgpg-error.so.0.8.0
> 0f906000-0f907000 r--p 00002000 08:03 531370 /lib/powerpc-linux-gnu/libgpg-error.so.0.8.0
> 0f907000-0f908000 rw-p 00003000 08:03 531370 /lib/powerpc-linux-gnu/libgpg-error.so.0.8.0
> 0f918000-0fa76000 r-xp 00000000 08:03 540476 /lib/powerpc-linux-gnu/libc-2.13.so
> 0fa76000-0fa86000 ---p 0015e000 08:03 540476 /lib/powerpc-linux-gnu/libc-2.13.so
> 0fa86000-0fa8a000 r--p 0015e000 08:03 540476 /lib/powerpc-linux-gnu/libc-2.13.so
> 0fa8a000-0fa8b000 rw-p 00162000 08:03 540476 /lib/powerpc-linux-gnu/libc-2.13.so
> 0fa8b000-0fa8e000 rw-p 00000000 00:00 0
> 0fa9e000-0faa6000 r-xp 00000000 08:03 540498 /lib/powerpc-linux-gnu/librt-2.13.so
> 0faa6000-0fab5000 ---p 00008000 08:03 540498 /lib/powerpc-linux-gnu/librt-2.13.so
> 0fab5000-0fab6000 r--p 00007000 08:03 540498 /lib/powerpc-linux-gnu/librt-2.13.so
> 0fab6000-0fab7000 rw-p 00008000 08:03 540498 /lib/powerpc-linux-gnu/librt-2.13.so
> 0fac7000-0fb6b000 r-xp 00000000 08:03 540484 /lib/powerpc-linux-gnu/libm-2.13.so
> 0fb6b000-0fb7b000 ---p 000a4000 08:03 540484 /lib/powerpc-linux-gnu/libm-2.13.so
> 0fb7b000-0fb7e000 r--p 000a4000 08:03 540484 /lib/powerpc-linux-gnu/libm-2.13.so
> 0fb7e000-0fb7f000 rw-p 000a7000 08:03 540484 /lib/powerpc-linux-gnu/libm-2.13.so
> 0fb8f000-0fb95000 r-xp 00000000 08:03 279759 /var/tmp/jhbuild/lib/libXdmcp.so.6.0.0
> 0fb95000-0fba4000 ---p 00006000 08:03 279759 /var/tmp/jhbuild/lib/libXdmcp.so.6.0.0
> 0fba4000-0fba5000 r--p 00005000 08:03 279759 /var/tmp/jhbuild/lib/libXdmcp.so.6.0.0
> 0fba5000-0fba6000 rw-p 00006000 08:03 279759 /var/tmp/jhbuild/lib/libXdmcp.so.6.0.0
> 0fbb6000-0fbb9000 r-xp 00000000 08:03 279655 /var/tmp/jhbuild/lib/libXau.so.6.0.0
> 0fbb9000-0fbc8000 ---p 00003000 08:03 279655 /var/tmp/jhbuild/lib/libXau.so.6.0.0
> 0fbc8000-0fbc9000 r--p 00002000 08:03 279655 /var/tmp/jhbuild/lib/libXau.so.6.0.0
> 0fbc9000-0fbca000 rw-p 00003000 08:03 279655 /var/tmp/jhbuild/lib/libXau.so.6.0.0
> 0fbda000-0fc35000 r-xp 00000000 08:03 279620 /var/tmp/jhbuild/lib/libXfont.so.1.4.1
> 0fc35000-0fc45000 ---p 0005b000 08:03 279620 /var/tmp/jhbuild/lib/libXfont.so.1.4.1
> 0fc45000-0fc46000 r--p 0005b000 08:03 279620 /var/tmp/jhbuild/lib/libXfont.so.1.4.1
> 0fc46000-0fc47000 rw-p 0005c000 08:03 279620 /var/tmp/jhbuild/lib/libXfont.so.1.4.1
> 0fc47000-0fc48000 rw-p 00000000 00:00 0
> 0fc58000-0fe81000 r-xp 00000000 08:03 268031 /var/tmp/jhbuild/lib/libpixman-1.so.0.25.3
> 0fe81000-0fe90000 ---p 00229000 08:03 268031 /var/tmp/jhbuild/lib/libpixman-1.so.0.25.3
> 0fe90000-0fe94000 r--p 00228000 08:03 268031 /var/tmp/jhbuild/lib/libpixman-1.so.0.25.3
> 0fe94000-0fe95000 rw-p 0022c000 08:03 268031 /var/tmp/jhbuild/lib/libpixman-1.so.0.25.3
> 0fea5000-0febc000 r-xp 00000000 08:03 540496 /lib/powerpc-linux-gnu/libpthread-2.13.so
> 0febc000-0fecb000 ---p 00017000 08:03 540496 /lib/powerpc-linux-gnu/libpthread-2.13.so
> 0fecb000-0fecc000 r--p 00016000 08:03 540496 /lib/powerpc-linux-gnu/libpthread-2.13.so
> 0fecc000-0fecd000 rw-p 00017000 08:03 540496 /lib/powerpc-linux-gnu/libpthread-2.13.so
> 0fecd000-0fecf000 rw-p 00000000 00:00 0
> 0fedf000-0feeb000 r-xp 00000000 08:03 279697 /var/tmp/jhbuild/lib/libpciaccess.so.0.11.0
> 0feeb000-0fefa000 ---p 0000c000 08:03 279697 /var/tmp/jhbuild/lib/libpciaccess.so.0.11.0
> 0fefa000-0fefb000 r--p 0000b000 08:03 279697 /var/tmp/jhbuild/lib/libpciaccess.so.0.11.0
> 0fefb000-0fefc000 rw-p 0000c000 08:03 279697 /var/tmp/jhbuild/lib/libpciaccess.so.0.11.0
> 0ff0c000-0ff0f000 r-xp 00000000 08:03 540483 /lib/powerpc-linux-gnu/libdl-2.13.so
> 0ff0f000-0ff1e000 ---p 00003000 08:03 540483 /lib/powerpc-linux-gnu/libdl-2.13.so
> 0ff1e000-0ff1f000 r--p 00002000 08:03 540483 /lib/powerpc-linux-gnu/libdl-2.13.so
> 0ff1f000-0ff20000 rw-p 00003000 08:03 540483 /lib/powerpc-linux-gnu/libdl-2.13.so
> 0ff30000-0ff3d000 r-xp 00000000 08:03 531395 /lib/powerpc-linux-gnu/libudev.so.0.12.0
> 0ff3d000-0ff4c000 ---p 0000d000 08:03 531395 /lib/powerpc-linux-gnu/libudev.so.0.12.0
> 0ff4c000-0ff4d000 r--p 0000c000 08:03 531395 /lib/powerpc-linux-gnu/libudev.so.0.12.0
> 0ff4d000-0ff4e000 rw-p 0000d000 08:03 531395 /lib/powerpc-linux-gnu/libudev.so.0.12.0
> 0ff5e000-0ffdd000 r-xp 00000000 08:03 531368 /lib/powerpc-linux-gnu/libgcrypt.so.11.7.0
> 0ffdd000-0ffec000 ---p 0007f000 08:03 531368 /lib/powerpc-linux-gnu/libgcrypt.so.11.7.0
> 0ffec000-0ffee000 r--p 0007e000 08:03 531368 /lib/powerpc-linux-gnu/libgcrypt.so.11.7.0
> 0ffee000-0fff0000 rw-p 00080000 08:03 531368 /lib/powerpc-linux-gnu/libgcrypt.so.11.7.0
> 10000000-102bc000 r-xp 00000000 08:13 26478255 /home/jeremy/src/freedesktop/jhbuild/src/xorg/xserver/test/xi2/protocol-xiquerydevice
> 102cb000-102d2000 r--p 002bb000 08:13 26478255 /home/jeremy/src/freedesktop/jhbuild/src/xorg/xserver/test/xi2/protocol-xiquerydevice
> 102d2000-102d9000 rw-p 002c2000 08:13 26478255 /home/jeremy/src/freedesktop/jhbuild/src/xorg/xserver/test/xi2/protocol-xiquerydevice
> 102d9000-102e6000 rwxp 00000000 00:00 0
> 10717000-10738000 rwxp 00000000 00:00 0 [heap]
> 40000000-4001f000 r-xp 00000000 08:03 540473 /lib/powerpc-linux-gnu/ld-2.13.so
> 4001f000-40025000 rw-p 00000000 00:00 0
> 4002e000-4002f000 r--p 0001e000 08:03 540473 /lib/powerpc-linux-gnu/ld-2.13.so
> 4002f000-40030000 rw-p 0001f000 08:03 540473 /lib/powerpc-linux-gnu/ld-2.13.so
> 40100000-40121000 rw-p 00000000 00:00 0
> 40121000-40200000 ---p 00000000 00:00 0
> ffcd5000-ffcf6000 rw-p 00000000 00:00 0 [stack]
> /bin/bash: line 5: 13889 Aborted MALLOC_PERTURB_=15 ${dir}$tst
> FAIL: protocol-xiquerydevice
> Testing for BadValue on zero-length masks
> Testing for BadWindow.
> Triggering num_masks/length overflow
> Triggering bogus mask length error
> Testing existing device ids.
> Testing non-existing device ids.
> PASS: protocol-xiselectevents
> *** glibc detected *** ./protocol-xigetselectedevents: double free or corruption (fasttop): 0x1037fc58 ***
> ======= Backtrace: =========
> /lib/powerpc-linux-gnu/libc.so.6(+0x80314)[0xf998314]
> /lib/powerpc-linux-gnu/libc.so.6(cfree+0x8c)[0xf99c6a8]
> /lib/powerpc-linux-gnu/libc.so.6(realloc+0x220)[0xf99c9a4]
> ./protocol-xigetselectedevents(MakeAtom+0x320)[0x10005fd8]
> ./protocol-xigetselectedevents[0x1017a078]
> ./protocol-xigetselectedevents[0x100071d4]
> ./protocol-xigetselectedevents[0x1000f1bc]
> ./protocol-xigetselectedevents[0x10004a24]
> ./protocol-xigetselectedevents[0x10004fb8]
> ./protocol-xigetselectedevents[0x10005c4c]
> /lib/powerpc-linux-gnu/libc.so.6(+0x21fc0)[0xf939fc0]
> /lib/powerpc-linux-gnu/libc.so.6(+0x22194)[0xf93a194]
> ======= Memory map: ========
> 00100000-00103000 r-xp 00000000 00:00 0 [vdso]
> 0f7e9000-0f7f0000 r-xp 00000000 08:03 279616 /var/tmp/jhbuild/lib/libfontenc.so.1.0.0
> 0f7f0000-0f7ff000 ---p 00007000 08:03 279616 /var/tmp/jhbuild/lib/libfontenc.so.1.0.0
> 0f7ff000-0f800000 r--p 00006000 08:03 279616 /var/tmp/jhbuild/lib/libfontenc.so.1.0.0
> 0f800000-0f801000 rw-p 00007000 08:03 279616 /var/tmp/jhbuild/lib/libfontenc.so.1.0.0
> 0f811000-0f826000 r-xp 00000000 08:03 531400 /lib/powerpc-linux-gnu/libz.so.1.2.3.4
> 0f826000-0f835000 ---p 00015000 08:03 531400 /lib/powerpc-linux-gnu/libz.so.1.2.3.4
> 0f835000-0f836000 r--p 00014000 08:03 531400 /lib/powerpc-linux-gnu/libz.so.1.2.3.4
> 0f836000-0f837000 rw-p 00015000 08:03 531400 /lib/powerpc-linux-gnu/libz.so.1.2.3.4
> 0f847000-0f8d0000 r-xp 00000000 08:13 21109707 /home/jeremy/src/freedesktop/jhbuild/external/build/lib/libfreetype.so.6.6.2
> 0f8d0000-0f8df000 ---p 00089000 08:13 21109707 /home/jeremy/src/freedesktop/jhbuild/external/build/lib/libfreetype.so.6.6.2
> 0f8df000-0f8e3000 r--p 00088000 08:13 21109707 /home/jeremy/src/freedesktop/jhbuild/external/build/lib/libfreetype.so.6.6.2
> 0f8e3000-0f8e4000 rw-p 0008c000 08:13 21109707 /home/jeremy/src/freedesktop/jhbuild/external/build/lib/libfreetype.so.6.6.2
> 0f8f4000-0f8f7000 r-xp 00000000 08:03 531370 /lib/powerpc-linux-gnu/libgpg-error.so.0.8.0
> 0f8f7000-0f906000 ---p 00003000 08:03 531370 /lib/powerpc-linux-gnu/libgpg-error.so.0.8.0
> 0f906000-0f907000 r--p 00002000 08:03 531370 /lib/powerpc-linux-gnu/libgpg-error.so.0.8.0
> 0f907000-0f908000 rw-p 00003000 08:03 531370 /lib/powerpc-linux-gnu/libgpg-error.so.0.8.0
> 0f918000-0fa76000 r-xp 00000000 08:03 540476 /lib/powerpc-linux-gnu/libc-2.13.so
> 0fa76000-0fa86000 ---p 0015e000 08:03 540476 /lib/powerpc-linux-gnu/libc-2.13.so
> 0fa86000-0fa8a000 r--p 0015e000 08:03 540476 /lib/powerpc-linux-gnu/libc-2.13.so
> 0fa8a000-0fa8b000 rw-p 00162000 08:03 540476 /lib/powerpc-linux-gnu/libc-2.13.so
> 0fa8b000-0fa8e000 rw-p 00000000 00:00 0
> 0fa9e000-0faa6000 r-xp 00000000 08:03 540498 /lib/powerpc-linux-gnu/librt-2.13.so
> 0faa6000-0fab5000 ---p 00008000 08:03 540498 /lib/powerpc-linux-gnu/librt-2.13.so
> 0fab5000-0fab6000 r--p 00007000 08:03 540498 /lib/powerpc-linux-gnu/librt-2.13.so
> 0fab6000-0fab7000 rw-p 00008000 08:03 540498 /lib/powerpc-linux-gnu/librt-2.13.so
> 0fac7000-0fb6b000 r-xp 00000000 08:03 540484 /lib/powerpc-linux-gnu/libm-2.13.so
> 0fb6b000-0fb7b000 ---p 000a4000 08:03 540484 /lib/powerpc-linux-gnu/libm-2.13.so
> 0fb7b000-0fb7e000 r--p 000a4000 08:03 540484 /lib/powerpc-linux-gnu/libm-2.13.so
> 0fb7e000-0fb7f000 rw-p 000a7000 08:03 540484 /lib/powerpc-linux-gnu/libm-2.13.so
> 0fb8f000-0fb95000 r-xp 00000000 08:03 279759 /var/tmp/jhbuild/lib/libXdmcp.so.6.0.0
> 0fb95000-0fba4000 ---p 00006000 08:03 279759 /var/tmp/jhbuild/lib/libXdmcp.so.6.0.0
> 0fba4000-0fba5000 r--p 00005000 08:03 279759 /var/tmp/jhbuild/lib/libXdmcp.so.6.0.0
> 0fba5000-0fba6000 rw-p 00006000 08:03 279759 /var/tmp/jhbuild/lib/libXdmcp.so.6.0.0
> 0fbb6000-0fbb9000 r-xp 00000000 08:03 279655 /var/tmp/jhbuild/lib/libXau.so.6.0.0
> 0fbb9000-0fbc8000 ---p 00003000 08:03 279655 /var/tmp/jhbuild/lib/libXau.so.6.0.0
> 0fbc8000-0fbc9000 r--p 00002000 08:03 279655 /var/tmp/jhbuild/lib/libXau.so.6.0.0
> 0fbc9000-0fbca000 rw-p 00003000 08:03 279655 /var/tmp/jhbuild/lib/libXau.so.6.0.0
> 0fbda000-0fc35000 r-xp 00000000 08:03 279620 /var/tmp/jhbuild/lib/libXfont.so.1.4.1
> 0fc35000-0fc45000 ---p 0005b000 08:03 279620 /var/tmp/jhbuild/lib/libXfont.so.1.4.1
> 0fc45000-0fc46000 r--p 0005b000 08:03 279620 /var/tmp/jhbuild/lib/libXfont.so.1.4.1
> 0fc46000-0fc47000 rw-p 0005c000 08:03 279620 /var/tmp/jhbuild/lib/libXfont.so.1.4.1
> 0fc47000-0fc48000 rw-p 00000000 00:00 0
> 0fc58000-0fe81000 r-xp 00000000 08:03 268031 /var/tmp/jhbuild/lib/libpixman-1.so.0.25.3
> 0fe81000-0fe90000 ---p 00229000 08:03 268031 /var/tmp/jhbuild/lib/libpixman-1.so.0.25.3
> 0fe90000-0fe94000 r--p 00228000 08:03 268031 /var/tmp/jhbuild/lib/libpixman-1.so.0.25.3
> 0fe94000-0fe95000 rw-p 0022c000 08:03 268031 /var/tmp/jhbuild/lib/libpixman-1.so.0.25.3
> 0fea5000-0febc000 r-xp 00000000 08:03 540496 /lib/powerpc-linux-gnu/libpthread-2.13.so
> 0febc000-0fecb000 ---p 00017000 08:03 540496 /lib/powerpc-linux-gnu/libpthread-2.13.so
> 0fecb000-0fecc000 r--p 00016000 08:03 540496 /lib/powerpc-linux-gnu/libpthread-2.13.so
> 0fecc000-0fecd000 rw-p 00017000 08:03 540496 /lib/powerpc-linux-gnu/libpthread-2.13.so
> 0fecd000-0fecf000 rw-p 00000000 00:00 0
> 0fedf000-0feeb000 r-xp 00000000 08:03 279697 /var/tmp/jhbuild/lib/libpciaccess.so.0.11.0
> 0feeb000-0fefa000 ---p 0000c000 08:03 279697 /var/tmp/jhbuild/lib/libpciaccess.so.0.11.0
> 0fefa000-0fefb000 r--p 0000b000 08:03 279697 /var/tmp/jhbuild/lib/libpciaccess.so.0.11.0
> 0fefb000-0fefc000 rw-p 0000c000 08:03 279697 /var/tmp/jhbuild/lib/libpciaccess.so.0.11.0
> 0ff0c000-0ff0f000 r-xp 00000000 08:03 540483 /lib/powerpc-linux-gnu/libdl-2.13.so
> 0ff0f000-0ff1e000 ---p 00003000 08:03 540483 /lib/powerpc-linux-gnu/libdl-2.13.so
> 0ff1e000-0ff1f000 r--p 00002000 08:03 540483 /lib/powerpc-linux-gnu/libdl-2.13.so
> 0ff1f000-0ff20000 rw-p 00003000 08:03 540483 /lib/powerpc-linux-gnu/libdl-2.13.so
> 0ff30000-0ff3d000 r-xp 00000000 08:03 531395 /lib/powerpc-linux-gnu/libudev.so.0.12.0
> 0ff3d000-0ff4c000 ---p 0000d000 08:03 531395 /lib/powerpc-linux-gnu/libudev.so.0.12.0
> 0ff4c000-0ff4d000 r--p 0000c000 08:03 531395 /lib/powerpc-linux-gnu/libudev.so.0.12.0
> 0ff4d000-0ff4e000 rw-p 0000d000 08:03 531395 /lib/powerpc-linux-gnu/libudev.so.0.12.0
> 0ff5e000-0ffdd000 r-xp 00000000 08:03 531368 /lib/powerpc-linux-gnu/libgcrypt.so.11.7.0
> 0ffdd000-0ffec000 ---p 0007f000 08:03 531368 /lib/powerpc-linux-gnu/libgcrypt.so.11.7.0
> 0ffec000-0ffee000 r--p 0007e000 08:03 531368 /lib/powerpc-linux-gnu/libgcrypt.so.11.7.0
> 0ffee000-0fff0000 rw-p 00080000 08:03 531368 /lib/powerpc-linux-gnu/libgcrypt.so.11.7.0
> 10000000-102bb000 r-xp 00000000 08:13 26478264 /home/jeremy/src/freedesktop/jhbuild/src/xorg/xserver/test/xi2/protocol-xigetselectedevents
> 102ca000-102d1000 r--p 002ba000 08:13 26478264 /home/jeremy/src/freedesktop/jhbuild/src/xorg/xserver/test/xi2/protocol-xigetselectedevents
> 102d1000-102d8000 rw-p 002c1000 08:13 26478264 /home/jeremy/src/freedesktop/jhbuild/src/xorg/xserver/test/xi2/protocol-xigetselectedevents
> 102d8000-102e5000 rwxp 00000000 00:00 0
> 1037f000-103a0000 rwxp 00000000 00:00 0 [heap]
> 40000000-4001f000 r-xp 00000000 08:03 540473 /lib/powerpc-linux-gnu/ld-2.13.so
> 4001f000-40025000 rw-p 00000000 00:00 0
> 4002e000-4002f000 r--p 0001e000 08:03 540473 /lib/powerpc-linux-gnu/ld-2.13.so
> 4002f000-40030000 rw-p 0001f000 08:03 540473 /lib/powerpc-linux-gnu/ld-2.13.so
> 40100000-40121000 rw-p 00000000 00:00 0
> 40121000-40200000 ---p 00000000 00:00 0
> ffe0a000-ffe2b000 rw-p 00000000 00:00 0 [stack]
> /bin/bash: line 5: 13899 Aborted MALLOC_PERTURB_=15 ${dir}$tst
> FAIL: protocol-xigetselectedevents
> Testing BadDevice error for XIAllDevices and XIMasterDevices.
> Testing Success for VCP and VCK.
> Testing BadDevice error for all other devices.
> Testing window None
> Testing invalid window
> PASS: protocol-xisetclientpointer
> Testing invalid window
> Testing window None, unset ClientPointer.
> Testing valid window, unset ClientPointer.
> Testing valid window, set ClientPointer.
> Testing window None, set ClientPointer.
> PASS: protocol-xigetclientpointer
> Testing invalid device
> Testing invalid grab types
> Testing invalid grab type + detail combinations
> Testing invalid masks
> PASS: protocol-xipassivegrabdevice
> PASS: protocol-xiquerypointer
> *** glibc detected *** ./protocol-xiwarppointer: double free or corruption (fasttop): 0x109d6c58 ***
> ======= Backtrace: =========
> /lib/powerpc-linux-gnu/libc.so.6(+0x80314)[0xf998314]
> /lib/powerpc-linux-gnu/libc.so.6(cfree+0x8c)[0xf99c6a8]
> /lib/powerpc-linux-gnu/libc.so.6(realloc+0x220)[0xf99c9a4]
> ./protocol-xiwarppointer(MakeAtom+0x320)[0x10005f58]
> ./protocol-xiwarppointer[0x10179ff8]
> ./protocol-xiwarppointer[0x10007154]
> ./protocol-xiwarppointer[0x1000f13c]
> ./protocol-xiwarppointer[0x10004a04]
> ./protocol-xiwarppointer[0x10004f98]
> ./protocol-xiwarppointer[0x10005bb4]
> /lib/powerpc-linux-gnu/libc.so.6(+0x21fc0)[0xf939fc0]
> /lib/powerpc-linux-gnu/libc.so.6(+0x22194)[0xf93a194]
> ======= Memory map: ========
> 00100000-00103000 r-xp 00000000 00:00 0 [vdso]
> 0f7e9000-0f7f0000 r-xp 00000000 08:03 279616 /var/tmp/jhbuild/lib/libfontenc.so.1.0.0
> 0f7f0000-0f7ff000 ---p 00007000 08:03 279616 /var/tmp/jhbuild/lib/libfontenc.so.1.0.0
> 0f7ff000-0f800000 r--p 00006000 08:03 279616 /var/tmp/jhbuild/lib/libfontenc.so.1.0.0
> 0f800000-0f801000 rw-p 00007000 08:03 279616 /var/tmp/jhbuild/lib/libfontenc.so.1.0.0
> 0f811000-0f826000 r-xp 00000000 08:03 531400 /lib/powerpc-linux-gnu/libz.so.1.2.3.4
> 0f826000-0f835000 ---p 00015000 08:03 531400 /lib/powerpc-linux-gnu/libz.so.1.2.3.4
> 0f835000-0f836000 r--p 00014000 08:03 531400 /lib/powerpc-linux-gnu/libz.so.1.2.3.4
> 0f836000-0f837000 rw-p 00015000 08:03 531400 /lib/powerpc-linux-gnu/libz.so.1.2.3.4
> 0f847000-0f8d0000 r-xp 00000000 08:13 21109707 /home/jeremy/src/freedesktop/jhbuild/external/build/lib/libfreetype.so.6.6.2
> 0f8d0000-0f8df000 ---p 00089000 08:13 21109707 /home/jeremy/src/freedesktop/jhbuild/external/build/lib/libfreetype.so.6.6.2
> 0f8df000-0f8e3000 r--p 00088000 08:13 21109707 /home/jeremy/src/freedesktop/jhbuild/external/build/lib/libfreetype.so.6.6.2
> 0f8e3000-0f8e4000 rw-p 0008c000 08:13 21109707 /home/jeremy/src/freedesktop/jhbuild/external/build/lib/libfreetype.so.6.6.2
> 0f8f4000-0f8f7000 r-xp 00000000 08:03 531370 /lib/powerpc-linux-gnu/libgpg-error.so.0.8.0
> 0f8f7000-0f906000 ---p 00003000 08:03 531370 /lib/powerpc-linux-gnu/libgpg-error.so.0.8.0
> 0f906000-0f907000 r--p 00002000 08:03 531370 /lib/powerpc-linux-gnu/libgpg-error.so.0.8.0
> 0f907000-0f908000 rw-p 00003000 08:03 531370 /lib/powerpc-linux-gnu/libgpg-error.so.0.8.0
> 0f918000-0fa76000 r-xp 00000000 08:03 540476 /lib/powerpc-linux-gnu/libc-2.13.so
> 0fa76000-0fa86000 ---p 0015e000 08:03 540476 /lib/powerpc-linux-gnu/libc-2.13.so
> 0fa86000-0fa8a000 r--p 0015e000 08:03 540476 /lib/powerpc-linux-gnu/libc-2.13.so
> 0fa8a000-0fa8b000 rw-p 00162000 08:03 540476 /lib/powerpc-linux-gnu/libc-2.13.so
> 0fa8b000-0fa8e000 rw-p 00000000 00:00 0
> 0fa9e000-0faa6000 r-xp 00000000 08:03 540498 /lib/powerpc-linux-gnu/librt-2.13.so
> 0faa6000-0fab5000 ---p 00008000 08:03 540498 /lib/powerpc-linux-gnu/librt-2.13.so
> 0fab5000-0fab6000 r--p 00007000 08:03 540498 /lib/powerpc-linux-gnu/librt-2.13.so
> 0fab6000-0fab7000 rw-p 00008000 08:03 540498 /lib/powerpc-linux-gnu/librt-2.13.so
> 0fac7000-0fb6b000 r-xp 00000000 08:03 540484 /lib/powerpc-linux-gnu/libm-2.13.so
> 0fb6b000-0fb7b000 ---p 000a4000 08:03 540484 /lib/powerpc-linux-gnu/libm-2.13.so
> 0fb7b000-0fb7e000 r--p 000a4000 08:03 540484 /lib/powerpc-linux-gnu/libm-2.13.so
> 0fb7e000-0fb7f000 rw-p 000a7000 08:03 540484 /lib/powerpc-linux-gnu/libm-2.13.so
> 0fb8f000-0fb95000 r-xp 00000000 08:03 279759 /var/tmp/jhbuild/lib/libXdmcp.so.6.0.0
> 0fb95000-0fba4000 ---p 00006000 08:03 279759 /var/tmp/jhbuild/lib/libXdmcp.so.6.0.0
> 0fba4000-0fba5000 r--p 00005000 08:03 279759 /var/tmp/jhbuild/lib/libXdmcp.so.6.0.0
> 0fba5000-0fba6000 rw-p 00006000 08:03 279759 /var/tmp/jhbuild/lib/libXdmcp.so.6.0.0
> 0fbb6000-0fbb9000 r-xp 00000000 08:03 279655 /var/tmp/jhbuild/lib/libXau.so.6.0.0
> 0fbb9000-0fbc8000 ---p 00003000 08:03 279655 /var/tmp/jhbuild/lib/libXau.so.6.0.0
> 0fbc8000-0fbc9000 r--p 00002000 08:03 279655 /var/tmp/jhbuild/lib/libXau.so.6.0.0
> 0fbc9000-0fbca000 rw-p 00003000 08:03 279655 /var/tmp/jhbuild/lib/libXau.so.6.0.0
> 0fbda000-0fc35000 r-xp 00000000 08:03 279620 /var/tmp/jhbuild/lib/libXfont.so.1.4.1
> 0fc35000-0fc45000 ---p 0005b000 08:03 279620 /var/tmp/jhbuild/lib/libXfont.so.1.4.1
> 0fc45000-0fc46000 r--p 0005b000 08:03 279620 /var/tmp/jhbuild/lib/libXfont.so.1.4.1
> 0fc46000-0fc47000 rw-p 0005c000 08:03 279620 /var/tmp/jhbuild/lib/libXfont.so.1.4.1
> 0fc47000-0fc48000 rw-p 00000000 00:00 0
> 0fc58000-0fe81000 r-xp 00000000 08:03 268031 /var/tmp/jhbuild/lib/libpixman-1.so.0.25.3
> 0fe81000-0fe90000 ---p 00229000 08:03 268031 /var/tmp/jhbuild/lib/libpixman-1.so.0.25.3
> 0fe90000-0fe94000 r--p 00228000 08:03 268031 /var/tmp/jhbuild/lib/libpixman-1.so.0.25.3
> 0fe94000-0fe95000 rw-p 0022c000 08:03 268031 /var/tmp/jhbuild/lib/libpixman-1.so.0.25.3
> 0fea5000-0febc000 r-xp 00000000 08:03 540496 /lib/powerpc-linux-gnu/libpthread-2.13.so
> 0febc000-0fecb000 ---p 00017000 08:03 540496 /lib/powerpc-linux-gnu/libpthread-2.13.so
> 0fecb000-0fecc000 r--p 00016000 08:03 540496 /lib/powerpc-linux-gnu/libpthread-2.13.so
> 0fecc000-0fecd000 rw-p 00017000 08:03 540496 /lib/powerpc-linux-gnu/libpthread-2.13.so
> 0fecd000-0fecf000 rw-p 00000000 00:00 0
> 0fedf000-0feeb000 r-xp 00000000 08:03 279697 /var/tmp/jhbuild/lib/libpciaccess.so.0.11.0
> 0feeb000-0fefa000 ---p 0000c000 08:03 279697 /var/tmp/jhbuild/lib/libpciaccess.so.0.11.0
> 0fefa000-0fefb000 r--p 0000b000 08:03 279697 /var/tmp/jhbuild/lib/libpciaccess.so.0.11.0
> 0fefb000-0fefc000 rw-p 0000c000 08:03 279697 /var/tmp/jhbuild/lib/libpciaccess.so.0.11.0
> 0ff0c000-0ff0f000 r-xp 00000000 08:03 540483 /lib/powerpc-linux-gnu/libdl-2.13.so
> 0ff0f000-0ff1e000 ---p 00003000 08:03 540483 /lib/powerpc-linux-gnu/libdl-2.13.so
> 0ff1e000-0ff1f000 r--p 00002000 08:03 540483 /lib/powerpc-linux-gnu/libdl-2.13.so
> 0ff1f000-0ff20000 rw-p 00003000 08:03 540483 /lib/powerpc-linux-gnu/libdl-2.13.so
> 0ff30000-0ff3d000 r-xp 00000000 08:03 531395 /lib/powerpc-linux-gnu/libudev.so.0.12.0
> 0ff3d000-0ff4c000 ---p 0000d000 08:03 531395 /lib/powerpc-linux-gnu/libudev.so.0.12.0
> 0ff4c000-0ff4d000 r--p 0000c000 08:03 531395 /lib/powerpc-linux-gnu/libudev.so.0.12.0
> 0ff4d000-0ff4e000 rw-p 0000d000 08:03 531395 /lib/powerpc-linux-gnu/libudev.so.0.12.0
> 0ff5e000-0ffdd000 r-xp 00000000 08:03 531368 /lib/powerpc-linux-gnu/libgcrypt.so.11.7.0
> 0ffdd000-0ffec000 ---p 0007f000 08:03 531368 /lib/powerpc-linux-gnu/libgcrypt.so.11.7.0
> 0ffec000-0ffee000 r--p 0007e000 08:03 531368 /lib/powerpc-linux-gnu/libgcrypt.so.11.7.0
> 0ffee000-0fff0000 rw-p 00080000 08:03 531368 /lib/powerpc-linux-gnu/libgcrypt.so.11.7.0
> 10000000-102bb000 r-xp 00000000 08:13 26478377 /home/jeremy/src/freedesktop/jhbuild/src/xorg/xserver/test/xi2/protocol-xiwarppointer
> 102ca000-102d1000 r--p 002ba000 08:13 26478377 /home/jeremy/src/freedesktop/jhbuild/src/xorg/xserver/test/xi2/protocol-xiwarppointer
> 102d1000-102d8000 rw-p 002c1000 08:13 26478377 /home/jeremy/src/freedesktop/jhbuild/src/xorg/xserver/test/xi2/protocol-xiwarppointer
> 102d8000-102e5000 rwxp 00000000 00:00 0
> 109d6000-109f7000 rwxp 00000000 00:00 0 [heap]
> 40000000-4001f000 r-xp 00000000 08:03 540473 /lib/powerpc-linux-gnu/ld-2.13.so
> 4001f000-40025000 rw-p 00000000 00:00 0
> 4002e000-4002f000 r--p 0001e000 08:03 540473 /lib/powerpc-linux-gnu/ld-2.13.so
> 4002f000-40030000 rw-p 0001f000 08:03 540473 /lib/powerpc-linux-gnu/ld-2.13.so
> 40100000-40121000 rw-p 00000000 00:00 0
> 40121000-40200000 ---p 00000000 00:00 0
> ffccd000-ffcee000 rw-p 00000000 00:00 0 [stack]
> /bin/bash: line 5: 13924 Aborted MALLOC_PERTURB_=15 ${dir}$tst
> FAIL: protocol-xiwarppointer
> [dix] EventToXI2: Not implemented for 14
> [dix] EventToXI2: Not implemented for 12
> PASS: protocol-eventconvert
> PASS: xi2
> ========================================================================
> 4 of 11 tests failed
> Please report to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
> ========================================================================
> make[3]: *** [check-TESTS] Error 1
> make[3]: Leaving directory `/home/jeremy/src/freedesktop/jhbuild/src/xorg/xserver/test/xi2'
> make[2]: *** [check-am] Error 2
> make[2]: Leaving directory `/home/jeremy/src/freedesktop/jhbuild/src/xorg/xserver/test/xi2'
> make[1]: *** [check-recursive] Error 1
> make[1]: Leaving directory `/home/jeremy/src/freedesktop/jhbuild/src/xorg/xserver/test'
> make: *** [check-recursive] Error 1
>
>
>
> On Mar 25, 2012, at 5:36 PM, Peter Hutterer <peter.hutterer at who-t.net> wrote:
>
> > Introduced in d645edd11e7482f98c8b7e0d6c8693285c484907
> >
> > Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> > ---
> > test/xi2/protocol-common.c | 14 ++++++++++++++
> > test/xtest.c | 13 +++++++++++++
> > 2 files changed, 27 insertions(+), 0 deletions(-)
> >
> > diff --git a/test/xi2/protocol-common.c b/test/xi2/protocol-common.c
> > index 32c0567..47bb421 100644
> > --- a/test/xi2/protocol-common.c
> > +++ b/test/xi2/protocol-common.c
> > @@ -30,6 +30,7 @@
> > #include "exglobals.h"
> > #include "xkbsrv.h" /* for XkbInitPrivates */
> > #include "xserver-properties.h"
> > +#include "syncsrv.h"
> > #include <X11/extensions/XI2.h>
> >
> > #include "protocol-common.h"
> > @@ -38,6 +39,7 @@ struct devices devices;
> > ScreenRec screen;
> > WindowRec root;
> > WindowRec window;
> > +static ClientPtr server_client;
> >
> > void *userdata;
> >
> > @@ -214,6 +216,11 @@ device_cursor_init(DeviceIntPtr dev, ScreenPtr screen)
> > return TRUE;
> > }
> >
> > +static void
> > +device_cursor_cleanup(DeviceIntPtr dev, ScreenPtr screen)
> > +{
> > +}
> > +
> > static Bool
> > set_cursor_pos(DeviceIntPtr dev, ScreenPtr screen, int x, int y, Bool event)
> > {
> > @@ -231,6 +238,7 @@ init_simple(void)
> > screen.width = 640;
> > screen.height = 480;
> > screen.DeviceCursorInitialize = device_cursor_init;
> > + screen.DeviceCursorCleanup = device_cursor_cleanup;
> > screen.SetCursorPosition = set_cursor_pos;
> >
> > dixResetPrivates();
> > @@ -245,6 +253,12 @@ init_simple(void)
> > init_window(&root, NULL, ROOT_WINDOW_ID);
> > init_window(&window, &root, CLIENT_WINDOW_ID);
> >
> > + serverClient = &server_client;
> > + InitClient(serverClient, 0, (pointer) NULL);
> > + if (!InitClientResources(serverClient)) /* for root resources */
> > + FatalError("couldn't init server resources");
> > + SyncExtensionInit();
> > +
> > devices = init_devices();
> > }
> >
> > diff --git a/test/xtest.c b/test/xtest.c
> > index aeca669..99e2185 100644
> > --- a/test/xtest.c
> > +++ b/test/xtest.c
> > @@ -32,6 +32,7 @@
> > #include "exevents.h"
> > #include "xkbsrv.h"
> > #include "xserver-properties.h"
> > +#include "syncsrv.h"
> >
> > /**
> > */
> > @@ -47,9 +48,15 @@ device_cursor_init(DeviceIntPtr dev, ScreenPtr screen)
> > }
> >
> > static void
> > +device_cursor_cleanup(DeviceIntPtr dev, ScreenPtr screen)
> > +{
> > +}
> > +
> > +static void
> > xtest_init_devices(void)
> > {
> > ScreenRec screen;
> > + ClientRec server_client;
> >
> > /* random stuff that needs initialization */
> > memset(&screen, 0, sizeof(screen));
> > @@ -60,8 +67,14 @@ xtest_init_devices(void)
> > screen.width = 640;
> > screen.height = 480;
> > screen.DeviceCursorInitialize = device_cursor_init;
> > + screen.DeviceCursorCleanup = device_cursor_cleanup;
> > dixResetPrivates();
> > + serverClient = &server_client;
> > + InitClient(serverClient, 0, (pointer) NULL);
> > + if (!InitClientResources(serverClient)) /* for root resources */
> > + FatalError("couldn't init server resources");
> > InitAtoms();
> > + SyncExtensionInit();
> >
> > XkbInitPrivates();
> >
> > --
> > 1.7.7.6
> >
> > _______________________________________________
> > xorg-devel at lists.x.org: X.Org development
> > Archives: http://lists.x.org/archives/xorg-devel
> > Info: http://lists.x.org/mailman/listinfo/xorg-devel
> >
>
More information about the xorg-devel
mailing list