Bug 259140

Summary: opening a previously used .png file
Product: [Applications] krita Reporter: Jaime Torres <jtamate>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jaime Torres 2010-12-07 16:41:38 UTC
Application: krita (2.3 Beta 4)
KDE Platform Version: 4.5.85 (4.6 Beta2) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.36optimum x86_64
Distribution (Platform): openSUSE RPMs

-- Information about the crash:
- What I was doing when the application crashed:

Trying the cloned calligra git repository.
Just opened a .png file in the previously opened files dialog.. and crash.

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7f8b33ad2710 (LWP 10288)):
#0  0x00007fffa7ef7851 in clock_gettime ()
#1  0x00007f8b4fafa2b3 in clock_gettime () from /lib64/librt.so.1
#2  0x00007f8b58b74192 in do_gettime () at /g/kde4svn/qt/src/corelib/tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at /g/kde4svn/qt/src/corelib/tools/qelapsedtimer_unix.cpp:140
#4  0x00007f8b58c3597d in QTimerInfoList::updateCurrentTime (this=0x39bd870) at /g/kde4svn/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:339
#5  0x00007f8b58c36ba3 in QEventDispatcherUNIXPrivate::doSelect (this=0x39bd000, flags=..., timeout=0x0) at /g/kde4svn/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:182
#6  0x00007f8b58c3786f in QEventDispatcherUNIX::QEventDispatcherUNIX::processEvents (this=0x39bc200, flags=...) at /g/kde4svn/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:918
#7  0x00007f8b58c09c22 in QEventLoop::QEventLoop::processEvents (this=<value optimized out>, flags=...) at /g/kde4svn/qt/src/corelib/kernel/qeventloop.cpp:149
#8  0x00007f8b58c09e64 in QEventLoop::QEventLoop::exec (this=0x7f8b33ad1d60, flags=...) at /g/kde4svn/qt/src/corelib/kernel/qeventloop.cpp:201
#9  0x00007f8b58b210dc in QThread::exec (this=<value optimized out>) at /g/kde4svn/qt/src/corelib/thread/qthread.cpp:492
#10 0x00007f8b58bebb88 in QInotifyFileSystemWatcherEngine::QInotifyFileSystemWatcherEngine::run (this=0x39b8d20) at /g/kde4svn/qt/src/corelib/io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007f8b58b238b5 in QThreadPrivate::QThreadPrivate::start (arg=0x39b8d20) at /g/kde4svn/qt/src/corelib/thread/qthread_unix.cpp:320
#12 0x00007f8b58882a4f in start_thread () from /lib64/libpthread.so.0
#13 0x00007f8b503f09fd in clone () from /lib64/libc.so.6
#14 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f8b32799710 (LWP 10298)):
#0  0x00007f8b5888739c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8b58b23f83 in wait (this=<value optimized out>, mutex=0x36364e0, time=18446744073709551615) at /g/kde4svn/qt/src/corelib/thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x36364e0, time=18446744073709551615) at /g/kde4svn/qt/src/corelib/thread/qwaitcondition_unix.cpp:160
#3  0x00007f8b58b209b5 in QSemaphore::acquire (this=0x3d6c470, n=1) at /g/kde4svn/qt/src/corelib/thread/qsemaphore.cpp:144
#4  0x00007f8b58009206 in KisTileDataPooler::waitForWork (this=0x3d6c460) at /g/kde4svn/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:127
#5  0x00007f8b580094a0 in KisTileDataPooler::run (this=0x3d6c460) at /g/kde4svn/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:156
#6  0x00007f8b58b238b5 in QThreadPrivate::QThreadPrivate::start (arg=0x3d6c460) at /g/kde4svn/qt/src/corelib/thread/qthread_unix.cpp:320
#7  0x00007f8b58882a4f in start_thread () from /lib64/libpthread.so.0
#8  0x00007f8b503f09fd in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f8b31f98710 (LWP 10299)):
#0  0x00007f8b5888739c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8b58b23f83 in wait (this=<value optimized out>, mutex=0x3636d20, time=18446744073709551615) at /g/kde4svn/qt/src/corelib/thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3636d20, time=18446744073709551615) at /g/kde4svn/qt/src/corelib/thread/qwaitcondition_unix.cpp:160
#3  0x00007f8b58b20c01 in QSemaphore::tryAcquire (this=0x3d73b40, n=1, timeout=-1) at /g/kde4svn/qt/src/corelib/thread/qsemaphore.cpp:221
#4  0x00007f8b580213f0 in KisTileDataSwapper::run (this=0x3d6c490) at /g/kde4svn/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:90
#5  0x00007f8b58b238b5 in QThreadPrivate::QThreadPrivate::start (arg=0x3d6c490) at /g/kde4svn/qt/src/corelib/thread/qthread_unix.cpp:320
#6  0x00007f8b58882a4f in start_thread () from /lib64/libpthread.so.0
#7  0x00007f8b503f09fd in clone () from /lib64/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8b595197e0 (LWP 10284)):
[KCrash Handler]
#6  QBasicAtomicInt::ref (this=0xffffffff) at /usr/lib/qt4.5/include/QtCore/qatomic_x86_64.h:121
#7  0x00007f8b513ff851 in QList<QVariant>::operator= (this=0x4f62008, l=<value optimized out>) at /usr/lib/qt4.5/include/QtCore/qlist.h:428
#8  0x00007f8b5144984e in KLocalizedStringPrivate::operator= (this=0x4f62000) at /g/kde4svn/kdelibs/kdecore/localization/klocalizedstring.cpp:60
#9  0x00007f8b51446034 in KLocalizedString::operator= (this=0x4f62fb8, rhs=<value optimized out>) at /g/kde4svn/kdelibs/kdecore/localization/klocalizedstring.cpp:177
#10 0x00007f8b5804db33 in KoID::operator=(KoID const&) () from /opt/kde4/lib/libkritaimage.so.8
#11 0x00007f8b5804d4ad in KisBaseProcessor::KisBaseProcessor (this=0x4fba810, id=..., category=..., entry=...) at /g/kde4svn/calligra/krita/image/kis_base_processor.cpp:72
#12 0x00007f8b5804116b in KisFilter::KisFilter (this=0x4fba810, _id=<value optimized out>, category=<value optimized out>, entry=<value optimized out>)
    at /g/kde4svn/calligra/krita/image/filter/kis_filter.cc:82
