Bug 142819

Summary: crash when opening any image
Product: [Applications] digikam Reporter: Yaroslav Sidlovsky <zawertun>
Component: Metadata-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 0.9.1   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 7.3.0
Sentry Crash Report:

Description Yaroslav Sidlovsky 2007-03-11 10:22:19 UTC
Version:           0.5.0 (using KDE KDE 3.5.6)
Installed from:    Gentoo Packages
Compiler:          gcc-4.1.2 
OS:                Linux

File -> Open -> 1.jpg -> CRASH
maybe because of recently installed Qt-3.3.8 ?
Here is crash log:

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
...
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1234778448 (LWP 17323)]
[New Thread -1240298608 (LWP 17325)]
0xb7f26410 in __kernel_vsyscall ()
#0  0xb7f26410 in __kernel_vsyscall ()
#1  0xb69fd02b in ?? () from /lib/libpthread.so.0
#2  0xb6945c27 in ?? () from /usr/lib/libX11.so.6
#3  0x00000003 in ?? ()
#4  0xbffde804 in ?? ()
#5  0x00000018 in ?? ()
#6  0xb6945804 in _X11TransWrite () from /usr/lib/libX11.so.6
#7  0xb69457e3 in _X11TransRead () from /usr/lib/libX11.so.6
#8  0xb693d4d9 in _XRead () from /usr/lib/libX11.so.6
#9  0xb693deac in _XReply () from /usr/lib/libX11.so.6
#10 0xb6922dca in XGetImage () from /usr/lib/libX11.so.6
#11 0xb6ec7629 in QPixmap::xForm () from /usr/qt/3/lib/libqt-mt.so.3
#12 0xb6ecb4e4 in QPainter::drawPixmap () from /usr/qt/3/lib/libqt-mt.so.3
#13 0xb7c50899 in KMultiTabBarTab::drawButtonStyled ()
   from /usr/kde/3.5/lib/libkutils.so.1
#14 0xb7c508db in KMultiTabBarTab::drawButton ()
   from /usr/kde/3.5/lib/libkutils.so.1
#15 0xb6fef304 in QButton::paintEvent () from /usr/qt/3/lib/libqt-mt.so.3
#16 0xb6f999a6 in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3
#17 0xb6f0918c in QApplication::internalNotify ()
   from /usr/qt/3/lib/libqt-mt.so.3
#18 0xb6f09ca7 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#19 0xb75b72ff in KApplication::notify ()
   from /usr/kde/3.5/lib/libkdecore.so.4
#20 0xb6edd18f in QWidget::repaint () from /usr/qt/3/lib/libqt-mt.so.3
#21 0xb6f0a8c8 in QApplication::sendPostedEvents ()
   from /usr/qt/3/lib/libqt-mt.so.3
#22 0xb6f0a9b8 in QApplication::sendPostedEvents ()
   from /usr/qt/3/lib/libqt-mt.so.3
#23 0xb6ebad0e in QEventLoop::processEvents ()
   from /usr/qt/3/lib/libqt-mt.so.3
#24 0xb6f1ea2d in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#25 0xb6f1e8d2 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
#26 0xb6f08cbd in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3
#27 0x08073a1c in ?? ()
#28 0xbffdf390 in ?? ()
#29 0xbffdf4c4 in ?? ()
#30 0x00000001 in ?? ()
#31 0x00000000 in ?? ()
Comment 1 caulier.gilles 2007-03-11 10:27:40 UTC
The crash sound like outside showfoto. To be sure, you need to compile digiKam using all debug info and getthe gdb backtrace like its explained here :

http://www.digikam.org/?q=contrib

Gilles Caulier
Comment 2 Yaroslav Sidlovsky 2007-03-11 11:34:32 UTC
now I get that from gdb:

