Application: krita (2.9 Beta 1) KDE Platform Version: 4.13.1 Qt Version: 4.8.6 Operating System: Linux 3.8.5 x86_64 Distribution: Debian GNU/Linux testing (wheezy) Krita from calligra/2.9 branch, git revision 42645dd980da54b057e65923b22e94e67606066d Debian testing/unstable 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 0x7f3a872b87c0 (LWP 18902))] Thread 5 (Thread 0x7f3a43fff700 (LWP 18937)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f3a7fa767a6 in wait (time=18446744073709551615, this=0x70f9660) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x70f9610, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f3a7fa728eb in QSemaphore::acquire (this=this@entry=0x70eea90, n=n@entry=1) at thread/qsemaphore.cpp:144 #4 0x00007f3a861d03de in KisTileDataPooler::waitForWork (this=0x70eea80) at /home/portnov/src/calligra/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:162 #5 0x00007f3a861d07a7 in KisTileDataPooler::run (this=0x70f968c) at /home/portnov/src/calligra/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:184 #6 0x00007f3a7fa762bf in QThreadPrivate::start (arg=0x70eea80) at thread/qthread_unix.cpp:349 #7 0x00007f3a78e20062 in start_thread (arg=0x7f3a43fff700) at pthread_create.c:312 #8 0x00007f3a7ec97bfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 4 (Thread 0x7f3a5c53d700 (LWP 18938)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f3a7fa767a6 in wait (time=18446744073709551615, this=0x70f9a10) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x70f99c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f3a7fa72cf3 in QSemaphore::tryAcquire (this=0x70f96d0, n=n@entry=1, timeout=timeout@entry=-1) at thread/qsemaphore.cpp:221 #4 0x00007f3a861e9913 in KisTileDataSwapper::waitForWork (this=this@entry=0x70eeab8) at /home/portnov/src/calligra/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86 #5 0x00007f3a861e9baa in KisTileDataSwapper::run (this=0x70eeab8) at /home/portnov/src/calligra/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92 #6 0x00007f3a7fa762bf in QThreadPrivate::start (arg=0x70eeab8) at thread/qthread_unix.cpp:349 #7 0x00007f3a78e20062 in start_thread (arg=0x7f3a5c53d700) at pthread_create.c:312 #8 0x00007f3a7ec97bfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 3 (Thread 0x7f3a51fa8700 (LWP 18939)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f3a7fa767a6 in wait (time=18446744073709551615, this=0x7c695d0) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=this@entry=0x7c691a8, mutex=mutex@entry=0x7c691a0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f3a80cae7f6 in QFileInfoGatherer::run (this=0x7c69190) at dialogs/qfileinfogatherer.cpp:214 #4 0x00007f3a7fa762bf in QThreadPrivate::start (arg=0x7c69190) at thread/qthread_unix.cpp:349 #5 0x00007f3a78e20062 in start_thread (arg=0x7f3a51fa8700) at pthread_create.c:312 #6 0x00007f3a7ec97bfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7f3a517a7700 (LWP 18940)): #0 0x00007f3a7ec90df3 in select () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f3a7fba30f7 in qt_safe_select (nfds=24, fdread=0x7f3a44000ae8, fdwrite=0x7f3a44000d80, fdexcept=0x7f3a44001018, orig_timeout=0x0) at kernel/qcore_unix.cpp:79 #2 0x00007f3a7fba8634 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f3a44000930, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223 #3 0x00007f3a7fba8aa2 in QEventDispatcherUNIX::processEvents (this=0x7f3a44000910, flags=...) at kernel/qeventdispatcher_unix.cpp:936 #4 0x00007f3a7fb76fef in QEventLoop::processEvents (this=this@entry=0x7f3a517a6de0, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f3a7fb772e5 in QEventLoop::exec (this=this@entry=0x7f3a517a6de0, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f3a7fa73bef in QThread::exec (this=this@entry=0x7c696d0) at thread/qthread.cpp:538 #7 0x00007f3a7fb58763 in QInotifyFileSystemWatcherEngine::run (this=0x7c696d0) at io/qfilesystemwatcher_inotify.cpp:265 #8 0x00007f3a7fa762bf in QThreadPrivate::start (arg=0x7c696d0) at thread/qthread_unix.cpp:349 #9 0x00007f3a78e20062 in start_thread (arg=0x7f3a517a7700) at pthread_create.c:312 #10 0x00007f3a7ec97bfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7f3a872b87c0 (LWP 18902)): [KCrash Handler] #5 testAttribute (attribute=Qt::WA_Disabled, this=0x8040140) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:1044 #6 QWidgetPrivate::setEnabled_helper (this=0x803f170, enable=false) at kernel/qwidget.cpp:3389 #7 0x00007f3a8081c80f in QWidget::setEnabled (this=<optimized out>, enable=enable@entry=false) at kernel/qwidget.cpp:3379 #8 0x00007f3a86ca49c9 in KisMainWindow::subWindowActivated (this=0x6ecfbf0) at /home/portnov/src/calligra/src/calligra/krita/ui/KisMainWindow.cpp:1811 #9 0x00007f3a86cb4a35 in KisMainWindow::qt_static_metacall (_o=0x803f170, _c=QMetaObject::InvokeMetaMethod, _id=-6373456, _a=0x0) at /home/portnov/src/calligra/build/krita/ui/KisMainWindow.moc:195 #10 0x00007f3a7fb8c6aa in QMetaObject::activate (sender=0x6ee0a60, m=m@entry=0x7f3a81286540 <QMdiArea::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffa7117550) at kernel/qobject.cpp:3567 #11 0x00007f3a80be534f in QMdiArea::subWindowActivated (this=<optimized out>, _t1=_t1@entry=0x0) at .moc/release-shared/moc_qmdiarea.cpp:214 #12 0x00007f3a80be53e3 in QMdiAreaPrivate::resetActiveWindow (this=this@entry=0x6f01990, deactivatedWindow=deactivatedWindow@entry=0xa0335a0) at widgets/qmdiarea.cpp:1101 #13 0x00007f3a80bea6a8 in QMdiAreaPrivate::_q_processWindowStateChanged (this=0x6f01990, oldState=..., newState=...) at widgets/qmdiarea.cpp:756 #14 0x00007f3a80beac64 in QMdiArea::qt_static_metacall (_o=0x803f170, _id=0, _a=0xffffffffff9ebfb0, _c=<optimized out>) at .moc/release-shared/moc_qmdiarea.cpp:111 #15 0x00007f3a7fb8c6aa in QMetaObject::activate (sender=sender@entry=0xa0335a0, m=m@entry=0x7f3a812871a0 <QMdiSubWindow::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffa71176e0) at kernel/qobject.cpp:3567 #16 0x00007f3a80bf16a7 in QMdiSubWindow::windowStateChanged (this=this@entry=0xa0335a0, _t1=..., _t2=...) at .moc/release-shared/moc_qmdisubwindow.cpp:150 #17 0x00007f3a80bf63fe in QMdiSubWindowPrivate::setActive (this=0xa0336d0, activate=activate@entry=false, changeFocus=changeFocus@entry=false) at widgets/qmdisubwindow.cpp:1454 #18 0x00007f3a80be95bb in setActive (this=0x6f01990, changeFocus=false, active=false, subWindow=<optimized out>) at widgets/qmdiarea_p.h:259 #19 QMdiArea::eventFilter (this=0x6ee0a60, object=0x7fffa71198d0, event=0x7fffa7117b90) at widgets/qmdiarea.cpp:2593 #20 0x00007f3a7fb784f2 in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=this@entry=0x1b96af0, receiver=receiver@entry=0x7fffa71198d0, event=event@entry=0x7fffa7117b90) at kernel/qcoreapplication.cpp:1044 #21 0x00007f3a807d4658 in QApplicationPrivate::notify_helper (this=this@entry=0x1b96af0, receiver=receiver@entry=0x7fffa71198d0, e=e@entry=0x7fffa7117b90) at kernel/qapplication.cpp:4545 #22 0x00007f3a807dacfd in QApplication::notify (this=0x7fffa71198d0, receiver=receiver@entry=0x7fffa71198d0, e=e@entry=0x7fffa7117b90) at kernel/qapplication.cpp:4356 #23 0x00007f3a86c6b8f7 in KisApplication::notify (this=<optimized out>, receiver=0x7fffa71198d0, event=0x7fffa7117b90) at /home/portnov/src/calligra/src/calligra/krita/ui/KisApplication.cpp:500 #24 0x00007f3a7fb7841d in QCoreApplication::notifyInternal (this=0x7fffa71198d0, receiver=0x7fffa71198d0, event=event@entry=0x7fffa7117b90) at kernel/qcoreapplication.cpp:953 #25 0x00007f3a807d95f7 in sendSpontaneousEvent (event=0x7fffa7117b90, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234 #26 QApplication::setActiveWindow (act=act@entry=0x0) at kernel/qapplication.cpp:2666 #27 0x00007f3a80810d17 in QWidgetPrivate::deactivateWidgetCleanup (this=this@entry=0xb775aa0) at kernel/qwidget.cpp:2474 #28 0x00007f3a808629f7 in QWidgetPrivate::hide_sys (this=this@entry=0xb775aa0) at kernel/qwidget_x11.cpp:2255 #29 0x00007f3a8081fdb4 in QWidgetPrivate::hide_helper (this=this@entry=0xb775aa0) at kernel/qwidget.cpp:7645 #30 0x00007f3a80823058 in QWidget::setVisible (this=this@entry=0x7fffa7118cb0, visible=visible@entry=false) at kernel/qwidget.cpp:7828 #31 0x00007f3a80c79083 in QDialog::setVisible (this=0x7fffa7118cb0, visible=<optimized out>) at dialogs/qdialog.cpp:801 #32 0x00007f3a80c78075 in hide (this=0x7fffa7118cb0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:501 #33 QDialog::done (this=0x7fffa7118cb0, r=1) at dialogs/qdialog.cpp:599 #34 0x00007f3a7fb8c6aa in QMetaObject::activate (sender=0x7fffa7118cb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3567 #35 0x00007f3a814599e0 in KDialog::slotButtonClicked(int) () from /usr/lib/libkdeui.so.5 #36 0x00007f3a8145b27f in ?? () from /usr/lib/libkdeui.so.5 #37 0x00007f3a7fb8c6aa in QMetaObject::activate (sender=sender@entry=0xb775d90, m=m@entry=0x7f3a7fed9d60 <QSignalMapper::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffa7117fe0) at kernel/qobject.cpp:3567 #38 0x00007f3a7fb93dee in QSignalMapper::mapped (this=this@entry=0xb775d90, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:114 #39 0x00007f3a7fb93ef6 in QSignalMapper::map (this=0xb775d90, sender=0xa71efd0) at kernel/qsignalmapper.cpp:266 #40 0x00007f3a7fb8c6aa in QMetaObject::activate (sender=sender@entry=0xa71efd0, m=m@entry=0x7f3a812a14e0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffa7118150) at kernel/qobject.cpp:3567 #41 0x00007f3a80e1e882 in QAbstractButton::clicked (this=this@entry=0xa71efd0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219 #42 0x00007f3a80b82e53 in QAbstractButtonPrivate::emitClicked (this=this@entry=0xb77a2b0) at widgets/qabstractbutton.cpp:548 #43 0x00007f3a80b83fc3 in QAbstractButtonPrivate::click (this=this@entry=0xb77a2b0) at widgets/qabstractbutton.cpp:541 #44 0x00007f3a80b840ac in QAbstractButton::mouseReleaseEvent (this=0xa71efd0, e=0x7fffa7118650) at widgets/qabstractbutton.cpp:1123 #45 0x00007f3a80823cca in QWidget::event (this=0xa71efd0, event=0x7fffa7118650) at kernel/qwidget.cpp:8389 #46 0x00007f3a807d46cc in QApplicationPrivate::notify_helper (this=this@entry=0x1b96af0, receiver=receiver@entry=0xa71efd0, e=e@entry=0x7fffa7118650) at kernel/qapplication.cpp:4570 #47 0x00007f3a807dae3a in QApplication::notify (this=<optimized out>, receiver=receiver@entry=0xa71efd0, e=e@entry=0x7fffa7118650) at kernel/qapplication.cpp:4113 #48 0x00007f3a86c6b8f7 in KisApplication::notify (this=<optimized out>, receiver=0xa71efd0, event=0x7fffa7118650) at /home/portnov/src/calligra/src/calligra/krita/ui/KisApplication.cpp:500 #49 0x00007f3a7fb7841d in QCoreApplication::notifyInternal (this=0x7fffa71198d0, receiver=receiver@entry=0xa71efd0, event=event@entry=0x7fffa7118650) at kernel/qcoreapplication.cpp:953 #50 0x00007f3a807da633 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #51 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0xa71efd0, event=event@entry=0x7fffa7118650, alienWidget=alienWidget@entry=0xa71efd0, nativeWidget=nativeWidget@entry=0x7fffa7118cb0, buttonDown=buttonDown@entry=0x7f3a812b32d8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178 #52 0x00007f3a8084c33b in QETWidget::translateMouseEvent (this=this@entry=0x7fffa7118cb0, event=event@entry=0x7fffa71189d0) at kernel/qapplication_x11.cpp:4540 #53 0x00007f3a8084adac in QApplication::x11ProcessEvent (this=0x7fffa71198d0, event=event@entry=0x7fffa71189d0) at kernel/qapplication_x11.cpp:3663 #54 0x00007f3a80873080 in QEventDispatcherX11::processEvents (this=0x1905350, flags=...) at kernel/qeventdispatcher_x11.cpp:132 #55 0x00007f3a7fb76fef in QEventLoop::processEvents (this=this@entry=0x7fffa7118c40, flags=...) at kernel/qeventloop.cpp:149 #56 0x00007f3a7fb772e5 in QEventLoop::exec (this=this@entry=0x7fffa7118c40, flags=...) at kernel/qeventloop.cpp:204 #57 0x00007f3a80c78a4c in QDialog::exec (this=this@entry=0x7fffa7118cb0) at dialogs/qdialog.cpp:562 #58 0x00007f3a86cb490b in KisMainWindow::slotConfigureToolbars (this=0x6ecfbf0) at /home/portnov/src/calligra/src/calligra/krita/ui/KisMainWindow.cpp:1422 #59 0x00007f3a86cb4aed in KisMainWindow::qt_static_metacall (_o=0x803f170, _c=QMetaObject::InvokeMetaMethod, _id=-6373456, _a=0x0) at /home/portnov/src/calligra/build/krita/ui/KisMainWindow.moc:185 #60 0x00007f3a7fb90a4e in QObject::event (this=this@entry=0x6ecfbf0, e=e@entry=0xb7714f0) at kernel/qobject.cpp:1222 #61 0x00007f3a80823d1b in QWidget::event (this=this@entry=0x6ecfbf0, event=event@entry=0xb7714f0) at kernel/qwidget.cpp:8859 #62 0x00007f3a80bdae63 in QMainWindow::event (this=0x6ecfbf0, event=0xb7714f0) at widgets/qmainwindow.cpp:1478 #63 0x00007f3a815e3989 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5 #64 0x00007f3a807d46cc in QApplicationPrivate::notify_helper (this=this@entry=0x1b96af0, receiver=receiver@entry=0x6ecfbf0, e=e@entry=0xb7714f0) at kernel/qapplication.cpp:4570 #65 0x00007f3a807dacfd in QApplication::notify (this=0x7fffa71198d0, receiver=receiver@entry=0x6ecfbf0, e=e@entry=0xb7714f0) at kernel/qapplication.cpp:4356 #66 0x00007f3a86c6b8f7 in KisApplication::notify (this=<optimized out>, receiver=0x6ecfbf0, event=0xb7714f0) at /home/portnov/src/calligra/src/calligra/krita/ui/KisApplication.cpp:500 #67 0x00007f3a7fb7841d in QCoreApplication::notifyInternal (this=0x7fffa71198d0, receiver=receiver@entry=0x6ecfbf0, event=event@entry=0xb7714f0) at kernel/qcoreapplication.cpp:953 #68 0x00007f3a7fb7ba7d in sendEvent (event=0xb7714f0, receiver=0x6ecfbf0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #69 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1903df0) at kernel/qcoreapplication.cpp:1577 #70 0x00007f3a7fb7bf23 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470 #71 0x00007f3a80872f3c in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 #72 QEventDispatcherX11::processEvents (this=0x1905350, flags=...) at kernel/qeventdispatcher_x11.cpp:75 #73 0x00007f3a7fb76fef in QEventLoop::processEvents (this=this@entry=0x7fffa71195e0, flags=...) at kernel/qeventloop.cpp:149 #74 0x00007f3a7fb772e5 in QEventLoop::exec (this=this@entry=0x7fffa71195e0, flags=...) at kernel/qeventloop.cpp:204 #75 0x00007f3a7fb7cab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225 #76 0x00007f3a807d2e8c in QApplication::exec () at kernel/qapplication.cpp:3828 #77 0x00000000004026d1 in main (argc=<optimized out>, argv=<optimized out>) at /home/portnov/src/calligra/src/calligra/krita/main.cc:153 Отправить на https://bugs.kde.org/ Reproducible: Always Steps to Reproduce: * Start Krita and create empty document * right-click on toolbar, select `configure' * configure something (i removed `patterns' from toolbar) * press OK * now it crashed.
I'm pretty sure I fixed that in bf2c9a779c last Saturday! And I cannot reproduce it here.