Bug 170732 - Crashes on opening file from within Krita
Summary: Crashes on opening file from within Krita
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: triaged
: 173591 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-09 12:18 UTC by Gerry Gavigan
Modified: 2008-11-04 16:37 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerry Gavigan 2008-09-09 12:18:01 UTC
Version:            (using KDE 4.1.1)
OS:                Linux
Installed from:    SuSE RPMs

Reproducible by opening one image from file manager, using "open with..." closing that file, then trying to open another image from within Krita 

[KCrash handler]
#6  0xb5e09e3f in QWidget::window () from /usr/lib/libQtGui.so.4
#7  0xb798350d in KoView::shell () from /usr/lib/libkomain.so.5
#8  0xb79835b2 in KoView::removeDockWidget () from /usr/lib/libkomain.so.5
#9  0xb7b6b28d in KoDockerManager::removeUnusedOptionWidgets ()
   from /usr/lib/libkoguiutils.so.5
#10 0xb7b6b2ed in KoDockerManager::qt_metacall ()
   from /usr/lib/libkoguiutils.so.5
#11 0xb6b3145a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#12 0xb6b319d2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#13 0xb79559d7 in KoMainWindow::restoringDone () from /usr/lib/libkomain.so.5
#14 0xb7956f09 in KoMainWindow::setRootDocument () from /usr/lib/libkomain.so.5
#15 0xb795dde8 in KoMainWindow::slotLoadCompleted ()
   from /usr/lib/libkomain.so.5
#16 0xb7960fe1 in KoMainWindow::qt_metacall () from /usr/lib/libkomain.so.5
#17 0xb6b3145a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0xb6b319d2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#19 0xb77e68b7 in KParts::ReadOnlyPart::completed ()
   from /usr/lib/libkparts.so.4
#20 0xb77e9a0c in KParts::ReadOnlyPart::openUrl () from /usr/lib/libkparts.so.4
#21 0xb793f3ea in KoDocument::openUrl () from /usr/lib/libkomain.so.5
#22 0xb79593cf in KoMainWindow::openDocumentInternal ()
   from /usr/lib/libkomain.so.5
#23 0xb7959fe3 in KoMainWindow::openDocument () from /usr/lib/libkomain.so.5
#24 0xb796052a in KoMainWindow::slotFileOpen () from /usr/lib/libkomain.so.5
#25 0xb7961238 in KoMainWindow::qt_metacall () from /usr/lib/libkomain.so.5
#26 0xb6b3145a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#27 0xb6b31750 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#28 0xb5dc3941 in QAction::triggered () from /usr/lib/libQtGui.so.4
#29 0xb5dc42af in QAction::activate () from /usr/lib/libQtGui.so.4
#30 0xb6146052 in ?? () from /usr/lib/libQtGui.so.4
#31 0xb6146cc2 in QMenu::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#32 0xb71e4f95 in KMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.5
#33 0xb5e1b176 in QWidget::event () from /usr/lib/libQtGui.so.4
#34 0xb6147739 in QMenu::event () from /usr/lib/libQtGui.so.4
#35 0xb5dc8ecc in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#36 0xb5dcfca7 in QApplication::notify () from /usr/lib/libQtGui.so.4
#37 0xb711d80d in KApplication::notify () from /usr/lib/libkdeui.so.5
#38 0xb6b1fbc1 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#39 0xb5dd0fae in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#40 0xb5e2e474 in ?? () from /usr/lib/libQtGui.so.4
#41 0xb5e2d5a4 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#42 0xb5e533ae in ?? () from /usr/lib/libQtGui.so.4
#43 0xb6b1e33a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#44 0xb6b1e4fa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#45 0xb6b206dd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#46 0xb5dc8d47 in QApplication::exec () from /usr/lib/libQtGui.so.4
#47 0xb7fb7678 in kdemain () from /usr/lib/libkdeinit4_krita.so
#48 0x080489b2 in _start ()
#0  0xffffe430 in __kernel_vsyscall ()
Comment 1 Cyrille Berger 2008-09-09 21:55:10 UTC
I can't reproduce, so here are a few question:
 * what is the version of Krita ?
 * what is the types (jpeg, png, tiff, kra, ...) of images you are opening ?
Comment 2 Gerry Gavigan 2008-09-10 01:13:04 UTC
Version 2.0 alpha9, PNG
Comment 3 Gerry Gavigan 2008-09-10 01:14:31 UTC
actually, I've just managed it by opening a jpeg first
Comment 4 T Zachmann 2008-10-26 13:04:12 UTC
This also happens the following way.

To reproduce:
- open a picture from recent document list.
- close it with ctrl-W
- open a new picture
-> crash

This also happens with a template.
Comment 5 Elián Hanisch 2008-10-26 20:46:56 UTC
I can confirm too, you only need to open a picture, close it (ctrl+w) and open it again, then crash.
backtrace follows