#0  0xb68e6107 in Exiv2::ExifKey::clone () from /usr/lib/libexiv2-0.13.so
#1  0xb68ab810 in Exiv2::Exifdatum::Exifdatum () from /usr/lib/libexiv2-0.13.so
#2  0xb68b484d in std::vector<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> >::operator= () from /usr/lib/libexiv2-0.13.so
#3  0xb68ab8d7 in Exiv2::ExifData::operator= () from /usr/lib/libexiv2-0.13.so
#4  0xb7eb49d1 in KExiv2Iface::KExiv2::load () from /usr/lib/libkexiv2.so.0
#5  0x080c294c in Digikam::DMetadata::load (this=0xb6195b0c, filePath=@0x84143ac) at dmetadata.cpp:52
#6  0x080c2a25 in DMetadata (this=0xb6195b0c, filePath=@0x84143ac) at dmetadata.cpp:40
#7  0x080ddd86 in Digikam::DImgLoader::readMetadata (this=0xb61960cc, filePath=@0x84143ac) at dimgloader.cpp:128
#8  0x080d8746 in Digikam::JPEGLoader::load (this=0xb61960cc, filePath=@0x84143ac, observer=0x84143a8) at jpegloader.cpp:99
#9  0x080d286f in Digikam::DImg::load (this=0xb6196258, filePath=@0x84143ac, observer=0x84143a8, rawDecodingSettings=@0xb61961d8) at dimg.cpp:297
#10 0x080d304f in DImg (this=0xb6196258, filePath=@0x84143ac, observer=0x84143a8, rawDecodingSettings=@0xb61962f8) at dimg.cpp:74
#11 0x080e2985 in Digikam::SharedLoadingTask::execute (this=0x84143a0) at loadsavetask.cpp:196
#12 0x080e1236 in Digikam::LoadSaveThread::run (this=0x82477f8) at loadsavethread.cpp:118
#13 0xb6f71a7b in QThreadInstance::start () from /usr/qt/3/lib/libqt-mt.so.3
#14 0xb6a65597 in start_thread () from /lib/libpthread.so.0
Comment 3 caulier.gilles 2007-03-11 12:05:05 UTC
ok. Witch "libkexiv2" shared library you use ?

If it's 0.1.0, please update to 0.1.1. I have fixed a crash bug recently. Look this report :

http://bugs.kde.org/show_bug.cgi?id=141980

Gilles
Comment 4 Yaroslav Sidlovsky 2007-03-11 12:19:30 UTC
libkexiv2-0.1.1
Comment 5 caulier.gilles 2007-03-11 12:56:29 UTC
Check in your /usr/lib (or another place) if you have more than one Exiv2 library version installed. Only one must be available

Gilles
Comment 6 Yaroslav Sidlovsky 2007-03-11 20:04:01 UTC
very strange question ( do You see my platform ?)
nevertheless I check this -- it's only one exiv2 version installed
Comment 7 caulier.gilles 2007-03-11 20:18:19 UTC
Can you identify witch image crash Exiv2. The backtrace said than it's a JPEG image...

If yes, please add this picture on this B.K.O file, i will try to reproduce it here...


Gilles
Comment 8 Yaroslav Sidlovsky 2007-03-11 20:40:44 UTC
crashes with every .jpg or .png images ( checked ~10 of both types )
Comment 9 caulier.gilles 2007-03-11 20:51:14 UTC
Well, give me a JPEG sample.

Gilles

11 Mar 2007 19:40:45 -0000, zawertun@gmail.com <zawertun@gmail.com>:
[bugs.kde.org quoted mail]
Well, give me a JPEG sample. <br><br>Gilles<br><br><div><span class="gmail_quote">11 Mar 2007 19:40:45 -0000, <a href="mailto:zawertun@gmail.com">zawertun@gmail.com</a> &lt;<a href="mailto:zawertun@gmail.com">zawertun@gmail.com
</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">------- You are receiving this mail because: -------<br>You are the assignee for the bug, or are watching the assignee.
<br><br><a href="http://bugs.kde.org/show_bug.cgi?id=142819">http://bugs.kde.org/show_bug.cgi?id=142819</a><br><br><br><br><br>------- Additional Comments From zawertun gmail com&nbsp;&nbsp;2007-03-11 20:40 -------<br>crashes with every .jpg or .png images ( checked ~10 of both types )
<br>_______________________________________________<br>Digikam-devel mailing list<br><a href="mailto:Digikam-devel@kde.org">Digikam-devel@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/digikam-devel">https://mail.kde.org/mailman/listinfo/digikam-devel
</a><br></blockquote></div><br>
Comment 10 caulier.gilles 2007-03-12 08:08:55 UTC
zawertun,

I have tested digikam and showfoto with your image g00023.jpg sent by private mail. No crash releavant of Exiv2 on my computer. Note : your image do not include Exif metadata.

I'm using Exiv2 0.13 and libkexiv2 0.1.1. Look my screenshot here :

http://digikam3rdparty.free.fr/Screenshots/digikam0.9.2+showfoto0.6.0.png

I'm sure to have already seen a similar crash on my computer (and from others digiKam users) like you has. In all case, a both Exiv2 installation have be done at the same time.

I recommend you to check again your computer, clean up all Exiv2 source code, recompile again the library, recompile digiKam & co, and try again.

Gilles
Comment 11 Yaroslav Sidlovsky 2007-03-12 20:38:59 UTC
I'll try this, thanks for assistance.
Comment 12 caulier.gilles 2007-04-20 14:41:19 UTC
zawertun, 

What's news about this crash. It still exist ?

Gilles Caulier
Comment 13 Yaroslav Sidlovsky 2007-05-10 16:03:18 UTC
now, after reinstalling all system -- everything is ok
Comment 14 caulier.gilles 2021-05-04 06:01:04 UTC
Not reproducible with digiKam 7.3.0 and Exiv2 0.27.4