[Bug 166424] New: Crash when editing Caption with Digikam4 SVN

classic Classic list List threaded Threaded
48 messages Options
123
Reply | Threaded
Open this post in threaded view
|

[Bug 166424] Crash when editing Caption with Digikam4 SVN

Gilles Caulier-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166424         




------- Additional Comments From caulier.gilles gmail com  2008-07-29 11:02 -------
Geoff,

With Exiv2 0.18 (current svn implementation) i have already registered Microsoft XMP namespace which crash Exiv2 from a non re-entrant call from kexiv2 private internal call to XMP sdk registration method. This will solve your problem.

Andreas,

This solution is just a specific fix. the real problem of non re-entrancy of XMP SDK toolkit is not solved. If somebody use Exiv2 with multi-threading and call the namespace registration method, there is a risk to have a crash...

Best

Gilles Caulier
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 166424] Crash when editing Caption with Digikam4 SVN

Bugzilla from ahuggel@gmx.net
In reply to this post by Geoff King-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166424         




------- Additional Comments From ahuggel gmx net  2008-07-29 11:42 -------
Gilles,

Agreed. I reopened bug #439 - http://dev.robotbattle.com/bugs/view.php?id=439 - because of that.

-ahu.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 166424] Crash when editing Caption with Digikam4 SVN

Geoff King-4
In reply to this post by Geoff King-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166424         




------- Additional Comments From gsking1 gmail com  2008-07-29 14:20 -------
I'll be on vacation for the rest of the week, and will be able to try 0.18 SVN next week. Thanks, Geoff
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 166424] Crash when editing Caption with Digikam4 SVN

Gilles Caulier-4
In reply to this post by Geoff King-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166424         




------- Additional Comments From caulier.gilles gmail com  2008-07-30 09:06 -------
Andreas,

Non-reentrancy crash still reproductible here using Exiv2 from trunk. This is very easy to reproduce:

1/ open digiKam editor with items including XMP metadata.
2/ open metadata right sidebar.
3/ change speedly the focus on current image.

This problem is very critical for me...

Best

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 166424] Crash when editing Caption with Digikam4 SVN

Gilles Caulier-4
In reply to this post by Geoff King-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166424         




------- Additional Comments From caulier.gilles gmail com  2008-07-30 09:08 -------
Andreas,

Just a remark: On comment #16, Geoff said that problem cannot be reproduce with Exiv2 0.17.1. I'm just surprized... XMP sdk toolkit is the same code between 0.17.1 and 0.18. The crash must be reproducible i think. right ?

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 166424] Crash when editing Caption with Digikam4 SVN

Bugzilla from ahuggel@gmx.net
In reply to this post by Geoff King-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166424         




------- Additional Comments From ahuggel gmx net  2008-07-30 11:20 -------
Re Comment #20: Do you get exactly the same backtrace? I'm thinking that shouldn't be the case. With the solution suggested by Marcel in Comment #7, the call to Exiv2::XmpProperties::registerNs (#14 in the original backtrace) would be from digiKam's initialization code _only_ (Exiv2 doesn't call this function internally). If it's a different backtrace, please post it.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 166424] Crash when editing Caption with Digikam4 SVN

Bugzilla from ahuggel@gmx.net
In reply to this post by Geoff King-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166424         




------- Additional Comments From ahuggel gmx net  2008-07-30 11:27 -------
Re Comment #21: Yes, the XMP implementation (XMP-SDK and Exiv2 XMP code on top of it) is practically identical (except for the namespaces that you just added)
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 166424] Crash when editing Caption with Digikam4 SVN

Gilles Caulier-4
In reply to this post by Geoff King-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166424         




------- Additional Comments From caulier.gilles gmail com  2008-07-30 12:06 -------
Andreas,

Yes it sound like the same:

gdb /opt/kde4/bin/digikam --interpreter=mi2 -quiet
Using host libthread_db library "/lib/i686/libthread_db.so.1".
Exited normally(gdb) quitgdb /opt/kde4/bin/digikam --interpreter=mi2 -quiet
Using host libthread_db library "/lib/i686/libthread_db.so.1".
Quit
(gdb) quitquit
The program is running.  Exit anyway? (y or n) [answered Y; input not from terminal]
(gdb) Process exited
gdb /opt/kde4/bin/digikam --interpreter=mi2 -quiet
Using host libthread_db library "/lib/i686/libthread_db.so.1".
(gdb) bt
bt
#0  0xb51abfe7 in std::_Rb_tree<std::string, std::pair<std::string const, Exiv2::XmpNsInfo>, std::_Select1st<std::pair<std::string const, Exiv2::XmpNsInfo> >, std::less<std::string>, std::allocator<std::pair<std::string const, Exiv2::XmpNsInfo> > >::_M_insert_unique () from /usr/lib/libexiv2.so.4
#1  0xb51a9275 in Exiv2::XmpProperties::registerNs () from /usr/lib/libexiv2.so.4
#2  0xb5cf774d in KExiv2Priv (this=0xb1bb7a20) at /home/gilles/Documents/data/devel/SVN/trunk/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2private.cpp:43
#3  0xb5cf378b in KExiv2 (this=0xbfee602c) at /home/gilles/Documents/data/devel/SVN/trunk/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2.cpp:39
#4  0xb6b3adc5 in DMetadata (this=0xbfee602c) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/dmetadata/dmetadata.cpp:55
#5  0xb6c28178 in Digikam::ExifWidget::loadFromURL (this=0xb198cc58, url= 0xbfee60f8) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/widgets/metadata/exifwidget.cpp:113
#6  0xb6c55a55 in Digikam::ImagePropertiesMetaDataTab::setCurrentURL (this=0xb198afd0, url= 0xbfee60f8) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/imageproperties/imagepropertiesmetadatatab.cpp:149
#7  0xb6c4a1dc in Digikam::ImagePropertiesSideBar::slotNoCurrentItem (this=0xb1956438) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/imageproperties/imagepropertiessidebar.cpp:112
#8  0x080b5fa0 in Digikam::ImagePropertiesSideBarDB::slotNoCurrentItem (this=0xb1956438) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/imageproperties/imagepropertiessidebardb.cpp:180
#9  0x080b6c10 in Digikam::ImagePropertiesSideBarDB::qt_metacall (this=0xb1956438, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbfee61f0) at /mnt/data/devel/SVN/trunk/graphics/digikam/digikam/imagepropertiessidebardb.moc:109
#10 0xb7f56447 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4

