Bug 459276 - Batch Queue Manager, Base tool (Convert tool): crash for some selected formats
Summary: Batch Queue Manager, Base tool (Convert tool): crash for some selected formats
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Bqm-Convert (other bugs)
Version First Reported In: 7.9.0
Platform: Appimage Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-17 14:18 UTC by Peter
Modified: 2022-09-27 06:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 7.9.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2022-09-17 14:18:52 UTC
SUMMARY
Select an image.
Batch Queue Manager -- Base tool -- Convert tool
Double click to one device: Convert to AVIF or JXL or WEBP
digiKam crashes

SOFTWARE/OS VERSIONS
Windows: I have not tried
Linux/KDE Plasma: Linux Mint 20.3 (Cinnamon) -- digiKam appimage

Other info:
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007fffa0ef0731 in Digikam::DPluginLoader::exportWidget(QString const&) const ()
   from /tmp/.mount_digiKa3HkqW9/usr/lib/libdigikamcore.so.8.0.0
#2  0x00007fffa8367409 in ?? () from /tmp/.mount_digiKa3HkqW9/usr/plugins/digikam/bqm/Bqm_ConvertToWEBP_Plugin.so
#3  0x00007ffff77452bc in ?? () from /tmp/.mount_digiKa3HkqW9/usr/lib/libdigikamgui.so.7.9.0
#4  0x00007ffff7728f29 in ?? () from /tmp/.mount_digiKa3HkqW9/usr/lib/libdigikamgui.so.7.9.0
#5  0x00007ffff3acb2cd in ?? () from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5Core.so.5
#6  0x00007ffff7729670 in ?? () from /tmp/.mount_digiKa3HkqW9/usr/lib/libdigikamgui.so.7.9.0
#7  0x00007ffff3acb2cd in ?? () from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5Core.so.5
#8  0x00007ffff7728492 in ?? () from /tmp/.mount_digiKa3HkqW9/usr/lib/libdigikamgui.so.7.9.0
#9  0x00007ffff7758fd3 in ?? () from /tmp/.mount_digiKa3HkqW9/usr/lib/libdigikamgui.so.7.9.0
#10 0x00007ffff4a81369 in QWidget::event(QEvent*) () from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5Widgets.so.5
#11 0x00007ffff4b25e6e in QFrame::event(QEvent*) () from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5Widgets.so.5
#12 0x00007ffff4c8a074 in QAbstractItemView::viewportEvent(QEvent*) ()
   from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5Widgets.so.5
#13 0x00007ffff4cee5fb in QTreeView::viewportEvent(QEvent*) () from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5Widgets.so.5
#14 0x00007ffff3a982fa in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
   from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5Core.so.5
#15 0x00007ffff4a4318e in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5Widgets.so.5
#16 0x00007ffff4a49b48 in QApplication::notify(QObject*, QEvent*) ()
   from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5Widgets.so.5
#17 0x00007ffff3a98569 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5Core.so.5
#18 0x00007ffff4a4904f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5Widgets.so.5
#19 0x00007ffff4a9a508 in ?? () from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5Widgets.so.5
#20 0x00007ffff4a9d763 in ?? () from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5Widgets.so.5
#21 0x00007ffff4a4319e in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5Widgets.so.5
#22 0x00007ffff4a499a0 in QApplication::notify(QObject*, QEvent*) ()
   from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5Widgets.so.5
#23 0x00007ffff3a98569 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5Core.so.5
#24 0x00007ffff435f755 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5Gui.so.5
#25 0x00007ffff4360935 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5Gui.so.5
--Type <RET> for more, q to quit, c to continue without paging--
#26 0x00007ffff433beeb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5Gui.so.5
#27 0x00007fffe1afce3a in ?? () from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5XcbQpa.so.5
#28 0x00007ffff2b6017d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ffff2b60400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007ffff2b604a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007ffff3aebe74 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5Core.so.5
#32 0x00007ffff3a97203 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5Core.so.5
#33 0x00007ffff3a9f08c in QCoreApplication::exec() () from /tmp/.mount_digiKa3HkqW9/usr/lib/libQt5Core.so.5
#34 0x0000000000405d5d in ?? ()
#35 0x00007ffff327c083 in __libc_start_main (main=0x404f80, argc=1, argv=0x7fffffffd428, init=<optimized out>, 
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffd418) at ../csu/libc-start.c:308
Comment 1 Maik Qualmann 2022-09-18 17:36:08 UTC
This is about the digiKam-8.0.0 AppImage, which is a bit older. But I can't reproduce the problem either with the AppImage or with the current git/master version.
Which AppImage are you using exactly?

