<div dir="ltr"><div>I just noticed that when I start digiKam, gdb says "No debugging symbols found in /usr/local/bin/digiKam-7.2.0-rc-x86-64-debug.appimage" - is that what it should say? <br></div><div><br></div><div>--</div><div>Michael<span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">stuporglue@mtv:~$ rm /tmp/digikam.log; export QT_LOGGING_RULES="digikam*=true"; gdb /usr/local/bin/digiKam-7.2.0-rc-x86-64-debug.appimage 2>&1 | tee /tmp/digikam.log <br>GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git<br>Copyright (C) 2021 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>><br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.<br>Type "show copying" and "show warranty" for details.<br>This GDB was configured as "x86_64-linux-gnu".<br>Type "show configuration" for configuration details.<br>For bug reporting instructions, please see:<br><<a href="https://www.gnu.org/software/gdb/bugs/">https://www.gnu.org/software/gdb/bugs/</a>>.<br>Find the GDB manual and other documentation resources online at:<br>    <<a href="http://www.gnu.org/software/gdb/documentation/">http://www.gnu.org/software/gdb/documentation/</a>>.<br><br>For help, type "help".<br>Type "apropos word" to search for commands related to "word"...<br>Reading symbols from /usr/local/bin/digiKam-7.2.0-rc-x86-64-debug.appimage...<br>(No debugging symbols found in /usr/local/bin/digiKam-7.2.0-rc-x86-64-debug.appimage)<br>(gdb) </span><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 24, 2021 at 1:17 PM Michael Moore <<a href="mailto:stuporglue@gmail.com">stuporglue@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Thanks Gilles, <br></div><div><br></div><div>Same workflow, still no backtrace.</div><div><br></div><div>I had accepted a lot of face tag suggestions, in small and large batches. I think I had about 50 photos selected this time and clicked the Accept checkbox and after processing about 1/3 of them, it closed. <br></div><div><br></div><div>It had been open for several hours before I ran this latest batch, but I'm sure it has crashed quickly before too. <br></div><div><br></div><div>Here's the last bit of output: <br></div><div><br></div><div><span style="font-family:monospace">Digikam::MetadataHub::writeTags: -------------------------- New Keywords ("Sophie Moore")<br>Digikam::MetaEngine::setIptcKeywords: "/Volumes/Photos/2010/10/11/DSC_4337.JPG"  ==> New Iptc Keywords:  ("Sophie Moore")<br>Digikam::MetaEngine::save: MetaEngine::metadataWritingMode 1<br>Digikam::MetaEngine::save: Will write XMP sidecar for file "DSC_4337.JPG"<br>Digikam::MetaEngine::Private::saveOperations: wroteComment:  false<br>Digikam::MetaEngine::Private::saveOperations: wroteEXIF:  true<br>Digikam::MetaEngine::Private::saveOperations: wroteIPTC:  true<br>Digikam::MetaEngine::Private::saveOperations: wroteXMP:  true<br>Digikam::MetaEngine::save: Metadata for file "DSC_4337.JPG" written to XMP sidecar.<br>Digikam::ItemScanner::commit: Scanning took 402 ms<br>Digikam::ItemScanner::~ItemScanner: Finishing took 1 ms<br>Digikam::DImg::load: "/Volumes/Photos/2010/10/11/DSC_4337.JPG" : "JPEG" file identified<br>unknown: Start of Image  ( 1 )<br>unknown: Miscellaneous marker 0xe1, length 65532  ( 1 )<br>unknown: Miscellaneous marker 0xe2, length 1318  ( 1 )<br>unknown: Define Quantization Table 0  precision 0  ( 1 )<br>unknown: Define Quantization Table 1  precision 0  ( 1 )<br>unknown: Start Of Frame 0xc0: width=4288, height=2848, components=3  ( 1 )<br>unknown:     Component 1: 2hx1v q=0  ( 1 )<br>unknown:     Component 2: 1hx1v q=1  ( 1 )<br>unknown:     Component 3: 1hx1v q=1  ( 1 )<br>unknown: Define Huffman Table 0x00  ( 1 )<br>unknown:           0   1   5   1   1   1   1   1  ( 2 )<br>unknown:           1   0   0   0   0   0   0   0  ( 2 )<br>unknown: Define Huffman Table 0x10  ( 1 )<br>unknown:           0   2   1   3   3   2   4   3  ( 2 )<br>unknown:           5   5   4   4   0   0   1 125  ( 2 )<br>unknown: Define Huffman Table 0x01  ( 1 )<br>unknown:           0   3   1   1   1   1   1   1  ( 2 )<br>unknown:           1   1   1   0   0   0   0   0  ( 2 )<br>unknown: Define Huffman Table 0x11  ( 1 )<br>unknown:           0   2   1   2   4   4   3   4  ( 2 )<br>unknown:           7   5   4   4   0   1   2 119  ( 2 )<br>unknown: Start Of Scan: 3 components  ( 1 )<br>unknown:     Component 1: dc=0 ac=0  ( 1 )<br>unknown:     Component 2: dc=1 ac=1  ( 1 )<br>unknown:     Component 3: dc=1 ac=1  ( 1 )<br>unknown:   Ss=0, Se=63, Ah=0, Al=0  ( 1 )<br>Digikam::ItemScanner::commit: Scanning took 14 ms<br>Digikam::ItemScanner::~ItemScanner: Finishing took 1 ms<br>/tmp/.mount_digika0c11vX/AppRun: line 166: 869836 Segmentation fault      digikam $@<br>[Inferior 1 (process 869821) exited with code 0213]<br>(gdb) bt<br>No stack.<br>(gdb) </span><br></div><div><br></div><div><br></div><div>Here's how I'm running it: <br></div><div><br></div><div>stuporglue@mtv:~$ rm /tmp/digikam.log; export QT_LOGGING_RULES="digikam*=true"; gdb digikam 2>&1 | tee /tmp/digikam.log</div><div><br></div><div>digikam is symlinked to the debug appimage. <br></div><div><br></div><div>stuporglue@mtv:~$ ls -l /usr/local/bin/digikam <br>lrwxrwxrwx 1 root root 38 Feb 24 08:06 /usr/local/bin/digikam -> digiKam-7.2.0-rc-x86-64-debug.appimage</div><div><br></div><div>--</div><div>Michael Moore<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 24, 2021 at 7:55 AM Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
As I can see you run the AppImage version.<br>
<br>
You need to use the heavy debug version of appimage, which include all<br>
debug symbols. Run the bundle in gdb with the debug argument as usual.<br>
Now when it crash you will see a debug backtrace if GDB can capture<br>
this.<br>
<br>
Best<br>
<br>
Gilles Caulier<br>
<br>
Le mer. 24 févr. 2021 à 14:51, Michael Moore <<a href="mailto:stuporglue@gmail.com" target="_blank">stuporglue@gmail.com</a>> a écrit :<br>
><br>
> Hello,<br>
><br>
> I'm running the 7.2-RC appimage on Debian Bullseye, with an external MySQL database. The external MySQL database is hosted on the same machine, and is version 5.6.30-1, installed from the Debian repositories.<br>
><br>
> I'm doing a lot of face recognition (200,000+ photos) and am getting intermittent crashes. But it seems that there's no backtrace.<br>
><br>
> I haven't been able to nail down a specific workflow that is guaranteed to generate a crash yet.<br>
><br>
> Tasks I'm usually doing when it crashes are: Running "Recognize Faces", Selecting images in the People pages, Accepting or Rejecting selections. Crashes usually happen when there are many tasks in the Active Process list.<br>
><br>
> For example, if I have selected 100-300 images and click "Confirm that the selected person is shown here", it sometimes crashes while processing them. Or sometimes it crashes when running Recognize Faces. Or when switching to a Person tag with many (1000s) of images.<br>
><br>
> I have Digikam writing tags to sidecar files.<br>
><br>
> I ran it inside GDB this last time, and the final few lines were<br>
><br>
><br>
> Digikam::ItemQueryBuilder::buildQueryFromXml: " ( ( (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) OR ( (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) OR ( (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) OR ( (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) ) "<br>
> Digikam::ItemLister::listImageTagPropertySearch: Search query:<br>
>  "SELECT DISTINCT Images.id, Images.name, Images.album,        Albums.albumRoot,        ImageInformation.rating, Images.category,        ImageInformation.format, ImageInformation.creationDate,        Images.modificationDate, Images.fileSize,        ImageInformation.width,  ImageInformation.height,        ImageTagProperties.value, ImageTagProperties.property, ImageTagProperties.tagid  FROM Images        INNER JOIN ImageTagProperties ON ImageTagProperties.imageid=Images.id        LEFT JOIN ImageInformation ON Images.id=ImageInformation.imageid        INNER JOIN Albums           ON Albums.id=Images.album WHERE Images.status=1 AND (  ( ( (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) OR ( (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) OR ( (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) OR ( (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) )  );"<br>
>  (QVariant(int, 160), QVariant(int, 160), QVariant(QString, "autodetectedPerson"), QVariant(int, 160), QVariant(int, 160), QVariant(QString, "autodetectedFace"), QVariant(int, 160), QVariant(int, 160), QVariant(QString, "ignoredFace"), QVariant(int, 160), QVariant(int, 160), QVariant(QString, "tagRegion"))<br>
> Digikam::ItemLister::listImageTagPropertySearch: Search result: 3<br>
> Digikam::ActionThreadBase::cancel: Cancel Main Thread<br>
> Digikam::ActionThreadBase::slotJobFinished: One job is done<br>
> Digikam::ActionThreadBase::cancel: Cancel Main Thread<br>
> Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  4  CPU core to run threads<br>
> Digikam::ActionThreadBase::run: Action Thread run  1  new jobs<br>
> Digikam::ItemMarkerTiler::slotSourceModelReset: ----<br>
> Digikam::ActionThreadBase::slotJobFinished: One job is done<br>
> Digikam::ActionThreadBase::cancel: Cancel Main Thread<br>
> /tmp/.mount_digika6BSWUo/AppRun: line 166: 840681 Segmentation fault      digikam $@<br>
> [Inferior 1 (process 840666) exited with code 0213]<br>
> (gdb) bt<br>
> No stack.<br>
> (gdb)<br>
><br>
> Is there anything else I can do to try to provide something useful in a bug report? Right now it seems far too vague to be helpful in tracking down the problem.<br>
><br>
><br>
> Thanks,<br>
> Michael Moore<br>
</blockquote></div>
</blockquote></div>