KDE Bug Tracking System
Home
Report New Wish or Bug
Query Existing Reports
First
Last
Prev
Next
No search results available
Search page
Bug
139800
:
Krita closes when I attempt to open or import a...
P
roduct
:
krita
Co
m
ponent
:
general
Status
:
RESOLVED
Resolution
:
INVALID
Target
:
---
Version
:
1.5.2
Pr
i
ority
:
NOR
Severity
:
crash
V
otes
:
0
Description
:
Opened:
2007-01-09 05:48
Last Changed:
2007-12-06 21:55:54
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 ?? ()
Comment
#1
boud valdyas org 2007-01-09 09:21:50
Hi Antonio, Thanks for the report. Could you attach a .ico file that shows the crash to the bug report?
Comment
#2
Antonio Jara 2007-01-09 17:49:22
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).
Comment
#3
Cyrille Berger 2007-01-09 22:07:38
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."
Comment
#4
Cyrille Berger 2007-01-09 23:13:08
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
Comment
#5
boud valdyas org 2007-12-06 21:55:54
Apparently the attached file is an mpeg. Krita doesn't crash anymore and we don't handle mpegs.
P
latform
:
Ubuntu Packages
O
S
:
Linux
K
eywords
:
People
Reporter
:
Antonio Jara
Assigned To
:
Krita Bugs
Related actions
View Bug Activity
Format For Printing
XML
Clone This Bug
Note
You need to
log in
before you can comment on or make changes to this bug.
Attachments
Second Life Icon
(356.04 KB, image/x-icon)
2007-01-09 17:49
,
Antonio Jara
Details
View All
Add an attachment
(proposed patch, testcase, etc.)
Depends on
:
B
locks
:
Show dependency tree
-
Show dependency graph
First
Last
Prev
Next
No search results available
Search page
Actions
Reports
Requests
Reports
Bugs reported today
Bugs reported in the last 3 days
Bug reports with patches
Weekly Bug statistics
The most hated bugs
The most severe bugs
The most frequently reported bugs
The most wanted features
Junior Jobs
Report ownership counts and charts
My Account
New Account
Log In