Maik
Comment 2 Maik Qualmann 2022-09-18 19:19:48 UTC
You have strange version problem, you have plugins from digiKam-8.0.0 and libdigikamcore but other digiKam libraries are from 7.9.0.

Maik
Comment 3 Peter 2022-09-18 19:25:35 UTC
(In reply to Maik Qualmann from comment #2)
> You have strange version problem, you have plugins from digiKam-8.0.0 and
> libdigikamcore but other digiKam libraries are from 7.9.0.
> 
> Maik

I use digikam 7.9 from https://files.kde.org/digikam/
I have corrected the version information... ...I don't know why it was 8.0. I probably made a mistake. Sorry!
Comment 4 Maik Qualmann 2022-09-18 19:41:30 UTC
Ok, here is definitely something wrong in the digikam-7.9.0 AppImage, it shouldn't contain BQM conversion plugin for WebP or AVIF. These are only included in digiKam-8.0.0. I changed the version in the bug report because these plugins are not allowed to be included in 7.9.0.

Maik
Comment 5 Maik Qualmann 2022-09-25 15:31:40 UTC
@Gilles, you can clear and recreate the build cache for the digiKam-7.9.0 AppImage. The digikam-7.9.0 AppImage must not contain any BQM plugins for conversion to AVIF and WebP.

Maik
Comment 6 caulier.gilles 2022-09-25 16:25:06 UTC
Cleanup and rebuild of AppImage. This will be uploaded in one hour.

Gilles
Comment 7 Maik Qualmann 2022-09-25 17:57:25 UTC
The BQM plugins are still there. The plugins are linked against the libdigikam*-8.0.0. The AppImage contains both libdigikam*-8.0.0 and libdigikam*-7.9.0 libraries.

Maik
Comment 8 Peter 2022-09-25 19:35:52 UTC
(In reply to caulier.gilles from comment #6)
> Cleanup and rebuild of AppImage. This will be uploaded in one hour.
> 
> Gilles

I can still reproduce this.
Tested digiKam-7.9.0-20220925T154955-x86-64 but still crashes.
Comment 9 caulier.gilles 2022-09-26 04:01:25 UTC
right, the same VM was used to build 7.x and a test of 8.0.0 appimage bundle.

System have been cleaned now. Please try again.

Gilles
Comment 10 Peter 2022-09-26 05:56:50 UTC
(In reply to caulier.gilles from comment #9)
> right, the same VM was used to build 7.x and a test of 8.0.0 appimage bundle.
> 
> System have been cleaned now. Please try again.
> 
> Gilles

Tested digiKam-7.9.0-20220926T033221-x86-64.appimage.
I can't reproduce anymore. Works perfectly.
Thanks Gilles and Maik!
Regards
Peter
Comment 11 caulier.gilles 2022-09-26 14:50:26 UTC
Git commit aa2b61fb62d8f5266a3bff051f9b17d881624d08 by Gilles Caulier.
Committed on 26/09/2022 at 14:49.
Pushed by cgilles into branch 'qt5-maintenance'.

Remove previous intall before to rebuild AppImage
FIXED-IN: 7.9.0

M  +11   -0    project/bundles/appimage/03-build-digikam.sh

https://invent.kde.org/graphics/digikam/commit/aa2b61fb62d8f5266a3bff051f9b17d881624d08
Comment 12 caulier.gilles 2022-09-27 02:56:59 UTC
Git commit 8c86f33952258bc5174a61cb4bdd3ac8db5326ae by Gilles Caulier.
Committed on 27/09/2022 at 02:56.
Pushed by cgilles into branch 'qt5-maintenance'.

clean up previous install under MacOS

M  +14   -0    project/bundles/macports/03-build-digikam.sh

https://invent.kde.org/graphics/digikam/commit/8c86f33952258bc5174a61cb4bdd3ac8db5326ae
Comment 13 caulier.gilles 2022-09-27 06:02:10 UTC
Git commit d6110157d24421dd51635cb16b2ccbbd8b82b0ae by Gilles Caulier.
Committed on 27/09/2022 at 06:01.
Pushed by cgilles into branch 'qt5-maintenance'.

cleanup previous intall under Windows

M  +14   -0    project/bundles/mxe/03-build-digikam.sh

https://invent.kde.org/graphics/digikam/commit/d6110157d24421dd51635cb16b2ccbbd8b82b0ae