Bug 360671 - [WACOM CINTIQ] crash when touching the cintiq with the stylus
Summary: [WACOM CINTIQ] crash when touching the cintiq with the stylus
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tablets (tablet issues are only very rarely bugs in Krita!) (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-03-17 19:06 UTC by Halla Rempt
Modified: 2016-03-31 18:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Halla Rempt 2016-03-17 19:06:05 UTC
Application: krita ()

Qt Version: 5.5.1
Operating System: Linux 4.1.15-8-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
I created a document and touched the screen with the stylus.

-- Backtrace:
Application: krita (krita), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5eb7c0f7c0 (LWP 3162))]

Thread 4 (Thread 0x7f5e85204700 (LWP 3165)):
#0  0x00007f5eac25503f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f5eb031f34b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f5eb031853b in QSemaphore::acquire(int) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f5eb670b202 in KisTileDataPooler::run() (this=0x7f5eb6bba540 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at /home/boud/dev/krita/libs/image/tiles3/kis_tile_data_pooler.cc:165
#4  0x00007f5eb670b202 in KisTileDataPooler::run() (this=0x7f5eb6bba540 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at /home/boud/dev/krita/libs/image/tiles3/kis_tile_data_pooler.cc:187
#5  0x00007f5eb031e32f in  () at /usr/lib64/libQt5Core.so.5
#6  0x00007f5eaa8fd754 in  () at /usr/X11R6/lib64/libGL.so.1
#7  0x00007f5eac2510a4 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f5eaf715fed in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f5e84a03700 (LWP 3166)):
#0  0x00007f5eac25503f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f5eb031f34b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f5eb03187c6 in QSemaphore::tryAcquire(int, int) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f5eb67294d3 in KisTileDataSwapper::waitForWork() (this=<optimized out>) at /home/boud/dev/krita/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x00007f5eb67296ba in KisTileDataSwapper::run() (this=0x7f5eb6bba580 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at /home/boud/dev/krita/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x00007f5eb031e32f in  () at /usr/lib64/libQt5Core.so.5
#6  0x00007f5eaa8fd754 in  () at /usr/X11R6/lib64/libGL.so.1
#7  0x00007f5eac2510a4 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f5eaf715fed in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f5e83cb6700 (LWP 3167)):
#0  0x00007f5eac25503f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f5eb031f34b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f5eb140316d in  () at /usr/lib64/libQt5Widgets.so.5
#3  0x00007f5eb031e32f in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007f5eaa8fd754 in  () at /usr/X11R6/lib64/libGL.so.1
#5  0x00007f5eac2510a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f5eaf715fed in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f5eb7c0f7c0 (LWP 3162)):
[KCrash Handler]
#4  0x00007f5eb03a756a in QtSharedPointer::ExternalRefCountData::getAndRef(QObject const*) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f5eb760e367 in QWindowSystemInterface::handleTabletEvent(QWindow*, QPointF const&, QPointF const&, int, int, QFlags<Qt::MouseButton>, double, int, int, double, double, int, long long, QFlags<Qt::KeyboardModifier>) (ptr=0x924a410, this=0x9246d10) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:696
#6  0x00007f5eb760e367 in QWindowSystemInterface::handleTabletEvent(QWindow*, QPointF const&, QPointF const&, int, int, QFlags<Qt::MouseButton>, double, int, int, double, double, int, long long, QFlags<Qt::KeyboardModifier>) (p=0x924a410, this=0x9246d10) at /usr/include/qt5/QtCore/qpointer.h:62
#7  0x00007f5eb760e367 in QWindowSystemInterface::handleTabletEvent(QWindow*, QPointF const&, QPointF const&, int, int, QFlags<Qt::MouseButton>, double, int, int, double, double, int, long long, QFlags<Qt::KeyboardModifier>) (t=QWindowSystemInterfacePrivate::Tablet, time=100185, w=0x924a410, this=0x9246d00) at /home/boud/dev/krita/libs/ui/input/wintab/qxcbconnection.cpp:480
#8  0x00007f5eb760e367 in QWindowSystemInterface::handleTabletEvent(QWindow*, QPointF const&, QPointF const&, int, int, QFlags<Qt::MouseButton>, double, int, int, double, double, int, long long, QFlags<Qt::KeyboardModifier>) (mods=..., t=QWindowSystemInterfacePrivate::Tablet, time=100185, w=0x924a410, this=0x9246d00) at /home/boud/dev/krita/libs/ui/input/wintab/qxcbconnection.cpp:492
#9  0x00007f5eb760e367 in QWindowSystemInterface::handleTabletEvent(QWindow*, QPointF const&, QPointF const&, int, int, QFlags<Qt::MouseButton>, double, int, int, double, double, int, long long, QFlags<Qt::KeyboardModifier>) (mods=..., uid=3329514015226, z=0, rotation=0, tpressure=0, yTilt=13, xTilt=-40, pressure=0, b=..., pointerType=1, device=2, global=..., local=..., time=100185, w=0x924a410, this=0x9246d00) at /home/boud/dev/krita/libs/ui/input/wintab/qxcbconnection.cpp:509
#10 0x00007f5eb760e367 in QWindowSystemInterface::handleTabletEvent(QWindow*, QPointF const&, QPointF const&, int, int, QFlags<Qt::MouseButton>, double, int, int, double, double, int, long long, QFlags<Qt::KeyboardModifier>) (w=0x924a410, local=..., global=..., device=2, pointerType=1, buttons=..., pressure=0, xTilt=-40, yTilt=13, tangentialPressure=0, rotation=0, z=0, uid=3329514015226, modifiers=...) at /home/boud/dev/krita/libs/ui/input/wintab/qxcbconnection.cpp:563
#11 0x00007f5eb7607e68 in QXcbConnection::xi2ReportTabletEvent(QXcbConnection::TabletData&, void*) (this=this@entry=0x1bcf3e0, tabletData=..., event=event@entry=0x9202930) at /home/boud/dev/krita/libs/ui/input/wintab/qxcbconnection_xi2.cpp:887
#12 0x00007f5eb7608252 in QXcbConnection::xi2HandleTabletEvent(void*, QXcbConnection::TabletData*, QWindow*) (this=this@entry=0x1bcf3e0, event=event@entry=0x9202930, tabletData=0x1bc3938, window=window@entry=0x924a410) at /home/boud/dev/krita/libs/ui/input/wintab/qxcbconnection_xi2.cpp:721
#13 0x00007f5eb760bebd in QXcbConnection::xi2HandleEvent(xcb_ge_event_t*) (this=0x1bcf3e0, event=0x9202930) at /home/boud/dev/krita/libs/ui/input/wintab/qxcbconnection_xi2.cpp:502
#14 0x00007f5eb760f236 in KisXi2EventFilter::nativeEventFilter(QByteArray const&, void*, long*) (this=0x7f5eb7a4ff80 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>, eventType=..., message=0x7f5e9c003410, result=<optimized out>) at /home/boud/dev/krita/libs/ui/input/wintab/kis_xi2_event_filter.cpp:115
#15 0x00007f5eb04f6fc0 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib64/libQt5Core.so.5
#16 0x00007f5ea3ef7044 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib64/libQt5XcbQpa.so.5
#17 0x00007f5ea3ef901b in QXcbConnection::processXcbEvents() () at /usr/lib64/libQt5XcbQpa.so.5
#18 0x00007f5eb052aac6 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#19 0x00007f5eb11dde7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#20 0x00007f5eb11e2cc8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#21 0x00007f5eb7543ce0 in KisApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x16959d0, event=0x7f5e9c0034f0) at /home/boud/dev/krita/libs/ui/KisApplication.cpp:519
#22 0x00007f5eb04f9e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#23 0x00007f5eb04fc057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#24 0x00007f5eb05518f3 in  () at /usr/lib64/libQt5Core.so.5
#25 0x00007f5eaae1bc84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#26 0x00007f5eaae1bed8 in  () at /usr/lib64/libglib-2.0.so.0
#27 0x00007f5eaae1bf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#28 0x00007f5eb0550d6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#29 0x00007f5eb04f7d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#30 0x00007f5eb04ff8f6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#31 0x0000000000403408 in main(int, char**) (argc=1, argv=0x7ffc41ee37e8) at /home/boud/dev/krita/krita/main.cc:178

Reported using DrKonqi
Comment 1 Halla Rempt 2016-03-17 19:14:13 UTC
This seems to happen if you're too eager, i.e., try to touch the screen before the canvas is really ready.
Comment 2 Halla Rempt 2016-03-31 18:23:01 UTC
Fixed in the meantime by Fazek.