Application: Krita (krita), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb42b86e0 (LWP 4525)]
[KCrash handler]
#6  0xea000000 in ?? ()
#7  0xb7c4371f in KisPaintOpPreset::setSettings (this=0x9afe5e8, 
    settings=@0xbfb423a0)
    at /home/m4v-kde3/dev/kde/src/koffice/trunk/krita/image/brushengine/kis_paintop_preset.cpp:85
#8  0xb7c461fb in KisPaintOpRegistry::defaultPreset (this=0x93a8d78, 
    id=@0x9afdd40, parent=0x0, inputDevice=@0xbfb42488, image=@0xbfb42414)
    at /home/m4v-kde3/dev/kde/src/koffice/trunk/krita/image/brushengine/kis_paintop_registry.cc:107
#9  0xb7e82b35 in KisPaintopBox::activePreset (this=0x9ad6818, 
    paintop=@0x9afdf1c, inputDevice=@0xbfb42488)
    at /home/m4v-kde3/dev/kde/src/koffice/trunk/krita/ui/kis_paintop_box.cc:285
#10 0xb7e83104 in KisPaintopBox::updateOptionWidget (this=0x9ad6818)
    at /home/m4v-kde3/dev/kde/src/koffice/trunk/krita/ui/kis_paintop_box.cc:236
#11 0xb7e833ee in KisPaintopBox::setCurrentPaintop (this=0x9ad6818, 
    paintop=@0xbfb42554)
    at /home/m4v-kde3/dev/kde/src/koffice/trunk/krita/ui/kis_paintop_box.cc:257
#12 0xb7e851f5 in KisPaintopBox (this=0x9ad6818, view=0x9081bc8, 
    parent=0x9081bc8, name=0xb7f18548 "paintopbox")
    at /home/m4v-kde3/dev/kde/src/koffice/trunk/krita/ui/kis_paintop_box.cc:103
#13 0xb7e27575 in KisControlFrame (this=0x84d2100, view=0x9081bc8, name=0x0)
    at /home/m4v-kde3/dev/kde/src/koffice/trunk/krita/ui/kis_control_frame.cpp:113
#14 0xb7ece8e3 in KisView2::createGUI (this=0x9081bc8)
    at /home/m4v-kde3/dev/kde/src/koffice/trunk/krita/ui/kis_view2.cpp:531
#15 0xb7ed134c in KisView2 (this=0x9081bc8, doc=0x8daff88, parent=0x8217a88)
    at /home/m4v-kde3/dev/kde/src/koffice/trunk/krita/ui/kis_view2.cpp:215
#16 0xb7e34c57 in KisDoc2::createViewInstance (this=0x8daff88, 
    parent=0x8217a88)
    at /home/m4v-kde3/dev/kde/src/koffice/trunk/krita/ui/kis_doc2.cc:518
#17 0xb7869ebf in KoDocument::createView (this=0x8daff88, parent=0x8217a88)
    at /home/m4v-kde3/dev/kde/src/koffice/trunk/libs/main/KoDocument.cpp:338
#18 0xb7895496 in KoMainWindow::setRootDocument (this=0x81fcef0, doc=0x8daff88)
    at /home/m4v-kde3/dev/kde/src/koffice/trunk/libs/main/KoMainWindow.cpp:466
#19 0xb786aac5 in KoDocument::deleteOpenPane (this=0x8daff88)
    at /home/m4v-kde3/dev/kde/src/koffice/trunk/libs/main/KoDocument.cpp:2634
#20 0xb787694a in KoDocument::qt_metacall (this=0x8daff88, 
    _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0xbfb42a98)
    at /home/m4v-kde3/dev/kde/build/koffice/trunk/libs/main/KoDocument.moc:132
#21 0xb7e3468c in KisDoc2::qt_metacall (this=0x8daff88, 
    _c=QMetaObject::InvokeMetaMethod, _id=42, _a=0xbfb42a98)
    at /home/m4v-kde3/dev/kde/build/koffice/trunk/krita/ui/kis_doc2.moc:81
#22 0xb68e4f79 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#23 0xb68e5642 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#24 0xb68ebab7 in ?? () from /usr/lib/libQtCore.so.4
#25 0xb68ebbdc in ?? () from /usr/lib/libQtCore.so.4
#26 0xb68df9fa in QObject::event () from /usr/lib/libQtCore.so.4
#27 0xb58a1f9c in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#28 0xb58a6bf9 in QApplication::notify () from /usr/lib/libQtGui.so.4
#29 0xb764b483 in KApplication::notify () from /usr/lib/kde4/lib/libkdeui.so.5
#30 0xb68d00b9 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#31 0xb68fdc01 in ?? () from /usr/lib/libQtCore.so.4
#32 0xb68fb4a0 in ?? () from /usr/lib/libQtCore.so.4
#33 0xb5250cc6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0xb5254083 in ?? () from /usr/lib/libglib-2.0.so.0
#35 0xb525463e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0xb68fb9f8 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#37 0xb5935a25 in ?? () from /usr/lib/libQtGui.so.4
#38 0xb68cf33d in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#39 0xb68cf4cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#40 0xb68d174d in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#41 0xb58a1897 in QApplication::exec () from /usr/lib/libQtGui.so.4
#42 0xb7f94516 in kdemain (argc=1, argv=0xbfb432d4)
    at /home/m4v-kde3/dev/kde/src/koffice/trunk/krita/main.cc:56
