<div dir="ltr">Hello,<div><br></div><div>here is the information about exiv2</div><div><br></div><div><div>Name        : exiv2</div><div>Version     : 0.26</div><div>Release     : 8.fc28</div><div>Architecture: x86_64</div><div>Install Date: Wed 25 Apr 2018 07:36:55 BST</div><div>Group       : Unspecified</div><div>Size        : 4014679</div><div>License     : GPLv2+</div><div>Signature   : RSA/SHA256, Wed 07 Feb 2018 19:51:01 GMT, Key ID e08e7e629db62fb1</div><div>Source RPM  : exiv2-0.26-8.fc28.src.rpm</div><div>Build Date  : Wed 07 Feb 2018 09:10:41 GMT</div><div>Build Host  : <a href="http://buildvm-28.phx2.fedoraproject.org">buildvm-28.phx2.fedoraproject.org</a></div><div>Relocations : (not relocatable)</div><div>Packager    : Fedora Project</div><div>Vendor      : Fedora Project</div><div>URL         : <a href="http://www.exiv2.org/">http://www.exiv2.org/</a></div><div>Summary     : Exif and Iptc metadata manipulation library</div><div>Description :</div><div>A command line utility to access image metadata, allowing one to:</div><div>* print the Exif metadata of Jpeg images as summary info, interpreted values,</div><div>  or the plain data for each tag</div><div>* print the Iptc metadata of Jpeg images</div><div>* print the Jpeg comment of Jpeg images</div><div>* set, add and delete Exif and Iptc metadata of Jpeg images</div><div>* adjust the Exif timestamp (that's how it all started...)</div><div>* rename Exif image files according to the Exif timestamp</div><div>* extract, insert and delete Exif metadata (including thumbnails),</div><div>  Iptc metadata and Jpeg comments</div></div><div><br></div><div>I reduced my photo collection to one photo and the program still crashes. (tried with a few photos all that were imported in the past). I can obtain the metadata with exif2 without a problem, so it does not seem to be caused by a particular photo. </div><div><br></div><div>I also tried when there is a video (but I have no support for generation of thumbnails from videos) and it still crashes. </div><div><br></div><div><div><font face="monospace, monospace">(gdb) bt 20</font></div><div><font face="monospace, monospace">#0  0x0000000000563582 in ImageManager::ThumbnailBuilder::scheduleThumbnailBuild(DB::FileNameList const&, ImageManager::ThumbnailBuildStart) ()</font></div><div><font face="monospace, monospace">#1  0x000000000057cce5 in DB::NewImageFinder::findImages() ()</font></div><div><font face="monospace, monospace">#2  0x000000000057a793 in DB::ImageDB::slotRescan() ()</font></div><div><font face="monospace, monospace">#3  0x0000000000533cf9 in MainWindow::Window::delayedInit() ()</font></div><div><font face="monospace, monospace">#4  0x000000000062c9fe in MainWindow::Window::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()</font></div><div><font face="monospace, monospace">#5  0x00007ffff34f3a26 in QObject::event(QEvent*) (this=0xa75200, e=<optimized out>) at kernel/qobject.cpp:1247</font></div><div><font face="monospace, monospace">#6  0x00007ffff47c804b in QWidget::event(QEvent*) (this=this@entry=0xa75200, event=event@entry=0x1371510) at kernel/qwidget.cpp:9343</font></div><div><font face="monospace, monospace">#7  0x00007ffff48dda68 in QMainWindow::event(QEvent*) (this=this@entry=0xa75200, event=event@entry=0x1371510) at widgets/qmainwindow.cpp:1342</font></div><div><font face="monospace, monospace">#8  0x00007ffff661ee2b in KMainWindow::event(QEvent*) (this=this@entry=0xa75200, ev=ev@entry=0x1371510) at /usr/src/debug/kf5-kxmlgui-5.44.0-1.fc28.x86_64/src/kmainwindow.cpp:865</font></div><div><font face="monospace, monospace">#9  0x00007ffff66684f9 in KXmlGuiWindow::event(QEvent*) (this=0xa75200, ev=0x1371510) at /usr/src/debug/kf5-kxmlgui-5.44.0-1.fc28.x86_64/src/kxmlguiwindow.cpp:119</font></div><div><font face="monospace, monospace">#10 0x00007ffff4787e95 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0xa75200, e=0x1371510) at kernel/qapplication.cpp:3732</font></div><div><font face="monospace, monospace">#11 0x00007ffff478f83a in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffd170, receiver=0xa75200, e=0x1371510) at kernel/qapplication.cpp:3491</font></div><div><font face="monospace, monospace">#12 0x00007ffff34ca376 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0xa75200, event=0x1371510) at kernel/qcoreapplication.cpp:1050</font></div><div><font face="monospace, monospace">#13 0x00007ffff34cd09b in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x1371510, receiver=0x0) at kernel/qcoreapplication.h:234</font></div><div><font face="monospace, monospace">#14 0x00007ffff34cd09b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x926510) at kernel/qcoreapplication.cpp:1740</font></div><div><font face="monospace, monospace">#15 0x00007ffff34cd4ec in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1594</font></div><div><font face="monospace, monospace">#16 0x00007ffff351aec7 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0xa952d0) at kernel/qeventdispatcher_glib.cpp:276</font></div><div><font face="monospace, monospace">#17 0x00007fffebf677cd in g_main_dispatch (context=0x7fffd0004ff0) at gmain.c:3177</font></div><div><font face="monospace, monospace">#18 0x00007fffebf677cd in g_main_context_dispatch (context=context@entry=0x7fffd0004ff0) at gmain.c:3830</font></div><div><font face="monospace, monospace">#19 0x00007fffebf67b98 in g_main_context_iterate (context=context@entry=0x7fffd0004ff0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3903</font></div><div><font face="monospace, monospace">#20 0x00007fffebf67c30 in g_main_context_iteration (context=0x7fffd0004ff0, may_block=may_block@entry=1) at gmain.c:3964</font></div></div><div><br></div><div>Does it help?</div><div><br></div><div>Thank you,</div><div><br></div><div>Constantin</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 16 May 2018 at 13:02, Robert Krawitz <span dir="ltr"><<a href="mailto:rlk@alum.mit.edu" target="_blank">rlk@alum.mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Wed, 16 May 2018 12:16:49 +0100, =?UTF-8?Q?Constantin_Or=C4=<wbr>83san?= wrote:<br>
> Hello,<br>
><br>
> I haven't programmed in C for a very loooooong time, so my gdb stills are<br>
> very rusty (to put it mildly).<br>
><br>
> After struggling with dnf to get the correct debuginfo for packages (Fedora<br>
> seems to be a bit problematic about this), I managed to produce the<br>
> following backtrace.<br>
><br>
> (gdb) bt 20<br>
> #0  0x00007ffff2595f4b in __GI_raise (sig=sig@entry=6) at<br>
> ../sysdeps/unix/sysv/linux/<wbr>raise.c:50<br>
> #1  0x00007ffff2580591 in __GI_abort () at abort.c:79<br>
> #2  0x00007ffff77491a8 in std::__replacement_assert(char const*, int, char<br>
> const*, char const*) (__file=__file@entry=<wbr>0x7ffff78644b0<br>
> "/usr/include/c++/8/bits/stl_<wbr>vector.h", __line=__line@entry=950,<br>
> __function=__function@entry=<wbr>0x7ffff78671a0 <std::vector<std::pair<<wbr>unsigned<br>
> int, unsigned int>, std::allocator<std::pair<<wbr>unsigned int, unsigned int> ><br>
>>::operator[](unsigned long) const::__PRETTY_FUNCTION__> "std::vector<_Tp,<br>
> _Alloc>::const_reference std::vector<_Tp,<br>
> _Alloc>::operator[](std::<wbr>vector<_Tp, _Alloc>::size_type) const [with _Tp =<br>
> std::pair<unsigned int, unsigned int>; _Alloc = std::allocator<std"...,<br>
> __condition=__condition@entry=<wbr>0x7ffff7864480 "__builtin_expect(__n <<br>
> this->size(), true)") at<br>
> /usr/include/c++/8/x86_64-<wbr>redhat-linux/bits/c++config.h:<wbr>2389<br>
> #3  0x00007ffff7760dab in std::vector<std::pair<unsigned int, unsigned<br>
> int>, std::allocator<std::pair<<wbr>unsigned int, unsigned int> ><br>
>>::operator[](unsigned long) const (__n=<optimized out>, this=<optimized<br>
> out>) at ../include/exiv2/value.hpp:<wbr>1719<br>
> #4  0x00007ffff7760dab in Exiv2::ValueType<std::pair<<wbr>unsigned int, unsigned<br>
> int> >::toRational(long) const (this=<optimized out>, n=<optimized out>)<br>
>     at ../include/exiv2/value.hpp:<wbr>1719<br>
<br>
</div></div>Above this point we're no longer in KPhotoAlbum, but in exiv2, loading<br>
the EXIF data from one of the images.  What version of exiv2 is<br>
installed (rpm -qi exiv2) is installed?<br>
<br>
I'm still wondering if you have a particular image in your collection<br>
that is causing exiv2 to get unhappy.  The fact that it happens at<br>
different points within the import may not be significant, since the<br>
files are imported in arbitrary (and not necessarily reproducible)<br>
order.<br>
<br>
It could, of course, be something in kpa corrupting memory, but that<br>
would more likely in my view create really weird-looking errors.<br>
<br>
What happens if you run<br>
<br>
exiv2 <files><br>
<br>
on the files you're trying to import?<br>
<div class="HOEnZb"><div class="h5"><br>
> #5  0x00000000005e7d59 in<br>
> Exif::RationalExifElement::<wbr>valueFromExif(Exiv2::ExifData&<wbr>) const ()<br>
> #6  0x00000000005ce1e0 in Exif::Database::insert(QList<<wbr>QPair<DB::FileName,<br>
> Exiv2::ExifData> >) ()<br>
> #7  0x00000000005cd161 in Exif::Database::add(DB::<wbr>FileNameList const&) ()<br>
> #8  0x00000000004a435e in XMLDB::Database::forceUpdate(<wbr>DB::ImageInfoList<br>
> const&) ()<br>
> #9  0x00000000004a46f6 in XMLDB::Database::addImages(DB:<wbr>:ImageInfoList<br>
> const&, bool) ()<br>
> #10 0x000000000057d9fc in DB::NewImageFinder::<wbr>loadExtraFiles(bool) ()<br>
> #11 0x000000000057cc35 in DB::NewImageFinder::<wbr>findImages() ()<br>
> #12 0x000000000057a793 in DB::ImageDB::slotRescan() ()<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">-- <br>
Robert Krawitz                                     <<a href="mailto:rlk@alum.mit.edu">rlk@alum.mit.edu</a>><br>
<br>
***  MIT Engineers   A Proud Tradition   <a href="http://mitathletics.com" rel="noreferrer" target="_blank">http://mitathletics.com</a>  ***<br>
Member of the League for Programming Freedom  --  <a href="http://ProgFree.org" rel="noreferrer" target="_blank">http://ProgFree.org</a><br>
Project lead for Gutenprint   --    <a href="http://gimp-print.sourceforge.net" rel="noreferrer" target="_blank">http://gimp-print.sourceforge.<wbr>net</a><br>
<br>
"Linux doesn't dictate how I work, I dictate how Linux works."<br>
--Eric Crampton<br>
</font></span></blockquote></div><br></div>