Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Dec 2022 14:54:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 268327] graphics/mesa-dri: 22.3.0 breaks direct rendering (radeon, SUMO, r600_dri)
Message-ID:  <bug-268327-7141-DeYBatyiUx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-268327-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-268327-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268327

--- 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 com=
mit
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 iterat=
or.
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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268327-7141-DeYBatyiUx>