Bug 155852 - krita crashes when opening tiffs
Summary: krita crashes when opening tiffs
Status: RESOLVED DUPLICATE of bug 168548
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-15 19:59 UTC by Elle Stone
Modified: 2008-08-07 10:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elle Stone 2008-01-15 19:59:04 UTC
Version:           krita 1.6.3 (using KDE KDE 3.5.8)
Installed from:    Ubuntu Packages
Compiler:           ubuntu gutsy package
OS:                Linux

I installed krita using ubuntu (64-bit gutsy) synaptic (running icewm as desktop, do not have kde installed).  My computer is amd opteron on tyan server board, 4gb ram.  

I opened a jpeg, saved it as a tif, closed it, and reopened it.  krita crashed trying to open the tif.  

I opened a tif created by a different program.  krita crashed trying to open the tif.

I keep trying to use krita, over the years. It keeps crashing.  Most disappointing.

~$ krita
kbuildsycoca running...
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
X Error: BadDevice, invalid or uninitialized input device 171
  Major opcode:  149
  Minor opcode:  3
  Resource id:  0x0
X Error: BadDevice, invalid or uninitialized input device 171
  Major opcode:  149
  Minor opcode:  3
  Resource id:  0x0
QPainter::begin: Cannot paint null pixmap
QLayout "unnamed" added to QWidget "unnamed", which already has a layout
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
TIFFSetField: /media/edit/_mg_0180.tiff: Unknown pseudo-tag 65536.
TIFFSetField: /media/edit/_mg_0180.tiff: Unknown pseudo-tag 65537.
TIFFSetField: /media/edit/_mg_0180.tiff: Unknown pseudo-tag 65557.
TIFFSetField: /media/edit/_mg_0180.tiff: Unknown pseudo-tag 65558.
TIFFSetField: /media/edit/_mg_0180.tiff: Unknown tag 317.
kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found
KCrash: Application 'krita' crashing...
Could not find 'drkonqi' executable.
KCrash cannot reach kdeinit, launching directly.
Comment 1 Cyrille Berger 2008-01-15 20:14:43 UTC
Have you any specific tiff file that you can attach ? I use ubuntu package too and didn't get a single crash with tiff files. And if you can give a backtrace (you will need to install koffice-dbg to get a meaningfull backtrace) either with gdb or drkonqi.
Comment 2 Elle Stone 2008-01-15 23:49:49 UTC
Dear Cyrille,

I am surprised and pleased to hear from you.  I have followed the 
development of krita for awhile now, because I want to see color-managed 
true 16-bit digital image processing capability under linux - I'm still 
looking for the "photoshop killer" application.

I've used strictly windows os until a couple of months ago.  But I need 
a 64-bit os to go with my 64-bit hardware and I will NOT go down the 
Vista route.

So I would be happy to send you a tiff (Lou.tif should be attached to 
this email) and any debugging information you would like.

I have been leary of installing the whole of kde because I am afraid of 
services running in the background that are difficult to get rid of - 
gnome brings a boatload of them - reminds me of windows.  Which is why 
my ubuntu install was from a minimal net-install command-line only, with 
xorg and icewm etc added after the fact.  Although I am new to linux, I 
am comfortable at the command line in general.  I am trying to keep my 
linux install "lean and mean", leaving more ram and processing power for 
image editing.

So let me run through the exact steps to produce the crash for you.  And 
could you tell me the "smallest impact" way to get you your backtrace?  
Be specific - I am very much a linux newbie.

Steps to crash krita:

