Bug 377239 - Krita crashed when trying to change fonts
Summary: Krita crashed when trying to change fonts
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 3.1.2
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-03-05 13:30 UTC by abnqeut
Modified: 2017-05-01 18:18 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 abnqeut 2017-03-05 13:30:25 UTC
Application: krita (3.1.2)

Qt Version: 5.8.0
Frameworks Version: 5.31.0
Operating System: Linux 4.10.1-1-MANJARO x86_64
Distribution: "Manjaro Linux"

-- Information about the crash:
- What I was doing when the application crashed: I just added some new text and tried to edit the font. When clicking the dropdown menu Krita crashed. This happend twice in a row, but not on the first try. It seems I'm able to change the font once, but not a second time.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2eebfcc080 (LWP 3300))]

Thread 6 (Thread 0x7f2e9f546700 (LWP 3310)):
#0  0x00007f2ee2aa410f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f2ee969958b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f2eea77aa71 in  () at /usr/lib/libQt5Widgets.so.5
#3  0x00007f2ee96986d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f2ee2a9e454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f2ee8d967df in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f2e9fd47700 (LWP 3308)):
#0  0x00007f2ee2aa410f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f2ee969958b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f2ee96927c6 in QSemaphore::tryAcquire(int, int) () at /usr/lib/libQt5Core.so.5
#3  0x00007f2ee6ba240a in KisTileDataSwapper::run() () at /usr/lib/libkritaimage.so.16
#4  0x00007f2ee96986d8 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f2ee2a9e454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f2ee8d967df in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f2ea0548700 (LWP 3307)):
#0  0x00007f2ee2aa410f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f2ee969958b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f2ee96924d3 in QSemaphore::acquire(int) () at /usr/lib/libQt5Core.so.5
#3  0x00007f2ee6b85fad in  () at /usr/lib/libkritaimage.so.16
#4  0x00007f2ee96986d8 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f2ee2a9e454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f2ee8d967df in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f2ec97d5700 (LWP 3302)):
#0  0x00007f2ee8d894ed in read () at /usr/lib/libc.so.6
#1  0x00007f2ee125eaa0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f2ee121a26e in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f2ee121a744 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f2ee121a8bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f2ee98c806b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f2ee987189a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f2ee9693a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f2ee2cca125 in  () at /usr/lib/libQt5DBus.so.5
#9  0x00007f2ee96986d8 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f2ee2a9e454 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f2ee8d967df in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f2ed5b38700 (LWP 3301)):
#0  0x00007f2ee8d8d48d in poll () at /usr/lib/libc.so.6
#1  0x00007f2ee731f8e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007f2ee7321679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f2ed7e8b239 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f2ee96986d8 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f2ee2a9e454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f2ee8d967df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f2eebfcc080 (LWP 3300)):
[KCrash Handler]
#6  0x00007f2eea78c91f in  () at /usr/lib/libQt5Widgets.so.5
#7  0x00007f2ed7f0ba16 in  () at /usr/lib/libQt5XcbQpa.so.5
#8  0x00007f2eea7cbe10 in QListView::selectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib/libQt5Widgets.so.5
#9  0x00007f2eea7a60b1 in  () at /usr/lib/libQt5Widgets.so.5
#10 0x00007f2ee989ed49 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#11 0x00007f2ee98224f7 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib/libQt5Core.so.5
#12 0x00007f2ee9826e1b in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib/libQt5Core.so.5
#13 0x00007f2ee982a922 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib/libQt5Core.so.5
#14 0x00007f2ee982426c in QItemSelectionModel::select(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib/libQt5Core.so.5
#15 0x00007f2ee9822944 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib/libQt5Core.so.5
#16 0x00007f2eea65b7f1 in QComboBox::showPopup() () at /usr/lib/libQt5Widgets.so.5
#17 0x00007f2eea65c555 in  () at /usr/lib/libQt5Widgets.so.5
#18 0x00007f2eea59d64f in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#19 0x00007f2eea658676 in QComboBox::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#20 0x00007f2eea55534c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#21 0x00007f2eea55d8c5 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#22 0x00007f2eeb979567 in KisApplication::notify(QObject*, QEvent*) () at /usr/lib/libkritaui.so.16
#23 0x00007f2ee9873440 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#24 0x00007f2eea55c0cd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib/libQt5Widgets.so.5
#25 0x00007f2eea5b73e6 in  () at /usr/lib/libQt5Widgets.so.5
#26 0x00007f2eea5b9e03 in  () at /usr/lib/libQt5Widgets.so.5
#27 0x00007f2eea55534c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007f2eea55cb61 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#29 0x00007f2eeb979567 in KisApplication::notify(QObject*, QEvent*) () at /usr/lib/libkritaui.so.16
#30 0x00007f2ee9873440 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#31 0x00007f2ee9dc0d53 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#32 0x00007f2ee9dc28c5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#33 0x00007f2ee9d9e44b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#34 0x00007f2ed7eeb9e0 in  () at /usr/lib/libQt5XcbQpa.so.5
#35 0x00007f2ee121a5a7 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#36 0x00007f2ee121a810 in  () at /usr/lib/libglib-2.0.so.0
#37 0x00007f2ee121a8bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#38 0x00007f2ee98c804f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#39 0x00007f2ee987189a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#40 0x00007f2ee9879de4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#41 0x0000000000404d32 in main ()

Reported using DrKonqi
Comment 1 Halla Rempt 2017-03-27 13:55:49 UTC
Um... There isn't a line of Krita code in the crash log. It looks like some timing related bug in Qt itself, something to do with xcb.
Comment 2 abnqeut 2017-05-01 18:18:27 UTC
Issue no longer occurs. Setting status to resolved.