#43 0x08048966 in main (argc=136594563, argv=0x9001ebf8)
    at /home/m4v-kde3/dev/kde/build/koffice/trunk/krita/krita_dummy.cpp:3
#0  0xb7f98410 in __kernel_vsyscall ()
Comment 6 Sven Langkamp 2008-10-27 09:00:12 UTC
*** Bug 173591 has been marked as a duplicate of this bug. ***
Comment 7 John W Hibdon 2008-11-02 17:01:33 UTC
Application: Krita (krita), signal SIGABRT
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb58946c0 (LWP 23149)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xb80cc430 in __kernel_vsyscall ()
#7  0xb7f62880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb7f64248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb7a45795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb7a45872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb7a45915 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb17d18a2 in ?? () from /usr/lib/kde4/libkritajpegimport.so
#13 0xb17d368b in ?? () from /usr/lib/kde4/libkritajpegimport.so
#14 0xb17ce2cd in ?? () from /usr/lib/kde4/libkritajpegimport.so
#15 0xb7ebd084 in KoFilterChain::ChainLink::invokeFilter ()
   from /usr/lib/libkomain.so.5
#16 0xb7ebd2d7 in KoFilterChain::invokeChain () from /usr/lib/libkomain.so.5
#17 0xb7e9c401 in KoFilterManager::importDocument ()
   from /usr/lib/libkomain.so.5
#18 0xb7e849e7 in KoDocument::openFile () from /usr/lib/libkomain.so.5
#19 0xb6fab7b3 in KParts::ReadOnlyPart::openUrl ()
   from /usr/lib/libkparts.so.4
#20 0xb7e80602 in KoDocument::openUrl () from /usr/lib/libkomain.so.5
#21 0xb7e786dc in KoDocument::openExistingFile () from /usr/lib/libkomain.so.5
#22 0xb4024fcc in KisDoc2::openExistingFile () from /usr/lib/libkritaui.so.5
#23 0xb4025488 in KisDoc2::qt_metacall () from /usr/lib/libkritaui.so.5
#24 0xb7b52a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#25 0xb7b537e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#26 0xb7f0a203 in ?? () from /usr/lib/libkomain.so.5
#27 0xb7f0a62a in ?? () from /usr/lib/libkomain.so.5
#28 0xb7b52a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#29 0xb7b537e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#30 0xb7f11073 in ?? () from /usr/lib/libkomain.so.5
#31 0xb7f17b21 in ?? () from /usr/lib/libkomain.so.5
#32 0xb7f11388 in ?? () from /usr/lib/libkomain.so.5
#33 0xb7f1792a in ?? () from /usr/lib/libkomain.so.5
#34 0xb7b52a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#35 0xb7b537e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#36 0xb76f05d3 in QAbstractItemView::doubleClicked ()
   from /usr/lib/libQtGui.so.4
#37 0xb773c500 in QTreeView::mouseDoubleClickEvent ()
   from /usr/lib/libQtGui.so.4
#38 0xb72867f2 in QWidget::event () from /usr/lib/libQtGui.so.4
#39 0xb75bdf53 in QFrame::event () from /usr/lib/libQtGui.so.4
#40 0xb765475f in QAbstractScrollArea::viewportEvent ()
   from /usr/lib/libQtGui.so.4
#41 0xb76ffc4f in QAbstractItemView::viewportEvent ()
   from /usr/lib/libQtGui.so.4
#42 0xb7737964 in QTreeView::viewportEvent () from /usr/lib/libQtGui.so.4
#43 0xb7656d05 in ?? () from /usr/lib/libQtGui.so.4
#44 0xb7b3d04a in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
   from /usr/lib/libQtCore.so.4
#45 0xb722e8ca in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#46 0xb7237121 in QApplication::notify () from /usr/lib/libQtGui.so.4
#47 0xb6c9472d in KApplication::notify () from /usr/lib/libkdeui.so.5
#48 0xb7b3de61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#49 0xb72363ae in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#50 0xb72a0696 in ?? () from /usr/lib/libQtGui.so.4
#51 0xb729fa25 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#52 0xb72c97ea in ?? () from /usr/lib/libQtGui.so.4
#53 0xb61d66f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#54 0xb61d9da3 in ?? () from /usr/lib/libglib-2.0.so.0
#55 0xb61d9f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#56 0xb7b68478 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#57 0xb72c8ee5 in ?? () from /usr/lib/libQtGui.so.4
#58 0xb7b3c52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#59 0xb7b3c6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#60 0xb7b3eda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#61 0xb722e767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#62 0xb80972c8 in kdemain () from /usr/lib/libkdeinit4_krita.so
#63 0x080485a2 in _start ()
#0  0xb80cc430 in __kernel_vsyscall ()
Comment 8 Sven Langkamp 2008-11-04 16:37:58 UTC
Fixed in svn.