Summary: | crash while saving tiff (possibly caused by present alpha channel) | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | DrSlony <bugs> |
Component: | Plugin-DImg-TIFF | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | bugs, caulier.gilles, marcel.wiesweg |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 5.0.0 | |
Sentry Crash Report: |
Description
DrSlony
2008-05-15 20:31:28 UTC
DrSlony, You backtrace is not suitable. Mine is better : /bin/sh -c libtool gdb /home/gilles/Documents/devel/SVN/branch/kde3/graphics/digikam/showfoto/showfoto --interpreter=mi2 -quiet Using host libthread_db library "/lib/i686/libthread_db.so.1". (gdb) bt bt #0 0xb7cf926d in QWidget::setUpdatesEnabled () from /usr/lib/libtiff.so.3 #1 0xb430c0b0 in ?? () #2 0x00000152 in ?? () #3 0xb7cf7cea in TIFFVSetField () from /usr/lib/libtiff.so.3 #4 0xb7cf877e in TIFFSetField () from /usr/lib/libtiff.so.3 #5 0x080d81c3 in Digikam::TIFFLoader::save (this=0xb5cc32c8, filePath=@0x8564920, observer=0x8564918) at tiffloader.cpp:502 #6 0x080d10da in Digikam::DImg::save (this=0x856491c, filePath=@0x8564920, format=@0x8564924, observer=0x8564918) at dimg.cpp:459 #7 0x080e0231 in Digikam::SavingTask::execute (this=0x8564910) at loadsavetask.cpp:398 #8 0x080decda in Digikam::LoadSaveThread::run (this=0x82e7aa8) at loadsavethread.cpp:122 #9 0xb6bc43ea in QThreadInstance::start () from /usr/lib/qt3/lib/libqt-mt.so.3 #10 0xb66974e2 in start_thread () from /lib/i686/libpthread.so.0 #11 0xb613c47e in clone () from /lib/i686/libc.so.6 Current language: auto; currently c++ ^done(gdb) quitquit The program is running. Exit anyway? (y or n) [answered Y; input not from terminal] (gdb) Process exited /bin/sh -c libtool gdb /home/gilles/Documents/devel/SVN/branch/kde3/graphics/digikam/showfoto/showfoto --interpreter=mi2 -quiet Using host libthread_db library "/lib/i686/libthread_db.so.1". (gdb) bt bt #0 0xb7d0426d in QWidget::setUpdatesEnabled () from /usr/lib/libtiff.so.3 #1 0xb4308cd0 in ?? () #2 0x00000152 in ?? () #3 0xb7d02cea in TIFFVSetField () from /usr/lib/libtiff.so.3 #4 0xb7d0377e in TIFFSetField () from /usr/lib/libtiff.so.3 #5 0x080d81c3 in Digikam::TIFFLoader::save (this=0xb5cce2c8, filePath=@0x83762e8, observer=0x83762e0) at tiffloader.cpp:502 #6 0x080d10da in Digikam::DImg::save (this=0x83762e4, filePath=@0x83762e8, format=@0x83762ec, observer=0x83762e0) at dimg.cpp:459 #7 0x080e0231 in Digikam::SavingTask::execute (this=0x83762d8) at loadsavetask.cpp:398 #8 0x080decda in Digikam::LoadSaveThread::run (this=0x82e7a68) at loadsavethread.cpp:122 #9 0xb6bcf3ea in QThreadInstance::start () from /usr/lib/qt3/lib/libqt-mt.so.3 #10 0xb66a24e2 in start_thread () from /lib/i686/libpthread.so.0 #11 0xb614747e in clone () from /lib/i686/libc.so.6 ^done Marcel, Look like the crash appear when digiKam set alpha channel with libtiff. There is no reason for that The PNG file to test has Alpha channel. It can be converted to TIFF file without any problem using ImageMagick. So something is wrong in digiKam tiffloader. If you want to test, the PNG image is here: http://www.panopixel.org/drslony/20080513_zg_roof_5_47_rh4_tonemapped.png Arnd, Are you able to reproduce the crash on your computer ? Gilles Caulier SVN commit 808143 by cgilles: fix crash with libtiff when we set alpha channel to new tiff file BUGS: 162132 M +3 -2 tiffloader.cpp M +1 -1 tiffloader.h WebSVN link: http://websvn.kde.org/?view=rev&revision=808143 SVN commit 808145 by cgilles: backport commit #808143 from KDE3 branch CCBUGS: 162132 M +3 -2 tiffloader.cpp M +1 -1 tiffloader.h WebSVN link: http://websvn.kde.org/?view=rev&revision=808145 I received an email about this issue today, so I tried to reproduce just in case. Cannot reproduce in digikam-5.0.0 http://commits.kde.org/digikam/09b876a13385981c39053cb8562167817204b58c |