Summary: | Crashes every time I clear scrollback and reset | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Aaron Williams <aaronw> |
Component: | history | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aaronw |
Priority: | NOR | ||
Version: | 23.03.80 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/utilities/konsole/commit/9aef76a028eaf9c498761fc6ba487970e5a7af13 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
konsolerc configuration file.
Session that crashed (all crash) Default Profile I use konsoleui file |
Description
Aaron Williams
2023-03-25 19:20:56 UTC
Created attachment 157574 [details]
konsolerc configuration file.
Created attachment 157575 [details]
Session that crashed (all crash)
Created attachment 157576 [details]
Default Profile I use
Created attachment 157577 [details]
konsoleui file
It looks like it's crashing here in session/SessionController.cpp: 994 void SessionController::updateCodecAction(QTextCodec *codec) 995 { 996 _codecAction->setCurrentCodec(QString::fromUtf8(codec->name())); 997 } 998 codec is NULL in gdb. Note that I am seeing a crash in the same place when I attempt to switch my profile, no matter what profile I select. I can, however, create a new tab and duplicate a tab. Changing the character encoding also causes a trap when I attempt to change from UTF-8 to default. Again, the crash is in the same place. I do not know enough about Konsole to know why the name appears to be NULL. With some more digging it looks like it was due to the parent pointing to a non-existent profile in Shell.profile. I was getting the following message when starting Konsole: org.kde.konsole.profile: Could not load profile from "/home/aaronw/.kde4/share/apps/konsole/.profile" After manually removing the parent line in Shell.profile it seems to have stopped crashing. It still may be a bug, though, since it should not crash. Probably since I have a lot of cruft going back well over a decade floating around my home directory. A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/849 Git commit 9aef76a028eaf9c498761fc6ba487970e5a7af13 by Kurt Hindenburg, on behalf of Kurt Hindenburg. Committed on 02/05/2023 at 00:06. Pushed by hindenburg into branch 'master'. Do not allow an invalid parent to be set in profiles There are numerous crashes that come from this. M +6 -1 src/profile/ProfileManager.cpp https://invent.kde.org/utilities/konsole/commit/9aef76a028eaf9c498761fc6ba487970e5a7af13 |