Bug 132805 - crash when assinging keywords
Summary: crash when assinging keywords
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Engine (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-22 14:38 UTC by Heiner Lamprecht
Modified: 2017-08-10 19:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.9.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heiner Lamprecht 2006-08-22 14:38:11 UTC
Version:           0.9.0-svn / 2006-08-22 (using KDE KDE 3.5.4)
Installed from:    SuSE RPMs
Compiler:          gcc version 4.0.2 64bit
OS:                Linux

When assinging keywords to an image through the context menu, digikam crashes.  The keyword is assigned to all selected images before the crash, but additional IPTC fields are not updated.

Backtrace:

Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 47623888226080 (LWP 23996)]
[New Thread 1090525504 (LWP 24007)]
[KCrash handler]
#5  0x00002b50483a8805 in Exiv2::Exifdatum::tag (this=<value optimized out>)
    at exif.hpp:183
#6  0x00002b50483a29ef in Exiv2::addToMakerNote (makerNote=0xec4300, 
    md=@0xeb5e88, byteOrder=Exiv2::bigEndian) at exif.cpp:1234
#7  0x00002b50483a2bf0 in Exiv2::addToMakerNote (makerNote=0xec4300, 
    begin=<value optimized out>, end={_M_current = 0xeb60c8}, 
    byteOrder=Exiv2::bigEndian) at exif.cpp:1222
#8  0x00002b50483a2fab in Exiv2::ExifData::copyFromMetadata (this=0xeb83e8)
    at exif.cpp:644
#9  0x00002b50483a36fa in Exiv2::ExifData::copy (this=0xeb83e8) at exif.cpp:623
#10 0x00002b50483ba058 in Exiv2::JpegBase::doWriteMetadata (this=0xeb83d0, 
    outIo=@0xebc900) at jpgimage.cpp:482
#11 0x00002b50483ba97f in Exiv2::JpegBase::writeMetadata (this=0xeb83d0)
    at jpgimage.cpp:360
#12 0x00002b50478e0bd4 in Digikam::DMetaLoader::saveWithExiv2 (
    this=0x7fff6366f540, filePath=@0xeaf3f0)
    at /work/heiner/Develop/digikam/unstable/graphics/digikam/libs/dmetadata/loaders/dmetaloader.cpp:148
#13 0x00002b50478dbfc1 in Digikam::JPEGMetaLoader::save (this=0x7fff6366f540, 
    filePath=@0xeaf3f0)
    at /work/heiner/Develop/digikam/unstable/graphics/digikam/libs/dmetadata/loaders/jpegmetaloader.cpp:40
#14 0x00002b50478b0943 in Digikam::DMetadata::save (this=0x7fff6366f5c0, 
    filePath=@0xeaf3f0, ff=Digikam::DImg::JPEG)
    at /work/heiner/Develop/digikam/unstable/graphics/digikam/libs/dmetadata/dmetadata.cpp:273
#15 0x00002b50478b0b2f in Digikam::DMetadata::applyChanges (
    this=0x7fff6366f5c0)
    at /work/heiner/Develop/digikam/unstable/graphics/digikam/libs/dmetadata/dmetadata.cpp:80
#16 0x00002b50477287ad in Digikam::AlbumIconView::slotAssignTag (
    this=0x694580, tagID=11)
    at /work/heiner/Develop/digikam/unstable/graphics/digikam/digikam/albumiconview.cpp:1701
#17 0x00002b504772ef6f in Digikam::AlbumIconView::qt_invoke (this=0x694580, 
    _id=94, _o=0x7fff6366f770)
    at /work/heiner/Develop/digikam/unstable/graphics/digikam/digikam/albumiconview.moc:270
#18 0x00002b504a5e5a8c in QObject::activate_signal ()
   from /usr/lib64/libqt-mt.so.3
#19 0x00002b504a5e66cf in QObject::activate_signal ()
   from /usr/lib64/libqt-mt.so.3
#20 0x00002b5047745916 in Digikam::TagsPopupMenu::signalTagActivated (
    this=0xe7f460, t0=11)
    at /work/heiner/Develop/digikam/unstable/graphics/digikam/digikam/tagspopupmenu.moc:94
#21 0x00002b5047745b48 in Digikam::TagsPopupMenu::slotActivated (
    this=0xe7f460, id=1011)
    at /work/heiner/Develop/digikam/unstable/graphics/digikam/digikam/tagspopupmenu.cpp:336
#22 0x00002b504774674c in Digikam::TagsPopupMenu::qt_invoke (this=0xe7f460, 
    _id=58, _o=0x7fff6366f950)
    at /work/heiner/Develop/digikam/unstable/graphics/digikam/digikam/tagspopupmenu.moc:101
#23 0x00002b504a5e5a8c in QObject::activate_signal ()
   from /usr/lib64/libqt-mt.so.3
#24 0x00002b504a5e66cf in QObject::activate_signal ()
   from /usr/lib64/libqt-mt.so.3
#25 0x00002b504a6d3faf in QPopupMenu::actSig () from /usr/lib64/libqt-mt.so.3
#26 0x00002b504a6d44fa in QPopupMenu::mouseReleaseEvent ()
   from /usr/lib64/libqt-mt.so.3
#27 0x00002b504a618967 in QWidget::event () from /usr/lib64/libqt-mt.so.3
#28 0x00002b504a58ea95 in QApplication::internalNotify ()
   from /usr/lib64/libqt-mt.so.3
