Bug 2012581

Summary: Any gtk4 application crashes in _crocus_batch_flush() with Intel Gen5 iGPU
Product: [Fedora] Fedora Reporter: Christian Stadelmann <fedora>
Component: mesaAssignee: Adam Jackson <ajax>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: ajax, bskeggs, caillon+fedoraproject, gnome-sig, igor.raits, jglisse, klember, lyude, mclasen, rclark, rhughes, rstrode, tstellar
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/18a16440ffce7fe84a518dde7336a9ecf8d16c19
Whiteboard: abrt_hash:eb306013a974c468b2a454ffba68132b9176209c;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-05 16:06:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: cpuinfo
none
File: dso_list
none
File: limits
none
File: proc_pid_status none

Description Christian Stadelmann 2021-10-10 12:08:33 UTC
Description of problem:
After opening the application and just some basic interaction, it crashes.

Version-Release number of selected component:
gtk4-devel-tools-4.4.0-4.fc35

Additional info:
reporter:       libreport-2.15.2
backtrace_rating: 4
cmdline:        gtk4-demo
crash_function: _crocus_batch_flush
executable:     /usr/bin/gtk4-demo
journald_cursor: s=5df33174d0204bb29cf81dd787806c96;i=12c438;b=f07cf651c5444653880cc22d84bdc34c;m=34c01c791;t=5cdfe2d6c9dee;x=cea789f79f42402f
kernel:         5.14.10-300.fc35.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp

Comment 1 Christian Stadelmann 2021-10-10 12:08:36 UTC
Created attachment 1831461 [details]
File: backtrace

Comment 2 Christian Stadelmann 2021-10-10 12:08:37 UTC
Created attachment 1831462 [details]
File: core_backtrace

Comment 3 Christian Stadelmann 2021-10-10 12:08:38 UTC
Created attachment 1831463 [details]
File: cpuinfo

Comment 4 Christian Stadelmann 2021-10-10 12:08:39 UTC
Created attachment 1831464 [details]
File: dso_list

Comment 5 Christian Stadelmann 2021-10-10 12:08:40 UTC
Created attachment 1831465 [details]
File: limits

Comment 6 Christian Stadelmann 2021-10-10 12:08:41 UTC
Created attachment 1831466 [details]
File: proc_pid_status

Comment 7 Christian Stadelmann 2021-10-10 13:04:43 UTC

*** This bug has been marked as a duplicate of bug 2012563 ***

Comment 8 Christian Stadelmann 2021-10-10 13:06:39 UTC
It seems like this bug is caused by something in the i915 driver, gtk4 or somewhere in between like mesa.

I've reported related GPU hangs to mesa: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5475

Comment 9 Christian Stadelmann 2021-10-10 13:06:44 UTC
*** Bug 2012563 has been marked as a duplicate of this bug. ***

Comment 10 Christian Stadelmann 2021-10-11 08:17:30 UTC
David Airlie has already implemented a fix: https://bodhi.fedoraproject.org/updates/FEDORA-2021-8b492caf9e

Comment 11 Christian Stadelmann 2021-11-05 16:06:51 UTC
Fixed in latest mesa release. Thank you!