Bug 289305

Summary: Krita crashs when loading an image
Product: [Applications] krita Reporter: kingkong1054
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description kingkong1054 2011-12-18 19:30:14 UTC
Application: krita (2.3.3)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
I select "Open Document"  and then select a .jpeg and the application crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault
[Current thread is 1 (Thread 0xb777a710 (LWP 5762))]

Thread 4 (Thread 0xb6affb70 (LWP 5764)):
#0  0x00c40d58 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x00a94f54 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0x051d1785 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x051d1f9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x02082cea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#5  0x051f85f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x00c3dd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#7  0x00a870ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb30d9b70 (LWP 5817)):
#0  0x05af2d10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x00d3b7d5 in do_gettime (frac=0xb30d9140, sec=0xb30d9138) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00e0e4b6 in QTimerInfoList::updateCurrentTime (this=0xadaf010) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00e0e80a in QTimerInfoList::timerWait (this=0xadaf010, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00e104de in QEventDispatcherUNIX::processEvents (this=0xadae960, flags=...) at kernel/qeventdispatcher_unix.cpp:905
#6  0x00dde1dd in QEventLoop::processEvents (this=0xb30d92b0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00dde421 in QEventLoop::exec (this=0xb30d92b0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00ce190b in QThread::exec (this=0xadabe78) at thread/qthread.cpp:498
#9  0x00dbee2d in QInotifyFileSystemWatcherEngine::run (this=0xadabe78) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00ce47b3 in QThreadPrivate::start (arg=0xadabe78) at thread/qthread_unix.cpp:331
#11 0x00c3dd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x00a870ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb74c5b70 (LWP 5940)):
#0  0x004b9416 in __kernel_vsyscall ()
#1  0x00c41a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x00a94cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x00ce4cc0 in wait (time=4294967295, this=0xb24c218) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xad6a90c, mutex=0xad6a908, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x00ce1386 in QSemaphore::tryAcquire (this=0xb24c188, n=1, timeout=-1) at thread/qsemaphore.cpp:221
#6  0x03d5474e in KisTileDataSwapper::waitForWork (this=0xb24bbfc) at ../../../krita/image/tiles3/swap/kis_tile_data_swapper.cpp:84
#7  0x03d548e4 in KisTileDataSwapper::run (this=0xb24bbfc) at ../../../krita/image/tiles3/swap/kis_tile_data_swapper.cpp:90
#8  0x00ce47b3 in QThreadPrivate::start (arg=0xb24bbfc) at thread/qthread_unix.cpp:331
#9  0x00c3dd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0x00a870ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb777a710 (LWP 5762)):
[KCrash Handler]
#7  0x07c0a761 in QAccessibleItemRow::text (this=0xb78d770, t=QAccessible::Accelerator, child=-1075606256) at complexwidgets.cpp:331
#8  0x037f9e31 in QSpiAdaptor::getCacheItem() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#9  0x037edecc in QSpiAccessibleBridge::notifyAboutCreation(QSpiAdaptor*) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#10 0x037ed57a in QSpiAccessibleBridge::interfaceToAccessible(QAccessibleInterface*, int, bool) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#11 0x037f35bb in QSpiAdaptor::getChild(int) const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#12 0x037f9426 in QSpiAdaptor::GetChildren() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#13 0x037f9c9e in QSpiAdaptor::getCacheItem() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#14 0x037edecc in QSpiAccessibleBridge::notifyAboutCreation(QSpiAdaptor*) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#15 0x037ed57a in QSpiAccessibleBridge::interfaceToAccessible(QAccessibleInterface*, int, bool) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#16 0x037f35bb in QSpiAdaptor::getChild(int) const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#17 0x037f9426 in QSpiAdaptor::GetChildren() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#18 0x037f9c9e in QSpiAdaptor::getCacheItem() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#19 0x037edecc in QSpiAccessibleBridge::notifyAboutCreation(QSpiAdaptor*) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#20 0x037ed57a in QSpiAccessibleBridge::interfaceToAccessible(QAccessibleInterface*, int, bool) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#21 0x037f35bb in QSpiAdaptor::getChild(int) const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#22 0x037f9426 in QSpiAdaptor::GetChildren() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#23 0x037f9c9e in QSpiAdaptor::getCacheItem() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#24 0x037edecc in QSpiAccessibleBridge::notifyAboutCreation(QSpiAdaptor*) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#25 0x037ed57a in QSpiAccessibleBridge::interfaceToAccessible(QAccessibleInterface*, int, bool) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#26 0x037ee554 in QSpiAccessibleBridge::objectToAccessible(QObject*) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#27 0x0380afa4 in QSpiAccessible::getParentReference() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#28 0x037f9ba8 in QSpiAdaptor::getCacheItem() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#29 0x037edecc in QSpiAccessibleBridge::notifyAboutCreation(QSpiAdaptor*) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#30 0x037ed57a in QSpiAccessibleBridge::interfaceToAccessible(QAccessibleInterface*, int, bool) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#31 0x037eeb7d in QSpiAccessibleBridge::notifyAccessibilityUpdate(int, QAccessibleInterface*, int) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#32 0x0164839e in QAccessible::updateAccessibility (o=0xb6e3340, who=1, reason=QAccessible::Selection) at accessible/qaccessible_unix.cpp:107
#33 0x016808f9 in QTableView::selectionChanged (this=0xb73e460, selected=..., deselected=...) at itemviews/qtableview.cpp:3180
#34 0x0165243a in QAbstractItemView::qt_metacall (this=0xb73e460, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbfe39e54) at .moc/release-shared/moc_qabstractitemview.cpp:237
#35 0x01687682 in QTableView::qt_metacall (this=0xb73e460, _c=QMetaObject::InvokeMetaMethod, _id=50, _a=0xbfe39e54) at .moc/release-shared/moc_qtableview.cpp:118
#36 0x00de5b7d in metacall (argv=0xbfe39e54, idx=50, cl=QMetaObject::InvokeMetaMethod, object=0xb73e460) at kernel/qmetaobject.cpp:237
#37 QMetaObject::metacall (object=0xb73e460, cl=QMetaObject::InvokeMetaMethod, idx=50, argv=0xbfe39e54) at kernel/qmetaobject.cpp:232
#38 0x00df4a6a in QMetaObject::activate (sender=0xb7464e8, m=0x1a0ed68, local_signal_index=0, argv=0xbfe39e54) at kernel/qobject.cpp:3278
#39 0x016a8a9d in QItemSelectionModel::selectionChanged (this=0xb7464e8, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:152
#40 0x016aec35 in QItemSelectionModel::emitSelectionChanged (this=0xb7464e8, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1538
#41 0x016afca4 in QItemSelectionModel::select (this=0xb7464e8, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1101
#42 0x016aa9e6 in QItemSelectionModel::select (this=0xb7464e8, index=..., command=...) at itemviews/qitemselectionmodel.cpp:976
#43 0x016a8dc8 in QItemSelectionModel::setCurrentIndex (this=0xb7464e8, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1168
#44 0x0164a727 in QAbstractItemView::setCurrentIndex (this=0xb73e460, index=...) at itemviews/qabstractitemview.cpp:1016
#45 0x004884c2 in updateIndex (me=0xb6dcd88, this=<optimized out>) at ../../../libs/widgets/KoResourceSelector.cpp:54
#46 KoResourceSelector::KoResourceSelector (this=0xb6dcd88, resourceAdapter=0xb4d01d8, parent=0xb1fd7f8) at ../../../libs/widgets/KoResourceSelector.cpp:80
#47 0x0398f452 in StyleDocker::StyleDocker (this=0xb1fa1a8, parent=0x0) at ../../../plugins/dockers/styledocker/StyleDocker.cpp:113
#48 0x03995dd4 in StyleDockerFactory::createDockWidget (this=0xacdcf70) at ../../../plugins/dockers/styledocker/StyleDockerFactory.cpp:39
#49 0x007cb9b1 in KoMainWindow::createDockWidget (this=0x8f62d00, factory=0xacdcf70) at ../../../libs/main/KoMainWindow.cpp:1786
#50 0x007e99af in KoView::KoView (this=0xb1aa4e0, __vtt_parm=0x3cc3504, document=0x8fad8b8, parent=0xad19270, __in_chrg=<optimized out>) at ../../../libs/main/KoView.cpp:177
#51 0x03ba77fe in KisView2::KisView2 (this=0xb1aa4e0, doc=0x8fad8b8, parent=0xad19270, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../krita/ui/kis_view2.cpp:202
#52 0x03b2e0f8 in KisDoc2::createViewInstance (this=0x8fad8b8, parent=0xad19270) at ../../../krita/ui/kis_doc2.cc:432
#53 0x00798bd2 in KoDocument::createView (this=0x8fad8b8, parent=0xad19270) at ../../../libs/main/KoDocument.cpp:428
#54 0x007cc6d1 in KoMainWindow::setRootDocument (this=0x8f62d00, doc=0x8fad8b8) at ../../../libs/main/KoMainWindow.cpp:464
#55 0x0079f10a in deleteOpenPane (this=0x8fad8b8, closing=<optimized out>) at ../../../libs/main/KoDocument.cpp:2489
#56 KoDocument::deleteOpenPane (this=0x8fad8b8, closing=false) at ../../../libs/main/KoDocument.cpp:2482
#57 0x007a2aa8 in KoDocument::openFile (this=0x8fad8b8) at ../../../libs/main/KoDocument.cpp:1476
#58 0x003f61fe in KParts::ReadOnlyPartPrivate::openLocalFile (this=0xace7040) at ../../kparts/part.cpp:590
#59 0x003f68b5 in KParts::ReadOnlyPart::openUrl (this=0x8fad8b8, url=...) at ../../kparts/part.cpp:554
#60 0x007a66ac in KoDocument::openUrl (this=0x8fad8b8, _url=...) at ../../../libs/main/KoDocument.cpp:1251
#61 0x00797218 in KoDocument::openExistingFile (this=0x8fad8b8, url=...) at ../../../libs/main/KoDocument.cpp:2415
#62 0x03b2de5e in KisDoc2::openExistingFile (this=0x8fad8b8, url=...) at ../../../krita/ui/kis_doc2.cc:188
#63 0x03b30abe in KisDoc2::qt_metacall (this=0x8fad8b8, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfe3aba8) at ./kis_doc2.moc:87
#64 0x00de5b7d in metacall (argv=0xbfe3aba8, idx=44, cl=QMetaObject::InvokeMetaMethod, object=0x8fad8b8) at kernel/qmetaobject.cpp:237
#65 QMetaObject::metacall (object=0x8fad8b8, cl=QMetaObject::InvokeMetaMethod, idx=44, argv=0xbfe3aba8) at kernel/qmetaobject.cpp:232
#66 0x00df4a6a in QMetaObject::activate (sender=0xad438c8, m=0x8890bc, local_signal_index=0, argv=0xbfe3aba8) at kernel/qobject.cpp:3278
#67 0x0080b2c5 in KoOpenPane::openExistingFile (this=0xad438c8, _t1=...) at ./KoOpenPane.moc:104
#68 0x0080db03 in KoOpenPane::qt_metacall (this=0xad438c8, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfe3acc8) at ./KoOpenPane.moc:86
#69 0x00de5b7d in metacall (argv=0xbfe3acc8, idx=27, cl=QMetaObject::InvokeMetaMethod, object=0xad438c8) at kernel/qmetaobject.cpp:237
#70 QMetaObject::metacall (object=0xad438c8, cl=QMetaObject::InvokeMetaMethod, idx=27, argv=0xbfe3acc8) at kernel/qmetaobject.cpp:232
#71 0x00df4a6a in QMetaObject::activate (sender=0xad47080, m=0x888f9c, local_signal_index=0, argv=0xbfe3acc8) at kernel/qobject.cpp:3278
#72 0x0080aeb5 in KoExistingDocumentPane::openExistingUrl (this=0xad47080, _t1=...) at ./KoExistingDocumentPane.moc:89
#73 0x0080af11 in KoExistingDocumentPane::onAccepted (this=0xad47080) at ../../../libs/main/KoExistingDocumentPane.cpp:56
#74 0x0080afc1 in KoExistingDocumentPane::qt_metacall (this=0xad47080, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfe3add4) at ./KoExistingDocumentPane.moc:77
#75 0x00de5b7d in metacall (argv=0xbfe3add4, idx=28, cl=QMetaObject::InvokeMetaMethod, object=0xad47080) at kernel/qmetaobject.cpp:237
#76 QMetaObject::metacall (object=0xad47080, cl=QMetaObject::InvokeMetaMethod, idx=28, argv=0xbfe3add4) at kernel/qmetaobject.cpp:232
#77 0x00df4a6a in QMetaObject::activate (sender=0x8f32448, m=0x6ddb94, local_signal_index=6, argv=0x0) at kernel/qobject.cpp:3278
#78 0x00687bf5 in KFileWidget::accepted (this=0x8f32448) at ./kfilewidget.moc:206
#79 0x0068c860 in KFileWidget::slotOk (this=0x8f32448) at ../../kfile/kfilewidget.cpp:1003
#80 0x0068ed31 in KFileWidget::qt_metacall (this=0x8f32448, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfe3b0e8) at ./kfilewidget.moc:133
#81 0x00de5b7d in metacall (argv=0xbfe3b0e8, idx=34, cl=QMetaObject::InvokeMetaMethod, object=0x8f32448) at kernel/qmetaobject.cpp:237
#82 QMetaObject::metacall (object=0x8f32448, cl=QMetaObject::InvokeMetaMethod, idx=34, argv=0xbfe3b0e8) at kernel/qmetaobject.cpp:232
#83 0x00df4a6a in QMetaObject::activate (sender=0xaecc1e8, m=0x1a14a28, local_signal_index=2, argv=0xbfe3b0e8) at kernel/qobject.cpp:3278
#84 0x017cde1d in QAbstractButton::clicked (this=0xaecc1e8, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#85 0x014cc58d in QAbstractButtonPrivate::emitClicked (this=0xa4a87c0) at widgets/qabstractbutton.cpp:546
#86 0x014cdbfb in QAbstractButtonPrivate::click (this=0xa4a87c0) at widgets/qabstractbutton.cpp:539
#87 0x014cdeb6 in QAbstractButton::mouseReleaseEvent (this=0xaecc1e8, e=0xbfe3b69c) at widgets/qabstractbutton.cpp:1121
#88 0x01112f98 in QWidget::event (this=0xaecc1e8, event=0xbfe3b69c) at kernel/qwidget.cpp:8295
#89 0x014cd159 in QAbstractButton::event (this=0xaecc1e8, e=0xbfe3b69c) at widgets/qabstractbutton.cpp:1080
#90 0x0156f798 in QPushButton::event (this=0xaecc1e8, e=0xbfe3b69c) at widgets/qpushbutton.cpp:683
#91 0x010b8d54 in notify_helper (e=0xbfe3b69c, receiver=0xaecc1e8, this=0x8d92d30) at kernel/qapplication.cpp:4486
#92 QApplicationPrivate::notify_helper (this=0x8d92d30, receiver=0xaecc1e8, e=0xbfe3b69c) at kernel/qapplication.cpp:4458
#93 0x010bedbb in QApplication::notify (this=0x8d92d30, receiver=0xaecc1e8, e=0xbfe3b69c) at kernel/qapplication.cpp:4047
#94 0x07389681 in KApplication::notify (this=0xbfe3bd10, receiver=0xaecc1e8, event=0xbfe3b69c) at ../../kdeui/kernel/kapplication.cpp:311
#95 0x00ddf19e in QCoreApplication::notifyInternal (this=0xbfe3bd10, receiver=0xaecc1e8, event=0xbfe3b69c) at kernel/qcoreapplication.cpp:787
#96 0x010b9d15 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#97 QApplicationPrivate::sendMouseEvent (receiver=0xaecc1e8, event=0xbfe3b69c, alienWidget=0xaecc1e8, nativeWidget=0x8f62d00, buttonDown=0x1a23eb4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#98 0x011462c4 in QETWidget::translateMouseEvent (this=0x8f62d00, event=0xbfe3bb1c) at kernel/qapplication_x11.cpp:4568
#99 0x01144e4d in QApplication::x11ProcessEvent (this=0xbfe3bd10, event=0xbfe3bb1c) at kernel/qapplication_x11.cpp:3690
#100 0x01171e38 in QEventDispatcherX11::processEvents (this=0x8d6d248, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#101 0x00dde1dd in QEventLoop::processEvents (this=0xbfe3bca4, flags=...) at kernel/qeventloop.cpp:149
#102 0x00dde421 in QEventLoop::exec (this=0xbfe3bca4, flags=...) at kernel/qeventloop.cpp:201
#103 0x00de319d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#104 0x010b68f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#105 0x00f5e21d in kdemain (argc=1, argv=0xbfe3be14) at ../../krita/main.cc:49
#106 0x080484fb in main (argc=1, argv=0xbfe3be14) at krita_dummy.cpp:3

Reported using DrKonqi
Comment 1 Sven Langkamp 2011-12-18 20:38:38 UTC
Looks like there is something wrong with the accessability system. You could try to turn that off.
Comment 2 Christoph Feck 2011-12-19 01:23:53 UTC

*** This bug has been marked as a duplicate of bug 284005 ***