xdg-desktop-portal-gnome crashed with SIGSEGV in check_invalid() from pango_layout_index_to_line_and_extents() from pango_layout_get_cursor_pos()

Bug #1968492 reported by David Alvarado
26
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xdg-desktop-portal-gnome (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

https://errors.ubuntu.com/problem/d1f900ce59498a14b082a59138b487ecb9b0debb

---

I was in the process of exporting favorites from Microsoft Edge into Google Web when this error occured.

Thank you,

David Alvarado
<email address hidden>

ProblemType: Crash
DistroRelease: Ubuntu 22.04
Package: xdg-desktop-portal-gnome 42.0.1-1ubuntu2
ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
Uname: Linux 5.15.0-25-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.11-0ubuntu80
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sun Apr 10 12:38:35 2022
ExecutablePath: /usr/libexec/xdg-desktop-portal-gnome
InstallationDate: Installed on 2022-04-10 (0 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Beta amd64 (20220329.1)
ProcCmdline: /usr/libexec/xdg-desktop-portal-gnome
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 XDG_RUNTIME_DIR=<set>
SegvAnalysis:
 Segfault happened at: 0x7faaa7432a36: cmpq $0x0,(%r12)
 PC (0x7faaa7432a36) ok
 source "$0x0" ok
 destination "(%r12)" (0x00000000) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: xdg-desktop-portal-gnome
StacktraceTop:
 ?? () from /lib/x86_64-linux-gnu/libpango-1.0.so.0
 pango_layout_get_cursor_pos () from /lib/x86_64-linux-gnu/libpango-1.0.so.0
 ?? () from /lib/x86_64-linux-gnu/libgtk-4.so.1
 ?? () from /lib/x86_64-linux-gnu/libgtk-4.so.1
 g_closure_invoke () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
Title: xdg-desktop-portal-gnome crashed with SIGSEGV in pango_layout_get_cursor_pos()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
separator:

Revision history for this message
David Alvarado (dalvarado62) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 check_invalid (loc=<optimized out>, iter=<optimized out>) at ../pango/pango-layout.c:163
 pango_layout_index_to_line_and_extents (layout=0x7, layout@entry=0x5625365c1b10, index=17, line_rect=0x7ffe87ef8bf0, run_rect=0x7ffe87ef8be0) at ../pango/pango-layout.c:1904
 pango_layout_get_cursor_pos (layout=layout@entry=0x5625365c1b10, index=index@entry=17, strong_pos=strong_pos@entry=0x7ffe87ef8c70, weak_pos=weak_pos@entry=0x7ffe87ef8c60) at ../pango/pango-layout.c:2598
 get_better_cursor_x (self=self@entry=0x56253638d4c0, offset=<optimized out>) at ../../../gtk/gtktext.c:3794
 gtk_text_move_cursor (self=0x56253638d4c0, step=<optimized out>, count=-1, extend_selection=0) at ../../../gtk/gtktext.c:3822

tags: removed: need-amd64-retrace
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
summary: - xdg-desktop-portal-gnome crashed with SIGSEGV in
+ xdg-desktop-portal-gnome crashed with SIGSEGV in check_invalid() from
+ pango_layout_index_to_line_and_extents() from
pango_layout_get_cursor_pos()
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in xdg-desktop-portal-gnome (Ubuntu):
status: New → Confirmed
information type: Private → Public
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.