gnome-terminal-server crashed with SIGSEGV in g_utf8_pointer_to_offset()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTK+ |
New
|
Undecided
|
Unassigned |
Bug Description
When I'm using ibus-keyman with the IPA (SIL) keyboard in gnome-terminal and type n> (or just backspace after the n), gnome-terminal crashes.
The reason is that in text_input_
The other question is why we don't have surrounding text, but that's a different problem. In any case we shouldn't crash in text_input_
I believe this is a different bug from #2036647 because of the different callstack and that we shouldn't call g_utf8_
ProblemType: Crash
DistroRelease: Ubuntu 23.10
Package: gnome-terminal 3.49.92-2ubuntu1
ProcVersionSign
Uname: Linux 6.5.0-15-generic x86_64
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckM
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Fri Jan 26 17:43:54 2024
ExecutablePath: /usr/libexec/
InstallationDate: Installed on 2024-01-23 (3 days ago)
InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1)
JournalErrors:
Jan 26 17:43:53 hostname gnome-terminal-
Jan 26 17:43:53 hostname gnome-terminal-
Jan 26 17:44:00 hostname systemd[1623]: gnome-terminal-
Jan 26 17:44:00 hostname systemd[1623]: gnome-terminal-
ProcCmdline: /usr/libexec/
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
XDG_RUNTIME_
SegvAnalysis:
Segfault happened at: 0x7f884099c180 <g_utf8_
PC (0x7f884099c180) ok
source "(%rsi)" (0x00000000) not located in a known VMA region (needed readable region)!
destination "%ecx" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: gnome-terminal
StacktraceTop:
g_utf8_
?? () from /usr/lib/
?? () from /lib/x86_
?? () from /lib/x86_
ffi_call () from /lib/x86_
Title: gnome-terminal-
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sudo users vboxsf
modified.
mtime.conffile.
separator:
Correct me please if I'm wrong, but it looks to me that you have studied the relevant source code and even located the problem in one of the ibus related package.
So I'm wondering, shouldn't you have filed this bug against that component, rather than gnome-terminal?
Is there anything gnome-terminal's developers could and should do to fix this crash? As far as I understand you, it doesn't look the case to me.
Could you please re-assign this bug to the software package where the bug actually is and whose developers thus have a chance of fixing it?