To reproduce open digiKam with Histogram visible on right sidebar. open image in editor and cange current image using thumbbar. From album gui, the icon view focus will follow image editor focus and load reduce version of image to compute histogram from a separate thread and ping Exiv2. At the same time, editor will load full image to another separate thread and ping also Eviv2. You need to stress indeep the interface to see the crash. To process, i use these pictures from Vista which have XMP metadata :

http://digikam3rdparty.free.fr/TEST_IMAGES/METADATA/Vista/

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 166424] Crash when editing Caption with Digikam4 SVN

Gilles Caulier-4
In reply to this post by Geoff King-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166424         




------- Additional Comments From caulier.gilles gmail com  2008-07-30 12:12 -------
Andreas,

>With the solution suggested by Marcel in Comment #7, the call to >Exiv2::XmpProperties::registerNs (#14 in the original backtrace) would be from >digiKam's initialization code _only_ (Exiv2 doesn't call this function >internally). If it's a different backtrace, please post it.

Oups, sorry but i have forget to update and recompile libkexiv2 on my current computer (i have more than one). In current libkexiv2 code, i have removed M$ namespace registration because it exist now in Exiv2 core.

I will try again

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 166424] Crash when editing Caption with Digikam4 SVN

Gilles Caulier-4
In reply to this post by Geoff King-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166424         




------- Additional Comments From caulier.gilles gmail com  2008-07-30 12:22 -------
Andreas,

Ah, now, the crash is at a different place :

