<div dir="ltr"><div>Hi Maik,</div><div><br></div><div>Yes, we can do it. It's easy. Look in the bash script Building the last stage for the Windows installer :</div><div><br></div><div><a href="https://invent.kde.org/graphics/digikam/-/blob/master/project/bundles/vcpkg/04-build-installer.sh?ref_type=heads#L296">https://invent.kde.org/graphics/digikam/-/blob/master/project/bundles/vcpkg/04-build-installer.sh?ref_type=heads#L296</a></div><div><br></div><div>Look especially the comment code here :</div><div><br></div><div><a href="https://invent.kde.org/graphics/digikam/-/blob/master/project/bundles/vcpkg/04-build-installer.sh?ref_type=heads#L315">https://invent.kde.org/graphics/digikam/-/blob/master/project/bundles/vcpkg/04-build-installer.sh?ref_type=heads#L315</a></div><div><br></div><div>A similar if condition must be written to bypass the Qt6Core debug dll. Note that debug symbols are hosted in a dedicated dll under Windows using "pdb" extension. Dropping these files in the bundle removes the debug symbols.</div><div><br></div><div>Best</div><div><br></div><div>Gilles<br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Le jeu. 5 déc. 2024 à 16:13, Maik Qualmann <<a href="mailto:metzpinguin@gmail.com">metzpinguin@gmail.com</a>> a écrit :<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">It crashes deep in Qt6Core. I can't get any further in the Visual C++ debugger, it's not clear which thread it is.<div>Gilles, can we add the debug symbols for the Qt6Core (Qt6Core.pdb) in the bundle?</div><div><br></div><div>Maik</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Mi., 4. Dez. 2024 um 19:40 Uhr schrieb Maik Qualmann <<a href="mailto:metzpinguin@gmail.com" target="_blank">metzpinguin@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I can reproduce the problem on a relatively fast Windows machine here. I use a <br>
set of 500 images, it doesn't crash all the time, but quite often. It's not a <br>
lack of memory. I don't know yet if it's a coincidence, but it never crashes <br>
on square thumbnails, even with the option disabled. I made a change, we'll <br>
see with the next version.<br>
<br>
Maik<br>
<br>
Am Montag, 2. Dezember 2024, 20:55:27 Mitteleuropäische Normalzeit schrieb <br>
Gilles Caulier:<br>
> Hi,<br>
> <br>
> It sounds like a memory leak...<br>
> <br>
> Best<br>
> <br>
> Gilles Caulier<br>
> <br>
> Le lun. 2 déc. 2024 à 18:33, Andrej Valencic <<a href="mailto:andrej.valencic@zoho.com" target="_blank">andrej.valencic@zoho.com</a>> a<br>
> <br>
> écrit :<br>
> > Hi Maik,<br>
> > <br>
> > I tested the latest version so here are some observations:<br>
> > <br>
> > - first time I ran this version it was ok with cca. 200 pictures<br>
> > - then I tried with around 300 photos and DK crashed<br>
> > - I tried again and now it crashes even with around 150 photos<br>
> > - it runs OK with up to cca. 120 photos<br>
> > <br>
> > Regards,<br>
> > Andrej<br>
> > <br>
> > On 02/12/2024 12:27, Maik Qualmann wrote:<br>
> > > We have made some changes to the HTML Gallery Tool (image loading etc.).<br>
> > <br>
> > Can<br>
> > <br>
> > > you please test if the problem can still be reproduced with the current<br>
> > <br>
> > pre-<br>
> > <br>
> > > release version of digiKam-8.6.0 ?<br>
> > > <br>
> > > <a href="https://files.kde.org/digikam/" rel="noreferrer" target="_blank">https://files.kde.org/digikam/</a><br>
> > > <br>
> > > Maik<br>
> > > <br>
> > > Am Freitag, 22. November 2024, 12:48:00 Mitteleuropäische Normalzeit<br>
> > <br>
> > schrieb<br>
> > <br>
> > > Andrej Valencic:<br>
> > >> There is some more memory used by DK when I run the tool, but not much<br>
> > >> -<br>
> > >> about 200MB more before the crash. And I still have about 60% free<br>
> > >> memory on my PC.<br>
> > >> <br>
> > >> On 22/11/2024 12:33, Gilles Caulier wrote:<br>
> > >>> Hum no more info.<br>
> > >>> <br>
> > >>> But look on the top/right side, the memory allocated rises up just<br>
> > >>> before it crashes. This can be the reason...<br>
> > >>> <br>
> > >>> Did you confirm ?<br>
> > >>> <br>
> > >>> Gilles Cauleir<br>
> > >>> <br>
> > >>> Le ven. 22 nov. 2024 à 11:46, Andrej Valencic<br>
> > >>> <br>
> > >>> <<a href="mailto:andrej.valencic@zoho.com" target="_blank">andrej.valencic@zoho.com</a>> a écrit :<br>
> > >>> So I tried this with the 8.5.0 version that you pointed to and<br>
> > >>> the<br>
> > >>> results are a little bit different but not much.<br>
> > >>> <br>
> > >>> Regards<br>
> > >>> <br>
> > >>> On 22/11/2024 11:32, Andrej Valencic wrote:<br>
> > >>>> Well, I installed the debug version from here:<br>
> > >>>> <a href="https://files.kde.org/digikam/" rel="noreferrer" target="_blank">https://files.kde.org/digikam/</a><br>
> > >>>> I will try again - I see there is a new build from today.<br>
> > >>>> <br>
> > >>>> Regards<br>
> > >>>> <br>
> > >>>> On 22/11/2024 11:26, Gilles Caulier wrote:<br>
> > >>>>> Hi,<br>
> > >>>>> <br>
> > >>>>> Your digiKam install is not the debug version for Windows. We<br>
> > >>>>> package Windows installer with debug symbols in the download<br>
> > <br>
> > area :<br>
> > <br>
> > <br>
> > <a href="https://download.kde.org/stable/digikam/8.5.0/digiKam-8.5.0-Qt6-Win6" rel="noreferrer" target="_blank">https://download.kde.org/stable/digikam/8.5.0/digiKam-8.5.0-Qt6-Win6</a><br>
> > <br>
> > >>>>> 4-debug.exe.mirrorlist<br>
> > >>>>> <br>
> > >>>>> Best<br>
> > >>>>> <br>
> > >>>>> Gilles Caulier<br>
> > >>>>> <br>
> > >>>>> Le ven. 22 nov. 2024 à 11:18, Andrej Valencic<br>
> > >>>>> <br>
> > >>>>> <<a href="mailto:andrej.valencic@zoho.com" target="_blank">andrej.valencic@zoho.com</a>> a écrit :<br>
> > >>>>> Hi Gilles,<br>
> > >>>>> <br>
> > >>>>> I tried the debugger run and I got to the point where DK<br>
> > >>>>> throws an exception. Here is the screenshot of Visual<br>
> > >>>>> Studio<br>
> > >>>>> windows (I'm sorry but don't know any other way how to get<br>
> > >>>>> the info from VS).<br>
> > >>>>> <br>
> > >>>>> Regards,<br>
> > >>>>> Andrej<br>
> > >>>>> <br>
> > >>>>> On 22/11/2024 10:09, Gilles Caulier wrote:<br>
> > >>>>>> Hi Andrej,<br>
> > >>>>>> <br>
> > >>>>>> The log does not show any value to hack the problem.<br>
> > >>>>>> <br>
> > >>>>>> It's better to run digiKam in the debugger to see where<br>
> > >>>>>> the<br>
> > >>>>>> crash appears in source code. Please follow instruction<br>
> > <br>
> > >>>>>> from this page :<br>
> > <a href="https://www.digikam.org/contribute/#dealing-with-crashes-in-dig" rel="noreferrer" target="_blank">https://www.digikam.org/contribute/#dealing-with-crashes-in-dig</a><br>
> > <br>
> > >>>>>> ikam<br>
> > >>>>>> <br>
> > >>>>>> best<br>
> > >>>>>> <br>
> > >>>>>> Gilles Caulier<br>
> > >>>>>> <br>
> > >>>>>> <br>
> > >>>>>> Le ven. 22 nov. 2024 à 10:03, Andrej Valencic<br>
> > >>>>>> <br>
> > >>>>>> <<a href="mailto:andrej.valencic@zoho.com" target="_blank">andrej.valencic@zoho.com</a>> a écrit :<br>
> > >>>>>> Hello!<br>
> > >>>>>> <br>
> > >>>>>> Anybody has recent experience with the Create Html<br>
> > >>>>>> Gallery tool?<br>
> > >>>>>> <br>
> > >>>>>> I used to use it a couple of time in the past and it<br>
> > >>>>>> worked OK but now<br>
> > >>>>>> it crashes DK if I try to use this tool on some bigger<br>
> > >>>>>> number of<br>
> > >>>>>> photos. I'm using latest 8.6.0 DK on Win11 with 32GB<br>
> > >>>>>> of RAM and<br>
> > >>>>>> internal SSD drive. If I use a smaller number of<br>
> > >>>>>> photos<br>
> > >>>>>> it works but<br>
> > >>>>>> with a big gallery it crashes - I'm not sure where the<br>
> > >>>>>> limit is but it<br>
> > >>>>>> definitely crashes if I chose more than 100 items to<br>
> > >>>>>> add to the gallery.<br>
> > >>>>>> In the past with some older version of DK I easily<br>
> > >>>>>> made<br>
> > >>>>>> html gallery<br>
> > >>>>>> with more than 400 items!<br>
> > >>>>>> <br>
> > >>>>>> Included is the log file from DK start and ends when<br>
> > >>>>>> it<br>
> > >>>>>> crashes.<br>
<br>
<br>
<br>
<br>
</blockquote></div>
</blockquote></div>