X-Server crashes with multitouch
-
Hi everybody!
I have a problem with Qt and the multitouch of my 3M screen recognized by Ubuntu 11.04. Qt makes the X-server continuously crashing and I can't understand why. It happens at the moment of touch release.. I used the multitouch with several other systems (kivy using mtdev for example) and I didn't get any troubles...
Here is the backtrace in my X-server log:
@Backtrace:
[ 45352.830] 0: /usr/bin/X (xorg_backtrace+0x26) [0x4a2626]
[ 45352.830] 1: /usr/bin/X (0x400000+0x6219a) [0x46219a]
[ 45352.830] 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f3821912000+0xfc60) [0x7f3821921c60]
[ 45352.831] 3: /usr/bin/X (0x400000+0x365c9) [0x4365c9]
[ 45352.831] 4: /usr/bin/X (0x400000+0x3ccc8) [0x43ccc8]
[ 45352.831] 5: /usr/bin/X (0x400000+0xe671a) [0x4e671a]
[ 45352.831] 6: /usr/bin/X (0x400000+0x1085f0) [0x5085f0]
[ 45352.831] 7: /usr/bin/X (0x400000+0xe10f5) [0x4e10f5]
[ 45352.831] 8: /usr/bin/X (0x400000+0xe2559) [0x4e2559]
[ 45352.831] 9: /usr/bin/X (0x400000+0xe61cf) [0x4e61cf]
[ 45352.831] 10: /usr/bin/X (0x400000+0x1100f1) [0x5100f1]
[ 45352.831] 11: /usr/bin/X (mieqProcessDeviceEvent+0x2d9) [0x4a1e19]
[ 45352.831] 12: /usr/bin/X (mieqProcessInputEvents+0xc4) [0x4a1f34]
[ 45352.831] 13: /usr/bin/X (ProcessInputEvents+0x9) [0x46c6d9]
[ 45352.831] 14: /usr/bin/X (0x400000+0x2e023) [0x42e023]
[ 45352.831] 15: /usr/bin/X (0x400000+0x21a7e) [0x421a7e]
[ 45352.831] 16: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xff) [0x7f382085beff]
[ 45352.831] 17: /usr/bin/X (0x400000+0x21629) [0x421629]
[ 45352.831] Segmentation fault at address 0x21b
[ 45352.831]
Caught signal 11 (Segmentation fault). Server aborting
[ 45352.831]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 45352.831] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 45352.831]
[ 45352.840] (II) Power Button: Close
[ 45352.840] (II) UnloadModule: "evdev"
[ 45352.840] (II) Unloading evdev
[ 45352.850] (II) Power Button: Close
[ 45352.850] (II) UnloadModule: "evdev"
[ 45352.850] (II) Unloading evdev
[ 45352.850] (II) CHICONY HP Basic USB Keyboard: Close
[ 45352.850] (II) UnloadModule: "evdev"
[ 45352.850] (II) Unloading evdev
[ 45352.860] (II) HP HP USB Laser Mouse: Close
[ 45352.860] (II) UnloadModule: "evdev"
[ 45352.860] (II) Unloading evdev
[ 45352.872] (II) 3M 3M MicroTouch USB controller: Close
[ 45352.872] (II) UnloadModule: "evdev"
[ 45352.872] (II) Unloading evdev
[ 45352.882] (II) HP WMI hotkeys: Close
[ 45352.882] (II) UnloadModule: "evdev"
[ 45352.882] (II) Unloading evdev
[ 45354.371] ddxSigGiveUp: Closing log
@If someone has any idea I would be more than thanks-full.
Thank you very much,
Tinmn -
Just another post in order to say that it is not 64bit related. Tired about being unable to fix it, I installed ubuntu 32 bits "just in case" but got the same crash:
@Backtrace:
[ 13524.449] 0: /usr/bin/X (xorg_backtrace+0x3b) [0x80eab2b]
[ 13524.449] 1: /usr/bin/X (0x8048000+0x5fad8) [0x80a7ad8]
[ 13524.449] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb775940c]
[ 13524.449] 3: /usr/bin/X (0x8048000+0x37bb3) [0x807fbb3]
[ 13524.449] 4: /usr/bin/X (0x8048000+0xeadae) [0x8132dae]
[ 13524.449] 5: /usr/bin/X (0x8048000+0x10f322) [0x8157322]
[ 13524.449] 6: /usr/bin/X (0x8048000+0xe4f7e) [0x812cf7e]
[ 13524.449] 7: /usr/bin/X (0x8048000+0xe660b) [0x812e60b]
[ 13524.449] 8: /usr/bin/X (0x8048000+0xea7fe) [0x81327fe]
[ 13524.449] 9: /usr/bin/X (0x8048000+0x117459) [0x815f459]
[ 13524.449] 10: /usr/bin/X (mieqProcessDeviceEvent+0x2f0) [0x80ea280]
[ 13524.449] 11: /usr/bin/X (mieqProcessInputEvents+0xe3) [0x80ea3d3]
[ 13524.450] 12: /usr/bin/X (ProcessInputEvents+0x17) [0x80b34d7]
[ 13524.450] 13: /usr/bin/X (0x8048000+0x27f0e) [0x806ff0e]
[ 13524.450] 14: /usr/bin/X (0x8048000+0x1a81c) [0x806281c]
[ 13524.450] 15: /lib/i386-linux-gnu/libc.so.6 (__libc_start_main+0xe7) [0xb7473e37]
[ 13524.450] 16: /usr/bin/X (0x8048000+0x1a411) [0x8062411]
[ 13524.450] Segmentation fault at address 0x8d
[ 13524.450]
Caught signal 11 (Segmentation fault). Server aborting
[ 13524.450]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 13524.450] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 13524.450]
[ 13524.452] (II) Power Button: Close
[ 13524.452] (II) UnloadModule: "evdev"
[ 13524.452] (II) Unloading evdev
[ 13524.456] (II) Power Button: Close
[ 13524.456] (II) UnloadModule: "evdev"
[ 13524.456] (II) Unloading evdev
[ 13524.460] (II) CHICONY HP Basic USB Keyboard: Close
[ 13524.460] (II) UnloadModule: "evdev"
[ 13524.460] (II) Unloading evdev
[ 13524.464] (II) HP HP USB Laser Mouse: Close
[ 13524.464] (II) UnloadModule: "evdev"
[ 13524.464] (II) Unloading evdev
[ 13524.468] (II) 3M 3M MicroTouch USB controller: Close
[ 13524.468] (II) UnloadModule: "evdev"
[ 13524.468] (II) Unloading evdev
[ 13524.472] (II) HP WMI hotkeys: Close
[ 13524.472] (II) UnloadModule: "evdev"
[ 13524.472] (II) Unloading evdev
[ 13525.940] ddxSigGiveUp: Closing log
@I hope this will be fixed very soon.
Tinmn. -
you still have problem with it?
-
Well. I don't remember how I finally fixed this stuff. I think I resigned and installed Windows.
It was a long time ago, I'm not working with Qt anymore.
-
Thanks for the answer. I have also a 3M creen and run my Qt program on Ubuntu 11.10. I contacted the manufacturer of 3M screen, he tolds me that the drivers for 3M Monitors allow only used one touch. One question, what gestures you might recognize? There are 5 standard gestures in Qt: Pinch, Pan, Swipe, Tap and LongTap. Which will work for you and which are not?
-
Well I wasn't using the standard gestures but building my own.
However I did was able to have more than one touch. By looking at the backtrace it seems that it was recognized as 3M's touch events but I thing I was using ubuntu's standard multitouch support. If I remember well, I exactly had trouble with the non-multitouch support with 3M drivers. I'm not sure thought.