#13 0x00007f8b2e5b3918 in KisScriptFilter::KisScriptFilter (this=0x4fba800, action=0x5033af0) at /g/kde4svn/koffice/krita/plugins/extensions/scripting/kis_script_filter.cc:36
#14 0x00007f8b2e5b0708 in ScriptingPart::ScriptingPart (this=0x4fc6280, parent=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /g/kde4svn/koffice/krita/plugins/extensions/scripting/scriptingpart.cpp:95
#15 0x00007f8b2e5b349d in KPluginFactory::createInstance<ScriptingPart, QObject> (parentWidget=<value optimized out>, parent=<value optimized out>, args=...) at /opt/kde4/include/kpluginfactory.h:461
#16 0x00007f8b5147ab20 in KPluginFactory::create (this=0x3cc1120, iface=0x7f8b58cc4920 "QObject", parentWidget=0x0, parent=0x49f2600, args=..., keyword=<value optimized out>)
    at /g/kde4svn/kdelibs/kdecore/util/kpluginfactory.cpp:203
#17 0x00007f8b58530b14 in QObject* KPluginFactory::create<QObject>(QWidget*, QObject*, QString const&, QList<QVariant> const&) () from /opt/kde4/lib/libkritaui.so.8
#18 0x00007f8b58530bed in QObject* KService::createInstance<QObject>(QWidget*, QObject*, QList<QVariant> const&, QString*) const () from /opt/kde4/lib/libkritaui.so.8
#19 0x00007f8b5852dc71 in KisView2::loadPlugins (this=0x49f2600) at /g/kde4svn/calligra/krita/ui/kis_view2.cpp:760
#20 0x00007f8b5852eb34 in KisView2::KisView2 (this=0x49f2600, doc=<value optimized out>, parent=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /g/kde4svn/calligra/krita/ui/kis_view2.cpp:315
#21 0x00007f8b584d7fdb in KisDoc2::createViewInstance (this=0x21be050, parent=0x3868c30) at /g/kde4svn/calligra/krita/ui/kis_doc2.cc:426
#22 0x00007f8b57793091 in KoDocument::createView (this=0x21be050, parent=<value optimized out>) at /g/kde4svn/calligra/libs/main/KoDocument.cpp:428
#23 0x00007f8b577b8ed6 in KoMainWindow::setRootDocument (this=0x2110400, doc=0x21be050) at /g/kde4svn/calligra/libs/main/KoMainWindow.cpp:464
#24 0x00007f8b57796421 in KoDocument::deleteOpenPane (this=0x21be050) at /g/kde4svn/calligra/libs/main/KoDocument.cpp:2491
#25 0x00007f8b5779b3e8 in KoDocument::openFile (this=0x21be050) at /g/kde4svn/calligra/libs/main/KoDocument.cpp:1475
#26 0x00007f8b574e7f67 in KParts::ReadOnlyPartPrivate::openLocalFile (this=0x21e46e0) at /g/kde4svn/kdelibs/kparts/part.cpp:592
#27 0x00007f8b574e848f in KParts::ReadOnlyPart::openUrl (this=<value optimized out>, url=...) at /g/kde4svn/kdelibs/kparts/part.cpp:556
#28 0x00007f8b5779be80 in KoDocument::openUrl (this=0x21be050, _url=...) at /g/kde4svn/calligra/libs/main/KoDocument.cpp:1250
#29 0x00007f8b5779268d in KoDocument::openExistingFile (this=0x21be050, url=<value optimized out>) at /g/kde4svn/calligra/libs/main/KoDocument.cpp:2416
#30 0x00007f8b584d7df1 in KisDoc2::openExistingFile (this=0x21be050, url=...) at /g/kde4svn/calligra/krita/ui/kis_doc2.cc:188
#31 0x00007f8b584d996e in KisDoc2::qt_metacall (this=0x21be050, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa7e15a70) at /g/b451/calligra/krita/ui/kis_doc2.moc:87
#32 0x00007f8b58c1f8b7 in QMetaObject::activate (sender=0x3939450, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffa7e15a70)
    at /g/kde4svn/qt/src/corelib/kernel/qobject.cpp:3278
