Version: 1.5.2 (using KDE KDE 3.5.5) Installed from: Ubuntu Packages OS: Linux Whenever I try to open a Windows Icon file (*.ico), be it from the start up dialog, or when I have the program running, Krita suddenly crashes and disappears. No error message or anything. I tried both "open" and "import" options with the same result. I get this Kcrash report: [KCrash handler] #6 0xffffe410 in __kernel_vsyscall () #7 0xb7d65770 in raise () from /lib/tls/i686/cmov/libc.so.6 #8 0xb7d66ef3 in abort () from /lib/tls/i686/cmov/libc.so.6 #9 0xb7d5edbb in __assert_fail () from /lib/tls/i686/cmov/libc.so.6 #10 0xb24b6ad9 in CloseCacheView () from /usr/lib/libMagick.so.9 #11 0xb55b22f6 in KisImageMagickConverter::decode () from /usr/lib/kde3/libkritamagickimport.so #12 0xb55b381e in KisImageMagickConverter::buildImage () from /usr/lib/kde3/libkritamagickimport.so #13 0xb55b47c1 in MagickImport::convert () from /usr/lib/kde3/libkritamagickimport.so #14 0xb688b31a in KoFilterChain::ChainLink::invokeFilter () from /usr/lib/libkofficecore.so.3 #15 0xb688b465 in KoFilterChain::invokeChain () from /usr/lib/libkofficecore.so.3 #16 0xb68923c2 in KoFilterManager::import () from /usr/lib/libkofficecore.so.3 #17 0xb68931ec in KoDocument::openFile () from /usr/lib/libkofficecore.so.3 #18 0xb7fad8de in KParts::ReadOnlyPart::openURL () from /usr/lib/libkparts.so.2 #19 0xb686c84a in KoDocument::openURL () from /usr/lib/libkofficecore.so.3 #20 0xb683e93f in KoDocument::import () from /usr/lib/libkofficecore.so.3 #21 0xb683ea97 in KoMainWindow::openDocumentInternal () from /usr/lib/libkofficecore.so.3 #22 0xb6858447 in KoMainWindow::openDocument () from /usr/lib/libkofficecore.so.3 #23 0xb6890ef1 in KoMainWindow::slotFileOpen () from /usr/lib/libkofficecore.so.3 #24 0xb682703e in KoMainWindow::slotImportFile () from /usr/lib/libkofficecore.so.3 #25 0xb688375a in KoMainWindow::qt_invoke () from /usr/lib/libkofficecore.so.3 #26 0xb72e9957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #27 0xb72ea3fc in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #28 0xb6d323b9 in KAction::activated () from /usr/lib/libkdeui.so.4 #29 0xb6d6fc02 in KAction::slotActivated () from /usr/lib/libkdeui.so.4 #30 0xb6e3829d in KAction::slotPopupActivated () from /usr/lib/libkdeui.so.4 #31 0xb6e38561 in KAction::qt_invoke () from /usr/lib/libkdeui.so.4 #32 0xb72e9957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #33 0xb7675f44 in QSignal::signal () from /usr/lib/libqt-mt.so.3 #34 0xb73098ea in QSignal::activate () from /usr/lib/libqt-mt.so.3 #35 0xb740ffd3 in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3 #36 0xb6d3b3ce in KPopupMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.4 #37 0xb7320729 in QWidget::event () from /usr/lib/libqt-mt.so.3 #38 0xb7280b88 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3 #39 0xb7282d46 in QApplication::notify () from /usr/lib/libqt-mt.so.3 #40 0xb7976db2 in KApplication::notify () from /usr/lib/libkdecore.so.4 #41 0xb72133fd in QApplication::sendSpontaneousEvent () from /usr/lib/libqt-mt.so.3 #42 0xb7211d3f in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3 #43 0xb721014c in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3 #44 0xb7227320 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3 #45 0xb729b25e in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3 #46 0xb729b06e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3 #47 0xb7282731 in QApplication::exec () from /usr/lib/libqt-mt.so.3 #48 0xb68b90e4 in kdemain () from /usr/lib/libkdeinit_krita.so #49 0xb68c950c in kdeinitmain () from /usr/lib/kde3/krita.so #50 0x0804e4df in ?? () #51 0x00000001 in ?? () #52 0x080bab40 in ?? () #53 0x00000001 in ?? () #54 0x00000000 in ?? ()
Hi Antonio, Thanks for the report. Could you attach a .ico file that shows the crash to the bug report?
Created an attachment (id=19214) [details] Second Life Icon I just wanted to make a PNG out of this file to use in the K Menu. I dont have another *.ico file to test (this one came with the SL linux viewer).
I confirm that krita crash with 1.6.2pre and the graphicsmagick filter. *But* I am skeptical about the file, 357KB for an icon seems a lot, plus neither display from ImageMagick, nor "gm display" from GraphicsMagick were able to open it correctly, nor the gimp. kuickshow (using imlib) might be have open it (if the icon is some sort of hand), but it says in the konsole "IMLIB ERROR: Cannot load image: /home/cyrille/test.ico All fallbacks failed."
SVN commit 621851 by berger: doesn't crash when trying to open a void image from graphics magick CCBUG: 139800 M +6 -0 kis_image_magick_converter.cc --- branches/koffice/1.6/koffice/filters/krita/gmagick/kis_image_magick_converter.cc #621850:621851 @@ -399,7 +399,12 @@ } if (ei.severity != UndefinedException) + { CatchException(&ei); + kdDebug(41008) << "Exceptions happen when loading" << endl; + return KisImageBuilder_RESULT_FAILURE; + } + if (images == 0) { DestroyImageInfo(ii); @@ -413,6 +418,7 @@ m_img = 0; while ((image = RemoveFirstImageFromList(&images))) { + if(image->rows == 0 or image->columns == 0) return KisImageBuilder_RESULT_FAILURE; ViewInfo *vi = OpenCacheView(image); // Determine image depth -- for now, all channels of an imported image are of the same depth
Apparently the attached file is an mpeg. Krita doesn't crash anymore and we don't handle mpegs.
You need to log in before you can comment on or make changes to this bug.