Bug 1508924 - KTextEditor is crash-happy
Summary: KTextEditor is crash-happy
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kf5-ktexteditor
Version: 26
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-02 14:04 UTC by Matthew Woehlke
Modified: 2017-11-15 22:29 UTC (History)
6 users (show)

Fixed In Version: kf5-ktexteditor-5.38.0-3.fc26
Clone Of:
Environment:
Last Closed: 2017-11-08 23:28:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
KDE Software Compilation 385413 0 None None None 2017-11-02 18:31:41 UTC
KDE Software Compilation 386394 0 None None None 2017-11-02 14:04:13 UTC

Description Matthew Woehlke 2017-11-02 14:04:14 UTC
Description of problem:
Recent updates to KTextEditor to remove use of deprecated QtScript have caused KTextEditor to become very crash-happy. According to upstream, this is believed to be caused by the auto-indenter code triggering bugs in Qt's QtScript replacement that are not fixed until at least Qt 5.9.

I'm filing against Fedora (in addition to upstream) because it's unclear that upstream has any intention of fixing this; upstream's attitude appears to be "don't use older Qt". That being the case, this needs to be dealt with distro-side, possibly by reverting the update to KTextEditor.

Version-Release number of selected component (if applicable):
kf5-ktexteditor-5.38.0-1.fc26.x86_64
qt5-*-5.7.1-19.fc26.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Refer to upstream bug report

Actual results:
The KTextEditor-using application (kwrite/kdevelop/etc.) crashes.

Expected results:
No crash.

Comment 1 Rex Dieter 2017-11-02 18:31:42 UTC
<nod>, thanks for filing this.

See also https://bugs.kde.org/show_bug.cgi?id=385413

f26 has qt-5.9.x updates currently in -testing:
https://bodhi.fedoraproject.org/updates/FEDORA-2017-c133443edc

that all said, 385413 includes some workaround(s) we can consider (especially for f25 that will most likely not be getting any Qt5 refresh)

Comment 2 Rex Dieter 2017-11-02 18:38:17 UTC
and link to a proposed workaround we can consider adding 
https://phabricator.kde.org/D8544

Comment 3 Fedora Update System 2017-11-02 19:35:40 UTC
kf5-ktexteditor-5.38.0-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-4996c59674

Comment 4 Fedora Update System 2017-11-02 19:36:30 UTC
kf5-ktexteditor-5.38.0-3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-6a925f218d

Comment 5 Fedora Update System 2017-11-03 13:58:30 UTC
kf5-ktexteditor-5.38.0-3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-6a925f218d

Comment 6 Fedora Update System 2017-11-03 14:24:11 UTC
kf5-ktexteditor-5.38.0-3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-4996c59674

Comment 7 David H. Gutteridge 2017-11-05 23:02:29 UTC
I duplicated the crash using the test case in https://bugs.kde.org/show_bug.cgi?id=386112 and confirmed the new version of the package addresses it for me.

Comment 8 Fedora Update System 2017-11-08 23:28:37 UTC
kf5-ktexteditor-5.38.0-3.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2017-11-15 22:29:06 UTC
kf5-ktexteditor-5.38.0-3.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, 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.