<div dir="ltr">Hello,<div><br></div><div>I did not get the chance to try this earlier. The first finding is that I need to run </div><div><br></div>cmake -DCMAKE_BUILD_TYPE=Debug ..<br><br>to have the -g flag at the compilation time. <div><br></div><div>Below you can find two traces. In the first case I have a number of images in the directory. In the second case, I have only one video, but I did not install the support to generate thumbnails from videos. I see that the traces are different. This is done using the latest version from github. I hope it helps.</div><div><br></div><div>Thank you,</div><div><br></div><div>Constantin<br><div><br></div><div><div><font face="monospace, monospace">Thread 1 "kphotoalbum" received signal SIGABRT, Aborted.</font></div><div><font face="monospace, monospace">__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50</font></div><div><font face="monospace, monospace">50<span style="white-space:pre">    </span>  return ret;</font></div><div><font face="monospace, monospace">(gdb) bt 20</font></div><div><font face="monospace, monospace">#0  0x00007ffff2595f4b in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50</font></div><div><font face="monospace, monospace">#1  0x00007ffff2580591 in __GI_abort () at abort.c:79</font></div><div><font face="monospace, monospace">#2  0x00007ffff77491a8 in std::__replacement_assert(char const*, int, char const*, char const*) (__file=__file@entry=0x7ffff78644b0 "/usr/include/c++/8/bits/stl_vector.h", __line=__line@entry=950, __function=__function@entry=0x7ffff78671a0 <std::vector<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int> > >::operator[](unsigned long) const::__PRETTY_FUNCTION__> "std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = std::pair<unsigned int, unsigned int>; _Alloc = std::allocator<std"..., __condition=__condition@entry=0x7ffff7864480 "__builtin_expect(__n < this->size(), true)") at /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2389</font></div><div><font face="monospace, monospace">#3  0x00007ffff7760dab in std::vector<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int> > >::operator[](unsigned long) const (__n=<optimized out>, this=<optimized out>)</font></div><div><font face="monospace, monospace">    at ../include/exiv2/value.hpp:1719</font></div><div><font face="monospace, monospace">#4  0x00007ffff7760dab in Exiv2::ValueType<std::pair<unsigned int, unsigned int> >::toRational(long) const (this=<optimized out>, n=<optimized out>) at ../include/exiv2/value.hpp:1719</font></div><div><font face="monospace, monospace">#5  0x00000000005ecceb in Exif::RationalExifElement::valueFromExif(Exiv2::ExifData&) const (this=0x1e9b510, data=...) at /home/dinel/kphotoalbum/Exif/DatabaseElement.cpp:143</font></div><div><font face="monospace, monospace">#6  0x00000000005d2fbe in Exif::Database::insert(QList<QPair<DB::FileName, Exiv2::ExifData> >) (this=0x13f5120, map=...) at /home/dinel/kphotoalbum/Exif/Database.cpp:341</font></div><div><font face="monospace, monospace">#7  0x00000000005d1f3b in Exif::Database::add(DB::FileNameList const&) (this=0x13f5120, list=...) at /home/dinel/kphotoalbum/Exif/Database.cpp:244</font></div><div><font face="monospace, monospace">#8  0x00000000004a5012 in XMLDB::Database::forceUpdate(DB::ImageInfoList const&) (this=0xd704f0, images=...) at /home/dinel/kphotoalbum/XMLDB/Database.cpp:203</font></div><div><font face="monospace, monospace">#9  0x00000000004a53aa in XMLDB::Database::addImages(DB::ImageInfoList const&, bool) (this=0xd704f0, images=..., doUpdate=true) at /home/dinel/kphotoalbum/XMLDB/Database.cpp:247</font></div><div><font face="monospace, monospace">#10 0x0000000000581bc2 in DB::NewImageFinder::loadExtraFiles(bool) (this=0x7fffffffbfa0, storeExif=false) at /home/dinel/kphotoalbum/DB/NewImageFinder.cpp:178</font></div><div><font face="monospace, monospace">#11 0x0000000000580dfb in DB::NewImageFinder::findImages() (this=0x7fffffffbfa0) at /home/dinel/kphotoalbum/DB/NewImageFinder.cpp:64</font></div><div><font face="monospace, monospace">#12 0x000000000057e931 in DB::ImageDB::slotRescan() (this=0xd704f0) at /home/dinel/kphotoalbum/DB/ImageDB.cpp:90</font></div><div><font face="monospace, monospace">#13 0x000000000053644f in MainWindow::Window::delayedInit() (this=0xa51810) at /home/dinel/kphotoalbum/MainWindow/Window.cpp:252</font></div><div><font face="monospace, monospace">#14 0x0000000000633bbe in MainWindow::Window::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0xa51810, _c=QMetaObject::InvokeMetaMethod, _id=52, _a=0x1235ac0)</font></div><div><font face="monospace, monospace">    at /home/dinel/kphotoalbum/build/kphotoalbum_autogen/WCPGUQ57CZ/moc_Window.cpp:429</font></div><div><font face="monospace, monospace">#15 0x00007ffff34f3a26 in QObject::event(QEvent*) (this=0xa51810, e=<optimized out>) at kernel/qobject.cpp:1247</font></div><div><font face="monospace, monospace">#16 0x00007ffff47c804b in QWidget::event(QEvent*) (this=this@entry=0xa51810, event=event@entry=0xebff70) at kernel/qwidget.cpp:9343</font></div><div><font face="monospace, monospace">#17 0x00007ffff48dda68 in QMainWindow::event(QEvent*) (this=this@entry=0xa51810, event=event@entry=0xebff70) at widgets/qmainwindow.cpp:1342</font></div><div><font face="monospace, monospace">#18 0x00007ffff661ee2b in KMainWindow::event(QEvent*) (this=this@entry=0xa51810, ev=ev@entry=0xebff70) at /usr/src/debug/kf5-kxmlgui-5.44.0-1.fc28.x86_64/src/kmainwindow.cpp:865</font></div><div><font face="monospace, monospace">#19 0x00007ffff66684f9 in KXmlGuiWindow::event(QEvent*) (this=0xa51810, ev=0xebff70) at /usr/src/debug/kf5-kxmlgui-5.44.0-1.fc28.x86_64/src/kxmlguiwindow.cpp:119</font></div><div><font face="monospace, monospace">#20 0x00007ffff4787e95 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0xa51810, e=0xebff70) at kernel/qapplication.cpp:3732</font></div></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><br></font></div><div><div><font face="monospace, monospace">#0  0x00007ffff2595f4b in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50</font></div><div><font face="monospace, monospace">#1  0x00007ffff2580591 in __GI_abort () at abort.c:79</font></div><div><font face="monospace, monospace">#2  0x00007ffff32e2ea3 in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1716</font></div><div><font face="monospace, monospace">#3  0x00007ffff32e2ea3 in QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7fffffffbe90, msg=msg@entry=0x7ffff3578f80 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:822</font></div><div><font face="monospace, monospace">#4  0x00007ffff330479c in qt_assert(char const*, char const*, int) (assertion=<optimized out>, file=<optimized out>, line=<optimized out>) at global/qglobal.cpp:3126</font></div><div><font face="monospace, monospace">#5  0x00000000005666d4 in ImageManager::ThumbnailBuilder::instance() () at /home/dinel/kphotoalbum/ImageManager/ThumbnailBuilder.cpp:71</font></div><div><font face="monospace, monospace">#6  0x0000000000580e94 in DB::NewImageFinder::findImages() (this=0x7fffffffbfa0) at /home/dinel/kphotoalbum/DB/NewImageFinder.cpp:76</font></div><div><font face="monospace, monospace">#7  0x000000000057e931 in DB::ImageDB::slotRescan() (this=0xd2f4e0) at /home/dinel/kphotoalbum/DB/ImageDB.cpp:90</font></div><div><font face="monospace, monospace">#8  0x000000000053644f in MainWindow::Window::delayedInit() (this=0xa7a800) at /home/dinel/kphotoalbum/MainWindow/Window.cpp:252</font></div><div><font face="monospace, monospace">#9  0x0000000000633bbe in MainWindow::Window::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0xa7a800, _c=QMetaObject::InvokeMetaMethod, _id=52, _a=0x13a2180)</font></div><div><font face="monospace, monospace">    at /home/dinel/kphotoalbum/build/kphotoalbum_autogen/WCPGUQ57CZ/moc_Window.cpp:429</font></div><div><font face="monospace, monospace">#10 0x00007ffff34f3a26 in QObject::event(QEvent*) (this=0xa7a800, e=<optimized out>) at kernel/qobject.cpp:1247</font></div><div><font face="monospace, monospace">#11 0x00007ffff47c804b in QWidget::event(QEvent*) (this=this@entry=0xa7a800, event=event@entry=0x139c050) at kernel/qwidget.cpp:9343</font></div><div><font face="monospace, monospace">#12 0x00007ffff48dda68 in QMainWindow::event(QEvent*) (this=this@entry=0xa7a800, event=event@entry=0x139c050) at widgets/qmainwindow.cpp:1342</font></div><div><font face="monospace, monospace">#13 0x00007ffff661ee2b in KMainWindow::event(QEvent*) (this=this@entry=0xa7a800, ev=ev@entry=0x139c050) at /usr/src/debug/kf5-kxmlgui-5.44.0-1.fc28.x86_64/src/kmainwindow.cpp:865</font></div><div><font face="monospace, monospace">#14 0x00007ffff66684f9 in KXmlGuiWindow::event(QEvent*) (this=0xa7a800, ev=0x139c050) at /usr/src/debug/kf5-kxmlgui-5.44.0-1.fc28.x86_64/src/kxmlguiwindow.cpp:119</font></div><div><font face="monospace, monospace">#15 0x00007ffff4787e95 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0xa7a800, e=0x139c050) at kernel/qapplication.cpp:3732</font></div><div><font face="monospace, monospace">#16 0x00007ffff478f83a in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffd1b0, receiver=0xa7a800, e=0x139c050) at kernel/qapplication.cpp:3491</font></div><div><font face="monospace, monospace">#17 0x00007ffff34ca376 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0xa7a800, event=0x139c050) at kernel/qcoreapplication.cpp:1050</font></div><div><font face="monospace, monospace">#18 0x00007ffff34cd09b in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x139c050, receiver=0x0) at kernel/qcoreapplication.h:234</font></div><div><font face="monospace, monospace">#19 0x00007ffff34cd09b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x93e510) at kernel/qcoreapplication.cpp:1740</font></div><div><font face="monospace, monospace">#20 0x00007ffff34cd4ec in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1594</font></div></div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 18 May 2018 at 22:05, Johannes Zarl-Zierl <span dir="ltr"><<a href="mailto:johannes@zarl-zierl.at" target="_blank">johannes@zarl-zierl.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div style="font-family:'Hack';font-size:9pt;font-weight:400;font-style:normal">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Hello Constantin,</p><span class="">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Am Donnerstag, 17. Mai 2018, 17:44:55 CEST schrieb Constantin Orăsan:</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> On 16 May 2018 at 20:30, Tobias Leupold <<a href="mailto:tobias.leupold@gmx.de" target="_blank">tobias.leupold@gmx.de</a>> wrote:</p>
</span><span class=""><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> I followed the guidelines from</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> <a href="https://www.kphotoalbum.org/download/compiling/#compiling_kpa-itself" target="_blank">https://www.kphotoalbum.org/<wbr>download/compiling/#compiling_<wbr>kpa-itself</a> and</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> I added -DCMAKE_BUILD_TYPE=<wbr>RelWithDebInfo and some other versions I found</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> on the web, but none seem to give the debugging info I need.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
</span><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">"RelWithDebInfo" should usually be sufficient to enable debug info. You could also try out "Debug", but that results in a slower program with assertions enabled.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Can you check if the "-g" flag is used by your build? You can build with "make VERBOSE=1" to see the build commands as they are run.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Cheers,</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">  Johannes</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p></div><br>______________________________<wbr>_________________<br>
KPhotoAlbum mailing list<br>
<a href="mailto:KPhotoAlbum@mail.kdab.com">KPhotoAlbum@mail.kdab.com</a><br>
<a href="https://mail.kdab.com/mailman/listinfo/kphotoalbum" rel="noreferrer" target="_blank">https://mail.kdab.com/mailman/<wbr>listinfo/kphotoalbum</a><br>
<br></blockquote></div><br></div>