#33 0x00007f8b577f1532 in KoOpenPane::openExistingFile (this=<value optimized out>, _t1=<value optimized out>) at /g/b451/calligra/libs/main/KoOpenPane.moc:104
#34 0x00007f8b577f2760 in KoOpenPane::qt_metacall (this=0x3939450, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa7e15b80) at /g/b451/calligra/libs/main/KoOpenPane.moc:86
#35 0x00007f8b58c1f8b7 in QMetaObject::activate (sender=0x38f0580, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffa7e15b80)
    at /g/kde4svn/qt/src/corelib/kernel/qobject.cpp:3278
#36 0x00007f8b577efaf2 in KoDetailsPane::openUrl (this=<value optimized out>, _t1=<value optimized out>) at /g/b451/calligra/libs/main/KoDetailsPane.moc:105
#37 0x00007f8b577f4845 in KoRecentDocumentsPane::openFile (this=0x38f0580, index=<value optimized out>) at /g/kde4svn/calligra/libs/main/KoRecentDocumentsPane.cpp:182
#38 0x00007f8b577ef934 in KoDetailsPane::openFile (this=0x38f0580) at /g/kde4svn/calligra/libs/main/KoDetailsPane.cpp:120
#39 0x00007f8b577efd19 in KoDetailsPane::qt_metacall (this=0x38f0580, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa7e15d90)
    at /g/b451/calligra/libs/main/KoDetailsPane.moc:91
#40 0x00007f8b577f4690 in KoRecentDocumentsPane::qt_metacall (this=0x38f0580, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa7e15d90)
    at /g/b451/calligra/libs/main/KoRecentDocumentsPane.moc:75
#41 0x00007f8b58c1f8b7 in QMetaObject::activate (sender=0x3942cf0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffa7e15d90)
    at /g/kde4svn/qt/src/corelib/kernel/qobject.cpp:3278