gdb /opt/kde4/bin/digikam --interpreter=mi2 -quiet
Using host libthread_db library "/lib/i686/libthread_db.so.1".
Exited normally(gdb) quitgdb /opt/kde4/bin/digikam --interpreter=mi2 -quiet
Using host libthread_db library "/lib/i686/libthread_db.so.1".
Quit
(gdb) quitquit
The program is running.  Exit anyway? (y or n) [answered Y; input not from terminal]
(gdb) Process exited
gdb /opt/kde4/bin/digikam --interpreter=mi2 -quiet
Using host libthread_db library "/lib/i686/libthread_db.so.1".
(gdb) bt
bt
#0  0xb51abfe7 in std::_Rb_tree<std::string, std::pair<std::string const, Exiv2::XmpNsInfo>, std::_Select1st<std::pair<std::string const, Exiv2::XmpNsInfo> >, std::less<std::string>, std::allocator<std::pair<std::string const, Exiv2::XmpNsInfo> > >::_M_insert_unique () from /usr/lib/libexiv2.so.4
#1  0xb51a9275 in Exiv2::XmpProperties::registerNs () from /usr/lib/libexiv2.so.4
#2  0xb5cf774d in KExiv2Priv (this=0xb1bb7a20) at /home/gilles/Documents/data/devel/SVN/trunk/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2private.cpp:43
#3  0xb5cf378b in KExiv2 (this=0xbfee602c) at /home/gilles/Documents/data/devel/SVN/trunk/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2.cpp:39
#4  0xb6b3adc5 in DMetadata (this=0xbfee602c) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/dmetadata/dmetadata.cpp:55
#5  0xb6c28178 in Digikam::ExifWidget::loadFromURL (this=0xb198cc58, url= 0xbfee60f8) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/widgets/metadata/exifwidget.cpp:113
#6  0xb6c55a55 in Digikam::ImagePropertiesMetaDataTab::setCurrentURL (this=0xb198afd0, url= 0xbfee60f8) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/imageproperties/imagepropertiesmetadatatab.cpp:149
#7  0xb6c4a1dc in Digikam::ImagePropertiesSideBar::slotNoCurrentItem (this=0xb1956438) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/imageproperties/imagepropertiessidebar.cpp:112
#8  0x080b5fa0 in Digikam::ImagePropertiesSideBarDB::slotNoCurrentItem (this=0xb1956438) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/imageproperties/imagepropertiessidebardb.cpp:180
#9  0x080b6c10 in Digikam::ImagePropertiesSideBarDB::qt_metacall (this=0xb1956438, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbfee61f0) at /mnt/data/devel/SVN/trunk/graphics/digikam/digikam/imagepropertiessidebardb.moc:109
#10 0xb7f56447 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#11 0xb7f56fb5 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#12 0xb6ca3e63 in Digikam::EditorWindow::signalNoCurrentItem (this=0xaad02588) at /mnt/data/devel/SVN/trunk/graphics/digikam/digikam/editorwindow.moc:221
#13 0xb6ca3fae in Digikam::EditorWindow::slotLoadingStarted (this=0xaad02588) at /mnt/data/devel/SVN/trunk/graphics/digikam/utilities/imageeditor/editor/editorwindow.cpp:1244
#14 0xb6ca4779 in Digikam::EditorWindow::qt_metacall (this=0xaad02588, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0xbfee6bbc) at /mnt/data/devel/SVN/trunk/graphics/digikam/digikam/editorwindow.moc:169
#15 0x080a6a2a in Digikam::ImageWindow::qt_metacall (this=0xaad02588, _c=QMetaObject::InvokeMetaMethod, _id=60, _a=0xbfee6bbc) at /mnt/data/devel/SVN/trunk/graphics/digikam/digikam/imagewindow.moc:102
#16 0xb7f56447 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#17 0xb7f56fb5 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#18 0xb6c88e1c in Digikam::Canvas::signalLoadingStarted (this=0xaad01e68, _t1= 0xbfee6c08) at /mnt/data/devel/SVN/trunk/graphics/digikam/digikam/canvas.moc:251
#19 0xb6c89a38 in Digikam::Canvas::load (this=0xaad01e68, filename= 0xbfee6c08, IOFileSettings=0xb19b1078) at /mnt/data/devel/SVN/trunk/graphics/digikam/utilities/imageeditor/canvas/canvas.cpp:252
#20 0x080a4ffa in Digikam::ImageWindow::slotLoadCurrent (this=0xaad02588) at /mnt/data/devel/SVN/trunk/graphics/digikam/utilities/imageeditor/editor/imagewindow.cpp:538
#21 0x080a6b74 in Digikam::ImageWindow::qt_metacall (this=0xaad02588, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbfee6cb0) at /mnt/data/devel/SVN/trunk/graphics/digikam/digikam/imagewindow.moc:117
#22 0xb7f56447 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#23 0xb7f56fb5 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#24 0xb7f5c1c5 in QAbstractItemModel::sort () from /usr/lib/qt4/lib/libQtCore.so.4
#25 0xb7f5c20c in QAbstractItemModel::sort () from /usr/lib/qt4/lib/libQtCore.so.4
#26 0xb7f532b5 in QObject::event () from /usr/lib/qt4/lib/libQtCore.so.4
#27 0xb6ede1c2 in QApplicationPrivate::notify_helper () from /usr/lib/qt4/lib/libQtGui.so.4
#28 0xb6ee4781 in QApplication::notify () from /usr/lib/qt4/lib/libQtGui.so.4
#29 0xb7a09281 in KApplication::notify () from /opt/kde4/lib/libkdeui.so.5
#30 0xb7f44378 in QCoreApplication::notifyInternal () from /usr/lib/qt4/lib/libQtCore.so.4
#31 0xb7f6768f in QAbstractItemModel::sort () from /usr/lib/qt4/lib/libQtCore.so.4
#32 0xb7f688b8 in QEventDispatcherUNIX::processEvents () from /usr/lib/qt4/lib/libQtCore.so.4
#33 0xb6f5a9a3 in QAbstractItemModel::sort () from /usr/lib/qt4/lib/libQtGui.so.4
#34 0xb7f437e3 in QEventLoop::processEvents () from /usr/lib/qt4/lib/libQtCore.so.4
#35 0xb7f438ea in QEventLoop::exec () from /usr/lib/qt4/lib/libQtCore.so.4
#36 0xb7f45c46 in QCoreApplication::exec () from /usr/lib/qt4/lib/libQtCore.so.4
#37 0xb6edd884 in QApplication::exec () from /usr/lib/qt4/lib/libQtGui.so.4
#38 0x08289c7b in main (argc=1, argv=0xbfee7bc4) at /mnt/data/devel/SVN/trunk/graphics/digikam/digikam/main.cpp:303
^done(gdb) quitquit
The program is running.  Exit anyway? (y or n) [answered Y; input not from terminal]
(gdb) Process exited
gdb /opt/kde4/bin/digikam --interpreter=mi2 -quiet
Using host libthread_db library "/lib/i686/libthread_db.so.1".
Exited normally(gdb) quitgdb /opt/kde4/bin/digikam --interpreter=mi2 -quiet
Using host libthread_db library "/lib/i686/libthread_db.so.1".
(gdb) bt
bt
#0  0xb5151ecb in std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::find () from /usr/lib/libexiv2.so.4
#1  0xb516c20a in VerifyXPathRoot () from /usr/lib/libexiv2.so.4
#2  0xb516d227 in ExpandXPath () from /usr/lib/libexiv2.so.4
#3  0xb515dfe4 in GetNextXMPNode () from /usr/lib/libexiv2.so.4
#4  0xb515e17a in XMPIterator::Next () from /usr/lib/libexiv2.so.4
#5  0xb517acb3 in WXMPIterator_Next_1 () from /usr/lib/libexiv2.so.4
#6  0xb5146a4e in TXMPIterator<std::string>::Next () from /usr/lib/libexiv2.so.4
#7  0xb5140883 in Exiv2::XmpParser::decode () from /usr/lib/libexiv2.so.4
#8  0xb50e41d8 in Exiv2::JpegBase::readMetadata () from /usr/lib/libexiv2.so.4
#9  0xb5c83e5e in KExiv2Iface::KExiv2::load (this=0xbf8dd3f4, filePath= 0xbf8dd3fc) at /home/gilles/Documents/data/devel/SVN/trunk/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2.cpp:160
#10 0xb6acbbd0 in Digikam::DMetadata::load (this=0xbf8dd3f4, filePath= 0xbf8dd3fc) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/dmetadata/dmetadata.cpp:74
#11 0xb6acbd1a in DMetadata (this=0xbf8dd3f4, filePath= 0xbf8dd3fc) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/dmetadata/dmetadata.cpp:62
#12 0xb6be6b24 in Digikam::ImagePropertiesMetaDataTab::setCurrentURL (this=0x8bba040, url= 0x876e488) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/imageproperties/imagepropertiesmetadatatab.cpp:158
#13 0x080b56ea in Digikam::ImagePropertiesSideBarDB::slotChangedTab (this=0x876e458, tab=0x8bba040) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/imageproperties/imagepropertiessidebardb.cpp:261
#14 0x080b4e09 in Digikam::ImagePropertiesSideBarDB::itemChanged (this=0x876e458, infos= 0xbf8dd5a0, rect= 0xbf8dd590, img=0x0) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/imageproperties/imagepropertiessidebardb.cpp:175
#15 0x080b4ec5 in Digikam::ImagePropertiesSideBarDB::itemChanged (this=0x876e458, infos= 0xbf8dd5e8) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/imageproperties/imagepropertiessidebardb.cpp:156
#16 0x08263b15 in Digikam::DigikamView::slotDispatchImageSelected (this=0x84dca08) at /mnt/data/devel/SVN/trunk/graphics/digikam/digikam/digikamview.cpp:1099
#17 0x082648e8 in Digikam::DigikamView::qt_metacall (this=0x84dca08, _c=QMetaObject::InvokeMetaMethod, _id=76, _a=0xbf8dd6b0) at /mnt/data/devel/SVN/trunk/graphics/digikam/digikam/digikamview.moc:297
#18 0xb7ee7447 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#19 0xb7ee7fb5 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#20 0xb7f02b05 in QTimer::timeout () from /usr/lib/qt4/lib/libQtCore.so.4
#21 0xb7eed760 in QTimer::timerEvent () from /usr/lib/qt4/lib/libQtCore.so.4
#22 0xb7ee42b5 in QObject::event () from /usr/lib/qt4/lib/libQtCore.so.4
#23 0xb6e6f1c2 in QApplicationPrivate::notify_helper () from /usr/lib/qt4/lib/libQtGui.so.4
#24 0xb6e75781 in QApplication::notify () from /usr/lib/qt4/lib/libQtGui.so.4
#25 0xb799a281 in KApplication::notify () from /opt/kde4/lib/libkdeui.so.5
#26 0xb7ed5378 in QCoreApplication::notifyInternal () from /usr/lib/qt4/lib/libQtCore.so.4
#27 0xb7ef868f in QAbstractItemModel::sort () from /usr/lib/qt4/lib/libQtCore.so.4
#28 0xb7ef98b8 in QEventDispatcherUNIX::processEvents () from /usr/lib/qt4/lib/libQtCore.so.4
#29 0xb6eeb9a3 in QAbstractItemModel::sort () from /usr/lib/qt4/lib/libQtGui.so.4
#30 0xb7ed47e3 in QEventLoop::processEvents () from /usr/lib/qt4/lib/libQtCore.so.4
#31 0xb7ed48ea in QEventLoop::exec () from /usr/lib/qt4/lib/libQtCore.so.4
#32 0xb7ed6c46 in QCoreApplication::exec () from /usr/lib/qt4/lib/libQtCore.so.4
#33 0xb6e6e884 in QApplication::exec () from /usr/lib/qt4/lib/libQtGui.so.4
#34 0x08289c7b in main (argc=1, argv=0xbf8de5b4) at /mnt/data/devel/SVN/trunk/graphics/digikam/digikam/main.cpp:303
^done

