[Bug 268327] graphics/mesa-dri: 22.3.0 breaks direct rendering (radeon, SUMO, r600_dri)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 18 Dec 2022 12:34:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268327

--- Comment #20 from Florian Walpen <dev@submerge.ch> ---
Created attachment 238898
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=238898&action=edit
Valgrind log of Xorg segfault, verbose.

Also I was able to get a trace of this in valgrind, attached here. It's verbose
and kind of lengthy, search for "Invalid read".

Backtrace is the same as the others, and the read address matches what I see in
the core dump. What is interesting is the "Use of uninitialized value" just
before the invalid read, at the same place in the stack. It suggests that the
invalid read is a consequence of operating on uninitialized data, in the
red-black-tree implementation of C++ std::set.

Unless our standard library is seriously broken, this looks like a case for
upstream mesa to me. It's their internal data structures with a custom
allocator. Did anybody already report it there?

-- 
You are receiving this mail because:
You are the assignee for the bug.