[Bug 268327] graphics/mesa-dri: 22.3.0 breaks direct rendering (radeon, SUMO, r600_dri)
Date: Thu, 22 Dec 2022 14:54:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268327 --- Comment #42 from Florian Walpen <dev@submerge.ch> --- (In reply to Felix Palmen from comment #40) > Are you sure this is complete? Just asking because the upstream issue has a few other commits linked as well.... There were multiple attempts and some rebases, but AFAICT only this one commit was merged. And it fixes exactly the issue he identified: Deleting an entry from the C++ std::set that our iterator currently points to. This invalidates the iterator. The fix is to increment the iterator before deletion, which is correct according to specs, see https://en.cppreference.com/w/cpp/container/set/erase -- You are receiving this mail because: You are the assignee for the bug.