Skip to contentSkip to conversation

X segfaults on launching in x32 environment

Bug 94512 [email protected] 1 participant 5 messages Mar 12, 2016 – Mar 22, 2016

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=94512

Bug ID: 94512
Summary: X segfaults on launching in x32 environment
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: blocker
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 122253
--> https://bugs.freedesktop.org/attachment.cgi?id=122253&action=edit
backtrace of the segfault

When I try launching X (via startx e.g.), X segfaults with the following backtrace.

The segfault does not happen when I use a software rasterizer.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=94512

--- Comment #1 from Michel D�nzer <[email protected]> ---
Looks like maybe libglapi.so.0 should be picked up from somewhere other than /usr/libx32/libglapi.so.0? It should be from the same build as the rest of the Mesa binaries. If that's not the problem, please get a backtrace with debugging symbols available for /usr/libx32/libglapi.so.0 as well.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94512

--- Comment #2 from EoD <[email protected]> ---
(In reply to Michel D�nzer from comment #1)

Quoted 4 lines

Looks like maybe libglapi.so.0 should be picked up from somewhere other than /usr/libx32/libglapi.so.0? It should be from the same build as the rest of the Mesa binaries. If that's not the problem, please get a backtrace with debugging symbols available for /usr/libx32/libglapi.so.0 as well.

I am not sure where it should be picked up from. How would I figure that out?

The library is from the same build as the rest of the Mesa binaries and the library has debugging symbols available.

/usr/libx32/libglapi.so:           symbolic link to libglapi.so.0.0.0
/usr/libx32/libglapi.so.0:         symbolic link to libglapi.so.0.0.0
/usr/libx32/libglapi.so.0.0.0:     ELF 32-bit LSB shared object, x86-64,

version 1 (SYSV), dynamically linked, not stripped

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 94512] X segfaults with glx-tls enabled in a x32 environment

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94512

EoD <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|X segfaults on launching in |X segfaults with glx-tls
                   |x32 environment             |enabled in a x32
                   |                            |environment

--- Comment #3 from EoD <[email protected]> ---
This segfault is not restricted to starting X, but also happen with glxgears and glxinfo in a multilib environment.

I also figured out those segfaults only happen if glx-tls is enabled. If glx-tls is disabled X, glxinfo and glxgears work fine again.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 94512] X segfaults with glx-tls enabled in a x32 environment

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94512

Michel D�nzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         QA Contact|[email protected] |[email protected].
                   |.org                        |org
           Assignee|[email protected] |[email protected].
                   |.org                        |org
          Component|Drivers/Gallium/radeonsi    |GLX

--- Comment #4 from Michel D�nzer <[email protected]> --- Sounds like it's not a driver specific issue then but a general one with GLX-TLS on x32.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel