Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#69538 - [appstream-qt] appstream-0.14.0 causes krunner to crash after typing anything

Attached to Project: Arch Linux
Opened by Ville Aakko (Wild_Penguin) - Thursday, 04 February 2021, 21:46 GMT
Last edited by Antonio Rojas (arojas) - Friday, 05 February 2021, 06:56 GMT
Task Type Bug Report
Category Reproducible Builds
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Krunner is non-functional after upgrading appstream to 0.14.

Typing any single character to krunners dialog will cause it to segfault.

Downgrading to 0.13.1-1 (both appstream and appstream-qt) will allow krunner to be useful again.

Additional info:
* package version(s): appstream-qt-0.14.0-3 and appstream-0.14.0-3

Steps to reproduce:

1) Run krunner (shortcut at ALT+SPACE and ALT+F2 per default in KDE Plasma).
2) Start typing anything, for example a program name to be run

Results:

After first character (any character), krunner crashes

Expected results:

Krunner should not crash.

Possibly related:
https://bbs.archlinux.org/viewtopic.php?id=263266 (this is about KDE Discover store, but also worked around by users by downgrading appstream, pointing towards something being wrong with current appstream).
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 05 February 2021, 06:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  appstream 0.14.0-4
Comment by Antonio Rojas (arojas) - Thursday, 04 February 2021, 21:52 GMT
Backtrace please
Comment by Ville Aakko (Wild_Penguin) - Thursday, 04 February 2021, 21:53 GMT
Partial backtrace from krunner (as there are no debug symbols in Arch package binaries).
Comment by Ville Aakko (Wild_Penguin) - Thursday, 04 February 2021, 22:31 GMT
I've build appstream with debug symbols, and reproduced with those, however rest of the software stack are not build with debug symbols so in that sense even this backtrace is not complete.

Please advice if I can be helpful in some other ways (such as building Plasma with debug symbols, or if there are readily built binaries available somewhere). I got also coredumps catched by coredumpctl and can send those .zst files if they are useful, and could fire krunner up via gdb to get another backtrace. As a non-programmer my actual debugging skills are quite limited beyond that.
Comment by Weng Xuetian (csslayer) - Friday, 05 February 2021, 04:27 GMT
This is the upstream commit that trying to fix this : https://github.com/ximion/appstream/commit/306eb287a36a2779c304fe47b5473e468c7bd0f6

Basically it's a double-free bug. Quite critical because it simply crash everything that use appstream.

Loading...