1. icewm desktop.  xfce4 terminal.  Open terminal. 
2. type "krita" in terminal to start krita. 
3. navigate in krita to folder (not in home folder, if that matters) 
containing Lou.tif, an 8-bit sRGB tiff
4. open Lou.tif in krita: File, open /media/process/2besorted/Lou.tif
5. select Image, convert image type, target color space RGB 16-bit 
integer/channel Adobe RGB (or  sRGB, doesn't matter, both will crash 
upon saving and reopening with krita), rendering intent perceptual
6. File, Save as "Lou 16-bit ARGB.tif TIFF" (without the quotes of 
course) Image TIFF Export Options - leave at defaults compression none, 
predictor none store alpha channel has default x and flatten the image 
(it's only one layer) has default x.  click OK
7. File Close to close image file.
8. File Open Recent and pick file just closed "Lou 16-bit ARGB.tif" and 
krita crashes.

Here is output from terminal:
elle@rn:~$ krita
kbuildsycoca running...
kio (KMimeType): WARNING: KServiceType::offers : servicetype 
ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype 
ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype 
ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype 
ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype 
ThumbCreator not found
TIFFReadDirectory: Warning, /media/process/2besorted/Lou.tif: invalid 
TIFF directory; tags are not sorted in ascending order.
TIFFReadDirectory: Warning, /media/process/2besorted/Lou.tif: unknown 
field with tag 317 (0x13d) encountered.
X Error: BadDevice, invalid or uninitialized input device 171
  Major opcode:  149
  Minor opcode:  3
  Resource id:  0x0
X Error: BadDevice, invalid or uninitialized input device 171
  Major opcode:  149
  Minor opcode:  3
  Resource id:  0x0
QPainter::begin: Cannot paint null pixmap
QLayout "unnamed" added to QWidget "unnamed", which already has a layout
kio (KMimeType): WARNING: KServiceType::offers : servicetype 
ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype 
ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype 
ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype 
ThumbCreator not found
TIFFSetField: /media/process/2besorted/Lou 16-bit ARGB.tif: Unknown 
pseudo-tag 65536.
TIFFSetField: /media/process/2besorted/Lou 16-bit ARGB.tif: Unknown 
pseudo-tag 65537.
TIFFSetField: /media/process/2besorted/Lou 16-bit ARGB.tif: Unknown 
pseudo-tag 65557.
TIFFSetField: /media/process/2besorted/Lou 16-bit ARGB.tif: Unknown 
pseudo-tag 65558.
TIFFSetField: /media/process/2besorted/Lou 16-bit ARGB.tif: Unknown tag 317.
QLayout "unnamed" added to QWidget "unnamed", which already has a layout
kio (KMimeType): WARNING: KServiceType::offers : servicetype 
ThumbCreator not found
KCrash: Application 'krita' crashing...
Could not find 'drkonqi' executable.
KCrash cannot reach kdeinit, launching directly.
elle@rn:~$


history of this tiff:

i. "Lou.tif"created by xnview under windows in VirtualBox,
ii. from a 415kb (email-sized) jpeg created by Zoombrowser under old 
windows 2000 install (since wiped off computer)
iii. from a 16-bit prophoto psd created in Photoshop and flattened and 
saved as a tiff
iv. from a raw file taken with a Canon 400d rebel 10megapixel camera and 
processed, I forget which, either with dcraw or adobe camera raw, into a 
16-bit prophoto tiff to send to Photoshop

Again, give me the "how to" for your backtrace and I will happily send 
it along to you.  And also feel free to ask me to try "this or that" to 
see where/why krita is crashing.  Or best of all, tell me what I'm doing 
wrong - I will be the first to admit that user error is always a 
possibility. 

By the way, the first tiff I opened, that immediately crashed krita, was 
not converted from 8-bit and then saved in krita, rather it came from 
photoshop.  It was most likely a 16-bit prophoto tiff. 


Cyrille Berger wrote:
[bugs.kde.org quoted mail]
Comment 3 Cyrille Berger 2008-01-16 00:21:58 UTC
Hi,

For the file you will have to go through http://bugs.kde.org/show_bug.cgi?id=155852 to add it to the bug tracker (or you can send it to me privately cyb@lepi.org if you preffer).

As for getting the backtrace, once you have installed koffice-dbg, you can either get it from drkonqi (the dialog that show up when Krita crashes) or by running 'gdb krita' then type 'r' + enter then once krita crashes, type 'bt' + enter.
Comment 4 Elle Stone 2008-01-16 11:54:22 UTC
I did install koffice-dbg.  As I said in my email to Cyrille (I sent him 
a copy of one of my tifs), when opening a tif, while running krita by 
typing "gdb krita" at the command line, krita hangs rather than 
crashes.  drkonqi never shows up.

So I installed kde-core and reinstalled krita.  This is the result of 
attempting to open several different tiffs:

The first tif, the "8-bit tif from bruce lindbloom", can be found on the 
internet here:

http://www.brucelindbloom.com/?

click on "Info", then choose "RGB Reference Images", download any or all 
of the zipped files (they all crash krita), "inflate", open krita, open 
one of the images, krita crashes.  I have used Bruce Lindbloom's 
references images in other applications.  The tif files are good.

> opening 8-bit tif from bruce lindbloom:
>
> no debugging symbols found)
> Using host libthread_db library "/lib/libthread_db.so.1".
> (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)
> [Thread debugging using libthread_db enabled]
> [New Thread 47294582407312 (LWP 6634)]
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> [KCrash handler]
> #5  0x00002b039a647ac0 in memcpy () from /lib/libc.so.6
> #6  0x00002aaab4dbbc20 in ?? ()
> #7  0x00007fff110eedef in ?? ()
> #8  0x00002b0300000001 in ?? ()
> #9  0x0000000001467a28 in ?? ()
> #10 0x000000000150d520 in ?? ()
> #11 0x00000000008310d0 in ?? ()
> #12 0x00002aaab522cf48 in ?? ()
> #13 0x00007fff110eecb0 in ?? ()
> #14 0x00000000008310d0 in ?? ()
> #15 0x00007fff110eef30 in ?? ()
> #16 0x00002aaab4fe2547 in ?? ()
> #17 0x00002aaab5008af0 in ?? ()
> #18 0x00002aaab4fdbea5 in ?? ()
> #19 0x0000000001467a34 in ?? ()
> #20 0x0000000000000001 in ?? ()
> #21 0x0000000000002400 in ?? ()
> #22 0x00002aaab5004227 in ?? ()
> #23 0x0000000001467a28 in ?? ()
> #24 0x00000000008310d0 in ?? ()
> #25 0x0000000000831100 in ?? ()
> #26 0x00000000008310d0 in ?? ()
> #27 0x000000000040a9b0 in vtable for QMemArray<char> ()
> #28 0x00000000008bba90 in ?? ()
> #29 0x0000000000002400 in ?? ()
> #30 0x00002aaab5004227 in ?? ()
> #31 0x0000000001467a40 in ?? ()
> #32 0x0000000001467a28 in ?? ()
> #33 0x00000000008310d0 in ?? ()
> #34 0x0000000000000000 in ?? ()
>
> //////////////
> opening 16-bit tif saved from 8-bit tif by krita:
>
> (no debugging symbols found)
> Using host libthread_db library "/lib/libthread_db.so.1".
> (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)
> [Thread debugging using libthread_db enabled]
> [New Thread 47294582407312 (LWP 6659)]
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> [KCrash handler]
> #5  0x00002b039a647c87 in memcpy () from /lib/libc.so.6
> #6  0x00002aaab4dbbc20 in KisTIFFConverter::readTIFFDirectory (
>     this=0x7fff110eebc0, image=0x17c2d40)
>     at 
> /build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_converter.cc:252
> #7  0x00002aaab4dbbfa0 in KisTIFFConverter::decode (this=0x7fff110eebc0,
>     uri=<value optimized out>)
>     at 
> /build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_converter.cc:181
> #8  0x00002aaab4dbc143 in KisTIFFConverter::buildImage 
> (this=0x7fff110eebc0,
>     uri=@0x7fff110eec40)
>     at 
> /build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_converter.cc:598
> #9  0x00002aaab4db7377 in KisTIFFImport::convert (this=<value 
> optimized out>,
>     to=<value optimized out>)
>     at 
> /build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_import.cc:75
> #10 0x00002b03a118c65b in KoFilterChain::ChainLink::invokeFilter (
>     this=0x1373c40, parentChainLink=0x0)
>     at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoFilterChain.cpp:66
> #11 0x00002b03a118c81b in KoFilterChain::invokeChain (this=0x17bcb10)
>     at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoFilterChain.cpp:165
> #12 0x00002b03a1191a57 in KoFilterManager::import (this=0x13cdeb0,
>     url=@0x1333550, status=@0x7fff110ef4ac)
>     at 
> /build/buildd/koffice-1.6.3/./lib/kofficecore/KoFilterManager.cpp:225
> #13 0x00002b03a11925ba in KoDocument::openFile (this=0x1333480)
>     at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoDocument.cpp:1460
> #14 0x00002b0399c10851 in KParts::ReadOnlyPart::openURL ()
>    from /usr/lib/libkparts.so.2
> #15 0x00002b03a1171fcf in KoDocument::openURL (this=0x1333480,
>     _url=@0x7fff110ef850)
>     at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoDocument.cpp:1386
> #16 0x00002b03a112f6e0 in KoDocument::openExistingFile (this=0x1333480,
>     file=<value optimized out>)
>     at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoDocument.cpp:2571
> #17 0x00002b03a2f618ba in KisDoc::openExistingFile (this=0x1333480,
>     file=@0x1d39f10) at 
> /build/buildd/koffice-1.6.3/./krita/ui/kis_doc.cc:234
> #18 0x00002b03a2f625fe in KisDoc::qt_invoke (this=0x1333480, _id=24,
>     _o=0x7fff110efa20) at ./kis_doc.moc:174
> #19 0x00002b039b82ed76 in QObject::activate_signal ()
>    from /usr/lib/libqt-mt.so.3
> #20 0x00002b039b82f311 in QObject::activate_signal ()
>    from /usr/lib/libqt-mt.so.3
> #21 0x00002b03a1148015 in KoOpenPane::openExistingFile (this=0x1ce4140,
>     t0=<value optimized out>) at ./KoOpenPane.moc:122
> #22 0x00002b03a11480e0 in KoOpenPane::qt_emit (this=0x1ce4140, _id=2,
>     _o=0x7fff110efbd0) at ./KoOpenPane.moc:178
> #23 0x00002b039b82ed51 in QObject::activate_signal ()
>    from /usr/lib/libqt-mt.so.3
> #24 0x00002b039b82f311 in QObject::activate_signal ()
>    from /usr/lib/libqt-mt.so.3
> #25 0x00002b03a11462d5 in KoRecentDocumentsPane::openFile 
> (this=0x1c4f0e0,
>     t0=<value optimized out>) at ./KoDetailsPane.moc:301
> #26 0x00002b03a116b19a in KoRecentDocumentsPane::openFile 
> (this=0x1c4f0e0,
>     item=0x13fe4f0)
>     at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoDetailsPane.cpp:400
> #27 0x00002b03a116b2df in KoRecentDocumentsPane::qt_invoke 
> (this=0x1c4f0e0,
>     _id=50, _o=0x7fff110efe20) at ./KoDetailsPane.moc:324
> #28 0x00002b039b82ed76 in QObject::activate_signal ()
>    from /usr/lib/libqt-mt.so.3
> #29 0x00002b039bbb3025 in QListView::doubleClicked ()
>    from /usr/lib/libqt-mt.so.3
> #30 0x00002b039c9b9642 in KListView::contentsMouseDoubleClickEvent ()
>    from /usr/lib/libkdeui.so.4
> #31 0x00002b039b95c042 in QScrollView::viewportMouseDoubleClickEvent ()
>    from /usr/lib/libqt-mt.so.3
> #32 0x00002b039b95d5c8 in QScrollView::eventFilter ()
>    from /usr/lib/libqt-mt.so.3
> #33 0x00002b039b926f58 in QListView::eventFilter () from 
> /usr/lib/libqt-mt.so.3
> #34 0x00002b039b82e375 in QObject::activate_filters ()
>    from /usr/lib/libqt-mt.so.3
> #35 0x00002b039b82e3ee in QObject::event () from /usr/lib/libqt-mt.so.3
> #36 0x00002b039b8633b5 in QWidget::event () from /usr/lib/libqt-mt.so.3
> #37 0x00002b039b7ca2a2 in QApplication::internalNotify ()
>    from /usr/lib/libqt-mt.so.3
> #38 0x00002b039b7cc400 in QApplication::notify () from 
> /usr/lib/libqt-mt.so.3
> #39 0x00002b039b120248 in KApplication::notify () from 
> /usr/lib/libkdecore.so.4
> #40 0x00002b039b75cd84 in QApplication::sendSpontaneousEvent ()
>    from /usr/lib/libqt-mt.so.3
> #41 0x00002b039b75b98e in QETWidget::translateMouseEvent ()
>    from /usr/lib/libqt-mt.so.3
> #42 0x00002b039b759b5a in QApplication::x11ProcessEvent ()
>    from /usr/lib/libqt-mt.so.3
> #43 0x00002b039b77043e in QEventLoop::processEvents ()
>    from /usr/lib/libqt-mt.so.3
> #44 0x00002b039b7e37e7 in QEventLoop::enterLoop () from 
> /usr/lib/libqt-mt.so.3
> #45 0x00002b039b7e35ef in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
> #46 0x00002b039b7cbd68 in QApplication::exec () from 
> /usr/lib/libqt-mt.so.3
> #47 0x00002b03a0ea023c in kdemain (argc=<value optimized out>, 
> argv=0x63e930)
>     at /build/buildd/koffice-1.6.3/./krita/main.cc:41
> #48 0x0000000000407811 in ?? ()
> #49 0x000000000040814c in ?? ()
> #50 0x00000000004084f5 in ?? ()
> #51 0x00000000004095b3 in ?? ()
> #52 0x00002b039a5eab44 in __libc_start_main () from /lib/libc.so.6
> #53 0x0000000000404df9 in ?? ()
> #54 0x00007fff110f19e8 in ?? ()
> #55 0x0000000000000000 in ?? ()
>
> ////////////
> opening another 16-bit tiff created by krita:
> (no debugging symbols found)
> Using host libthread_db library "/lib/libthread_db.so.1".
> (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)
> [Thread debugging using libthread_db enabled]
> [New Thread 47294582407312 (LWP 6672)]
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> [KCrash handler]
> #5  0x00002b039a647c58 in memcpy () from /lib/libc.so.6
> #6  0x00002aaab4dbbc20 in KisTIFFConverter::readTIFFDirectory (
>     this=0x7fff110eebc0, image=0x14645c0)
>     at 
> /build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_converter.cc:252
> #7  0x00002aaab4dbbfa0 in KisTIFFConverter::decode (this=0x7fff110eebc0,
>     uri=<value optimized out>)
>     at 
> /build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_converter.cc:181
> #8  0x00002aaab4dbc143 in KisTIFFConverter::buildImage 
> (this=0x7fff110eebc0,
>     uri=@0x7fff110eec40)
>     at 
> /build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_converter.cc:598
> #9  0x00002aaab4db7377 in KisTIFFImport::convert (this=<value 
> optimized out>,
>     to=<value optimized out>)
>     at 
> /build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_import.cc:75
> #10 0x00002b03a118c65b in KoFilterChain::ChainLink::invokeFilter (
>     this=0x13e8870, parentChainLink=0x0)
>     at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoFilterChain.cpp:66
> #11 0x00002b03a118c81b in KoFilterChain::invokeChain (this=0x13bd650)
>     at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoFilterChain.cpp:165
> #12 0x00002b03a1191a57 in KoFilterManager::import (this=0x140c460,
>     url=@0x8bf0f0, status=@0x7fff110ef4ac)
>     at 
> /build/buildd/koffice-1.6.3/./lib/kofficecore/KoFilterManager.cpp:225
> #13 0x00002b03a11925ba in KoDocument::openFile (this=0x8bf020)
>     at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoDocument.cpp:1460
> #14 0x00002b0399c10851 in KParts::ReadOnlyPart::openURL ()
>    from /usr/lib/libkparts.so.2
> #15 0x00002b03a1171fcf in KoDocument::openURL (this=0x8bf020,
>     _url=@0x7fff110ef850)
>     at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoDocument.cpp:1386
> #16 0x00002b03a112f6e0 in KoDocument::openExistingFile (this=0x8bf020,
>     file=<value optimized out>)
>     at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoDocument.cpp:2571
> #17 0x00002b03a2f618ba in KisDoc::openExistingFile (this=0x8bf020,
>     file=@0x142c990) at 
> /build/buildd/koffice-1.6.3/./krita/ui/kis_doc.cc:234
> #18 0x00002b03a2f625fe in KisDoc::qt_invoke (this=0x8bf020, _id=24,
>     _o=0x7fff110efa20) at ./kis_doc.moc:174
> #19 0x00002b039b82ed76 in QObject::activate_signal ()
>    from /usr/lib/libqt-mt.so.3
> #20 0x00002b039b82f311 in QObject::activate_signal ()
>    from /usr/lib/libqt-mt.so.3
> #21 0x00002b03a1148015 in KoOpenPane::openExistingFile (this=0x136bf90,
>     t0=<value optimized out>) at ./KoOpenPane.moc:122
> #22 0x00002b03a11480e0 in KoOpenPane::qt_emit (this=0x136bf90, _id=2,
>     _o=0x7fff110efbd0) at ./KoOpenPane.moc:178
> #23 0x00002b039b82ed51 in QObject::activate_signal ()
>    from /usr/lib/libqt-mt.so.3
> #24 0x00002b039b82f311 in QObject::activate_signal ()
>    from /usr/lib/libqt-mt.so.3
> #25 0x00002b03a11462d5 in KoRecentDocumentsPane::openFile 
> (this=0x13325e0,
>     t0=<value optimized out>) at ./KoDetailsPane.moc:301
> #26 0x00002b03a116b19a in KoRecentDocumentsPane::openFile 
> (this=0x13325e0,
>     item=0x13ba8f0)
>     at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoDetailsPane.cpp:400
> #27 0x00002b03a116b2df in KoRecentDocumentsPane::qt_invoke 
> (this=0x13325e0,
>     _id=50, _o=0x7fff110efe20) at ./KoDetailsPane.moc:324
> #28 0x00002b039b82ed76 in QObject::activate_signal ()
>    from /usr/lib/libqt-mt.so.3
> #29 0x00002b039bbb3025 in QListView::doubleClicked ()
>    from /usr/lib/libqt-mt.so.3
> #30 0x00002b039c9b9642 in KListView::contentsMouseDoubleClickEvent ()
>    from /usr/lib/libkdeui.so.4
> #31 0x00002b039b95c042 in QScrollView::viewportMouseDoubleClickEvent ()
>    from /usr/lib/libqt-mt.so.3
> #32 0x00002b039b95d5c8 in QScrollView::eventFilter ()
>    from /usr/lib/libqt-mt.so.3
> #33 0x00002b039b926f58 in QListView::eventFilter () from 
> /usr/lib/libqt-mt.so.3
> #34 0x00002b039b82e375 in QObject::activate_filters ()
>    from /usr/lib/libqt-mt.so.3
> #35 0x00002b039b82e3ee in QObject::event () from /usr/lib/libqt-mt.so.3
> #36 0x00002b039b8633b5 in QWidget::event () from /usr/lib/libqt-mt.so.3
> #37 0x00002b039b7ca2a2 in QApplication::internalNotify ()
>    from /usr/lib/libqt-mt.so.3
> #38 0x00002b039b7cc400 in QApplication::notify () from 
> /usr/lib/libqt-mt.so.3
> #39 0x00002b039b120248 in KApplication::notify () from 
> /usr/lib/libkdecore.so.4
> #40 0x00002b039b75cd84 in QApplication::sendSpontaneousEvent ()
>    from /usr/lib/libqt-mt.so.3
> #41 0x00002b039b75b98e in QETWidget::translateMouseEvent ()
>    from /usr/lib/libqt-mt.so.3
> #42 0x00002b039b759b5a in QApplication::x11ProcessEvent ()
>    from /usr/lib/libqt-mt.so.3
> #43 0x00002b039b77043e in QEventLoop::processEvents ()
>    from /usr/lib/libqt-mt.so.3
> #44 0x00002b039b7e37e7 in QEventLoop::enterLoop () from 
> /usr/lib/libqt-mt.so.3
> #45 0x00002b039b7e35ef in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
> #46 0x00002b039b7cbd68 in QApplication::exec () from 
> /usr/lib/libqt-mt.so.3
> #47 0x00002b03a0ea023c in kdemain (argc=<value optimized out>, 
> argv=0x647e30)
>     at /build/buildd/koffice-1.6.3/./krita/main.cc:41
> #48 0x0000000000407811 in ?? ()
> #49 0x000000000040814c in ?? ()
> #50 0x00000000004084f5 in ?? ()
> #51 0x00000000004095b3 in ?? ()
> #52 0x00002b039a5eab44 in __libc_start_main () from /lib/libc.so.6
> #53 0x0000000000404df9 in ?? ()
> #54 0x00007fff110f19e8 in ?? ()
> #55 0x0000000000000000 in ?? ()
>



