Bug 265876

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

Description Tim Richardson 2011-02-09 13:46:54 UTC
Application: krita (2.3.1)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.37-0.slh.18-aptosid-686 i686
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
Crash when opening a small GIF
This is a recent upgrade of Krita which flowed through to Debian "sid" in the last couple of days, so I hope this report is useful.

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

Thread 2 (Thread 0xa56d3b70 (LWP 24610)):
#0  0xb7767424 in __kernel_vsyscall ()
#1  0xb567df7f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb76d8e0d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb65b2fb7 in wait (this=0xa0d2fd4, mutex=0xa0d2fd0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa0d2fd4, mutex=0xa0d2fd0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb65ae7d2 in QSemaphore::tryAcquire (this=0xa0b7040, n=1, timeout=-1) at thread/qsemaphore.cpp:219
#6  0xb273f080 in KisTileDataSwapper::waitForWork() () from /usr/lib/libkritaimage.so.8
#7  0xb273f0c4 in KisTileDataSwapper::run() () from /usr/lib/libkritaimage.so.8
#8  0xb65b1fbe in QThreadPrivate::start (arg=0xa0bbe7c) at thread/qthread_unix.cpp:248
#9  0xb5679955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#10 0xb76cbe7e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb470b720 (LWP 24604)):
[KCrash Handler]
#6  0xb28ab41e in vtable for KisAbstractUpdateScheduler () from /usr/lib/libkritaimage.so.8
#7  0x0a0ba8c8 in ?? ()
#8  0xb29fd1ce in KisNodeModel::setImage(KisWeakSharedPtr<KisImage>) () from /usr/lib/libkritaui.so.8
#9  0xb29bdd8f in KisDoc2::setCurrentImage(KisWeakSharedPtr<KisImage>) () from /usr/lib/libkritaui.so.8
#10 0xa5a27b21 in ?? () from /usr/lib/kde4/kritagifimport.so
#11 0xb7580328 in ?? () from /usr/lib/libkomain.so.8
#12 0xb757654d in KoFilterChain::invokeChain() () from /usr/lib/libkomain.so.8
#13 0xb7574495 in KoFilterManager::importDocument(QString const&, KoFilter::ConversionStatus&) () from /usr/lib/libkomain.so.8
#14 0xb75235f6 in KoDocument::openFile() () from /usr/lib/libkomain.so.8
#15 0xb6428ca9 in KParts::ReadOnlyPart::openUrl (this=0x87b2680, url=...) at ../../kparts/part.cpp:557
#16 0xb7522d91 in KoDocument::openUrl(KUrl const&) () from /usr/lib/libkomain.so.8
#17 0xb7518e79 in KoDocument::openExistingFile(KUrl const&) () from /usr/lib/libkomain.so.8
#18 0xb29bda3c in KisDoc2::openExistingFile(KUrl const&) () from /usr/lib/libkritaui.so.8
#19 0xb29c2730 in KisDoc2::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkritaui.so.8
#20 0xb66b37aa in QMetaObject::metacall (object=0x87b2680, cl=QMetaObject::InvokeMetaMethod, idx=44, argv=0xbfb89b18) at kernel/qmetaobject.cpp:237
#21 0xb66c21bb in QMetaObject::activate (sender=0x9e8f528, m=0xb75fb8e8, local_signal_index=0, argv=0xbfb89b18) at kernel/qobject.cpp:3295
#22 0xb7593283 in ?? () from /usr/lib/libkomain.so.8
#23 0xb75937bd in ?? () from /usr/lib/libkomain.so.8
#24 0xb66b37aa in QMetaObject::metacall (object=0x9e8f528, cl=QMetaObject::InvokeMetaMethod, idx=0, argv=0xbfb89c48) at kernel/qmetaobject.cpp:237
#25 0xb66c21bb in QMetaObject::activate (sender=0x9e91328, m=0xb75fb7c8, local_signal_index=0, argv=0xbfb89c48) at kernel/qobject.cpp:3295
#26 0xb7592963 in ?? () from /usr/lib/libkomain.so.8
#27 0xb7592a1f in ?? () from /usr/lib/libkomain.so.8
#28 0xb7592ac0 in ?? () from /usr/lib/libkomain.so.8
#29 0xb66b37aa in QMetaObject::metacall (object=0x9e91328, cl=QMetaObject::InvokeMetaMethod, idx=-1078420360, argv=0x9e91328) at kernel/qmetaobject.cpp:237
#30 0xb66c21bb in QMetaObject::activate (sender=0x871e030, m=0xb637d470, local_signal_index=6, argv=0x0) at kernel/qobject.cpp:3295
#31 0xb6336447 in KFileWidget::accepted (this=0x871e030) at ./kfilewidget.moc:209
#32 0xb6347d2e in KFileWidget::slotOk (this=0x871e030) at ../../kfile/kfilewidget.cpp:997
#33 0xb633bbfc in KFileWidgetPrivate::_k_fileSelected (this=0x87195f0, i=...) at ../../kfile/kfilewidget.cpp:1104
#34 0xb63466e8 in KFileWidget::qt_metacall (this=0x871e030, _c=QMetaObject::InvokeMetaMethod, _id=44, _a=0xbfb8a108) at ./kfilewidget.moc:145
#35 0xb66b37aa in QMetaObject::metacall (object=0x871e030, cl=QMetaObject::InvokeMetaMethod, idx=44, argv=0xbfb8a108) at kernel/qmetaobject.cpp:237
#36 0xb66c21bb in QMetaObject::activate (sender=0x871b508, m=0xb637cab4, local_signal_index=7, argv=0xbfb8a108) at kernel/qobject.cpp:3295
#37 0xb631aac3 in KDirOperator::fileSelected (this=0x871b508, _t1=...) at ./kdiroperator.moc:322
#38 0xb631b639 in KDirOperator::selectFile (this=0x871b508, item=...) at ../../kfile/kdiroperator.cpp:1718
#39 0xb631b7a1 in KDirOperator::Private::_k_slotActivated (this=0x871bb40, index=...) at ../../kfile/kdiroperator.cpp:2365
#40 0xb63276d5 in KDirOperator::qt_metacall (this=0x871b508, _c=QMetaObject::InvokeMetaMethod, _id=59, _a=0xbfb8a2b8) at ./kdiroperator.moc:251
#41 0xb66b37aa in QMetaObject::metacall (object=0x871b508, cl=QMetaObject::InvokeMetaMethod, idx=86, argv=0xbfb8a2b8) at kernel/qmetaobject.cpp:237
#42 0xb66c21bb in QMetaObject::activate (sender=0x9ef0360, m=0xb74aaea4, local_signal_index=3, argv=0xbfb8a2b8) at kernel/qobject.cpp:3295
#43 0xb710e963 in QAbstractItemView::activated (this=0x9ef0360, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:345
#44 0xb7111e87 in QAbstractItemView::mouseDoubleClickEvent (this=0x9ef0360, event=0xbfb8acb4) at itemviews/qabstractitemview.cpp:1820
#45 0xb6bd564e in QWidget::event (this=0x9ef0360, event=0xbfb8acb4) at kernel/qwidget.cpp:8048
#46 0xb6fcf8d3 in QFrame::event (this=0x9ef0360, e=0xbfb8acb4) at widgets/qframe.cpp:557
#47 0xb706a092 in QAbstractScrollArea::viewportEvent (this=0x0, e=0xa0b6e80) at widgets/qabstractscrollarea.cpp:1036
#48 0xb711f8a7 in QAbstractItemView::viewportEvent (this=0x9ef0360, event=0xbfb8acb4) at itemviews/qabstractitemview.cpp:1615
#49 0xb706ca65 in viewportEvent (this=0x9eae998, o=0x9ef1b68, e=0xbfb8acb4) at widgets/qabstractscrollarea_p.h:100
#50 QAbstractScrollAreaFilter::eventFilter (this=0x9eae998, o=0x9ef1b68, e=0xbfb8acb4) at widgets/qabstractscrollarea_p.h:116
#51 0xb66ad76a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x86127c8, receiver=0x9ef1b68, event=0xbfb8acb4) at kernel/qcoreapplication.cpp:841
#52 0xb6b775a9 in QApplicationPrivate::notify_helper (this=0x86127c8, receiver=0x9ef1b68, e=0xbfb8acb4) at kernel/qapplication.cpp:4298
#53 0xb6b7eaf7 in QApplication::notify (this=0xbfb8b2b0, receiver=0x9ef1b68, e=0xbfb8acb4) at kernel/qapplication.cpp:3867
#54 0xb5939bfa in KApplication::notify (this=0xbfb8b2b0, receiver=0x9ef1b68, event=0xbfb8acb4) at ../../kdeui/kernel/kapplication.cpp:302
#55 0xb66ae4cb in QCoreApplication::notifyInternal (this=0xbfb8b2b0, receiver=0x9ef1b68, event=0xbfb8acb4) at kernel/qcoreapplication.cpp:726
#56 0xb6b7da52 in sendEvent (receiver=0x9ef1b68, event=0xbfb8acb4, alienWidget=0x9ef1b68, nativeWidget=0x8702ba0, buttonDown=0xb74bf998, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#57 QApplicationPrivate::sendMouseEvent (receiver=0x9ef1b68, event=0xbfb8acb4, alienWidget=0x9ef1b68, nativeWidget=0x8702ba0, buttonDown=0xb74bf998, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2967
#58 0xb6c08d4c in QETWidget::translateMouseEvent (this=0x8702ba0, event=0xbfb8b10c) at kernel/qapplication_x11.cpp:4380
#59 0xb6c08253 in QApplication::x11ProcessEvent (this=0xbfb8b2b0, event=0xbfb8b10c) at kernel/qapplication_x11.cpp:3391
#60 0xb6c36dab in QEventDispatcherX11::processEvents (this=0x85f2db8, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#61 0xb66acae9 in QEventLoop::processEvents (this=0xbfb8b244, flags=) at kernel/qeventloop.cpp:149
#62 0xb66acf3a in QEventLoop::exec (this=0xbfb8b244, flags=...) at kernel/qeventloop.cpp:201
#63 0xb66b216f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#64 0xb6b77667 in QApplication::exec () at kernel/qapplication.cpp:3581
#65 0xb77633dd in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_krita.so
#66 0x080485fb in _start ()

