Bug 264134 - graphics/mesa-dri: bus error (default build) or assertion failure in do_alu_action (debug build)
Summary: graphics/mesa-dri: bus error (default build) or assertion failure in do_alu_...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords: crash
Depends on:
Blocks:
 
Reported: 2022-05-21 20:20 UTC by Philippe Michel
Modified: 2023-11-21 15:24 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (x11)


Attachments
gdb traces with default package and with mesa-dri built with WITH_DEBUG=yes (13.50 KB, text/plain)
2022-05-21 20:20 UTC, Philippe Michel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Michel 2022-05-21 20:20:09 UTC
Created attachment 234091 [details]
gdb traces with default package and with mesa-dri built with WITH_DEBUG=yes

Running a program using OpenGL, I get the errors shown in the attached gdb backtraces.

mesa-dri version is 21.3.8. The problem is somewhat recent (I started getting it months ago but didn't bother to report it until now). I'm pretty sure it already happened with 21.1 and not with version 19 ; for 20 I'm not sure.

This can be reproduced by running gnubg, from games/gnubg port : switch to 3D board if necessary (View / Switch to 3D view), start a match, at the first click on the board the program crashes.
Comment 1 Emmanuel Vadot freebsd_committer freebsd_triage 2022-11-30 10:51:23 UTC
Can't reproduce here on Whiskeylake (so with iris) using mesa 22.2.3
Could you test again please ?

Thanks,
Comment 2 Philippe Michel 2022-12-01 20:57:45 UTC
I can't reproduce the crash with 22.2.3, but the picking code that crashed with 21.3.8 still doesn't work (while it did with earlier versions).

I reported the issue here but this doesn't seem FreeBSD specific. I see the same failure on Ubuntu (crash with Ubuntu 22.10/mesa 22.1.7).

Someone reported what looks like a very similar problem directly at https://gitlab.freedesktop.org/mesa/mesa/-/issues/4897 but got no follow-up.
It looks like the mesa 21.x > 22.2 update fixed the crash for his example as well. On the other hand, although I'm not familiar with OpenGL and not certain what to expect, the picking results seem suspect.
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2022-12-12 07:18:37 UTC
Triage: not in progress without a human assignee.