Cyrille Berger wrote:
[bugs.kde.org quoted mail]
Comment 5 Elle Stone 2008-01-16 23:26:31 UTC
I just installed digikam along with a bunch of other kde stuff.  I 
created an album and put the four tifs from bruce lindbloom's site in 
the album, along with all the other tifs that krita can't open 
(crashes).  Digikam opened all the tifs without any problem at all.  I 
then right-clicked to edit one of the bruce lindbloom tifs (see link in 
previous email quoted below) with krita.  Krita crashed.  Here is the 
backtrace:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 47584446398608 (LWP 7118)]
[KCrash handler]
#5  0x00002b4717a1fad7 in memcpy () from /lib/libc.so.6
#6  0x00002aaab7dc7c20 in KisTIFFConverter::readTIFFDirectory (
    this=0x7fff93d187d0, image=0x1316250)
    at 
/build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_converter.cc:252
#7  0x00002aaab7dc7fa0 in KisTIFFConverter::decode (this=0x7fff93d187d0,
    uri=<value optimized out>)
    at 
/build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_converter.cc:181
#8  0x00002aaab7dc8143 in KisTIFFConverter::buildImage 
(this=0x7fff93d187d0,
    uri=@0x7fff93d18850)
    at 
/build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_converter.cc:598
#9  0x00002aaab7dc3377 in KisTIFFImport::convert (this=<value optimized 
out>,
    to=<value optimized out>)
    at 