The line in kexiv2.cpp code is this one :

http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2.cpp#160

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 166424] Crash when editing Caption with Digikam4 SVN

Bugzilla from ahuggel@gmx.net
In reply to this post by Geoff King-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166424         




------- Additional Comments From ahuggel gmx net  2008-07-30 12:36 -------
Can you reproduce the crash with the exiv2 tool, just $ exiv2 <image> ? (this calls the same Image::readMetadata() function)
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 166424] Crash when editing Caption with Digikam4 SVN

Gilles Caulier-4
In reply to this post by Geoff King-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166424         




------- Additional Comments From caulier.gilles gmail com  2008-07-30 12:58 -------
>Can you reproduce the crash with the exiv2 tool, just $ exiv2 <image> ? (this >calls the same Image::readMetadata() function)

No. All work fine here (tested with all JPEG files from Vista)

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 166424] Crash when editing Caption with Digikam4 SVN

Bugzilla from ahuggel@gmx.net
In reply to this post by Geoff King-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166424         




------- Additional Comments From ahuggel gmx net  2008-07-30 13:19 -------
Minor fix: The two new XMP namespaces need to be registered with XMP-SDK, since it doesn't know them yet. (All other namespaces previously in Exiv2 are "built-into" XMP-SDK)

See http://dev.robotbattle.com/cmtinfo_svn.php?r=10&v=1549

Actually the last bt looks really weird. Can you please just recompile everything...

Andreas
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 166424] Crash when editing Caption with Digikam4 SVN

Gilles Caulier-4
In reply to this post by Geoff King-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166424         




------- Additional Comments From caulier.gilles gmail com  2008-07-30 13:29 -------
Andreas,

about this one http://dev.robotbattle.com/cgi-bin/viewvc.cgi/exiv2/trunk/src/properties.cpp?r1=1548&r2=1549

