Bug 454155 - KRunner crashes when pasting specific base64 image
Summary: KRunner crashes when pasting specific base64 image
Status: RESOLVED FIXED
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.24.90
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Alexander Lohnau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-21 13:23 UTC by Nico
Modified: 2023-12-06 22:45 UTC (History)
3 users (show)

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


Attachments
File containing the text (1.74 KB, text/plain)
2022-05-21 13:23 UTC, Nico
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nico 2022-05-21 13:23:53 UTC
Created attachment 149075 [details]
File containing the text

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Open KRunner
2. Paste the following text
```
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAABNtJREFUWIWtl11sVFUQgL+5u3tZSMvSPwgVYUPaEksDRSCGPzWFoKUS8QFSTUiMIb6R+CYk+KIkakw0kUej8YEoiH9oKQloiQYBY5AqUuK2CQvyE9sulLbQ7f7c8eFuu/fu3ls2lUkm956ZOTNzZs6ZM0coEdLHN0eANqAFaAaJAnNy7CHQONANdAHHQq0n7paiVx4kkOrcVC8ie4F2IFyiv0ngEPBOqPVkbFoOpDo3zgT2C7IbCJZoeBLUVp4BDgD7Qlt+GCvZgVRnS73AN0BjgcLJ7wStUIkXDegBtoW2dPU90IH0sadXKHJCoMqp0DnB6Uwh3am0gJ8ANofaTl3wdSDV8VSdCGdVbeOekLMkAurliVM0x9P83IQoa0PP/dRb5ECq48mZwG8CjT76Hhb0oKw2t/48BmBMklX3o9qoatlL88RC3lSyvvKNoG+5IpD6bl0Dwl9MsdvFrEDmrUM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D+r6iq72M+0bACanPFzSoskfQ3OPU7yXiCoP9OBXeNl+87mm4ZAcmYPyz2oi4nudEcT3PiQPdIF1Ah/nSjeFS9P4HpTPX9LwQ4pMAAAAASUVORK5CYII=
```

OBSERVED RESULT
KRunner crashes

EXPECTED RESULT
It should not crash

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.24.90
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Comment 1 Phos 2022-05-22 11:32:42 UTC
Can replicate

Operating System: Arch Linux
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Kernel Version: 5.17.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz
Memory: 31.1 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Comment 2 Alexander Lohnau 2022-05-22 12:04:22 UTC
Cannot reproduce, please share your qalculate version.
Comment 3 Nico 2022-05-22 12:05:24 UTC
pacman -Qi qalculate-qt
```
Name            : qalculate-qt
Version         : 4.1.1-1
Description     : Qt frontend for libqalculate
Architecture    : x86_64
URL             : https://qalculate.github.io/
Licenses        : GPL
Groups          : None
Provides        : None
Depends On      : libqalculate  qt6-svg  hicolor-icon-theme
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 3.25 MiB
Packager        : Antonio Rojas <arojas@archlinux.org>
Build Date      : Mon 04 Apr 2022 09:59:26 PM CEST
Install Date    : Tue 05 Apr 2022 12:00:11 AM CEST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature
```
Comment 4 Nico 2022-05-22 12:15:12 UTC
Oh, I think you wanted the version of libqalculate as it's a dependency of plasma-workspace but it's the same

pacman -Qi libqalculate
```
Name            : libqalculate
Version         : 4.1.1-2
Description     : Multi-purpose desktop calculator
Architecture    : x86_64
URL             : https://qalculate.github.io/
Licenses        : GPL
Groups          : None
Provides        : None
Depends On      : libxml2  curl  mpfr
Optional Deps   : gnuplot: for plotting support
Required By     : plasma-workspace  qalculate-qt
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 13.54 MiB
Packager        : Felix Yan <felixonmars@archlinux.org>
Build Date      : Fri 15 Apr 2022 12:11:25 AM CEST
Install Date    : Sun 17 Apr 2022 02:52:38 AM CEST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature
```
Comment 5 Nico 2022-05-22 12:18:10 UTC
Also happened on 5.24.5 btw, so I don't think it's a regression in 5.24.90
Comment 6 Nate Graham 2022-05-23 19:31:10 UTC
A lot of libqalculate crashes lately :/
Comment 7 Nico 2022-05-23 19:33:19 UTC
Btw, when trying to open the bug reporter on the notification crash via the "Report bug" button it crashes too.
Comment 8 Alexander Lohnau 2023-10-28 17:49:58 UTC
Does this issue persist?
Comment 9 Nico 2023-12-06 22:45:03 UTC
Seems to be fixed, at least I can't reproduce it anymore on Plasma 5.90.0
It now only shows a weird calculator response