/build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_import.cc:75
#10 0x00002b471e56365b in KoFilterChain::ChainLink::invokeFilter (
    this=0x1304c60, parentChainLink=0x0)
    at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoFilterChain.cpp:66
#11 0x00002b471e56381b in KoFilterChain::invokeChain (this=0x1310aa0)
    at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoFilterChain.cpp:165
#12 0x00002b471e568a57 in KoFilterManager::import (this=0x1303580,
    url=@0xf37560, status=@0x7fff93d190bc)
    at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoFilterManager.cpp:225
#13 0x00002b471e5695ba in KoDocument::openFile (this=0xf37490)
    at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoDocument.cpp:1460
#14 0x00002b4716fe8851 in KParts::ReadOnlyPart::openURL (this=0xf37490,
    url=@0x7fff93d192e0) at 
/build/buildd/kdelibs-3.5.8/./kparts/part.cpp:344
#15 0x00002b471e548fcf in KoDocument::openURL (this=0xf37490,
    _url=@0x7fff93d19780)
    at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoDocument.cpp:1386
#16 0x00002b471e51b459 in KoMainWindow::openDocumentInternal 
(this=0x1285340,
    url=@0x7fff93d19780, newdoc=0xf37490)
    at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoMainWindow.cpp:594
#17 0x00002b471e549543 in KoMainWindow::openDocument (this=0x1285340,
    newdoc=0xf37490, url=@0x7fff93d19780)
    at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoMainWindow.cpp:576
