Bug 380502 - Text tool crash
Summary: Text tool crash
Status: RESOLVED UPSTREAM
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 3.1.3
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-06-03 12:25 UTC by deadindeptford
Modified: 2017-11-20 15:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description deadindeptford 2017-06-03 12:25:25 UTC
Application: krita (3.1.3)

Qt Version: 5.7.1
Frameworks Version: 5.34.0
Operating System: Linux 4.8.0-53-generic x86_64
Distribution: KDE neon User Edition 5.10

-- Information about the crash:
- What I was doing when the application crashed: Typed some text, highlighted it, then went to the Tool Options docker panel. Clicked on the list of fonts and used the mouse scroll wheel to scroll down the list. Krita shuts down.

The crash can be reproduced every time.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fdeda4fe900 (LWP 10133))]

Thread 5 (Thread 0x7fde929c1700 (LWP 10146)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdeeb6429fb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0xa00cb70) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=this@entry=0xa00c7b0, mutex=mutex@entry=0xa00c7a8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007fdeec3104ba in QFileInfoGatherer::run (this=0xa00c798) at dialogs/qfileinfogatherer.cpp:217
#4  0x00007fdeeb641b48 in QThreadPrivate::start (arg=0xa00c798) at thread/qthread_unix.cpp:368
#5  0x00007fdee5093754 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#6  0x00007fdee57856ba in start_thread (arg=0x7fde929c1700) at pthread_create.c:333
#7  0x00007fdeead3882d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fde931c2700 (LWP 10145)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdeeb6429fb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x99385b0) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x9938590, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007fdeeb63be56 in QSemaphore::tryAcquire (this=0x9931c40, n=n@entry=1, timeout=timeout@entry=-1) at thread/qsemaphore.cpp:220
#4  0x00007fdee8efbb63 in KisTileDataSwapper::waitForWork (this=this@entry=0x7fdee93d5a80 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at /workspace/build/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#5  0x00007fdee8efbd5a in KisTileDataSwapper::run (this=0x7fdee93d5a80 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at /workspace/build/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#6  0x00007fdeeb641b48 in QThreadPrivate::start (arg=0x7fdee93d5a80 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at thread/qthread_unix.cpp:368
#7  0x00007fdee5093754 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#8  0x00007fdee57856ba in start_thread (arg=0x7fde931c2700) at pthread_create.c:333
#9  0x00007fdeead3882d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fde939c3700 (LWP 10144)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdeeb6429fb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x9938340) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=this@entry=0x9931c28, mutex=mutex@entry=0x9931c20, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007fdeeb63bbab in QSemaphore::acquire (this=this@entry=0x7fdee93d5a50 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+16>, n=n@entry=1) at thread/qsemaphore.cpp:143
#4  0x00007fdee8ee24ee in KisTileDataPooler::waitForWork (this=0x7fdee93d5a40 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at /workspace/build/libs/image/tiles3/kis_tile_data_pooler.cc:165
#5  0x00007fdee8ee2caa in KisTileDataPooler::run (this=0x7fdee93d5a40 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at /workspace/build/libs/image/tiles3/kis_tile_data_pooler.cc:187
#6  0x00007fdeeb641b48 in QThreadPrivate::start (arg=0x7fdee93d5a40 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#7  0x00007fdee5093754 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#8  0x00007fdee57856ba in start_thread (arg=0x7fde939c3700) at pthread_create.c:333
#9  0x00007fdeead3882d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fdecdd49700 (LWP 10135)):
#0  0x00007fdeead2cb5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fdee3eb138c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdee3eb149c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdeeb86275b in QEventDispatcherGlib::processEvents (this=0x7fdec80008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fdeeb80d0ba in QEventLoop::exec (this=this@entry=0x7fdecdd48bd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007fdeeb63cf64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007fdee59b0735 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fdeeb641b48 in QThreadPrivate::start (arg=0x7fdee5a24d60) at thread/qthread_unix.cpp:368
#8  0x00007fdee5093754 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#9  0x00007fdee57856ba in start_thread (arg=0x7fdecdd49700) at pthread_create.c:333
#10 0x00007fdeead3882d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fdeda4fe900 (LWP 10133)):
[KCrash Handler]
#6  0x00007fdeec321f6f in QAccessibleTableCell::state (this=0xf131e70) at accessible/itemviews.cpp:1009
#7  0x00007fdeda14ec26 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#8  0x00007fdeec360ff0 in QListView::selectionChanged (this=0xa94c580, selected=..., deselected=...) at itemviews/qlistview.cpp:3265
#9  0x00007fdeec33b5a1 in QAbstractItemView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qabstractitemview.cpp:412
#10 0x00007fdeeb839e89 in QMetaObject::activate (sender=sender@entry=0xa539250, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff175d67d0) at kernel/qobject.cpp:3740
#11 0x00007fdeeb83a837 in QMetaObject::activate (sender=sender@entry=0xa539250, m=m@entry=0x7fdeeba50ee0 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff175d67d0) at kernel/qobject.cpp:3602
#12 0x00007fdeeb7be7e7 in QItemSelectionModel::selectionChanged (this=this@entry=0xa539250, _t1=..., _t2=...) at .moc/moc_qitemselectionmodel.cpp:478
#13 0x00007fdeeb7c301b in QItemSelectionModel::emitSelectionChanged (this=this@entry=0xa539250, newSelection=..., oldSelection=...) at itemmodels/qitemselectionmodel.cpp:1811
#14 0x00007fdeeb7c6af2 in QItemSelectionModel::select (this=0xa539250, selection=..., command=...) at itemmodels/qitemselectionmodel.cpp:1298
#15 0x00007fdeeb7c056c in QItemSelectionModel::select (this=this@entry=0xa539250, index=..., command=command@entry=...) at itemmodels/qitemselectionmodel.cpp:1159
#16 0x00007fdeeb7bec34 in QItemSelectionModel::setCurrentIndex (this=this@entry=0xa539250, index=..., command=command@entry=...) at itemmodels/qitemselectionmodel.cpp:1373
#17 0x00007fdeec1f24f1 in QComboBox::showPopup (this=0xac7a170) at widgets/qcombobox.cpp:2575
#18 0x00007fdeec1f3295 in QComboBoxPrivate::showPopupFromMouseEvent (this=0xad17290, e=0x7fff175d71c0) at widgets/qcombobox.cpp:3075
#19 0x00007fdeec1358ef in QWidget::event (this=this@entry=0xac7a170, event=event@entry=0x7fff175d71c0) at kernel/qwidget.cpp:8781
#20 0x00007fdeec1ef396 in QComboBox::event (this=0xac7a170, event=0x7fff175d71c0) at widgets/qcombobox.cpp:3038
#21 0x00007fdeec0edecc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0xac7a170, e=0x7fff175d71c0) at kernel/qapplication.cpp:3799
#22 0x00007fdeec0f6165 in QApplication::notify (this=<optimized out>, receiver=receiver@entry=0xac7a170, e=e@entry=0x7fff175d71c0) at kernel/qapplication.cpp:3273
#23 0x00007fdeed2b6227 in KisApplication::notify (this=<optimized out>, receiver=0xac7a170, event=0x7fff175d71c0) at /workspace/build/libs/ui/KisApplication.cpp:543
#24 0x00007fdeeb80f0c8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0xac7a170, event=event@entry=0x7fff175d71c0) at kernel/qcoreapplication.cpp:988
#25 0x00007fdeec0f4e8f in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0xac7a170, event=event@entry=0x7fff175d71c0, alienWidget=alienWidget@entry=0xac7a170, nativeWidget=0x929a840, buttonDown=buttonDown@entry=0x7fdeec5f1c80 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2771
#27 0x00007fdeec14f236 in QWidgetWindow::handleMouseEvent (this=this@entry=0xa65c1e0, event=event@entry=0x7fff175d7650) at kernel/qwidgetwindow.cpp:617
#28 0x00007fdeec151c83 in QWidgetWindow::event (this=0xa65c1e0, event=0x7fff175d7650) at kernel/qwidgetwindow.cpp:239
#29 0x00007fdeec0edecc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0xa65c1e0, e=0x7fff175d7650) at kernel/qapplication.cpp:3799
#30 0x00007fdeec0f58c6 in QApplication::notify (this=0x7fff175d7e80, receiver=receiver@entry=0xa65c1e0, e=e@entry=0x7fff175d7650) at kernel/qapplication.cpp:3556
#31 0x00007fdeed2b6227 in KisApplication::notify (this=<optimized out>, receiver=0xa65c1e0, event=0x7fff175d7650) at /workspace/build/libs/ui/KisApplication.cpp:543
#32 0x00007fdeeb80f0c8 in QCoreApplication::notifyInternal2 (receiver=0xa65c1e0, event=0x7fff175d7650) at kernel/qcoreapplication.cpp:988
#33 0x00007fdeebb525a0 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#34 0x00007fdeebb544a5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#35 0x00007fdeebb3232b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#36 0x00007fdeda132270 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#37 0x00007fdee3eb1197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fdee3eb13f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fdee3eb149c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fdeeb86273f in QEventDispatcherGlib::processEvents (this=0x2a8a760, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#41 0x00007fdeeb80d0ba in QEventLoop::exec (this=this@entry=0x7fff175d79f0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#42 0x00007fdeeb8156cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#43 0x00000000004050d6 in main (argc=1, argv=<optimized out>) at /workspace/build/krita/main.cc:269

Reported using DrKonqi
Comment 1 Halla Rempt 2017-11-20 15:43:34 UTC
Hi,

I'm sorry for the late reply. This crash happens inside Qt and is caused by a bug in Qt's accessibility framework and should be fixed by updating to a later version of Qt. You can also uninstall Qt's accessibility integration.