#998070 glxinfo crashes with segfault

Package:
libgl1-mesa-dri
Source:
mesa
Description:
free implementation of the OpenGL API -- DRI modules
Submitter:
c l
Date:
2021-10-29 14:18:04 UTC
Severity:
normal
#998070#5
Date:
2021-10-29 14:13:59 UTC
From:
To:
The Program glxinfo (and many other Programs with hw-rendering context
like mpv, etc.) crashes at some point with "Segmentation fault".

My computer use an ATI RS482M graphic card:
$ lspci -vvv -s 01:05.0
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc.
[AMD/ATI] RS482M [Mobility Radeon Xpress 200] (prog-if 00 [VGA
controller])
    Subsystem: Dell RS482M [Mobility Radeon Xpress 200]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 66 (2000ns min), Cache Line Size: 32 bytes
    Interrupt: pin A routed to IRQ 17
    NUMA node: 0
    Region 0: Memory at c0000000 (32-bit, prefetchable) [size=256M]
    Region 1: I/O ports at 9000 [size=256]
    Region 2: Memory at b0100000 (32-bit, non-prefetchable) [size=64K]
    Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: radeon
    Kernel modules: radeonfb, radeon


I could trace the source of the crashing to $LIB/dri/r300_dri.so .
(Possible) Solution: Ship package with Commit 58e43594
https://gitlab.freedesktop.org/mesa/mesa/-/commit/58e43594fc457eaaf1b1e01e48948959a82080bc