Bug 492043 - Skanpage crashed after trying to import image file
Summary: Skanpage crashed after trying to import image file
Status: RESOLVED FIXED
Alias: None
Product: Skanpage
Classification: Applications
Component: general (show other bugs)
Version: 24.05.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Alexander Stippich
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-08-22 14:28 UTC by Geraldo Simião
Modified: 2024-09-14 16:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/5243/events/ab7eb19379394897b29a12a5863b8d49/


Attachments
New crash information added by DrKonqi (90.67 KB, text/plain)
2024-08-22 14:28 UTC, Geraldo Simião
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geraldo Simião 2024-08-22 14:28:17 UTC
Application: skanpage (24.05.2)

Qt Version: 6.7.2
Frameworks Version: 6.5.0
Operating System: Linux 6.10.6-200.fc40.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 40 (KDE Plasma)"
DrKonqi: 6.1.4 [CoredumpBackend]

-- Information about the crash:
Was trying to import an image file to skanpage and then it crashed.

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.6-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-3632QM CPU @ 2.20GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4000

The reporter is unsure if this crash is reproducible.

-- Backtrace (Reduced):
#5  0x00007fb9030903dd in KSaneCore::Option::value (this=0x0) at /usr/src/debug/ksanecore-24.05.2-1.fc40.x86_64/src/option.cpp:116
#6  0x0000559738cfedc8 in Skanpage::importFile (this=0x7ffda19ec980, fileUrl=...) at /usr/src/debug/skanpage-24.05.2-1.fc40.x86_64/src/Skanpage.cpp:691
#7  Skanpage::qt_static_metacall (_o=0x7ffda19ec980, _c=<optimized out>, _id=<optimized out>, _a=0x7ffda19e9158) at /usr/src/debug/skanpage-24.05.2-1.fc40.x86_64/redhat-linux-build/src/skanpage_autogen/include/moc_Skanpage.cpp:463
#8  0x0000559738d007b4 in Skanpage::qt_metacall (this=0x7ffda19ec980, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7ffda19e9158) at /usr/src/debug/skanpage-24.05.2-1.fc40.x86_64/redhat-linux-build/src/skanpage_autogen/include/moc_Skanpage.cpp:631
#9  0x00007fb9015b3caa in QQmlObjectOrGadget::metacall (this=this@entry=0x7ffda19e9420, type=type@entry=QMetaObject::InvokeMetaMethod, index=<optimized out>, index@entry=37, argv=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/qml/qqmlobjectorgadget.cpp:14


Reported using DrKonqi
Comment 1 Geraldo Simião 2024-08-22 14:28:18 UTC
Created attachment 172857 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Bug Janitor Service 2024-09-14 14:54:44 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/skanpage/-/merge_requests/81
Comment 3 Alexander Stippich 2024-09-14 16:15:25 UTC
Git commit 7b06fb345d42712f1ac209bc2b3f4468e42a29f8 by Alexander Stippich.
Committed on 14/09/2024 at 10:30.
Pushed by astippich into branch 'master'.

guard against nullptr when trying to import a file
Related: bug 490203

M  +4    -1    src/Skanpage.cpp

https://invent.kde.org/utilities/skanpage/-/commit/7b06fb345d42712f1ac209bc2b3f4468e42a29f8