TSLIB segfault on exit??
-
Using Qt Embedded 4.7.4 on codesourcery toolchain (arm). Successfully build/installed Qt and tslib, but when running a Qt application like so:
TSLIB_CONFFILE=/etc/ts.conf QWS_MOUSE_PROTO=Tslib ./calculator -qws
I get a segmentation fault on exit? If I use any input driver except for tslib, I get no fault. I've cleaned the ts.conf file carefully. Has anyone seen tslib based Qt embedded apps segfault on exit?? The app works just fine, but segfaults on exit.
The tslib's calibration and test programs work just fine, btw....no segfaults.
Thanks!
-
It's crashing in the QWSTslibMouseHandlerPrivate dtor, in a call to ts_close().
Oddly, if I link in tslib to the application directly I get no segfault on exit??
-
Well...now it is segfaulting no matter if I link in tslib or not? I wonder what has changed?
-
Here's my config and qmake.conf for Qt...can someone review and make sure I'm ok?? Maybe I'm missing a switch?
./configure -prefix /usr/local/Trolltech/Qt-arm-4.7.4 -embedded arm -platform qws/linux-x86-g++ -xplatform qws/linux-arm-gnueabi-g++ -depths 16,24,32 -no-mmx -no-3dnow -no-sse -no-sse2 -no-cups -no-largefile -no-accessibility -no-qt3support -no-openssl -no-gtkstyle -qt-gfx-vnc -qt-mouse-pc -plugin-mouse-pc -qt-mouse-linuxinput -release -no-glib -opensource -qt-mouse-linuxtp -plugin-mouse-linuxtp -qt-mouse-tslib -I/usr/local/Trolltech/tslib/include -L/usr/local/Trolltech/tslib/lib -R/usr/local/Trolltech/tslib/lib
qmake.conf tunings:
QMAKE_CFLAGS += -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-strict-volatile-bitfields
QMAKE_CXXFLAGS += -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-strict-volatile-bitfields