#42 0x00007f8b52232b52 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#43 0x00007f8b51f8078b in QAbstractButtonPrivate::emitClicked (this=<value optimized out>) at /g/kde4svn/qt/src/gui/widgets/qabstractbutton.cpp:546
#44 0x00007f8b51f81d2b in QAbstractButtonPrivate::click (this=0x397a000) at /g/kde4svn/qt/src/gui/widgets/qabstractbutton.cpp:539
#45 0x00007f8b51f81f8c in QAbstractButton::QAbstractButton::mouseReleaseEvent (this=0x3942cf0, e=0x7fffa7e168b0) at /g/kde4svn/qt/src/gui/widgets/qabstractbutton.cpp:1121
#46 0x00007f8b51c0f613 in QWidget::event (this=0x3942cf0, event=0x7fffa7e168b0) at /g/kde4svn/qt/src/gui/kernel/qwidget.cpp:8255
#47 0x00007f8b51bbeaa4 in QApplicationPrivate::notify_helper (this=0x1c4e380, receiver=0x3942cf0, e=0x7fffa7e168b0) at /g/kde4svn/qt/src/gui/kernel/qapplication.cpp:4462
#48 0x00007f8b51bc3cc3 in QApplication::notify (this=<value optimized out>, receiver=0x3942cf0, e=0x7fffa7e168b0) at /g/kde4svn/qt/src/gui/kernel/qapplication.cpp:4023
#49 0x00007f8b528ee2d6 in KApplication::notify (this=0x7fffa7e17250, receiver=0x3942cf0, event=0x7fffa7e168b0) at /g/kde4svn/kdelibs/kdeui/kernel/kapplication.cpp:311
#50 0x00007f8b58c0a813 in QCoreApplication::QCoreApplication::notifyInternal (this=0x7fffa7e17250, receiver=0x3942cf0, event=0x7fffa7e168b0)
    at /g/kde4svn/qt/src/corelib/kernel/qcoreapplication.cpp:731
#51 0x00007f8b51bbfa66 in QCoreApplication::sendEvent (receiver=0x3942cf0, event=0x7fffa7e168b0, alienWidget=0x3942cf0, nativeWidget=0x38f0580, buttonDown=0x7f8b526a85c0, lastMouseReceiver=..., 
    spontaneous=true) at ../../include/QtCore/../../../../kde4svn/qt/src/corelib/kernel/qcoreapplication.h:215
#52 QApplicationPrivate::sendMouseEvent (receiver=0x3942cf0, event=0x7fffa7e168b0, alienWidget=0x3942cf0, nativeWidget=0x38f0580, buttonDown=0x7f8b526a85c0, lastMouseReceiver=..., spontaneous=true)
    at /g/kde4svn/qt/src/gui/kernel/qapplication.cpp:3122
#53 0x00007f8b51c3d54f in QETWidget::QETWidget::translateMouseEvent (this=0x38f0580, event=<value optimized out>) at /g/kde4svn/qt/src/gui/kernel/qapplication_x11.cpp:4461
#54 0x00007f8b51c3bc19 in QApplication::QApplication::x11ProcessEvent (this=0x7fffa7e17250, event=0x7fffa7e17080) at /g/kde4svn/qt/src/gui/kernel/qapplication_x11.cpp:3587
#55 0x00007f8b51c636a2 in QEventDispatcherX11::QEventDispatcherX11::processEvents (this=0x1c4c180, flags=...) at /g/kde4svn/qt/src/gui/kernel/qeventdispatcher_x11.cpp:132
#56 0x00007f8b58c09c22 in QEventLoop::QEventLoop::processEvents (this=<value optimized out>, flags=...) at /g/kde4svn/qt/src/corelib/kernel/qeventloop.cpp:149
#57 0x00007f8b58c09e64 in QEventLoop::QEventLoop::exec (this=0x7fffa7e17200, flags=...) at /g/kde4svn/qt/src/corelib/kernel/qeventloop.cpp:201
#58 0x00007f8b58c0e223 in QCoreApplication::QCoreApplication::exec () at /g/kde4svn/qt/src/corelib/kernel/qcoreapplication.cpp:1008
#59 0x00007f8b58f439ba in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /g/kde4svn/calligra/krita/main.cc:49
#60 0x00007f8b5033eb7d in __libc_start_main () from /lib64/libc.so.6
#61 0x0000000000400929 in _start () at ../sysdeps/x86_64/elf/start.S:113

Reported using DrKonqi
Comment 1 Sven Langkamp 2010-12-07 18:54:56 UTC
This is also invalid, right?
Comment 2 Jaime Torres 2010-12-07 18:56:54 UTC
Right. Sorry.