#29 0x00002b504a58f8bb in QApplication::notify () from /usr/lib64/libqt-mt.so.3
#30 0x00002b50499da0a8 in KApplication::notify ()
   from /opt/kde3/lib64/libkdecore.so.4
#31 0x00002b504a5379ad in QETWidget::translateMouseEvent ()
   from /usr/lib64/libqt-mt.so.3
#32 0x00002b504a5362d3 in QApplication::x11ProcessEvent ()
   from /usr/lib64/libqt-mt.so.3
#33 0x00002b504a54525f in QEventLoop::processEvents ()
   from /usr/lib64/libqt-mt.so.3
#34 0x00002b504a5a37a1 in QEventLoop::enterLoop ()
   from /usr/lib64/libqt-mt.so.3
#35 0x00002b504a6d6ffb in QPopupMenu::exec () from /usr/lib64/libqt-mt.so.3
#36 0x00002b504772e261 in Digikam::AlbumIconView::slotRightButtonClicked (
    this=0x694580, item=0x84f460, pos=@0x7fff63671488)
    at /work/heiner/Develop/digikam/unstable/graphics/digikam/digikam/albumiconview.cpp:634
#37 0x00002b504772eea9 in Digikam::AlbumIconView::qt_invoke (this=0x694580, 
    _id=87, _o=0x7fff63671010)
    at /work/heiner/Develop/digikam/unstable/graphics/digikam/digikam/albumiconview.moc:263
#38 0x00002b504a5e5a8c in QObject::activate_signal ()
   from /usr/lib64/libqt-mt.so.3
#39 0x00002b5047708dfa in Digikam::IconView::signalRightButtonClicked (
    this=0x694580, t0=0x84f460, t1=@0x7fff63671488)
    at /work/heiner/Develop/digikam/unstable/graphics/digikam/digikam/iconview.moc:131
#40 0x00002b504770e14c in Digikam::IconView::contentsMousePressEvent (
    this=0x694580, e=0x7fff63671470)
    at /work/heiner/Develop/digikam/unstable/graphics/digikam/digikam/iconview.cpp:903
#41 0x00002b504a6e38e3 in QScrollView::viewportMousePressEvent ()
   from /usr/lib64/libqt-mt.so.3
#42 0x00002b504a6e1809 in QScrollView::eventFilter ()
   from /usr/lib64/libqt-mt.so.3
#43 0x00002b504a5e5492 in QObject::activate_filters ()
   from /usr/lib64/libqt-mt.so.3
#44 0x00002b504a5e54e7 in QObject::event () from /usr/lib64/libqt-mt.so.3
#45 0x00002b504a6185c8 in QWidget::event () from /usr/lib64/libqt-mt.so.3
#46 0x00002b504a58ea95 in QApplication::internalNotify ()
   from /usr/lib64/libqt-mt.so.3
#47 0x00002b504a58f8bb in QApplication::notify () from /usr/lib64/libqt-mt.so.3
#48 0x00002b50499da0a8 in KApplication::notify ()
   from /opt/kde3/lib64/libkdecore.so.4
#49 0x00002b504a5370f4 in QETWidget::translateMouseEvent ()
   from /usr/lib64/libqt-mt.so.3
#50 0x00002b504a5362d3 in QApplication::x11ProcessEvent ()
   from /usr/lib64/libqt-mt.so.3
#51 0x00002b504a54525f in QEventLoop::processEvents ()
   from /usr/lib64/libqt-mt.so.3
#52 0x00002b504a5a37a1 in QEventLoop::enterLoop ()
   from /usr/lib64/libqt-mt.so.3
#53 0x00002b504a5a364a in QEventLoop::exec () from /usr/lib64/libqt-mt.so.3
#54 0x00000000004030ce in main (argc=1, argv=0x7fff63672318)
    at /work/heiner/Develop/digikam/unstable/graphics/digikam/digikam/main.cpp:273
Comment 1 caulier.gilles 2006-08-22 14:41:20 UTC
Heiner,

The crash is relevant of Exiv2 library. 

Witch Exiv2 release you use ?

Gilles Caulier
Comment 2 caulier.gilles 2006-08-22 14:43:25 UTC
Andreas, 

Look like the report is about a 64 bits computer running digiKam.

Gilles
Comment 3 Heiner Lamprecht 2006-08-22 14:48:06 UTC
I use todays SVN checkout.
Comment 4 Andreas Huggel 2006-08-22 15:25:27 UTC
Heiner,

Can you re-compile Exiv2 with debug info (-ggdb) and without optimization and send the backtrace again if it still happens?

Thanks,
Andreas
Comment 5 caulier.gilles 2006-09-05 22:54:09 UTC
Paco, can you reproduce this crash under you 64 bits computer ?

Gilles
Comment 6 Andreas Huggel 2006-11-18 01:28:27 UTC
Heiner,

We suspect this is a duplicate of bug #136855 and need your feedback to confirm if the problem is solved.

If you can still recreate this please try again with the latest Exiv2/digiKam/kipi-plugins from SVN. You need to compile and install Exiv2 first and cleanup digiKam/kipi-plugins before recompiling and installing it. 

Please report if the problem still occurs. Thanks!

-ahu.
Comment 7 Heiner Lamprecht 2006-11-18 17:41:06 UTC
Andreas,

works fine now.

Thanks,

    Heiner