This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kate: Git blame causes segfault on exit

Tags: None
(comma "," separated)
melissagriffith
Registered Member
Posts
1
Karma
0
I'm using Kate on Arch linux. Seems like whenever I finish editing a git-versioned document, and I close Kate, it crashes with a segfault. I guess it's not the end of the world since I'm exiting anyhow ;D , but the crash is kind of annoying.

The error dialog is from "KDE Crash Handler" and has the message "Executable: kate PID: 17956 Signal: Segmentation fault (11) Time: 11/18/21 9:53:47 AM PST". If I go to the backtrace, I get:
Code: Select all
Application: Kate (kate), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f98ec13c872 in ?? () from /usr/lib/qt/plugins/ktexteditor/kategitblameplugin.so
#5  0x00007f98ec13a1e4 in ?? () from /usr/lib/qt/plugins/ktexteditor/kategitblameplugin.so
#6  0x00007f98f32fc7ab in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007f98f322e6f9 in QProcess::finished(int, QProcess::ExitStatus) () from /usr/lib/libQt5Core.so.5
#8  0x00007f98f3234206 in ?? () from /usr/lib/libQt5Core.so.5
#9  0x00007f98f3238d66 in ?? () from /usr/lib/libQt5Core.so.5
#10 0x00007f98f3230640 in QProcess::~QProcess() () from /usr/lib/libQt5Core.so.5
#11 0x00007f98ec13c227 in ?? () from /usr/lib/qt/plugins/ktexteditor/kategitblameplugin.so
#12 0x00007f98ec13c359 in ?? () from /usr/lib/qt/plugins/ktexteditor/kategitblameplugin.so
#13 0x0000559a822ba849 in ?? ()
#14 0x0000559a822baa4a in ?? ()
#15 0x0000559a822a84cf in ?? ()
#16 0x0000559a822a8759 in ?? ()
#17 0x0000559a82297f0e in ?? ()
#18 0x0000559a822933e0 in ?? ()
#19 0x00007f98f2c51b25 in __libc_start_main () from /usr/lib/libc.so.6
#20 0x0000559a82294a4e in _start ()
[Inferior 1 (process 17956) detached]


It looks like the git blame plugin is causing the issue, which is not surprising because the crash doesn't happen outside git repos. I also have the log from my terminal:
Code: Select all
$ kate README.md
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_aspell.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_aspell.so: (libaspell.so.15: cannot open shared object file: No such file or directory)"
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so: (libhspell.so.0: cannot open shared object file: No such file or directory)"
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so: (libvoikko.so.1: cannot open shared object file: No such file or directory)"
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_aspell.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_aspell.so: (libaspell.so.15: cannot open shared object file: No such file or directory)"
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so: (libhspell.so.0: cannot open shared object file: No such file or directory)"
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so: (libvoikko.so.1: cannot open shared object file: No such file or directory)"
Qt: Session management error: networkIdsList argument is NULL
QProcess: Destroyed while process ("git") is still running.
18 -- exe=/usr/bin/kate
13 -- platform=xcb
11 -- display=:0
13 -- appname=kate
17 -- apppath=/usr/bin
10 -- signal=11
10 -- pid=17956
19 -- appversion=21.08.3
17 -- programname=Kate
31 -- bugaddress=submit@bugs.kde.org
12 -- startupid=0
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kate path = /usr/bin pid = 17956
KCrash: Arguments: /usr/bin/kate README.md
KCrash: Attempting to start /usr/lib/drkonqi
[1]  + 17956 suspended (signal)  kate README.md


Note that the spellcheck errors are unrelated, I get them even when editing non-git files, and I don't get any crashes.
Code: Select all
$ kate
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_aspell.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_aspell.so: (libaspell.so.15: cannot open shared object file: No such file or directory)"
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so: (libhspell.so.0: cannot open shared object file: No such file or directory)"
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so: (libvoikko.so.1: cannot open shared object file: No such file or directory)"
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_aspell.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_aspell.so: (libaspell.so.15: cannot open shared object file: No such file or directory)"
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so: (libhspell.so.0: cannot open shared object file: No such file or directory)"
kf.sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so: (libvoikko.so.1: cannot open shared object file: No such file or directory)"
Qt: Session management error: networkIdsList argument is NULL
QProcess: Destroyed while process ("git") is still running.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
Please file this bug report on https://bugs.kde.org, and make sure you have the necessary debugging symbols installed. The forum is not meant for bugreports.
See also https://community.kde.org/Guidelines_an ... sh_reports


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]