Bug 438051 - Kdialog crashes in KIO::PreviewJobPrivate::slotThumbData() when attempting to save file from internet
Summary: Kdialog crashes in KIO::PreviewJobPrivate::slotThumbData() when attempting to...
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.82.0
Platform: Other Linux
: HI normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
: 438904 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-06-03 18:14 UTC by David Massey
Modified: 2021-07-28 23:56 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Massey 2021-06-03 18:14:25 UTC
Application: kdialog (21.04.1)

Qt Version: 5.15.2
Frameworks Version: 5.82.0
Operating System: Linux 5.12.8-300.fc34.x86_64 x86_64
Windowing System: X11
Drkonqi Version: 5.21.5
Distribution: Fedora 34 (KDE Plasma)

-- Information about the crash:
- What I was doing when the application crashed:

Attempting to save a pdf file using Vivaldi browser causes KDialog to crash and results in me being unable to save said file. Attempted different files, from different pages/sources. All attempts resulted in a crash. Restarting application and computer had no affect; crashes still continue to occur.

The crash can be reproduced every time.

-- Backtrace:
Application: KDialog (kdialog), signal: Segmentation fault

[KCrash Handler]
#4  0x00007ff72e757766 in __memmove_avx_unaligned_erms () from /lib64/libc.so.6
#5  0x00007ff72f26725f in QImage::copy(QRect const&) const () from /lib64/libQt5Gui.so.5
#6  0x00007ff71c95f60d in KIO::PreviewJobPrivate::slotThumbData(KIO::Job*, QByteArray const&) () from /lib64/libKF5KIOWidgets.so.5
#7  0x00007ff72ec914b0 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007ff730098c38 in KIO::TransferJob::data(KIO::Job*, QByteArray const&) () from /lib64/libKF5KIOCore.so.5
#9  0x00007ff72ec914b0 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#10 0x00007ff73007a926 in KIO::SlaveInterface::data(QByteArray const&) () from /lib64/libKF5KIOCore.so.5
#11 0x00007ff73007a33a in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /lib64/libKF5KIOCore.so.5
#12 0x00007ff73007260d in KIO::SlaveInterface::dispatch() () from /lib64/libKF5KIOCore.so.5
#13 0x00007ff73007bc62 in KIO::Slave::gotInput() () from /lib64/libKF5KIOCore.so.5
#14 0x00007ff72ec914b0 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#15 0x00007ff72ec88257 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#16 0x00007ff72f877e73 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#17 0x00007ff72ec60f48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#18 0x00007ff72ec63c76 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#19 0x00007ff72ecadc57 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#20 0x00007ff72d47a4cf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#21 0x00007ff72d4ce4e8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#22 0x00007ff72d477c03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#23 0x00007ff72ecad6f8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#24 0x00007ff72ec5f9b2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#25 0x00007ff72fa76c87 in QDialog::exec() () from /lib64/libQt5Widgets.so.5
#26 0x00007ff72fa76bc7 in QDialog::exec() () from /lib64/libQt5Widgets.so.5
#27 0x000055a452ac1483 in main ()
[Inferior 1 (process 5444) detached]

Possible duplicates by query: bug 437773, bug 436863, bug 435427, bug 432084, bug 431077.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-07-28 20:15:13 UTC
Raising priority given that this affects KDialog which is used by Chrome and Chromium to show open/save dialogs.
Comment 2 Nate Graham 2021-07-28 20:15:27 UTC
*** Bug 438904 has been marked as a duplicate of this bug. ***
Comment 3 Ahmad Samir 2021-07-28 23:56:18 UTC
I can't reproduce the crash. Could you install the debuginfo packages and provide a crash backtrace?