Take a care, M$ namesapce url do not take "/" at end. All photo with M$ XMP data are like this. I don't know if this is very important.

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 166424] Crash when editing Caption with Digikam4 SVN

Gilles Caulier-4
In reply to this post by Geoff King-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166424         




------- Additional Comments From caulier.gilles gmail com  2008-07-30 13:46 -------
Andreas,

All recompiled from scratch. Crash still here :

gdb /opt/kde4/bin/digikam --interpreter=mi2 -quiet
Using host libthread_db library "/lib/i686/libthread_db.so.1".
Exited normally(gdb) quitgdb /opt/kde4/bin/digikam --interpreter=mi2 -quiet
Using host libthread_db library "/lib/i686/libthread_db.so.1".
Quit
(gdb) quitquit
The program is running.  Exit anyway? (y or n) [answered Y; input not from terminal]
(gdb) Process exited
gdb /opt/kde4/bin/digikam --interpreter=mi2 -quiet
Using host libthread_db library "/lib/i686/libthread_db.so.1".
(gdb) bt
bt
#0  0xb51abfe7 in std::_Rb_tree<std::string, std::pair<std::string const, Exiv2::XmpNsInfo>, std::_Select1st<std::pair<std::string const, Exiv2::XmpNsInfo> >, std::less<std::string>, std::allocator<std::pair<std::string const, Exiv2::XmpNsInfo> > >::_M_insert_unique () from /usr/lib/libexiv2.so.4
#1  0xb51a9275 in Exiv2::XmpProperties::registerNs () from /usr/lib/libexiv2.so.4
#2  0xb5cf774d in KExiv2Priv (this=0xb1bb7a20) at /home/gilles/Documents/data/devel/SVN/trunk/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2private.cpp:43
#3  0xb5cf378b in KExiv2 (this=0xbfee602c) at /home/gilles/Documents/data/devel/SVN/trunk/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2.cpp:39
#4  0xb6b3adc5 in DMetadata (this=0xbfee602c) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/dmetadata/dmetadata.cpp:55
#5  0xb6c28178 in Digikam::ExifWidget::loadFromURL (this=0xb198cc58, url= 0xbfee60f8) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/widgets/metadata/exifwidget.cpp:113
#6  0xb6c55a55 in Digikam::ImagePropertiesMetaDataTab::setCurrentURL (this=0xb198afd0, url= 0xbfee60f8) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/imageproperties/imagepropertiesmetadatatab.cpp:149
#7  0xb6c4a1dc in Digikam::ImagePropertiesSideBar::slotNoCurrentItem (this=0xb1956438) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/imageproperties/imagepropertiessidebar.cpp:112
#8  0x080b5fa0 in Digikam::ImagePropertiesSideBarDB::slotNoCurrentItem (this=0xb1956438) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/imageproperties/imagepropertiessidebardb.cpp:180
#9  0x080b6c10 in Digikam::ImagePropertiesSideBarDB::qt_metacall (this=0xb1956438, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbfee61f0) at /mnt/data/devel/SVN/trunk/graphics/digikam/digikam/imagepropertiessidebardb.moc:109
#10 0xb7f56447 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#11 0xb7f56fb5 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#12 0xb6ca3e63 in Digikam::EditorWindow::signalNoCurrentItem (this=0xaad02588) at /mnt/data/devel/SVN/trunk/graphics/digikam/digikam/editorwindow.moc:221
#13 0xb6ca3fae in Digikam::EditorWindow::slotLoadingStarted (this=0xaad02588) at /mnt/data/devel/SVN/trunk/graphics/digikam/utilities/imageeditor/editor/editorwindow.cpp:1244
#14 0xb6ca4779 in Digikam::EditorWindow::qt_metacall (this=0xaad02588, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0xbfee6bbc) at /mnt/data/devel/SVN/trunk/graphics/digikam/digikam/editorwindow.moc:169
#15 0x080a6a2a in Digikam::ImageWindow::qt_metacall (this=0xaad02588, _c=QMetaObject::InvokeMetaMethod, _id=60, _a=0xbfee6bbc) at /mnt/data/devel/SVN/trunk/graphics/digikam/digikam/imagewindow.moc:102
#16 0xb7f56447 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#17 0xb7f56fb5 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#18 0xb6c88e1c in Digikam::Canvas::signalLoadingStarted (this=0xaad01e68, _t1= 0xbfee6c08) at /mnt/data/devel/SVN/trunk/graphics/digikam/digikam/canvas.moc:251
#19 0xb6c89a38 in Digikam::Canvas::load (this=0xaad01e68, filename= 0xbfee6c08, IOFileSettings=0xb19b1078) at /mnt/data/devel/SVN/trunk/graphics/digikam/utilities/imageeditor/canvas/canvas.cpp:252
#20 0x080a4ffa in Digikam::ImageWindow::slotLoadCurrent (this=0xaad02588) at /mnt/data/devel/SVN/trunk/graphics/digikam/utilities/imageeditor/editor/imagewindow.cpp:538
#21 0x080a6b74 in Digikam::ImageWindow::qt_metacall (this=0xaad02588, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbfee6cb0) at /mnt/data/devel/SVN/trunk/graphics/digikam/digikam/imagewindow.moc:117
#22 0xb7f56447 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#23 0xb7f56fb5 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#24 0xb7f5c1c5 in QAbstractItemModel::sort () from /usr/lib/qt4/lib/libQtCore.so.4
#25 0xb7f5c20c in QAbstractItemModel::sort () from /usr/lib/qt4/lib/libQtCore.so.4
#26 0xb7f532b5 in QObject::event () from /usr/lib/qt4/lib/libQtCore.so.4
#27 0xb6ede1c2 in QApplicationPrivate::notify_helper () from /usr/lib/qt4/lib/libQtGui.so.4
#28 0xb6ee4781 in QApplication::notify () from /usr/lib/qt4/lib/libQtGui.so.4
#29 0xb7a09281 in KApplication::notify () from /opt/kde4/lib/libkdeui.so.5
#30 0xb7f44378 in QCoreApplication::notifyInternal () from /usr/lib/qt4/lib/libQtCore.so.4
#31 0xb7f6768f in QAbstractItemModel::sort () from /usr/lib/qt4/lib/libQtCore.so.4
#32 0xb7f688b8 in QEventDispatcherUNIX::processEvents () from /usr/lib/qt4/lib/libQtCore.so.4
#33 0xb6f5a9a3 in QAbstractItemModel::sort () from /usr/lib/qt4/lib/libQtGui.so.4
#34 0xb7f437e3 in QEventLoop::processEvents () from /usr/lib/qt4/lib/libQtCore.so.4
#35 0xb7f438ea in QEventLoop::exec () from /usr/lib/qt4/lib/libQtCore.so.4
#36 0xb7f45c46 in QCoreApplication::exec () from /usr/lib/qt4/lib/libQtCore.so.4
#37 0xb6edd884 in QApplication::exec () from /usr/lib/qt4/lib/libQtGui.so.4
#38 0x08289c7b in main (argc=1, argv=0xbfee7bc4) at /mnt/data/devel/SVN/trunk/graphics/digikam/digikam/main.cpp:303
^done(gdb) quitquit
The program is running.  Exit anyway? (y or n) [answered Y; input not from terminal]
(gdb) Process exited
gdb /opt/kde4/bin/digikam --interpreter=mi2 -quiet
Using host libthread_db library "/lib/i686/libthread_db.so.1".
Exited normally(gdb) quitgdb /opt/kde4/bin/digikam --interpreter=mi2 -quiet
Using host libthread_db library "/lib/i686/libthread_db.so.1".
(gdb) bt
bt
#0  0xb5151ecb in std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::find () from /usr/lib/libexiv2.so.4
#1  0xb516c20a in VerifyXPathRoot () from /usr/lib/libexiv2.so.4
#2  0xb516d227 in ExpandXPath () from /usr/lib/libexiv2.so.4
#3  0xb515dfe4 in GetNextXMPNode () from /usr/lib/libexiv2.so.4
#4  0xb515e17a in XMPIterator::Next () from /usr/lib/libexiv2.so.4
#5  0xb517acb3 in WXMPIterator_Next_1 () from /usr/lib/libexiv2.so.4
#6  0xb5146a4e in TXMPIterator<std::string>::Next () from /usr/lib/libexiv2.so.4
#7  0xb5140883 in Exiv2::XmpParser::decode () from /usr/lib/libexiv2.so.4
#8  0xb50e41d8 in Exiv2::JpegBase::readMetadata () from /usr/lib/libexiv2.so.4
#9  0xb5c83e5e in KExiv2Iface::KExiv2::load (this=0xbf8dd3f4, filePath= 0xbf8dd3fc) at /home/gilles/Documents/data/devel/SVN/trunk/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2.cpp:160
#10 0xb6acbbd0 in Digikam::DMetadata::load (this=0xbf8dd3f4, filePath= 0xbf8dd3fc) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/dmetadata/dmetadata.cpp:74
#11 0xb6acbd1a in DMetadata (this=0xbf8dd3f4, filePath= 0xbf8dd3fc) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/dmetadata/dmetadata.cpp:62
#12 0xb6be6b24 in Digikam::ImagePropertiesMetaDataTab::setCurrentURL (this=0x8bba040, url= 0x876e488) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/imageproperties/imagepropertiesmetadatatab.cpp:158
#13 0x080b56ea in Digikam::ImagePropertiesSideBarDB::slotChangedTab (this=0x876e458, tab=0x8bba040) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/imageproperties/imagepropertiessidebardb.cpp:261
#14 0x080b4e09 in Digikam::ImagePropertiesSideBarDB::itemChanged (this=0x876e458, infos= 0xbf8dd5a0, rect= 0xbf8dd590, img=0x0) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/imageproperties/imagepropertiessidebardb.cpp:175
#15 0x080b4ec5 in Digikam::ImagePropertiesSideBarDB::itemChanged (this=0x876e458, infos= 0xbf8dd5e8) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/imageproperties/imagepropertiessidebardb.cpp:156
#16 0x08263b15 in Digikam::DigikamView::slotDispatchImageSelected (this=0x84dca08) at /mnt/data/devel/SVN/trunk/graphics/digikam/digikam/digikamview.cpp:1099
#17 0x082648e8 in Digikam::DigikamView::qt_metacall (this=0x84dca08, _c=QMetaObject::InvokeMetaMethod, _id=76, _a=0xbf8dd6b0) at /mnt/data/devel/SVN/trunk/graphics/digikam/digikam/digikamview.moc:297
#18 0xb7ee7447 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#19 0xb7ee7fb5 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#20 0xb7f02b05 in QTimer::timeout () from /usr/lib/qt4/lib/libQtCore.so.4
#21 0xb7eed760 in QTimer::timerEvent () from /usr/lib/qt4/lib/libQtCore.so.4
#22 0xb7ee42b5 in QObject::event () from /usr/lib/qt4/lib/libQtCore.so.4
#23 0xb6e6f1c2 in QApplicationPrivate::notify_helper () from /usr/lib/qt4/lib/libQtGui.so.4
#24 0xb6e75781 in QApplication::notify () from /usr/lib/qt4/lib/libQtGui.so.4
#25 0xb799a281 in KApplication::notify () from /opt/kde4/lib/libkdeui.so.5
#26 0xb7ed5378 in QCoreApplication::notifyInternal () from /usr/lib/qt4/lib/libQtCore.so.4
#27 0xb7ef868f in QAbstractItemModel::sort () from /usr/lib/qt4/lib/libQtCore.so.4
#28 0xb7ef98b8 in QEventDispatcherUNIX::processEvents () from /usr/lib/qt4/lib/libQtCore.so.4
#29 0xb6eeb9a3 in QAbstractItemModel::sort () from /usr/lib/qt4/lib/libQtGui.so.4
#30 0xb7ed47e3 in QEventLoop::processEvents () from /usr/lib/qt4/lib/libQtCore.so.4
#31 0xb7ed48ea in QEventLoop::exec () from /usr/lib/qt4/lib/libQtCore.so.4
#32 0xb7ed6c46 in QCoreApplication::exec () from /usr/lib/qt4/lib/libQtCore.so.4
#33 0xb6e6e884 in QApplication::exec () from /usr/lib/qt4/lib/libQtGui.so.4
#34 0x08289c7b in main (argc=1, argv=0xbf8de5b4) at /mnt/data/devel/SVN/trunk/graphics/digikam/digikam/main.cpp:303
^done(gdb) quitgdb /opt/kde4/bin/digikam --interpreter=mi2 -quiet
Using host libthread_db library "/lib/i686/libthread_db.so.1".
(gdb) bt
bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb53515d5 in raise () from /lib/i686/libc.so.6
#2  0xb5353021 in abort () from /lib/i686/libc.so.6
#3  0xb538935c in QAbstractItemModel::sort () from /lib/i686/libc.so.6
#4  0x0000002e in ?? ()
#5  0xb5390ff3 in QAbstractItemModel::sort () from /lib/i686/libc.so.6
#6  0x00000002 in ?? ()
#7  0xbff306db in ?? ()
#8  0xb544fdf8 in QAbstractItemModel::sort () from /lib/i686/libc.so.6
#9  0xa95fc80b in ?? ()
#10 0xb5391301 in QAbstractItemModel::sort () from /lib/i686/libc.so.6
#11 0xa95fc80b in ?? ()
#12 0xaa3b3d90 in ?? ()
#13 0xb2d0001c in ?? ()
#14 0xaa3bb9a8 in ?? ()
#15 0xb544fdf8 in QAbstractItemModel::sort () from /lib/i686/libc.so.6
#16 0xb5390941 in QAbstractItemModel::sort () from /lib/i686/libc.so.6
#17 0xb538f31b in QAbstractItemModel::sort () from /lib/i686/libc.so.6
#18 0xb5467ff4 in ?? () from /lib/i686/libc.so.6
#19 0x00000000 in ?? ()
^done(gdb) quitquit
The program is running.  Exit anyway? (y or n) [answered Y; input not from terminal]
(gdb) Process exited
gdb /opt/kde4/bin/digikam --interpreter=mi2 -quiet
Using host libthread_db library "/lib/i686/libthread_db.so.1".
(gdb) bt
bt
#0  0xb51a0f0b in std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::find () from /usr/lib/libexiv2.so.4
#1  0xb519d45c in XMPMeta::RegisterNamespace () from /usr/lib/libexiv2.so.4
#2  0xb51bd6ec in StartNamespaceDeclHandler () from /usr/lib/libexiv2.so.4
#3  0xb4c5bfa9 in QAbstractItemModel::sort () from /usr/lib/libexpat.so.1
#4  0xb4c5f2f6 in QAbstractItemModel::sort () from /usr/lib/libexpat.so.1
#5  0xb4c5fef7 in QAbstractItemModel::sort () from /usr/lib/libexpat.so.1
#6  0xb4c60e6e in QAbstractItemModel::sort () from /usr/lib/libexpat.so.1
#7  0xb4c61a95 in QAbstractItemModel::sort () from /usr/lib/libexpat.so.1
#8  0xb4c62f60 in QAbstractItemModel::sort () from /usr/lib/libexpat.so.1
#9  0xb4c5a4c0 in XML_ParseBuffer () from /usr/lib/libexpat.so.1
#10 0xb4c634db in XML_Parse () from /usr/lib/libexpat.so.1
#11 0xb51bd769 in ExpatAdapter::ParseBuffer () from /usr/lib/libexiv2.so.4
#12 0xb51a60fa in ProcessUTF8Portion () from /usr/lib/libexiv2.so.4
#13 0xb51a7986 in XMPMeta::ParseFromBuffer () from /usr/lib/libexiv2.so.4
#14 0xb51c559a in WXMPMeta_ParseFromBuffer_1 () from /usr/lib/libexiv2.so.4
#15 0xb5196243 in TXMPMeta<std::string>::ParseFromBuffer () from /usr/lib/libexiv2.so.4
#16 0xb51962de in TXMPMeta<std::string>::TXMPMeta () from /usr/lib/libexiv2.so.4
#17 0xb518f816 in Exiv2::XmpParser::decode () from /usr/lib/libexiv2.so.4
#18 0xb51331d8 in Exiv2::JpegBase::readMetadata () from /usr/lib/libexiv2.so.4
#19 0xb5cd2e5e in KExiv2Iface::KExiv2::load (this=0xa98fc95c, filePath= 0xa2adea4) at /home/gilles/Documents/data/devel/SVN/trunk/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2.cpp:160
#20 0xb6b1abd0 in Digikam::DMetadata::load (this=0xa98fc95c, filePath= 0xa2adea4) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/dmetadata/dmetadata.cpp:74
#21 0xb6af1ef5 in Digikam::DImgLoader::readMetadata (this=0xa98fcf5c, filePath= 0xa2adea4) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/dimg/loaders/dimgloader.cpp:150
#22 0xb6af6bed in Digikam::JPEGLoader::load (this=0xa98fcf5c, filePath= 0xa2adea4, observer=0xa2adea0) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/dimg/loaders/jpegloader.cpp:104
#23 0xb6ae0967 in Digikam::DImg::load (this=0xa98fd2b4, filePath= 0xa2adea4, loadFlagsInt=31, observer=0xa2adea0, rawDecodingSettings= 0xa98fd050) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/dimg/dimg.cpp:345
#24 0xb6ae16af in Digikam::DImg::load (this=0xa98fd2b4, filePath= 0xa2adea4, observer=0xa2adea0, rawDecodingSettings= 0xa98fd0d0) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/dimg/dimg.cpp:320
#25 0xb6ae1f4c in DImg (this=0xa98fd2b4, filePath= 0xa2adea4, observer=0xa2adea0, rawDecodingSettings= 0xa98fd2b8) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/dimg/dimg.cpp:89
#26 0xb6b9aefa in Digikam::SharedLoadingTask::execute (this=0xa2ade98) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/threadimageio/loadsavetask.cpp:170
#27 0xb6b8eeca in Digikam::LoadSaveThread::run (this=0xa2c07b8) at /mnt/data/devel/SVN/trunk/graphics/digikam/libs/threadimageio/loadsavethread.cpp:127
#28 0xb7e7aae9 in QAbstractItemModel::sort () from /usr/lib/qt4/lib/libQtCore.so.4
#29 0xb7e0d4e2 in start_thread () from /lib/i686/libpthread.so.0
#30 0xb54cc47e in clone () from /lib/i686/libc.so.6
^done

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 166424] Crash when editing Caption with Digikam4 SVN

