gjs-console crashed with SIGSEGV in lookup_opcode_desc under X

Bug #1966502 reported by Eric Carvalho
58
This bug affects 8 people
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

This crash happens when starting Gnome Extensions.

ProblemType: Crash
DistroRelease: Ubuntu 22.04
Package: gjs 1.72.0-1
ProcVersionSignature: Ubuntu 5.15.0-23.23-generic 5.15.27
Uname: Linux 5.15.0-23-generic x86_64
ApportVersion: 2.20.11-0ubuntu79
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar 25 14:08:33 2022
ExecutablePath: /usr/bin/gjs-console
InstallationDate: Installed on 2020-02-26 (757 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200225.4)
ProcCmdline: /usr/bin/gjs /usr/share/gnome-shell/org.gnome.Extensions
SegvAnalysis:
 Segfault happened at: 0x7f312f6ecfeb: mov (%rdi),%edi
 PC (0x7f312f6ecfeb) ok
 source "(%rdi)" (0x000002a0) not located in a known VMA region (needed readable region)!
 destination "%edi" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: gjs
StacktraceTop:
 ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
 ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
 ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
 ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
 ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
Title: gjs-console crashed with SIGSEGV
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dialout dip lpadmin lxd plugdev sambashare sudo vboxusers wireshark
separator:

Revision history for this message
Eric Carvalho (eric-carvalho) wrote :
information type: Private → Public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 lookup_opcode_desc(gfx_ver*, opcode_desc const**, unsigned int, unsigned int opcode_desc::*, intel_device_info const*, unsigned int) [clone .isra.0] (index_ver=0x2a0, index_descs=0x0, index_size=index_size@entry=84, key=key@entry=&opcode_desc::ir, k=k@entry=60, devinfo=<optimized out>, devinfo=<optimized out>) at ../src/intel/compiler/brw_eu.cpp:720
 brw_opcode_desc (devinfo=<optimized out>, devinfo=<optimized out>, opcode=BRW_OPCODE_RNDZ) at ../src/intel/compiler/brw_eu.cpp:750
 is_3src (devinfo=<optimized out>, devinfo=<optimized out>, opcode=BRW_OPCODE_RNDZ) at ../src/intel/compiler/brw_eu.h:1942
 backend_instruction::is_3src (this=0x5630ee102870, devinfo=0x5630ecaafa00, this=0x5630ee102870, devinfo=0x5630ecaafa00) at ../src/intel/compiler/brw_shader.cpp:890
 can_take_stride (devinfo=0x5630ecaafa00, stride=1, arg=0, dst_type=BRW_REGISTER_TYPE_F, inst=0x5630ee102870) at ../src/intel/compiler/brw_fs_copy_propagation.cpp:398

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 gjs (Ubuntu):
status: New → Confirmed
Revision history for this message
Apport retracing service (apport) wrote :

Stacktrace:
 #0 0x00007f312f6ecfeb in use_surface.constprop.0 (ice=<optimized out>, batch=0x1, p_surf=0x54, writeable=<optimized out>, aux_usage=32561, access=IRIS_DOMAIN_RENDER_WRITE, is_read_surface=<optimized out>) at ../src/gallium/drivers/iris/iris_state.c:4825
         surf = 0x54
         res = 0x5630ecaafa00
         offset = 0
 Backtrace stopped: Cannot access memory at address 0xa
StacktraceSource:
 #0 0x00007f312f6ecfeb in use_surface.constprop.0 (ice=<optimized out>, batch=0x1, p_surf=0x54, writeable=<optimized out>, aux_usage=32561, access=IRIS_DOMAIN_RENDER_WRITE, is_read_surface=<optimized out>) at ../src/gallium/drivers/iris/iris_state.c:4825
   [Error: iris_state.c was not found in source tree]
StacktraceTop: use_surface.constprop.0 (ice=<optimized out>, batch=0x1, p_surf=0x54, writeable=<optimized out>, aux_usage=32561, access=IRIS_DOMAIN_RENDER_WRITE, is_read_surface=<optimized out>) at ../src/gallium/drivers/iris/iris_state.c:4825

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in gjs (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote : Re: gjs-console crashed with SIGSEGV

In my case Gnome Extensions works under Wayland but it crashes under Xorg.

affects: gjs (Ubuntu) → mesa (Ubuntu)
summary: - gjs-console crashed with SIGSEGV
+ gjs-console crashed with SIGSEGV in lookup_opcode_desc under X
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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