Bug 216781

Summary: Krita crashes when opening an image
Product: [Applications] krita Reporter: Enrique Matías Sánchez <cronopios>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: halla
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Enrique Matías Sánchez 2009-11-30 11:05:44 UTC
Application that crashed: krita
Version of the application: 2.1 Beta 2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.30-2-686 i686
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
Krita crashes whenever I try to open an image (I tried several JPEG and GIF images).

 -- Backtrace:
Application: Krita (krita), signal: Segmentation fault
[KCrash Handler]
#6  0x00000000 in ?? ()
#7  0xb6b85070 in KoShape::setParent (this=0xa356308, parent=0xa38b238) at ../../../libs/flake/KoShape.cpp:428
#8  0xb3a46f4f in KisNodeShape::KisNodeShape(KoShapeContainer*, KisSharedPtr<KisNode>) () from /usr/lib/libkritaui.so.6
#9  0xb3a5e7c8 in ?? () from /usr/lib/libkritaui.so.6
#10 0xb37e6ea8 in KisPaintLayer::accept(KisNodeVisitor&) () from /usr/lib/libkritaimage.so.6
#11 0xb37dec87 in KisNodeVisitor::visitAll(KisNode*, bool) () from /usr/lib/libkritaimage.so.6
#12 0xb3a5da1c in ?? () from /usr/lib/libkritaui.so.6
#13 0xb37b38b8 in KisGroupLayer::accept(KisNodeVisitor&) () from /usr/lib/libkritaimage.so.6
#14 0xb3a4afbc in KisShapeController::setImage(KisSharedPtr<KisImage>) () from /usr/lib/libkritaui.so.6
#15 0xb3a8317c in KisDoc2::setCurrentImage(KisSharedPtr<KisImage>) () from /usr/lib/libkritaui.so.6
#16 0xb189b203 in ?? () from /usr/lib/kde4/libkritagmagickimport.so
#17 0xb7e4a8de in KOfficeFilter::ChainLink::invokeFilter (this=0xbfa59708, parentChainLink=0xbfa596d0) at ../../../libs/main/KoFilterChainLink.cpp:69
#18 0xb7e411d5 in KoFilterChain::invokeChain (this=0xa346410) at ../../../libs/main/KoFilterChain.cpp:94
#19 0xb7e3e171 in KoFilterManager::importDocument (this=0xa326e30, url=..., status=@0xbfa59a20) at ../../../libs/main/KoFilterManager.cpp:163
#20 0xb7def4b5 in KoDocument::openFile (this=0x99ed790) at ../../../libs/main/KoDocument.cpp:1208
#21 0xb6e4e81a in KParts::ReadOnlyPart::openUrl (this=0x99ed790, url=...) at ../../kparts/part.cpp:557
#22 0xb7dea74a in KoDocument::openUrl (this=0x99ed790, _url=...) at ../../../libs/main/KoDocument.cpp:1136
#23 0xb7de2bf9 in KoDocument::openExistingFile (this=0x99ed790, url=...) at ../../../libs/main/KoDocument.cpp:2262
#24 0xb3a80a3c in KisDoc2::openExistingFile(KUrl const&) () from /usr/lib/libkritaui.so.6
#25 0xb3a80d2b in KisDoc2::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkritaui.so.6
#26 0xb7a7b303 in QMetaObject::activate (sender=0x9f11480, from_signal_index=27, to_signal_index=27, argv=0xbfa59d7c) at kernel/qobject.cpp:3112
#27 0xb7a7bf42 in QMetaObject::activate (sender=0x9f11480, m=0xb7e7b928, local_signal_index=0, argv=0xbfa59d7c) at kernel/qobject.cpp:3186
#28 0xb7e599e3 in KoOpenPane::openExistingFile (this=0x9f11480, _t1=...) at ./KoOpenPane.moc:98
#29 0xb7e59e22 in KoOpenPane::qt_metacall (this=0x9f11480, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfa59e7c) at ./KoOpenPane.moc:80
#30 0xb7a7b303 in QMetaObject::activate (sender=0x9ef43c8, from_signal_index=27, to_signal_index=27, argv=0xbfa59e7c) at kernel/qobject.cpp:3112
#31 0xb7a7bf42 in QMetaObject::activate (sender=0x9ef43c8, m=0xb7e7b808, local_signal_index=0, argv=0xbfa59e7c) at kernel/qobject.cpp:3186
#32 0xb7e590a3 in KoExistingDocumentPane::openExistingUrl (this=0x9ef43c8, _t1=...) at ./KoExistingDocumentPane.moc:83
#33 0xb7e59179 in KoExistingDocumentPane::onAccepted (this=0x9ef43c8) at ../../../libs/main/KoExistingDocumentPane.cpp:59
#34 0xb7e591ed in KoExistingDocumentPane::qt_metacall (this=0x9ef43c8, _c=QMetaObject::InvokeMetaMethod, _id=-1279306540, _a=0xbfa59f58) at ./KoExistingDocumentPane.moc:71
#35 0xb7a7b303 in QMetaObject::activate (sender=0x9f09788, from_signal_index=31, to_signal_index=31, argv=0x0) at kernel/qobject.cpp:3112
#36 0xb7a7bf42 in QMetaObject::activate (sender=0x9f09788, m=0xb6da6cf0, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3186
#37 0xb6d61757 in KFileWidget::accepted (this=0x9f09788) at ./kfilewidget.moc:184
#38 0xb6d6c2c3 in KFileWidget::slotOk (this=0x9f09788) at ../../kfile/kfilewidget.cpp:977
#39 0xb6d6770c in KFileWidgetPrivate::_k_fileSelected (this=0x9efa850, i=...) at ../../kfile/kfilewidget.cpp:1082
#40 0xb6d6a24e in KFileWidget::qt_metacall (this=0x9f09788, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbfa5a29c) at ./kfilewidget.moc:134
#41 0xb7a7b303 in QMetaObject::activate (sender=0x9f84e38, from_signal_index=34, to_signal_index=34, argv=0xbfa5a29c) at kernel/qobject.cpp:3112
#42 0xb7a7bf42 in QMetaObject::activate (sender=0x9f84e38, m=0xb6da6334, local_signal_index=7, argv=0xbfa5a29c) at kernel/qobject.cpp:3186
#43 0xb6d46283 in KDirOperator::fileSelected (this=0x9f84e38, _t1=...) at ./kdiroperator.moc:316
#44 0xb6d46e09 in KDirOperator::selectFile (this=0x9f84e38, item=...) at ../../kfile/kdiroperator.cpp:1693
#45 0xb6d46f73 in KDirOperator::Private::_k_slotActivated (this=0x9f93818, index=...) at ../../kfile/kdiroperator.cpp:2340
#46 0xb6d52c85 in KDirOperator::qt_metacall (this=0x9f84e38, _c=QMetaObject::InvokeMetaMethod, _id=59, _a=0xbfa5a40c) at ./kdiroperator.moc:245
#47 0xb7a7b303 in QMetaObject::activate (sender=0x9d68a00, from_signal_index=34, to_signal_index=34, argv=0xbfa5a40c) at kernel/qobject.cpp:3112
#48 0xb7a7bf42 in QMetaObject::activate (sender=0x9d68a00, m=0xb7909c04, local_signal_index=3, argv=0xbfa5a40c) at kernel/qobject.cpp:3186
#49 0xb75e01b3 in QAbstractItemView::activated (this=0x9d68a00, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:335
#50 0xb75edc80 in QAbstractItemView::mouseReleaseEvent (this=0x9d68a00, event=0xbfa5ad3c) at itemviews/qabstractitemview.cpp:1664
#51 0xb76046cf in QListView::mouseReleaseEvent (this=0x9d68a00, e=0xbfa5ad3c) at itemviews/qlistview.cpp:851
#52 0xb70fb9fb in QWidget::event (this=0x9d68a00, event=0xbfa5ad3c) at kernel/qwidget.cpp:7554
#53 0xb74a1543 in QFrame::event (this=0x9d68a00, e=0xbfa5ad3c) at widgets/qframe.cpp:559
#54 0xb753f59f in QAbstractScrollArea::viewportEvent (this=0x9d68a00, e=0xa359eb8) at widgets/qabstractscrollarea.cpp:962
#55 0xb75f0887 in QAbstractItemView::viewportEvent (this=0x9d68a00, event=0xbfa5ad3c) at itemviews/qabstractitemview.cpp:1476
#56 0xb7541b75 in QAbstractScrollAreaPrivate::viewportEvent (this=0x9e677d0, o=0x9d0d7f8, e=0xbfa5ad3c) at widgets/qabstractscrollarea_p.h:100
#57 QAbstractScrollAreaFilter::eventFilter (this=0x9e677d0, o=0x9d0d7f8, e=0xbfa5ad3c) at widgets/qabstractscrollarea_p.h:111
#58 0xb7a6541a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x98dcc40, receiver=0x9d0d7f8, event=0xbfa5ad3c) at kernel/qcoreapplication.cpp:726
#59 0xb70a5a6c in QApplicationPrivate::notify_helper (this=0x98dcc40, receiver=0x9d0d7f8, e=0xbfa5ad3c) at kernel/qapplication.cpp:4061
#60 0xb70ae551 in QApplication::notify (this=0xbfa5c59c, receiver=0x9d0d7f8, e=0xbfa5ad3c) at kernel/qapplication.cpp:3767
#61 0xb665e0fd in KApplication::notify (this=0xbfa5c59c, receiver=0x9d0d7f8, event=0xbfa5ad3c) at ../../kdeui/kernel/kapplication.cpp:302
#62 0xb7a661eb in QCoreApplication::notifyInternal (this=0xbfa5c59c, receiver=0x9d0d7f8, event=0xbfa5ad3c) at kernel/qcoreapplication.cpp:610
#63 0xb70ad5de in QCoreApplication::sendSpontaneousEvent (receiver=0x9d0d7f8, event=0xbfa5ad3c, alienWidget=0x9d0d7f8, nativeWidget=0x9eb7e98, buttonDown=0xb791c580, lastMouseReceiver=...)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#64 QApplicationPrivate::sendMouseEvent (receiver=0x9d0d7f8, event=0xbfa5ad3c, alienWidget=0x9d0d7f8, nativeWidget=0x9eb7e98, buttonDown=0xb791c580, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#65 0xb711c175 in QETWidget::translateMouseEvent (this=0x9eb7e98, event=0xbfa5c2ec) at kernel/qapplication_x11.cpp:4411
#66 0xb711b646 in QApplication::x11ProcessEvent (this=0xbfa5c59c, event=0xbfa5c2ec) at kernel/qapplication_x11.cpp:3430
#67 0xb7145bc2 in x11EventSourceDispatch (s=0x98dfe40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#68 0xb61c9e98 in g_main_dispatch (context=0x98df090) at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:1960
#69 IA__g_main_context_dispatch (context=0x98df090) at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:2513
#70 0xb61cd623 in g_main_context_iterate (context=0x98df090, block=1, dispatch=1, self=0x98dc780) at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:2591
#71 0xb61cd7a8 in IA__g_main_context_iteration (context=0x98df090, may_block=1) at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:2654
#72 0xb7a91041 in QEventDispatcherGlib::processEvents (this=0x98bf838, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#73 0xb7145305 in QGuiEventDispatcherGlib::processEvents (this=0x98bf838, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#74 0xb7a6483a in QEventLoop::processEvents (this=0xbfa5c550, flags=...) at kernel/qeventloop.cpp:149
#75 0xb7a64c82 in QEventLoop::exec (this=0xbfa5c550, flags=...) at kernel/qeventloop.cpp:201
#76 0xb7a670d9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#77 0xb70a5917 in QApplication::exec () at kernel/qapplication.cpp:3525
#78 0xb7fc979d in kdemain () from /usr/lib/libkdeinit4_krita.so
#79 0x080485b2 in _start ()

Reported using DrKonqi
Comment 1 Halla Rempt 2009-11-30 11:10:53 UTC
Hi Enrique, thanks for your report.  However, the version you are using is an old beta version and we released 2.1 final last week which likely does not have this bug. Can you try again with the released version?
Comment 2 Enrique Matías Sánchez 2009-11-30 11:14:09 UTC
I updated Krita to the final 2.1 release, and it works fine  :-)

Sorry for the noise.