Bugzilla from kde-2@dotancohen.com
In reply to this post by Geoff King-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166424         
kde-2 dotancohen com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|kde-2 dotancohen com        |
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 166424] Crash when editing Caption with Digikam4 SVN

Bugzilla from ahuggel@gmx.net
In reply to this post by Geoff King-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166424         




------- Additional Comments From ahuggel gmx net  2008-07-30 14:14 -------
Gilles,

How do I read this? 4 different crashes?

1) In a std:: function called from Exiv2::XmpProperties::registerNs () - why is there still a call to this function?
2) In an std:: function called from VerifyXPathRoot () - which is an XMP-SDK call, I believe - this is the weird one
3) Somewhere deep within QAbstractItemModel::sort () - definitely not my problem
4) In an std:: function called from XMPMeta::RegisterNamespace () [XMP-SDK], from:QAbstractItemModel::sort
#2  0xb51bd6ec in StartNamespaceDeclHandler () from /usr/lib/libexiv2.so.4
#3  0xb4c5bfa9 in QAbstractItemModel::sort () from /usr/lib/libexpat.so.1

But there is no StartNamespaceDeclHandler in libexiv2 and I'm pretty sure there
is also no  QAbstractItemModel::sort in libexpat

What's going on?

Do you call XmpParser::initialize() in digiKam's initialization section now to make sure it is only called exactly once, or is it still called from some class, maybe many times?
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 166424] Crash when editing Caption with Digikam4 SVN

