<div dir="ltr"><div>Thanks for your patience with this. It has been a few years since I debugged anything, and never with appimages. <br></div><div><br></div><div>debug with no dash tries to launch gdb, but I get this: <br></div><div><br></div><div><span style="font-family:monospace">stuporglue@mtv:~$ /usr/local/bin/digiKam-7.2.0-rc-x86-64-debug.appimage debug<br>-- digiKam Linux AppImage Bundle<br>-- Use 'help' as CLI argument to know all available options for digiKam application.<br>-- Notes: to integrate this bundle to your desktop, use AppImageLauncher.<br>--        to enable all debug messages on the console, use 'export QT_LOGGING_RULES="digikam*=true"'.<br>libudev.so.0 <br>libxcb-dri3.so.0 <br>-- Preloading shared libs: :/lib/x86_64-linux-gnu/libudev.so.0:/usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0<br>Starting digiKam into GDB...<br>Use 'bt' command on debugger prompt to get a crash backtrace.<br>Use 'q' command to quit debugger session.<br>gdb: /tmp/.mount_digiKaupwbMd/usr/lib/liblber-2.4.so.2: no version information available (required by /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4)<br>gdb: /tmp/.mount_digiKaupwbMd/usr/lib/liblber-2.4.so.2: no version information available (required by /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2)<br>gdb: symbol lookup error: /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4: undefined symbol: nghttp2_session_set_local_window_size</span></div><div><span style="font-family:monospace">stuporglue@mtv:~$</span></div><div><br></div><div>DigiKam does not launch at all. <br></div><div><br></div><div>--</div><div>Michael<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 24, 2021 at 3:31 PM Maik Qualmann <<a href="mailto:metzpinguin@gmail.com" target="_blank">metzpinguin@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">Oh, sorry, just "debug" without the "-". <br>
<br>
Maik<br>
<br>
Am Mittwoch, 24. Februar 2021, 22:18:39 CET schrieb Michael Moore:<br>
> Thanks Maik, but it doesn't recognize that option.<br>
> <br>
> I tried both --debug and -debug. There is no 'debug' flag shown in the help<br>
> output either.<br>
> <br>
> Output is below for reference.<br>
> <br>
> Best,<br>
> Michael<br>
> <br>
> <br>
> stuporglue@mtv:~$ /usr/local/bin/digiKam-7.2.0-rc-x86-64-debug.appimage<br>
> -debug<br>
> -- digiKam Linux AppImage Bundle<br>
> -- Use 'help' as CLI argument to know all available options for digiKam<br>
> application.<br>
> -- Notes: to integrate this bundle to your desktop, use AppImageLauncher.<br>
> --        to enable all debug messages on the console, use 'export<br>
> QT_LOGGING_RULES="digikam*=true"'.<br>
> libudev.so.0<br>
> libxcb-dri3.so.0<br>
> <br>
> -- Preloading shared libs:<br>
> :/lib/x86_64-linux-gnu/libudev.so.0:/usr/lib/x86_64-linux-gnu/libxcb-dri3.so<br>
> :.0<br>
> Digikam::DXmlGuiWindow::setupIconTheme: Breeze icons resource file found<br>
> Digikam::DXmlGuiWindow::setupIconTheme: Breeze-dark icons resource file<br>
> found<br>
> *digikam: Unknown options: d, e, b, u, g.*<br>
> <br>
> <br>
> stuporglue@mtv:~$ /usr/local/bin/digiKam-7.2.0-rc-x86-64-debug.appimage<br>
> --debug<br>
> -- digiKam Linux AppImage Bundle<br>
> -- Use 'help' as CLI argument to know all available options for digiKam<br>
> application.<br>
> -- Notes: to integrate this bundle to your desktop, use AppImageLauncher.<br>
> --        to enable all debug messages on the console, use 'export<br>
> QT_LOGGING_RULES="digikam*=true"'.<br>
> libudev.so.0<br>
> libxcb-dri3.so.0<br>
> <br>
> -- Preloading shared libs:<br>
> :/lib/x86_64-linux-gnu/libudev.so.0:/usr/lib/x86_64-linux-gnu/libxcb-dri3.so<br>
> :.0<br>
> Digikam::DXmlGuiWindow::setupIconTheme: Breeze icons resource file found<br>
> Digikam::DXmlGuiWindow::setupIconTheme: Breeze-dark icons resource file<br>
> found<br>
> *digikam: Unknown option 'debug'.*<br>
> <br>
> <br>
> <br>
> stuporglue@mtv:~$ /usr/local/bin/digiKam-7.2.0-rc-x86-64-debug.appimage<br>
> --help<br>
> -- digiKam Linux AppImage Bundle<br>
> -- Use 'help' as CLI argument to know all available options for digiKam<br>
> application.<br>
> -- Notes: to integrate this bundle to your desktop, use AppImageLauncher.<br>
> --        to enable all debug messages on the console, use 'export<br>
> QT_LOGGING_RULES="digikam*=true"'.<br>
> libudev.so.0<br>
> libxcb-dri3.so.0<br>
> <br>
> -- Preloading shared libs:<br>
> :/lib/x86_64-linux-gnu/libudev.so.0:/usr/lib/x86_64-linux-gnu/libxcb-dri3.so<br>
> :.0<br>
> Digikam::DXmlGuiWindow::setupIconTheme: Breeze icons resource file found<br>
> Digikam::DXmlGuiWindow::setupIconTheme: Breeze-dark icons resource file<br>
> found<br>
> Usage: digikam [options]<br>
> Professional Photo Management with the Power of Open Source - A KDE Family<br>
> Project<br>
> <br>
> Options:<br>
>   -v, --version               Displays version information.<br>
>   -h, --help                  Displays help on commandline options.<br>
>   --help-all                  Displays help including Qt specific options.<br>
>   --author                    Show author information.<br>
>   --license                   Show license information.<br>
>   --desktopfile <file name>   The base file name of the desktop entry for<br>
> this<br>
>                               application.<br>
>   --download-from <path>      Open camera dialog at <path><br>
>   --download-from-udi <udi>   Open camera dialog for the device with Solid<br>
> UDI<br>
>                               <udi><br>
>   --detect-camera             Automatically detect and open a connected<br>
> gphoto2<br>
>                               camera<br>
>   --database-directory <dir>  Start digikam with the SQLite database file<br>
> found<br>
>                               in the directory <dir><br>
>   --config <config>           Start digikam with the configuration file<br>
>                               <config><br>
> <br>
> On Wed, Feb 24, 2021 at 3:08 PM Maik Qualmann <<a href="mailto:metzpinguin@gmail.com" target="_blank">metzpinguin@gmail.com</a>> wrote:<br>
> > Do not start the AppImage with gdb, but with the debug option.<br>
> > <br>
> > digiKam.appimage -debug<br>
> > <br>
> > Maik<br>
> > <br>
> > Am Mittwoch, 24. Februar 2021, 21:38:50 CET schrieb Michael Moore:<br>
> > > I just noticed that when I start digiKam, gdb says "No debugging symbols<br>
> > > found in /usr/local/bin/digiKam-7.2.0-rc-x86-64-debug.appimage" - is<br>
> > > that<br>
> > > what it should say?<br>
> > > <br>
> > > --<br>
> > > Michael<br>
> > > <br>
> > > stuporglue@mtv:~$ rm /tmp/digikam.log; export<br>
> > > QT_LOGGING_RULES="digikam*=true"; gdb<br>
> > > /usr/local/bin/digiKam-7.2.0-rc-x86-64-debug.appimage 2>&1 | tee<br>
> > > /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 <<br>
> > <br>
> > <a href="http://gnu.org/licenses/gpl.html" rel="noreferrer" target="_blank">http://gnu.org/licenses/gpl.html</a><br>
> > <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/" rel="noreferrer" target="_blank">https://www.gnu.org/software/gdb/bugs/</a>>.<br>
> > > <br>
> > > Find the GDB manual and other documentation resources online at:<br>
> > >     <<a href="http://www.gnu.org/software/gdb/documentation/" rel="noreferrer" target="_blank">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<br>
> > > /usr/local/bin/digiKam-7.2.0-rc-x86-64-debug.appimage...<br>
> > > (No debugging symbols found in<br>
> > > /usr/local/bin/digiKam-7.2.0-rc-x86-64-debug.appimage)<br>
> > > (gdb)<br>
> > > <br>
> > > On Wed, Feb 24, 2021 at 1:17 PM Michael Moore <<a href="mailto:stuporglue@gmail.com" target="_blank">stuporglue@gmail.com</a>><br>
> > <br>
> > wrote:<br>
> > > > Thanks Gilles,<br>
> > > > <br>
> > > > Same workflow, still no backtrace.<br>
> > > > <br>
> > > > I had accepted a lot of face tag suggestions, in small and large<br>
> > <br>
> > batches.<br>
> > <br>
> > > > I think I had about 50 photos selected this time and clicked the<br>
> > > > Accept<br>
> > > > checkbox and after processing about 1/3 of them, it closed.<br>
> > > > <br>
> > > > It had been open for several hours before I ran this latest batch, but<br>
> > <br>
> > I'm<br>
> > <br>
> > > > sure it has crashed quickly before too.<br>
> > > > <br>
> > > > Here's the last bit of output:<br>
> > > > <br>
> > > > Digikam::MetadataHub::writeTags: -------------------------- New<br>
> > <br>
> > Keywords<br>
> > <br>
> > > > ("Sophie Moore")<br>
> > > > Digikam::MetaEngine::setIptcKeywords:<br>
> > > > "/Volumes/Photos/2010/10/11/DSC_4337.JPG"  ==> New Iptc Keywords:<br>
> > > > ("Sophie<br>
> > > > Moore")<br>
> > > > Digikam::MetaEngine::save: MetaEngine::metadataWritingMode 1<br>
> > > > Digikam::MetaEngine::save: Will write XMP sidecar for file<br>
> > <br>
> > "DSC_4337.JPG"<br>
> > <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<br>
> > <br>
> > XMP<br>
> > <br>
> > > > 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" :<br>
> > > > "JPEG"<br>
> > > > 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  (<br>
> > <br>
> > 1 )<br>
> > <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<br>
> > > > <br>
> > > >  digikam $@<br>
> > > > <br>
> > > > [Inferior 1 (process 869821) exited with code 0213]<br>
> > > > (gdb) bt<br>
> > > > No stack.<br>
> > > > (gdb)<br>
> > > > <br>
> > > > <br>
> > > > Here's how I'm running it:<br>
> > > > <br>
> > > > stuporglue@mtv:~$ rm /tmp/digikam.log; export<br>
> > > > QT_LOGGING_RULES="digikam*=true"; gdb digikam 2>&1 | tee<br>
> > <br>
> > /tmp/digikam.log<br>
> > <br>
> > > > digikam is symlinked to the debug appimage.<br>
> > > > <br>
> > > > stuporglue@mtv:~$ ls -l /usr/local/bin/digikam<br>
> > > > lrwxrwxrwx 1 root root 38 Feb 24 08:06 /usr/local/bin/digikam -><br>
> > > > digiKam-7.2.0-rc-x86-64-debug.appimage<br>
> > > > <br>
> > > > --<br>
> > > > Michael Moore<br>
> > > > <br>
> > > > <br>
> > > > On Wed, Feb 24, 2021 at 7:55 AM Gilles Caulier <<br>
> > <br>
> > <a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>><br>
> > <br>
> > > > wrote:<br>
> > > >> 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<br>
> > > >> all<br>
> > > >> debug symbols. Run the bundle in gdb with the debug argument as<br>
> > > >> 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<br>
> > > >> <br>
> > > >> écrit :<br>
> > > >> > Hello,<br>
> > > >> > <br>
> > > >> > I'm running the 7.2-RC appimage on Debian Bullseye, with an<br>
> > > >> > external<br>
> > > >> <br>
> > > >> MySQL database. The external MySQL database is hosted on the same<br>
> > > >> machine,<br>
> > > >> 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<br>
> > > >> > getting<br>
> > > >> <br>
> > > >> 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<br>
> > <br>
> > guaranteed<br>
> > <br>
> > > >> to generate a crash yet.<br>
> > > >> <br>
> > > >> > Tasks I'm usually doing when it crashes are: Running "Recognize<br>
> > <br>
> > Faces",<br>
> > <br>
> > > >> Selecting images in the People pages, Accepting or Rejecting<br>
> > <br>
> > selections.<br>
> > <br>
> > > >> Crashes usually happen when there are many tasks in the Active<br>
> > > >> Process<br>
> > > >> list.>><br>
> > > >> <br>
> > > >> > For example, if I have selected 100-300 images and click "Confirm<br>
> > <br>
> > that<br>
> > <br>
> > > >> the selected person is shown here", it sometimes crashes while<br>
> > <br>
> > processing<br>
> > <br>
> > > >> them. Or sometimes it crashes when running Recognize Faces. Or when<br>
> > > >> 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: " ( (<br>
> > > >> <br>
> > > >> (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id<br>
> > > >> FROM<br>
> > > >> TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) OR (<br>
> > > >> (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id<br>
> > > >> FROM<br>
> > > >> TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) OR (<br>
> > > >> (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id<br>
> > > >> FROM<br>
> > > >> TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) OR (<br>
> > > >> (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id<br>
> > > >> FROM<br>
> > > >> TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) ) "<br>
> > > >> <br>
> > > >> > Digikam::ItemLister::listImageTagPropertySearch: Search query:<br>
> > > >> >  "SELECT DISTINCT Images.id, Images.name, Images.album,<br>
> > > >> <br>
> > > >> Albums.albumRoot,        ImageInformation.rating, Images.category,<br>
> > > >> ImageInformation.format, ImageInformation.creationDate,<br>
> > > >> Images.modificationDate, Images.fileSize,<br>
> > <br>
> > ImageInformation.width,<br>
> > <br>
> > > >> ImageInformation.height,        ImageTagProperties.value,<br>
> > > >> ImageTagProperties.property, ImageTagProperties.tagid  FROM Images<br>
> > > >> INNER JOIN ImageTagProperties ON ImageTagProperties.imageid=Images.id<br>
> > > >> <br>
> > > >>   LEFT JOIN ImageInformation ON Images.id=ImageInformation.imageid<br>
> > > >> <br>
> > > >> INNER JOIN Albums           ON Albums.id=Images.album WHERE<br>
> > > >> Images.status=1<br>
> > > >> AND (  ( ( (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN<br>
> > > >> (SELECT id FROM TagsTree WHERE pid=?)) AND<br>
> > <br>
> > ImageTagProperties.property=?<br>
> > <br>
> > > >> )<br>
> > > >> OR ( (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN<br>
> > <br>
> > (SELECT<br>
> > <br>
> > > >> id<br>
> > > >> FROM TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) OR (<br>
> > > >> (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id<br>
> > > >> FROM<br>
> > > >> TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) OR (<br>
> > > >> (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id<br>
> > > >> FROM<br>
> > > >> TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) )  );"<br>
> > > >> <br>
> > > >> >  (QVariant(int, 160), QVariant(int, 160), QVariant(QString,<br>
> > > >> <br>
> > > >> "autodetectedPerson"), QVariant(int, 160), QVariant(int, 160),<br>
> > > >> QVariant(QString, "autodetectedFace"), QVariant(int, 160),<br>
> > <br>
> > QVariant(int,<br>
> > <br>
> > > >> 160), QVariant(QString, "ignoredFace"), QVariant(int, 160),<br>
> > <br>
> > QVariant(int,<br>
> > <br>
> > > >> 160), QVariant(QString, "tagRegion"))<br>
> > > >> <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<br>
> > > >> <br>
> > > >> core to run threads<br>
> > > >> <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<br>
> > > >> > fault<br>
> > > >> > <br>
> > > >>   digikam $@<br>
> > > >>   <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<br>
> > <br>
> > in a<br>
> > <br>
> > > >> bug report? Right now it seems far too vague to be helpful in<br>
> > > >> tracking<br>
> > > >> down<br>
> > > >> the problem.<br>
> > > >> <br>
> > > >> > Thanks,<br>
> > > >> > Michael Moore<br>
<br>
<br>
<br>
<br>
</blockquote></div>