Bug 2209374 - kig crashes during startup
Summary: kig crashes during startup
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kig
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kevin Kofler
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-23 16:43 UTC by Anton Guda
Modified: 2023-06-03 02:43 UTC (History)
5 users (show)

Fixed In Version: kig-23.04.1-2.fc38
Clone Of:
Environment:
Last Closed: 2023-06-03 02:43:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
stacktrace during crash (3.09 KB, text/plain)
2023-05-23 16:44 UTC, Anton Guda
no flags Details


Links
System ID Private Priority Status Summary Last Updated
KDE Software Compilation 469962 0 NOR RESOLVED Doesn't launch at all 2023-05-23 19:26:02 UTC

Description Anton Guda 2023-05-23 16:43:07 UTC
kig revives SIGSEGV during startup. 

Reproducible: Always

Steps to Reproduce:
1. start kig (if fone from console, more output available)


Actual Results:  
Crashed via SIGSEGV

Expected Results:  
Just work

Comment 1 Anton Guda 2023-05-23 16:44:29 UTC
Created attachment 1966446 [details]
stacktrace during crash

Comment 2 Kevin Kofler 2023-05-23 19:14:04 UTC
Looks like it is trying to display this error message:
https://invent.kde.org/education/kig/-/blob/f80b6d91f6f9c00f35ac9fef648209a9b87077f9/kig/kig.cpp#L63
KMessageBox::error(this, i18n("Could not find the necessary Kig library, check your installation."));

So it is missing the KigPart. That also causes it to crash while attempting to display the error message, because displaying a dialog processes pending events and there is a pending event that wants to save settings including the KigPart ones.

Comment 3 Kevin Kofler 2023-05-23 19:20:29 UTC
Looks like we need this backported:
https://invent.kde.org/education/kig/-/commit/bca478c18b1a64f96c63cbe87111c79155bf7eb5

<SARCASM>Don't you love it when somebody upstream with global write privileges commits untested changes that completely break an application and takes 3 months to notice and fix it?</SARCASM>

Comment 4 Kevin Kofler 2023-05-23 19:21:20 UTC
(Heck, it was not even fixed by the person who broke it.)

Comment 5 Kevin Kofler 2023-05-23 22:09:34 UTC
Fixed in Rawhide in kig-23.04.1-2.fc39. Since the buggy Kig was also backported to Fedora 38, I am building a Fedora 38 update as well.

Comment 6 Fedora Update System 2023-05-23 22:24:08 UTC
FEDORA-2023-24685c1593 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-24685c1593

Comment 7 Anton Guda 2023-05-24 07:42:48 UTC
All fine in kig-23.04.1-2.fc39. Propose to close.

Comment 8 Kevin Kofler 2023-05-24 08:13:53 UTC
The issue will be automatically closed when kig-23.04.1-2.fc38 reaches stable. Thanks for the report.

Comment 9 Fedora Update System 2023-05-24 14:19:36 UTC
FEDORA-2023-24685c1593 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-24685c1593`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-24685c1593

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2023-06-03 02:43:10 UTC
FEDORA-2023-24685c1593 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.