#18 0x00002b471e56c89a in KoApplication::start (this=<value optimized out>)
    at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoApplication.cpp:211
#19 0x00002b471e277230 in kdemain (argc=<value optimized out>, 
argv=0x650490)
    at /build/buildd/koffice-1.6.3/./krita/main.cc:38
#20 0x0000000000407811 in launch (argc=2, _name=0x660fe8 "krita",
    args=0x661025 "", cwd=0x0, envc=1, envs=0x66103a "", reset_env=false,
    tty=0x0, avoid_loops=false,
    startup_id_str=0x661043 "rn;1200521953;434686;7086_TIME2226077589")
    at /build/buildd/kdelibs-3.5.8/./kinit/kinit.cpp:673
#21 0x000000000040814c in handle_launcher_request (sock=8)
    at /build/buildd/kdelibs-3.5.8/./kinit/kinit.cpp:1240
#22 0x00000000004084f5 in handle_requests (waitForPid=0)
    at /build/buildd/kdelibs-3.5.8/./kinit/kinit.cpp:1443
#23 0x00000000004095b3 in main (argc=2, argv=0x7fff93d1a698,
    envp=0x7fff93d1a6b0) at 
/build/buildd/kdelibs-3.5.8/./kinit/kinit.cpp:1908
#24 0x00002b47179c2b44 in __libc_start_main () from /lib/libc.so.6
#25 0x0000000000404df9 in _start ()


Elle Stone wrote:
[bugs.kde.org quoted mail]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I just installed digikam along with a bunch of other kde stuff.  I
created an album and put the four tifs from bruce lindbloom's site in
the album, along with all the other tifs that krita can't open
(crashes).  Digikam opened all the tifs without any problem at all.  I
then right-clicked to edit one of the bruce lindbloom tifs (see link in
previous email quoted below) with krita.  Krita crashed.  Here is the
backtrace:<br>
<br>
Using host libthread_db library "/lib/libthread_db.so.1".<br>
[Thread debugging using libthread_db enabled]<br>
[New Thread 47584446398608 (LWP 7118)]<br>
[KCrash handler]<br>
#5  0x00002b4717a1fad7 in memcpy () from /lib/libc.so.6<br>
#6  0x00002aaab7dc7c20 in KisTIFFConverter::readTIFFDirectory (<br>
    this=0x7fff93d187d0, image=0x1316250)<br>
    at
/build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_converter.cc:252<br>
#7  0x00002aaab7dc7fa0 in KisTIFFConverter::decode
(this=0x7fff93d187d0, <br>
    uri=&lt;value optimized out&gt;)<br>
    at
/build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_converter.cc:181<br>
#8  0x00002aaab7dc8143 in KisTIFFConverter::buildImage
(this=0x7fff93d187d0, <br>
    uri=@0x7fff93d18850)<br>
    at
/build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_converter.cc:598<br>
#9  0x00002aaab7dc3377 in KisTIFFImport::convert (this=&lt;value
optimized out&gt;, <br>
    to=&lt;value optimized out&gt;)<br>
    at
/build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_import.cc:75<br>
#10 0x00002b471e56365b in KoFilterChain::ChainLink::invokeFilter (<br>
    this=0x1304c60, parentChainLink=0x0)<br>
    at
/build/buildd/koffice-1.6.3/./lib/kofficecore/KoFilterChain.cpp:66<br>
#11 0x00002b471e56381b in KoFilterChain::invokeChain (this=0x1310aa0)<br>
    at
/build/buildd/koffice-1.6.3/./lib/kofficecore/KoFilterChain.cpp:165<br>
#12 0x00002b471e568a57 in KoFilterManager::import (this=0x1303580, <br>
    url=@0xf37560, status=@0x7fff93d190bc)<br>
    at
/build/buildd/koffice-1.6.3/./lib/kofficecore/KoFilterManager.cpp:225<br>
#13 0x00002b471e5695ba in KoDocument::openFile (this=0xf37490)<br>
    at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoDocument.cpp:1460<br>
#14 0x00002b4716fe8851 in KParts::ReadOnlyPart::openURL (this=0xf37490,
<br>
    url=@0x7fff93d192e0) at
/build/buildd/kdelibs-3.5.8/./kparts/part.cpp:344<br>
#15 0x00002b471e548fcf in KoDocument::openURL (this=0xf37490, <br>
    _url=@0x7fff93d19780)<br>
    at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoDocument.cpp:1386<br>
#16 0x00002b471e51b459 in KoMainWindow::openDocumentInternal
(this=0x1285340, <br>
    url=@0x7fff93d19780, newdoc=0xf37490)<br>
    at
/build/buildd/koffice-1.6.3/./lib/kofficecore/KoMainWindow.cpp:594<br>
#17 0x00002b471e549543 in KoMainWindow::openDocument (this=0x1285340, <br>
    newdoc=0xf37490, url=@0x7fff93d19780)<br>
    at
/build/buildd/koffice-1.6.3/./lib/kofficecore/KoMainWindow.cpp:576<br>
#18 0x00002b471e56c89a in KoApplication::start (this=&lt;value
optimized out&gt;)<br>
    at
/build/buildd/koffice-1.6.3/./lib/kofficecore/KoApplication.cpp:211<br>
#19 0x00002b471e277230 in kdemain (argc=&lt;value optimized out&gt;,
argv=0x650490)<br>
    at /build/buildd/koffice-1.6.3/./krita/main.cc:38<br>
#20 0x0000000000407811 in launch (argc=2, _name=0x660fe8 "krita", <br>
    args=0x661025 "", cwd=0x0, envc=1, envs=0x66103a "",
reset_env=false, <br>
    tty=0x0, avoid_loops=false, <br>
    startup_id_str=0x661043 "rn;1200521953;434686;7086_TIME2226077589")<br>
    at /build/buildd/kdelibs-3.5.8/./kinit/kinit.cpp:673<br>
#21 0x000000000040814c in handle_launcher_request (sock=8)<br>
    at /build/buildd/kdelibs-3.5.8/./kinit/kinit.cpp:1240<br>
#22 0x00000000004084f5 in handle_requests (waitForPid=0)<br>
    at /build/buildd/kdelibs-3.5.8/./kinit/kinit.cpp:1443<br>
