Bug 265081

Summary: Crash while opening png
Product: [Applications] krita Reporter: Tim Richardson <tim>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: halla
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tim Richardson 2011-02-01 12:07:26 UTC
Application: krita (2.3.0)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.37-0.slh.15-aptosid-686 i686
Distribution: Debian GNU/Linux 6.0 (squeeze)

-- Information about the crash:
Crash while opening png  but the second attempt did not crash.

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0xa5818b70 (LWP 15328)):
#0  0xb77b4424 in __kernel_vsyscall ()
#1  0xb56caf7f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb7725e0d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb65fffb7 in wait (this=0xa9ccb4c, mutex=0xa9ccb48, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa9ccb4c, mutex=0xa9ccb48, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb65fb9d2 in QSemaphore::acquire (this=0xa957540, n=1) at thread/qsemaphore.cpp:142
#6  0xb277a233 in ?? () from /usr/lib/libkritaimage.so.8
#7  0xb277a493 in ?? () from /usr/lib/libkritaimage.so.8
#8  0xb65fefbe in QThreadPrivate::start (arg=0xa957538) at thread/qthread_unix.cpp:248
#9  0xb56c6955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#10 0xb7718e7e in clone () from /lib/i686/cmov/libc.so.6

Thread 2 (Thread 0xa5017b70 (LWP 15329)):
#0  0xb77b4424 in __kernel_vsyscall ()
#1  0xb56caf7f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb7725e0d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb65fffb7 in wait (this=0xa9ccc64, mutex=0xa9ccc60, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa9ccc64, mutex=0xa9ccc60, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb65fb7d2 in QSemaphore::tryAcquire (this=0xa9af8a0, n=1, timeout=-1) at thread/qsemaphore.cpp:219
#6  0xb27970b0 in KisTileDataSwapper::waitForWork() () from /usr/lib/libkritaimage.so.8
#7  0xb27970f4 in KisTileDataSwapper::run() () from /usr/lib/libkritaimage.so.8
#8  0xb65fefbe in QThreadPrivate::start (arg=0xa957554) at thread/qthread_unix.cpp:248
#9  0xb56c6955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#10 0xb7718e7e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb475d720 (LWP 15320)):
[KCrash Handler]
#6  0x00000003 in ?? ()
#7  0xb67125e3 in QObject::disconnect (sender=0xa99a7e0, signal=0x0, receiver=0xa2f2228, method=0x0) at kernel/qobject.cpp:2747
#8  0xb29c87b8 in KisShapeController::setImage(KisWeakSharedPtr<KisImage>) () from /usr/lib/libkritaui.so.8
#9  0xb2a16176 in KisDoc2::setCurrentImage(KisWeakSharedPtr<KisImage>) () from /usr/lib/libkritaui.so.8
#10 0xa6021b9f in ?? () from /usr/lib/kde4/kritapngimport.so
#11 0xb75cd328 in ?? () from /usr/lib/libkomain.so.8
#12 0xb75c354d in KoFilterChain::invokeChain() () from /usr/lib/libkomain.so.8
#13 0xb75c1495 in KoFilterManager::importDocument(QString const&, KoFilter::ConversionStatus&) () from /usr/lib/libkomain.so.8
#14 0xb75705f6 in KoDocument::openFile() () from /usr/lib/libkomain.so.8
#15 0xb6475ca9 in KParts::ReadOnlyPart::openUrl (this=0x90e25a8, url=...) at ../../kparts/part.cpp:557
#16 0xb756fd91 in KoDocument::openUrl(KUrl const&) () from /usr/lib/libkomain.so.8
#17 0xb7565e79 in KoDocument::openExistingFile(KUrl const&) () from /usr/lib/libkomain.so.8
#18 0xb2a15e5c in KisDoc2::openExistingFile(KUrl const&) () from /usr/lib/libkritaui.so.8
#19 0xb2a1ab20 in KisDoc2::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkritaui.so.8
#20 0xb67007aa in QMetaObject::metacall (object=0x90e25a8, cl=QMetaObject::InvokeMetaMethod, idx=44, argv=0xbffb3268) at kernel/qmetaobject.cpp:237
#21 0xb670f1bb in QMetaObject::activate (sender=0xa723eb8, m=0xb76488c8, local_signal_index=0, argv=0xbffb3268) at kernel/qobject.cpp:3295
#22 0xb75e0283 in ?? () from /usr/lib/libkomain.so.8
#23 0xb75e07bd in ?? () from /usr/lib/libkomain.so.8
#24 0xb67007aa in QMetaObject::metacall (object=0xa723eb8, cl=QMetaObject::InvokeMetaMethod, idx=0, argv=0xbffb3398) at kernel/qmetaobject.cpp:237
#25 0xb670f1bb in QMetaObject::activate (sender=0xa72a7c8, m=0xb76487a8, local_signal_index=0, argv=0xbffb3398) at kernel/qobject.cpp:3295
#26 0xb75df963 in ?? () from /usr/lib/libkomain.so.8
#27 0xb75dfa1f in ?? () from /usr/lib/libkomain.so.8
#28 0xb75dfac0 in ?? () from /usr/lib/libkomain.so.8
#29 0xb67007aa in QMetaObject::metacall (object=0xa72a7c8, cl=QMetaObject::InvokeMetaMethod, idx=-1074056248, argv=0xa72a7c8) at kernel/qmetaobject.cpp:237
#30 0xb670f1bb in QMetaObject::activate (sender=0xa735a40, m=0xb63ca470, local_signal_index=6, argv=0x0) at kernel/qobject.cpp:3295
#31 0xb6383447 in KFileWidget::accepted (this=0xa735a40) at ./kfilewidget.moc:209
#32 0xb6394d2e in KFileWidget::slotOk (this=0xa735a40) at ../../kfile/kfilewidget.cpp:997
#33 0xb6388bfc in KFileWidgetPrivate::_k_fileSelected (this=0xa736438, i=...) at ../../kfile/kfilewidget.cpp:1104
#34 0xb63936e8 in KFileWidget::qt_metacall (this=0xa735a40, _c=QMetaObject::InvokeMetaMethod, _id=44, _a=0xbffb3858) at ./kfilewidget.moc:145
#35 0xb67007aa in QMetaObject::metacall (object=0xa735a40, cl=QMetaObject::InvokeMetaMethod, idx=44, argv=0xbffb3858) at kernel/qmetaobject.cpp:237
#36 0xb670f1bb in QMetaObject::activate (sender=0xa3268d8, m=0xb63c9ab4, local_signal_index=7, argv=0xbffb3858) at kernel/qobject.cpp:3295
#37 0xb6367ac3 in KDirOperator::fileSelected (this=0xa3268d8, _t1=...) at ./kdiroperator.moc:322
#38 0xb6368639 in KDirOperator::selectFile (this=0xa3268d8, item=...) at ../../kfile/kdiroperator.cpp:1718
#39 0xb63687a1 in KDirOperator::Private::_k_slotActivated (this=0xa753368, index=...) at ../../kfile/kdiroperator.cpp:2365
#40 0xb63746d5 in KDirOperator::qt_metacall (this=0xa3268d8, _c=QMetaObject::InvokeMetaMethod, _id=59, _a=0xbffb3a08) at ./kdiroperator.moc:251
#41 0xb67007aa in QMetaObject::metacall (object=0xa3268d8, cl=QMetaObject::InvokeMetaMethod, idx=86, argv=0xbffb3a08) at kernel/qmetaobject.cpp:237
#42 0xb670f1bb in QMetaObject::activate (sender=0xa78a540, m=0xb74f7ea4, local_signal_index=3, argv=0xbffb3a08) at kernel/qobject.cpp:3295
#43 0xb715b963 in QAbstractItemView::activated (this=0xa78a540, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:345
#44 0xb715ee87 in QAbstractItemView::mouseDoubleClickEvent (this=0xa78a540, event=0xbffb4404) at itemviews/qabstractitemview.cpp:1820
#45 0xb6c2264e in QWidget::event (this=0xa78a540, event=0xbffb4404) at kernel/qwidget.cpp:8048
#46 0xb701c8d3 in QFrame::event (this=0xa78a540, e=0xbffb4404) at widgets/qframe.cpp:557
#47 0xb70b7092 in QAbstractScrollArea::viewportEvent (this=0x0, e=0xa99a7e0) at widgets/qabstractscrollarea.cpp:1036
#48 0xb716c8a7 in QAbstractItemView::viewportEvent (this=0xa78a540, event=0xbffb4404) at itemviews/qabstractitemview.cpp:1615
#49 0xb70b9a65 in viewportEvent (this=0x9025a70, o=0xa78bd48, e=0xbffb4404) at widgets/qabstractscrollarea_p.h:100
#50 QAbstractScrollAreaFilter::eventFilter (this=0x9025a70, o=0xa78bd48, e=0xbffb4404) at widgets/qabstractscrollarea_p.h:116
#51 0xb66fa76a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8f427c8, receiver=0xa78bd48, event=0xbffb4404) at kernel/qcoreapplication.cpp:841
#52 0xb6bc45a9 in QApplicationPrivate::notify_helper (this=0x8f427c8, receiver=0xa78bd48, e=0xbffb4404) at kernel/qapplication.cpp:4298
#53 0xb6bcbaf7 in QApplication::notify (this=0xbffb4a00, receiver=0xa78bd48, e=0xbffb4404) at kernel/qapplication.cpp:3867
#54 0xb5986bfa in KApplication::notify (this=0xbffb4a00, receiver=0xa78bd48, event=0xbffb4404) at ../../kdeui/kernel/kapplication.cpp:302
#55 0xb66fb4cb in QCoreApplication::notifyInternal (this=0xbffb4a00, receiver=0xa78bd48, event=0xbffb4404) at kernel/qcoreapplication.cpp:726
#56 0xb6bcaa52 in sendEvent (receiver=0xa78bd48, event=0xbffb4404, alienWidget=0xa78bd48, nativeWidget=0x902e0c0, buttonDown=0xb750c998, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#57 QApplicationPrivate::sendMouseEvent (receiver=0xa78bd48, event=0xbffb4404, alienWidget=0xa78bd48, nativeWidget=0x902e0c0, buttonDown=0xb750c998, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2967
#58 0xb6c55d4c in QETWidget::translateMouseEvent (this=0x902e0c0, event=0xbffb485c) at kernel/qapplication_x11.cpp:4380
#59 0xb6c55253 in QApplication::x11ProcessEvent (this=0xbffb4a00, event=0xbffb485c) at kernel/qapplication_x11.cpp:3391
#60 0xb6c83dab in QEventDispatcherX11::processEvents (this=0x8f22db8, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#61 0xb66f9ae9 in QEventLoop::processEvents (this=0xbffb4994, flags=) at kernel/qeventloop.cpp:149
#62 0xb66f9f3a in QEventLoop::exec (this=0xbffb4994, flags=...) at kernel/qeventloop.cpp:201
#63 0xb66ff16f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#64 0xb6bc4667 in QApplication::exec () at kernel/qapplication.cpp:3581
#65 0xb77b03dd in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_krita.so
#66 0x080485fb in _start ()

Reported using DrKonqi
Comment 1 Halla Rempt 2011-02-01 12:13:15 UTC
Could you try to update to 2.3.1? This sounds very familiar, like a bug I fixed for 2.3.1.
Comment 2 Sven Langkamp 2011-02-12 16:48:14 UTC

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