Bug 453965 - Showfoto crashed while parsing image metadata with Image Magick.
Summary: Showfoto crashed while parsing image metadata with Image Magick.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Engine (show other bugs)
Version: 7.6.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-05-18 02:43 UTC by Steve
Modified: 2022-05-18 21:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.7.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve 2022-05-18 02:43:24 UTC
Application: showfoto (7.6.0)

Qt Version: 5.15.3
Frameworks Version: 5.93.0
Operating System: Linux 5.17.6-300.fc36.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora release 36 (Thirty Six)"
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
I was attempting to enlarge a photo or a selected section of a photo....both actions crashed the application

The crash can be reproduced every time.

-- Backtrace:
Application: Showfoto (showfoto), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f982f052afc in zcopy_ () from /lib64/libopenblaso.so.0
#5  0x00007f97eda60129 in gs_interpret () from /lib64/libgs.so.9
#6  0x00007f97eda52dd4 in gs_run_init_file () from /lib64/libgs.so.9
#7  0x00007f97eda52fa9 in gs_main_init2aux () from /lib64/libgs.so.9
#8  0x00007f97eda5309a in gs_main_init2 () from /lib64/libgs.so.9
#9  0x00007f97edb1ea70 in runarg.constprop () from /lib64/libgs.so.9
#10 0x00007f97eda54585 in argproc () from /lib64/libgs.so.9
#11 0x00007f97eda54d48 in swproc () from /lib64/libgs.so.9
#12 0x00007f97eda55f4b in gs_main_init_with_args01 () from /lib64/libgs.so.9
#13 0x00007f97eda5609d in gs_main_init_with_args () from /lib64/libgs.so.9
#14 0x00007f97ee8f3647 in ReadPDFImage () from /usr/lib64/ImageMagick-6.9.12/modules-Q16/coders/pdf.so
#15 0x00007f984822013d in ReadImage () from /lib64/libMagickCore-6.Q16.so.7
#16 0x00007f9848221433 in ReadImages () from /lib64/libMagickCore-6.Q16.so.7
#17 0x00007f98480ea88d in IdentifyImageCommand () from /lib64/libMagickWand-6.Q16.so.7
#18 0x00007f984b04e7c6 in Digikam::DMetadata::loadUsingImageMagick(QString const&) () from /lib64/libdigikamcore.so.7.6.0
#19 0x00007f984b05167c in Digikam::DMetadata::load(QString const&, Digikam::MetaEngine::Backend*) () from /lib64/libdigikamcore.so.7.6.0
#20 0x0000563105f72693 in ShowFoto::ShowfotoItemInfo::itemInfoFromFile(QFileInfo const&) ()
#21 0x0000563105f9e28c in ShowFoto::Showfoto::openUrls(QList<QUrl> const&) ()
#22 0x0000563105f9e8e2 in ShowFoto::Showfoto::slotOpenFilesfromPath(QStringList const&, QString const&) ()
#23 0x00007f98498bd8af in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#24 0x0000563105f85c73 in ShowFoto::ShowfotoFolderViewSideBar::loadContents(QModelIndex const&, bool) ()
#25 0x0000563105f89444 in ShowFoto::ShowfotoFolderViewList::mouseDoubleClickEvent(QMouseEvent*) ()
#26 0x00007f984a53b02c in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#27 0x00007f984a5e66a2 in QFrame::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#28 0x00007f9849889ee1 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#29 0x00007f984a4f7c12 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#30 0x00007f984a5002c2 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#31 0x00007f984988a118 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#32 0x00007f984a4fe3b2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#33 0x00007f984a55394e in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#34 0x00007f984a556d50 in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#35 0x00007f984a4f7c22 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#36 0x00007f984988a118 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#37 0x00007f9849dd103d in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#38 0x00007f9849db0f7c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#39 0x00007f9835bb36e4 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5WaylandClient.so.5
#40 0x00007f983ea90f4f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#41 0x00007f983eae6168 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#42 0x00007f983ea8e8e0 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#43 0x00007f98498dac8a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#44 0x00007f9849888b7a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#45 0x00007f9849890c22 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#46 0x0000563105f5b90d in main ()
[Inferior 1 (process 153121) detached]

Reported using DrKonqi
Comment 1 Maik Qualmann 2022-05-18 05:40:18 UTC
Do you have PDF files between your images? Or can it be that you have PDF files with the wrong extension?

Maik
Comment 2 Maik Qualmann 2022-05-18 21:01:53 UTC
Git commit f088a04eb553fd08d043a9c2fadb050b2d71e782 by Maik Qualmann.
Committed on 18/05/2022 at 21:01.
Pushed by mqualmann into branch 'qt5-maintenance'.

ignore PDF files for the Image Magick metadata parser
FIXED-IN: 7.7.0

M  +2    -1    NEWS
M  +2    -1    core/libs/metadataengine/dmetadata/dmetadata_imagemagick.cpp

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