#23 0x00000000004095b3 in main (argc=2, argv=0x7fff93d1a698, <br>
    envp=0x7fff93d1a6b0) at
/build/buildd/kdelibs-3.5.8/./kinit/kinit.cpp:1908<br>
#24 0x00002b47179c2b44 in __libc_start_main () from /lib/libc.so.6<br>
#25 0x0000000000404df9 in _start ()<br>
<br>
<br>
Elle Stone wrote:
<blockquote cite="mid:20080116105425.24734.qmail@ktown.kde.org"
 type="cite">
  <pre wrap="">------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
         
<a class="moz-txt-link-freetext" href="http://bugs.kde.org/show_bug.cgi?id=155852">http://bugs.kde.org/show_bug.cgi?id=155852</a>         




------- Additional Comments From jrle1 twcny rr com  2008-01-16 11:54 -------
I did install koffice-dbg.  As I said in my email to Cyrille (I sent him 
a copy of one of my tifs), when opening a tif, while running krita by 
typing "gdb krita" at the command line, krita hangs rather than 
crashes.  drkonqi never shows up.

So I installed kde-core and reinstalled krita.  This is the result of 
attempting to open several different tiffs:

The first tif, the "8-bit tif from bruce lindbloom", can be found on the 
internet here:

<a class="moz-txt-link-freetext" href="http://www.brucelindbloom.com/">http://www.brucelindbloom.com/</a>?

click on "Info", then choose "RGB Reference Images", download any or all 
of the zipped files (they all crash krita), "inflate", open krita, open 
one of the images, krita crashes.  I have used Bruce Lindbloom's 
references images in other applications.  The tif files are good.

  </pre>
  <blockquote type="cite">
    <pre wrap="">opening 8-bit tif from bruce lindbloom:

no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(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)
[Thread debugging using libthread_db enabled]
[New Thread 47294582407312 (LWP 6634)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5  0x00002b039a647ac0 in memcpy () from /lib/libc.so.6
#6  0x00002aaab4dbbc20 in ?? ()
#7  0x00007fff110eedef in ?? ()
#8  0x00002b0300000001 in ?? ()
#9  0x0000000001467a28 in ?? ()
#10 0x000000000150d520 in ?? ()
#11 0x00000000008310d0 in ?? ()
#12 0x00002aaab522cf48 in ?? ()
#13 0x00007fff110eecb0 in ?? ()
#14 0x00000000008310d0 in ?? ()
#15 0x00007fff110eef30 in ?? ()
#16 0x00002aaab4fe2547 in ?? ()
#17 0x00002aaab5008af0 in ?? ()
#18 0x00002aaab4fdbea5 in ?? ()
#19 0x0000000001467a34 in ?? ()
#20 0x0000000000000001 in ?? ()
#21 0x0000000000002400 in ?? ()
#22 0x00002aaab5004227 in ?? ()
#23 0x0000000001467a28 in ?? ()
#24 0x00000000008310d0 in ?? ()
#25 0x0000000000831100 in ?? ()
#26 0x00000000008310d0 in ?? ()
#27 0x000000000040a9b0 in vtable for QMemArray&lt;char&gt; ()
#28 0x00000000008bba90 in ?? ()
#29 0x0000000000002400 in ?? ()
#30 0x00002aaab5004227 in ?? ()
#31 0x0000000001467a40 in ?? ()
#32 0x0000000001467a28 in ?? ()
#33 0x00000000008310d0 in ?? ()
#34 0x0000000000000000 in ?? ()

//////////////
opening 16-bit tif saved from 8-bit tif by krita:

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(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)
[Thread debugging using libthread_db enabled]
[New Thread 47294582407312 (LWP 6659)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5  0x00002b039a647c87 in memcpy () from /lib/libc.so.6
#6  0x00002aaab4dbbc20 in KisTIFFConverter::readTIFFDirectory (
    this=0x7fff110eebc0, image=0x17c2d40)
    at 
/build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_converter.cc:252
#7  0x00002aaab4dbbfa0 in KisTIFFConverter::decode (this=0x7fff110eebc0,
    uri=&lt;value optimized out&gt;)
    at 
/build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_converter.cc:181
#8  0x00002aaab4dbc143 in KisTIFFConverter::buildImage 
(this=0x7fff110eebc0,
    uri= 0x7fff110eec40)
    at 
/build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_converter.cc:598
#9  0x00002aaab4db7377 in KisTIFFImport::convert (this=&lt;value 
optimized out&gt;,
    to=&lt;value optimized out&gt;)
    at 
/build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_import.cc:75
#10 0x00002b03a118c65b in KoFilterChain::ChainLink::invokeFilter (
    this=0x1373c40, parentChainLink=0x0)
    at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoFilterChain.cpp:66
#11 0x00002b03a118c81b in KoFilterChain::invokeChain (this=0x17bcb10)
    at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoFilterChain.cpp:165
#12 0x00002b03a1191a57 in KoFilterManager::import (this=0x13cdeb0,
    url= 0x1333550, status= 0x7fff110ef4ac)
    at 
/build/buildd/koffice-1.6.3/./lib/kofficecore/KoFilterManager.cpp:225
#13 0x00002b03a11925ba in KoDocument::openFile (this=0x1333480)
    at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoDocument.cpp:1460
#14 0x00002b0399c10851 in KParts::ReadOnlyPart::openURL ()
   from /usr/lib/libkparts.so.2
#15 0x00002b03a1171fcf in KoDocument::openURL (this=0x1333480,
    _url= 0x7fff110ef850)
    at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoDocument.cpp:1386
#16 0x00002b03a112f6e0 in KoDocument::openExistingFile (this=0x1333480,
    file=&lt;value optimized out&gt;)
    at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoDocument.cpp:2571
#17 0x00002b03a2f618ba in KisDoc::openExistingFile (this=0x1333480,
    file= 0x1d39f10) at 
/build/buildd/koffice-1.6.3/./krita/ui/kis_doc.cc:234
#18 0x00002b03a2f625fe in KisDoc::qt_invoke (this=0x1333480, _id=24,
    _o=0x7fff110efa20) at ./kis_doc.moc:174
#19 0x00002b039b82ed76 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#20 0x00002b039b82f311 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#21 0x00002b03a1148015 in KoOpenPane::openExistingFile (this=0x1ce4140,
    t0=&lt;value optimized out&gt;) at ./KoOpenPane.moc:122
#22 0x00002b03a11480e0 in KoOpenPane::qt_emit (this=0x1ce4140, _id=2,
    _o=0x7fff110efbd0) at ./KoOpenPane.moc:178
#23 0x00002b039b82ed51 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#24 0x00002b039b82f311 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#25 0x00002b03a11462d5 in KoRecentDocumentsPane::openFile 
(this=0x1c4f0e0,
    t0=&lt;value optimized out&gt;) at ./KoDetailsPane.moc:301