Reported using DrKonqi
Comment 1 Halla Rempt 2011-02-09 13:54:10 UTC
Thanks for your report! Would it be possible to attach the gif file so I can test myself?
Comment 2 Tim Richardson 2011-02-09 15:25:56 UTC
On 09/02/11 23:54, boud@valdyas.org wrote:
> https://bugs.kde.org/show_bug.cgi?id=265876
>
>
> boud@valdyas.org changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |boud@valdyas.org
>
>
>
>
> --- Comment #1 from<boud valdyas org>   2011-02-09 13:54:10 ---
> Thanks for your report! Would it be possible to attach the gif file so I can
> test myself?
>
Attached. But it only crashed the first time I ran krita in the session.
Comment 3 Halla Rempt 2011-02-09 15:46:15 UTC
Hm, that doesn't seem to have worked. Did you attach to your mail, or did you use the "Add an attachment"  link in bugs.kde.org? If you want to mail it, please mail directly to boud@valdyas.org
Comment 4 Halla Rempt 2011-02-09 16:01:20 UTC
Created attachment 57024 [details]
crashing gif
Comment 5 Cyrille Berger 2011-02-12 15:29:10 UTC
Hum I can't reproduce. What do you mean by "But it only crashed the first time I ran krita in the session", does it happen, every time after a reboot ? or did it only happen once ?

I tried to reproduce with both self build and debian package and couldn't manage. From the look of the backtrace, I suspect it could be related to the "open a file on the first krita run" crash.
Comment 6 Sven Langkamp 2011-02-12 16:45:36 UTC

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