Bugzilla from ahuggel@gmx.net
In reply to this post by Geoff King-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166424         




------- Additional Comments From ahuggel gmx net  2008-07-30 14:32 -------
Re Comment #30: Thanks for highlighting this. I'm also not sure how important it is. The XMP-SDK doc says "The namespace URI should always end in an XML name separator such as '/' or '#'. This is because some forms of RDF shorthand catenate a namespace URI with an element name to form a new URI."

Any idea if it matters for M$ applications?
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 166424] Crash when editing Caption with Digikam4 SVN

Gilles Caulier-4
In reply to this post by Geoff King-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166424         




------- Additional Comments From caulier.gilles gmail com  2008-07-30 14:37 -------
Andreas,

From comments #32:

It's sound like the backtrace is corrupted a little. I can use valgrind instead gdb but i'm pretty sure than the non-reentrency problem will diseapear because valgrind slowdown application.

From comments #33 : no idea.

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 166424] Crash when editing Caption with Digikam4 SVN

Bugzilla from ahuggel@gmx.net
In reply to this post by Geoff King-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166424         




------- Additional Comments From ahuggel gmx net  2008-07-30 15:44 -------
Gilles,

the important questions about this bt are
- why is there still a call to Exiv2::XmpProperties::registerNs()? I thought it's no longer needed as Exiv2 now knows the ns.
- Does digiKam call XmpParser::initialize() from its initialization section now? Assuming we really have a re-entrancy issue with this function, it must be called where it is guaranteed that only one thread calls it.

Andreas
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
123