gnome-terminal-server crashed with SIGSEGV in g_utf8_pointer_to_offset()

Bug #2036647 reported by Martin Randau
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Gnome terminal just crashed, was moving pointer across window.

ProblemType: Crash
DistroRelease: Ubuntu 23.10
Package: gnome-terminal 3.49.92-2ubuntu1
ProcVersionSignature: Ubuntu 6.5.0-5.5-generic 6.5.0
Uname: Linux 6.5.0-5-generic x86_64
ApportVersion: 2.27.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue Sep 19 22:39:00 2023
ExecutablePath: /usr/libexec/gnome-terminal-server
InstallationDate: Installed on 2023-09-18 (1 days ago)
InstallationMedia: Ubuntu 23.10 "Mantic Minotaur" - Daily amd64 (20230918)
ProcCmdline: /usr/libexec/gnome-terminal-server
SegvAnalysis:
 Segfault happened at: 0x7f58c3c30180 <g_utf8_pointer_to_offset+48>: movzbl (%rsi),%ecx
 PC (0x7f58c3c30180) ok
 source "(%rsi)" (0x5646400b2000) not located in a known VMA region (needed readable region)!
 destination "%ecx" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: gnome-terminal
StacktraceTop:
 g_utf8_pointer_to_offset () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
 ??? () at /lib/x86_64-linux-gnu/libvte-2.91.so.0
 ??? () at /lib/x86_64-linux-gnu/libvte-2.91.so.0
 ??? () at /lib/x86_64-linux-gnu/libvte-2.91.so.0
 ??? () at /lib/x86_64-linux-gnu/libgtk-3.so.0
Title: gnome-terminal-server crashed with SIGSEGV in g_utf8_pointer_to_offset()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sudo users
separator:

Revision history for this message
Martin Randau (cmmrandau) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_utf8_pointer_to_offset (str=<optimized out>, pos=<optimized out>) at ../../../glib/gutf8.c:423
 emit_text_changed_insert (len=<optimized out>, offset=0, text=<optimized out>, object=0x56463fea9a70) at ../src/vteaccess.cc:161
 emit_text_changed_insert (len=<optimized out>, offset=0, text=<optimized out>, object=0x56463fea9a70) at ../src/vteaccess.cc:152
 _vte_terminal_accessible_text_scrolled (accessible=0x56463fea9a70, howmuch=<optimized out>) at ../src/vteaccess.cc:651
 vte::terminal::Terminal::emit_text_scrolled (delta=-1, this=0x56463fda1d40) at ../src/vteinternal.hh:1163

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in gnome-terminal (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-terminal (Ubuntu):
status: New → Confirmed
information type: Private → Public
Revision history for this message
Nathan Teodosio (nteodosio) wrote : Journal log

Yesterday I got crashes whenever I tried to maximize it or resize it.

I started Ubuntu on Wayland from SDDM though.

After I started it from GDM I no longer reproduce the problem, although
I rebooted in between so...

I didn't get a crash file in /var/crash. I attach the journal from
yesterday, filtered for gnome-terminal. You can see 3 segfaults, and I
think that is indeed the number of times I tried the terminal before
giving up on it.

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

Looks the same as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052172.

If it's indeed the same, and if the analysis over there was correct, then this was a bug in package libvte-2.91-0 version 0.74.0-1 and is already fixed in version 0.74.0-2.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.