#26 0x00002b03a116b19a in KoRecentDocumentsPane::openFile 
(this=0x1c4f0e0,
    item=0x13fe4f0)
    at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoDetailsPane.cpp:400
#27 0x00002b03a116b2df in KoRecentDocumentsPane::qt_invoke 
(this=0x1c4f0e0,
    _id=50, _o=0x7fff110efe20) at ./KoDetailsPane.moc:324
#28 0x00002b039b82ed76 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#29 0x00002b039bbb3025 in QListView::doubleClicked ()
   from /usr/lib/libqt-mt.so.3
#30 0x00002b039c9b9642 in KListView::contentsMouseDoubleClickEvent ()
   from /usr/lib/libkdeui.so.4
#31 0x00002b039b95c042 in QScrollView::viewportMouseDoubleClickEvent ()
   from /usr/lib/libqt-mt.so.3
#32 0x00002b039b95d5c8 in QScrollView::eventFilter ()
   from /usr/lib/libqt-mt.so.3
#33 0x00002b039b926f58 in QListView::eventFilter () from 
/usr/lib/libqt-mt.so.3
#34 0x00002b039b82e375 in QObject::activate_filters ()
   from /usr/lib/libqt-mt.so.3
#35 0x00002b039b82e3ee in QObject::event () from /usr/lib/libqt-mt.so.3
#36 0x00002b039b8633b5 in QWidget::event () from /usr/lib/libqt-mt.so.3
#37 0x00002b039b7ca2a2 in QApplication::internalNotify ()
   from /usr/lib/libqt-mt.so.3
#38 0x00002b039b7cc400 in QApplication::notify () from 
/usr/lib/libqt-mt.so.3
#39 0x00002b039b120248 in KApplication::notify () from 
/usr/lib/libkdecore.so.4
#40 0x00002b039b75cd84 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#41 0x00002b039b75b98e in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#42 0x00002b039b759b5a in QApplication::x11ProcessEvent ()
   from /usr/lib/libqt-mt.so.3
#43 0x00002b039b77043e in QEventLoop::processEvents ()
   from /usr/lib/libqt-mt.so.3
#44 0x00002b039b7e37e7 in QEventLoop::enterLoop () from 
/usr/lib/libqt-mt.so.3
#45 0x00002b039b7e35ef in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#46 0x00002b039b7cbd68 in QApplication::exec () from 
/usr/lib/libqt-mt.so.3
#47 0x00002b03a0ea023c in kdemain (argc=&lt;value optimized out&gt;, 
argv=0x63e930)
    at /build/buildd/koffice-1.6.3/./krita/main.cc:41
#48 0x0000000000407811 in ?? ()
#49 0x000000000040814c in ?? ()
#50 0x00000000004084f5 in ?? ()
#51 0x00000000004095b3 in ?? ()
#52 0x00002b039a5eab44 in __libc_start_main () from /lib/libc.so.6
#53 0x0000000000404df9 in ?? ()
#54 0x00007fff110f19e8 in ?? ()
#55 0x0000000000000000 in ?? ()

////////////
opening another 16-bit tiff created by krita:
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(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)
[Thread debugging using libthread_db enabled]
[New Thread 47294582407312 (LWP 6672)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5  0x00002b039a647c58 in memcpy () from /lib/libc.so.6
#6  0x00002aaab4dbbc20 in KisTIFFConverter::readTIFFDirectory (
    this=0x7fff110eebc0, image=0x14645c0)
    at 
/build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_converter.cc:252
#7  0x00002aaab4dbbfa0 in KisTIFFConverter::decode (this=0x7fff110eebc0,
    uri=&lt;value optimized out&gt;)
    at 
/build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_converter.cc:181
#8  0x00002aaab4dbc143 in KisTIFFConverter::buildImage 
(this=0x7fff110eebc0,
    uri= 0x7fff110eec40)
    at 
/build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_converter.cc:598
#9  0x00002aaab4db7377 in KisTIFFImport::convert (this=&lt;value 
optimized out&gt;,
    to=&lt;value optimized out&gt;)
    at 
/build/buildd/koffice-1.6.3/./filters/krita/tiff/kis_tiff_import.cc:75
#10 0x00002b03a118c65b in KoFilterChain::ChainLink::invokeFilter (
    this=0x13e8870, parentChainLink=0x0)
    at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoFilterChain.cpp:66
#11 0x00002b03a118c81b in KoFilterChain::invokeChain (this=0x13bd650)
    at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoFilterChain.cpp:165
#12 0x00002b03a1191a57 in KoFilterManager::import (this=0x140c460,
    url= 0x8bf0f0, status= 0x7fff110ef4ac)
    at 
/build/buildd/koffice-1.6.3/./lib/kofficecore/KoFilterManager.cpp:225
#13 0x00002b03a11925ba in KoDocument::openFile (this=0x8bf020)
    at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoDocument.cpp:1460
#14 0x00002b0399c10851 in KParts::ReadOnlyPart::openURL ()
   from /usr/lib/libkparts.so.2
#15 0x00002b03a1171fcf in KoDocument::openURL (this=0x8bf020,
    _url= 0x7fff110ef850)
    at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoDocument.cpp:1386
#16 0x00002b03a112f6e0 in KoDocument::openExistingFile (this=0x8bf020,
    file=&lt;value optimized out&gt;)
    at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoDocument.cpp:2571
#17 0x00002b03a2f618ba in KisDoc::openExistingFile (this=0x8bf020,
    file= 0x142c990) at 
/build/buildd/koffice-1.6.3/./krita/ui/kis_doc.cc:234
#18 0x00002b03a2f625fe in KisDoc::qt_invoke (this=0x8bf020, _id=24,
    _o=0x7fff110efa20) at ./kis_doc.moc:174
#19 0x00002b039b82ed76 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#20 0x00002b039b82f311 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#21 0x00002b03a1148015 in KoOpenPane::openExistingFile (this=0x136bf90,
    t0=&lt;value optimized out&gt;) at ./KoOpenPane.moc:122
#22 0x00002b03a11480e0 in KoOpenPane::qt_emit (this=0x136bf90, _id=2,
    _o=0x7fff110efbd0) at ./KoOpenPane.moc:178
#23 0x00002b039b82ed51 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#24 0x00002b039b82f311 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#25 0x00002b03a11462d5 in KoRecentDocumentsPane::openFile 
(this=0x13325e0,
    t0=&lt;value optimized out&gt;) at ./KoDetailsPane.moc:301
#26 0x00002b03a116b19a in KoRecentDocumentsPane::openFile 
(this=0x13325e0,
    item=0x13ba8f0)
    at /build/buildd/koffice-1.6.3/./lib/kofficecore/KoDetailsPane.cpp:400
#27 0x00002b03a116b2df in KoRecentDocumentsPane::qt_invoke 
(this=0x13325e0,
    _id=50, _o=0x7fff110efe20) at ./KoDetailsPane.moc:324
