FS#55303 - [mesa] [lib32-mesa] [libdrm] Mesa 17.1.2-2 causes 32-bit programs to segfault

Attached to Project: Community Packages
Opened by Jacob S (Gourdcaptain) - Saturday, 26 August 2017, 19:39 GMT
Last edited by Laurent Carlier (lordheavy) - Monday, 28 August 2017, 05:52 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:
Upgrading mesa and associated libraries to 17.1.7-2 breaks lib32-mesa (17.1.6-1 dependant 32-bit programs. These all crash as soon as they try to use openGL with similar backtraces. Downgrading to 17.1.6-1 fixes this issue.

Additional info:
* Using an AMD Radeon RX 460 graphics card.
* 64-bit packages: mesa-17.1.7-2, libdrm-2.4.83-1
* 32-bit packages: lib32-mesa-17.1.6-1, lib32-libdrm-2.4.82-1

Steps to reproduce:
Launch a 32-bit program that uses OpenGL. Watch the crash happen with an invalid realloc and a similar backtrace.

Attached: Logs of the two repository programs that crashed with this error (most of my 32-bit programs are AUR but also suffer this), gens-gs and steam.
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Monday, 28 August 2017, 05:52 GMT
Reason for closing:  Fixed
Additional comments about closing:  lib32-libdrm 2.4.83-1
Comment by Jacob S (Gourdcaptain) - Saturday, 26 August 2017, 19:41 GMT
Downgrading 64-bit mesa and associated apps does cause the 32-bit ones to resume working again. Issues still seem to occur with 17.1.7-1 lib32-mesa in multilib-testing.
Comment by Jacob S (Gourdcaptain) - Saturday, 26 August 2017, 19:59 GMT
Have found a fix - rebuild lib32-drm (I went with 2.4.83) off extra, install it, then rebuild lib32-mesa (17.1.7) off extra and install it.
Comment by Jacob S (Gourdcaptain) - Monday, 28 August 2017, 00:22 GMT
lib32-libdrm 2.4.83-1 fixes this issue.

Loading...