Bug 284507 - Krita Crash in Ubuntu because of problems with AT_SPI
Summary: Krita Crash in Ubuntu because of problems with AT_SPI
Status: RESOLVED DUPLICATE of bug 284005
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-19 22:53 UTC by kingkong1054
Modified: 2011-11-10 21:07 UTC (History)
2 users (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 kingkong1054 2011-10-19 22:53:50 UTC
Application: krita (2.3.3)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
I attempted to open a .jpg file in order to edit it using Krita's software. It crashes everytime immediately after I click to open the .jpg.

The crash can be reproduced every time.

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

Thread 4 (Thread 0xb6bffb70 (LWP 2048)):
#0  0x030ab0ca in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x030ab990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x030abf9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x022decea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#4  0x030d25f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x00315d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x001e20ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb3c15b70 (LWP 2049)):
#0  0x00734f00 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#1  0x008863df in QEventDispatcherUNIX::processEvents (this=0xb1e3ac0, flags=...) at kernel/qeventdispatcher_unix.cpp:890
#2  0x008541dd in QEventLoop::processEvents (this=0xb3c152b0, flags=...) at kernel/qeventloop.cpp:149
#3  0x00854421 in QEventLoop::exec (this=0xb3c152b0, flags=...) at kernel/qeventloop.cpp:201
#4  0x0075790b in QThread::exec (this=0xb1e0d60) at thread/qthread.cpp:498
#5  0x00834e2d in QInotifyFileSystemWatcherEngine::run (this=0xb1e0d60) at io/qfilesystemwatcher_inotify.cpp:248
#6  0x0075a7b3 in QThreadPrivate::start (arg=0xb1e0d60) at thread/qthread_unix.cpp:331
#7  0x00315d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x001e20ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb755db70 (LWP 2059)):
#0  0x006ee416 in __kernel_vsyscall ()
#1  0x00319a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x001efcfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x0075acc0 in wait (time=4294967295, this=0xb604230) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xb5bd16c, mutex=0xb5bd168, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x00757386 in QSemaphore::tryAcquire (this=0xb6041a0, n=1, timeout=-1) at thread/qsemaphore.cpp:221
#6  0x0420374e in KisTileDataSwapper::waitForWork (this=0xb603c14) at ../../../krita/image/tiles3/swap/kis_tile_data_swapper.cpp:84
#7  0x042038e4 in KisTileDataSwapper::run (this=0xb603c14) at ../../../krita/image/tiles3/swap/kis_tile_data_swapper.cpp:90
#8  0x0075a7b3 in QThreadPrivate::start (arg=0xb603c14) at thread/qthread_unix.cpp:331
#9  0x00315d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0x001e20ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb7812710 (LWP 2046)):
[KCrash Handler]
#7  0x03185132 in QSpiAdaptor::checkInterface() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#8  0x0318b2e0 in QSpiAdaptor::GetChildren() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#9  0x0318bc9e in QSpiAdaptor::getCacheItem() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#10 0x0317fecc in QSpiAccessibleBridge::notifyAboutCreation(QSpiAdaptor*) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#11 0x0317f57a in QSpiAccessibleBridge::interfaceToAccessible(QAccessibleInterface*, int, bool) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#12 0x03180b7d in QSpiAccessibleBridge::notifyAccessibilityUpdate(int, QAccessibleInterface*, int) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#13 0x0132239e in QAccessible::updateAccessibility (o=0xb210020, who=1, reason=QAccessible::Selection) at accessible/qaccessible_unix.cpp:107
#14 0x0135a8f9 in QTableView::selectionChanged (this=0xda44d60, selected=..., deselected=...) at itemviews/qtableview.cpp:3180
#15 0x0132c43a in QAbstractItemView::qt_metacall (this=0xda44d60, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbfd14174) at .moc/release-shared/moc_qabstractitemview.cpp:237
#16 0x01361682 in QTableView::qt_metacall (this=0xda44d60, _c=QMetaObject::InvokeMetaMethod, _id=50, _a=0xbfd14174) at .moc/release-shared/moc_qtableview.cpp:118
#17 0x0085bb7d in metacall (argv=0xbfd14174, idx=50, cl=QMetaObject::InvokeMetaMethod, object=0xda44d60) at kernel/qmetaobject.cpp:237
#18 QMetaObject::metacall (object=0xda44d60, cl=QMetaObject::InvokeMetaMethod, idx=50, argv=0xbfd14174) at kernel/qmetaobject.cpp:232
#19 0x0086aa6a in QMetaObject::activate (sender=0xb6c15c28, m=0x16e8d68, local_signal_index=0, argv=0xbfd14174) at kernel/qobject.cpp:3278
#20 0x01382a9d in QItemSelectionModel::selectionChanged (this=0xb6c15c28, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:152
#21 0x01388c35 in QItemSelectionModel::emitSelectionChanged (this=0xb6c15c28, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1538
#22 0x01389ca4 in QItemSelectionModel::select (this=0xb6c15c28, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1101
#23 0x013849e6 in QItemSelectionModel::select (this=0xb6c15c28, index=..., command=...) at itemviews/qitemselectionmodel.cpp:976
#24 0x01382dc8 in QItemSelectionModel::setCurrentIndex (this=0xb6c15c28, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1168
#25 0x01324727 in QAbstractItemView::setCurrentIndex (this=0xda44d60, index=...) at itemviews/qabstractitemview.cpp:1016
#26 0x006bb4c2 in updateIndex (me=0xb3ce2e0, this=<optimized out>) at ../../../libs/widgets/KoResourceSelector.cpp:54
#27 KoResourceSelector::KoResourceSelector (this=0xb3ce2e0, resourceAdapter=0xb2ee760, parent=0xda14680) at ../../../libs/widgets/KoResourceSelector.cpp:80
#28 0x034dd3c2 in StyleDocker::StyleDocker (this=0xda0eb00, parent=0x0) at ../../../plugins/dockers/styledocker/StyleDocker.cpp:108
#29 0x034e3dd4 in StyleDockerFactory::createDockWidget (this=0xb111d50) at ../../../plugins/dockers/styledocker/StyleDockerFactory.cpp:39
#30 0x00b799b1 in KoMainWindow::createDockWidget (this=0x93ad558, factory=0xb111d50) at ../../../libs/main/KoMainWindow.cpp:1786
#31 0x00b979af in KoView::KoView (this=0xb1ebb58, __vtt_parm=0x59a4504, document=0x93e2a78, parent=0xb14ddc8, __in_chrg=<optimized out>) at ../../../libs/main/KoView.cpp:177
#32 0x058887fe in KisView2::KisView2 (this=0xb1ebb58, doc=0x93e2a78, parent=0xb14ddc8, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../krita/ui/kis_view2.cpp:202
#33 0x0580f0f8 in KisDoc2::createViewInstance (this=0x93e2a78, parent=0xb14ddc8) at ../../../krita/ui/kis_doc2.cc:432
#34 0x00b46bd2 in KoDocument::createView (this=0x93e2a78, parent=0xb14ddc8) at ../../../libs/main/KoDocument.cpp:428
#35 0x00b7a6d1 in KoMainWindow::setRootDocument (this=0x93ad558, doc=0x93e2a78) at ../../../libs/main/KoMainWindow.cpp:464
#36 0x00b4d10a in deleteOpenPane (this=0x93e2a78, closing=<optimized out>) at ../../../libs/main/KoDocument.cpp:2489
#37 KoDocument::deleteOpenPane (this=0x93e2a78, closing=false) at ../../../libs/main/KoDocument.cpp:2482
#38 0x00b50aa8 in KoDocument::openFile (this=0x93e2a78) at ../../../libs/main/KoDocument.cpp:1476
#39 0x002a91fe in KParts::ReadOnlyPartPrivate::openLocalFile (this=0xb11b998) at ../../kparts/part.cpp:590
#40 0x002a98b5 in KParts::ReadOnlyPart::openUrl (this=0x93e2a78, url=...) at ../../kparts/part.cpp:554
#41 0x00b546ac in KoDocument::openUrl (this=0x93e2a78, _url=...) at ../../../libs/main/KoDocument.cpp:1251
#42 0x00b45218 in KoDocument::openExistingFile (this=0x93e2a78, url=...) at ../../../libs/main/KoDocument.cpp:2415
#43 0x0580ee5e in KisDoc2::openExistingFile (this=0x93e2a78, url=...) at ../../../krita/ui/kis_doc2.cc:188
#44 0x05811abe in KisDoc2::qt_metacall (this=0x93e2a78, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfd14ec8) at ./kis_doc2.moc:87
#45 0x0085bb7d in metacall (argv=0xbfd14ec8, idx=44, cl=QMetaObject::InvokeMetaMethod, object=0x93e2a78) at kernel/qmetaobject.cpp:237
#46 QMetaObject::metacall (object=0x93e2a78, cl=QMetaObject::InvokeMetaMethod, idx=44, argv=0xbfd14ec8) at kernel/qmetaobject.cpp:232
#47 0x0086aa6a in QMetaObject::activate (sender=0xb178750, m=0xc370bc, local_signal_index=0, argv=0xbfd14ec8) at kernel/qobject.cpp:3278
#48 0x00bb92c5 in KoOpenPane::openExistingFile (this=0xb178750, _t1=...) at ./KoOpenPane.moc:104
#49 0x00bbbb03 in KoOpenPane::qt_metacall (this=0xb178750, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfd14fe8) at ./KoOpenPane.moc:86
#50 0x0085bb7d in metacall (argv=0xbfd14fe8, idx=27, cl=QMetaObject::InvokeMetaMethod, object=0xb178750) at kernel/qmetaobject.cpp:237
#51 QMetaObject::metacall (object=0xb178750, cl=QMetaObject::InvokeMetaMethod, idx=27, argv=0xbfd14fe8) at kernel/qmetaobject.cpp:232
#52 0x0086aa6a in QMetaObject::activate (sender=0xb1c3de8, m=0xc36f9c, local_signal_index=0, argv=0xbfd14fe8) at kernel/qobject.cpp:3278
#53 0x00bb8eb5 in KoExistingDocumentPane::openExistingUrl (this=0xb1c3de8, _t1=...) at ./KoExistingDocumentPane.moc:89
#54 0x00bb8f11 in KoExistingDocumentPane::onAccepted (this=0xb1c3de8) at ../../../libs/main/KoExistingDocumentPane.cpp:56
#55 0x00bb8fc1 in KoExistingDocumentPane::qt_metacall (this=0xb1c3de8, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfd150f4) at ./KoExistingDocumentPane.moc:77
#56 0x0085bb7d in metacall (argv=0xbfd150f4, idx=28, cl=QMetaObject::InvokeMetaMethod, object=0xb1c3de8) at kernel/qmetaobject.cpp:237
#57 QMetaObject::metacall (object=0xb1c3de8, cl=QMetaObject::InvokeMetaMethod, idx=28, argv=0xbfd150f4) at kernel/qmetaobject.cpp:232
#58 0x0086aa6a in QMetaObject::activate (sender=0xb1859f8, m=0x6816b94, local_signal_index=6, argv=0x0) at kernel/qobject.cpp:3278
#59 0x067c0c35 in KFileWidget::accepted (this=0xb1859f8) at ./kfilewidget.moc:206
#60 0x067c58f0 in KFileWidget::slotOk (this=0xb1859f8) at ../../kfile/kfilewidget.cpp:1003
#61 0x067c7018 in KFileWidgetPrivate::_k_fileSelected (this=0xb1c33c0, i=...) at ../../kfile/kfilewidget.cpp:1112
#62 0x067c7f10 in KFileWidget::qt_metacall (this=0xb1859f8, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfd15448) at ./kfilewidget.moc:143
#63 0x0085bb7d in metacall (argv=0xbfd15448, idx=44, cl=QMetaObject::InvokeMetaMethod, object=0xb1859f8) at kernel/qmetaobject.cpp:237
#64 QMetaObject::metacall (object=0xb1859f8, cl=QMetaObject::InvokeMetaMethod, idx=44, argv=0xbfd15448) at kernel/qmetaobject.cpp:232
#65 0x0086aa6a in QMetaObject::activate (sender=0x9474f20, m=0x6816308, local_signal_index=7, argv=0xbfd15448) at kernel/qobject.cpp:3278
#66 0x067a5f55 in KDirOperator::fileSelected (this=0x9474f20, _t1=...) at ./kdiroperator.moc:321
#67 0x067a5f88 in KDirOperator::selectFile (this=0x9474f20, item=...) at ../../kfile/kdiroperator.cpp:1709
#68 0x067a605e in KDirOperator::Private::_k_slotActivated (this=0xa8f17e8, index=...) at ../../kfile/kdiroperator.cpp:2364
#69 0x067ac0d3 in KDirOperator::qt_metacall (this=0x9474f20, _c=QMetaObject::InvokeMetaMethod, _id=59, _a=0xbfd155d8) at ./kdiroperator.moc:250
#70 0x0085bb7d in metacall (argv=0xbfd155d8, idx=86, cl=QMetaObject::InvokeMetaMethod, object=0x9474f20) at kernel/qmetaobject.cpp:237
#71 QMetaObject::metacall (object=0x9474f20, cl=QMetaObject::InvokeMetaMethod, idx=86, argv=0xbfd155d8) at kernel/qmetaobject.cpp:232
#72 0x0086aa6a in QMetaObject::activate (sender=0xb218a70, m=0x16e81fc, local_signal_index=3, argv=0xbfd155d8) at kernel/qobject.cpp:3278
#73 0x01329e05 in QAbstractItemView::activated (this=0xb218a70, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:345
#74 0x01329ffb in QAbstractItemView::mouseDoubleClickEvent (this=0xb218a70, event=0xbfd15d8c) at itemviews/qabstractitemview.cpp:1833
#75 0x00decfb6 in QWidget::event (this=0xb218a70, event=0xbfd15d8c) at kernel/qwidget.cpp:8299
#76 0x011f2235 in QFrame::event (this=0xb218a70, e=0xbfd15d8c) at widgets/qframe.cpp:557
#77 0x012847d1 in QAbstractScrollArea::viewportEvent (this=0xb218a70, e=0xbfd15d8c) at widgets/qabstractscrollarea.cpp:1043
#78 0x01326b6c in QAbstractItemView::viewportEvent (this=0xb218a70, event=0xbfd15d8c) at itemviews/qabstractitemview.cpp:1628
#79 0x01286ee6 in viewportEvent (this=<optimized out>, event=0xbfd15d8c) at widgets/qabstractscrollarea_p.h:100
#80 eventFilter (e=0xbfd15d8c, this=<optimized out>, o=<optimized out>) at widgets/qabstractscrollarea_p.h:116
#81 QAbstractScrollAreaFilter::eventFilter (this=0xb25c520, o=0xb185a98, e=0xbfd15d8c) at widgets/qabstractscrollarea_p.h:115
#82 0x00855336 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x91c3288, receiver=0xb185a98, event=0xbfd15d8c) at kernel/qcoreapplication.cpp:902
#83 0x00d92d22 in notify_helper (e=0xbfd15d8c, receiver=0xb185a98, this=0x91c3288) at kernel/qapplication.cpp:4482
#84 QApplicationPrivate::notify_helper (this=0x91c3288, receiver=0xb185a98, e=0xbfd15d8c) at kernel/qapplication.cpp:4458
#85 0x00d98dbb in QApplication::notify (this=0x91c3288, receiver=0xb185a98, e=0xbfd15d8c) at kernel/qapplication.cpp:4047
#86 0x06d40721 in KApplication::notify (this=0xbfd16400, receiver=0xb185a98, event=0xbfd15d8c) at ../../kdeui/kernel/kapplication.cpp:311
#87 0x0085519e in QCoreApplication::notifyInternal (this=0xbfd16400, receiver=0xb185a98, event=0xbfd15d8c) at kernel/qcoreapplication.cpp:787
#88 0x00d93d15 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#89 QApplicationPrivate::sendMouseEvent (receiver=0xb185a98, event=0xbfd15d8c, alienWidget=0xb185a98, nativeWidget=0x93ad558, buttonDown=0x16fdeb4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#90 0x00e202c4 in QETWidget::translateMouseEvent (this=0x93ad558, event=0xbfd1620c) at kernel/qapplication_x11.cpp:4568
#91 0x00e1ee4d in QApplication::x11ProcessEvent (this=0xbfd16400, event=0xbfd1620c) at kernel/qapplication_x11.cpp:3690
#92 0x00e4be38 in QEventDispatcherX11::processEvents (this=0x919d248, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#93 0x008541dd in QEventLoop::processEvents (this=0xbfd16394, flags=...) at kernel/qeventloop.cpp:149
#94 0x00854421 in QEventLoop::exec (this=0xbfd16394, flags=...) at kernel/qeventloop.cpp:201
#95 0x0085919d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#96 0x00d908f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#97 0x0033121d in kdemain (argc=1, argv=0xbfd16504) at ../../krita/main.cc:49
#98 0x080484fb in main (argc=1, argv=0xbfd16504) at krita_dummy.cpp:3

Reported using DrKonqi
Comment 1 Halla Rempt 2011-10-20 06:34:10 UTC
Hi!

Thank you for your report. The backtrace is a bit strange, since I see the crash happens somewhere in the accesibility layer of Qt. Do you have any special configuration for accessibility? In any case, could you attach the crashing jpg to the bug report? Then I can check whether I can reproduce on my 11.10 test machine.
Comment 2 Christoph Feck 2011-10-20 08:54:19 UTC
Add comments and steps to reproduce here:

https://bugs.launchpad.net/ubuntu/+source/qt-at-spi/+bug/877358

Please keep this entry open until Ubuntu developers confirmed where the error is. To reproduce, you probably have to start the KDE application inside the Unity environment.
Comment 3 Christoph Feck 2011-11-10 21:07:36 UTC

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