#28 0x00002b039b82ed76 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#29 0x00002b039bbb3025 in QListView::doubleClicked ()
   from /usr/lib/libqt-mt.so.3
#30 0x00002b039c9b9642 in KListView::contentsMouseDoubleClickEvent ()
   from /usr/lib/libkdeui.so.4
#31 0x00002b039b95c042 in QScrollView::viewportMouseDoubleClickEvent ()
   from /usr/lib/libqt-mt.so.3
#32 0x00002b039b95d5c8 in QScrollView::eventFilter ()
   from /usr/lib/libqt-mt.so.3
#33 0x00002b039b926f58 in QListView::eventFilter () from 
/usr/lib/libqt-mt.so.3
#34 0x00002b039b82e375 in QObject::activate_filters ()
   from /usr/lib/libqt-mt.so.3
#35 0x00002b039b82e3ee in QObject::event () from /usr/lib/libqt-mt.so.3
#36 0x00002b039b8633b5 in QWidget::event () from /usr/lib/libqt-mt.so.3
#37 0x00002b039b7ca2a2 in QApplication::internalNotify ()
   from /usr/lib/libqt-mt.so.3
#38 0x00002b039b7cc400 in QApplication::notify () from 
/usr/lib/libqt-mt.so.3
#39 0x00002b039b120248 in KApplication::notify () from 
/usr/lib/libkdecore.so.4
#40 0x00002b039b75cd84 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#41 0x00002b039b75b98e in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#42 0x00002b039b759b5a in QApplication::x11ProcessEvent ()
   from /usr/lib/libqt-mt.so.3
#43 0x00002b039b77043e in QEventLoop::processEvents ()
   from /usr/lib/libqt-mt.so.3
#44 0x00002b039b7e37e7 in QEventLoop::enterLoop () from 
/usr/lib/libqt-mt.so.3
#45 0x00002b039b7e35ef in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#46 0x00002b039b7cbd68 in QApplication::exec () from 
/usr/lib/libqt-mt.so.3
#47 0x00002b03a0ea023c in kdemain (argc=&lt;value optimized out&gt;, 
argv=0x647e30)
    at /build/buildd/koffice-1.6.3/./krita/main.cc:41
#48 0x0000000000407811 in ?? ()
#49 0x000000000040814c in ?? ()
#50 0x00000000004084f5 in ?? ()
#51 0x00000000004095b3 in ?? ()
#52 0x00002b039a5eab44 in __libc_start_main () from /lib/libc.so.6
#53 0x0000000000404df9 in ?? ()
#54 0x00007fff110f19e8 in ?? ()
#55 0x0000000000000000 in ?? ()

    </pre>
  </blockquote>
  <pre wrap=""><!---->


Cyrille Berger wrote:
[bugs.kde.org quoted mail]

  </pre>
</blockquote>
</body>
</html>
Comment 6 Cyrille Berger 2008-01-17 00:19:00 UTC
I can't reproduce :( I did successfully opened the file you have send me. The worse kind of bug :( But it seems that Krita is trying to read a color profile on the image while there is definitively no color profile in the image.

So I was wondering if we were using the same version of libtiff, I have 3.8.2-7ubuntu2, what's yours ? (you can check with dpkg -l | grep tiff) I also thought that it could be that you are using a 64bit processor, but I tried on both 32bits and 64bits without a problem.
Comment 7 Elle Stone 2008-01-17 01:33:56 UTC
Cyrille, I have the same version of libtiff as you.  Do you have access 
to an amd opteron system, or any other amd system?  Somewhere I 
encountered another person saying that krita had trouble opening tifs 
with amd processor computers. 

I even went so far as to install kde-core and try again, same problem.  
And I downloaded some tifs from the internet.  No go.  I installed 
digikam.  It could display all the tiffs I threw at it.  But when I used 
digikam to send a tiff to krita, krita crashed on opening and took 
digikam along with it. 

I posted a thread on the ubuntu forums asking if anyone else has a 
similar problem 
(http://ubuntuforums.org/showthread.php?t=669702&highlight=krita). 

If you go here, 
http://jcornuz.wordpress.com/2007/10/08/krita-the-kontender/#more-29, 
you will see another person has trouble with krita and tifs.

If there is any other information or test you would like me to run, I 
will do so.  If this were windows, I'd be running dependency walker to 
see exactly when/where krita falls apart.  But alas, I don't know enough 
about linux (having just switched over) to know where/how to start 
tracking down bugs. 

If there is no color profile attached to an image, shouldn't krita 
default to srgb?  Or better yet ask which profile to assign?  Or give 
the user a chance to decide a default course of action?  A color-managed 
workflow kinda heavily depends on being able to keep  track of color 
profiles.

Anyway, thanks so much for trying to replicate krita crashing.  If there 
is anything else you'd like me to check/send/try, advise and I will do 
my best to comply.

Elle

Cyrille Berger wrote:
[bugs.kde.org quoted mail]
Comment 8 Cyrille Berger 2008-01-28 08:55:13 UTC
Well I have tested on an Intel Dual Core in 32bits with kubuntu, on an AMD Dual Core 64bits with OpenSuSE, and I asked someone with an AMD Athlon 64bits with Debian. And none crashes. I am going to install a virtual image of kubuntu 64bits and see if I have the crash.

As for the "no profile" in the tiff, Krita should of course ask the user, but here the problem is that even if there is no profile, Krita seems to try to read one, and of course it completely fails.
Comment 9 Cyrille Berger 2008-01-28 15:24:49 UTC
I can confirm that it crashes on Kubuntu 64bits, but considering that it is the only distribution which has the problem, I do think that it should be reported to kubuntu on launchpad.net .
Comment 10 Elle Stone 2008-01-28 22:52:24 UTC
Fwiw, my linux distribution is 64-bit "Ubuntu" but not gnome Ubuntu.  I 
did a minimal command-line net-install and set up an icewm "desktop".  
Even though I've added a lot of software, I don't have anything like a 
normal "user-friendly" desktop - no dbus or hal or avahi (or, or, or . . 
.) running in the background, for example.  And I don't have kubuntu 
installed, either. 

As an experiment, I recently installed a whole lot of kde stuff (base, 
core and a little more  - since uninstalled) and then reinstalled krita, 
just in case krita was crashing because it missed its kde environment.  
But krita still crashed as soon as I tried to open a tif. 

Cyrille Berger wrote:
[bugs.kde.org quoted mail]
Comment 11 Cyrille Berger 2008-01-28 23:30:19 UTC
I am fully aware of this, but since the problem only happen on 64bits Ubuntu-derivative, I am guessing they are doing something wrong, and they are the people who know better than anyone else what they can have change that can be wrong.
Comment 12 Cyrille Berger 2008-08-07 10:25:32 UTC

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