Nux

[fglrx] X server dies when the unityshell plugin is loaded and GLSL is unavailable. glGetActiveAttribARB <- nux::IOpenGLShaderProgram::CheckAttributeLocation() <- nux::IOpenGLShaderProgram::Link

Bug #1025098 reported by Daniel van Vugt
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Nux
Triaged
High
Unassigned
Unity
Invalid
Critical
Unassigned
fglrx-installer (Ubuntu)
Invalid
Critical
Unassigned
nux (Ubuntu)
Confirmed
High
Unassigned

Bug Description

X server dies when unityshell is loaded with the latest Nux. I get sent back to the lightdm login screen :(

(gdb) bt
#0 __GI__exit (status=1) at ../sysdeps/unix/sysv/linux/_exit.c:29
#1 0x00007fffe93f72a6 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#2 0x00007ffff6d3c41e in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#3 0x00007ffff6d3a38b in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#4 0x00007ffff253f8c8 in ?? () from /usr/lib/fglrx/libGL.so.1 (glGetActiveAttribARB)
#5 0x00007fffe9f88478 in nux::IOpenGLShaderProgram::CheckAttributeLocation (this=0x88d150) at ./IOpenGLGLSLShader.cpp:758
#6 0x00007fffe9f888b1 in nux::IOpenGLShaderProgram::Link (this=0x88d150) at ./IOpenGLGLSLShader.cpp:673
#7 0x00007fffe9f59fd0 in nux::FontRenderer::FontRenderer (this=0x88f9e0, graphics_engine=...) at ./FontRenderer.cpp:140
#8 0x00007fffe9f79c63 in nux::GraphicsEngine::GraphicsEngine (this=0x8813f0, GlWindow=..., create_rendering_data=224) at ./GraphicsEngine.cpp:236
#9 0x00007fffe9f72e78 in nux::GraphicsDisplay::CreateFromOpenGLWindow (this=0x87f590, X11Display=<optimised out>, X11Window=<optimised out>, OpenGLContext=<optimised out>)
    at ./GraphicsDisplayX11.cpp:684
#10 0x00007fffe9f6d0a6 in nux::DisplayAccessController::CreateFromForeignWindow (this=<optimised out>, X11Display=0x873010, X11Window=180, OpenGLContext=0x6589b0) at ./GLWindowManager.cpp:148
#11 0x00007fffea312aa0 in nux::WindowThread::ThreadCtor (this=0x872c40, X11Display=<optimised out>, X11Window=180, OpenGLContext=0x6589b0) at ./WindowThread.cpp:1108

Changed in nux:
status: New → Triaged
importance: Undecided → Critical
summary: - X server dies when unityshell is loaded with the latest Nux
+ X server dies when unityshell is loaded with the latest Nux (r635)
Changed in unity:
milestone: none → 6.2
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: X server dies when unityshell is loaded with the latest Nux (r635)

I've now tried going back to Nux 3.0 and Unity 6.0.0 and the crash still happens.

The only thing that does seem to work is to uninstall fglrx and use the radeon driver instead.

summary: - X server dies when unityshell is loaded with the latest Nux (r635)
+ [fglrx] X server dies when the unityshell plugin is loaded
Changed in fglrx-installer (Ubuntu):
status: New → Triaged
importance: Undecided → Critical
description: updated
summary: - [fglrx] X server dies when the unityshell plugin is loaded
+ [fglrx] X server dies when the unityshell plugin is loaded.
+ glGetActiveAttribARB <-
+ nux::IOpenGLShaderProgram::CheckAttributeLocation() <-
+ nux::IOpenGLShaderProgram::Link
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: [fglrx] X server dies when the unityshell plugin is loaded. glGetActiveAttribARB <- nux::IOpenGLShaderProgram::CheckAttributeLocation() <- nux::IOpenGLShaderProgram::Link

And yes, precise worked perfectly on this machine with fglrx. That's using Unity 5.12 and Nux 2.0.

The crash only happens with the latest trunk builds of Unity 6.x / Nux 3.x. But whatever it is was introduced before Unity 6.0 and and Nux 3.0 were tagged, because I've tried Unity 6.0 + Nux 3.0 and the crash still occurs. But the precise installation works.

Changed in unity:
milestone: 6.2 → 6.4
Changed in unity:
milestone: 6.4 → 6.6
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Actually, looks like it's caused by bug 1026920. But even still, Nux should not crash if GLSL is unavailable.

Changed in unity:
status: Triaged → Invalid
Changed in nux:
importance: Critical → High
summary: - [fglrx] X server dies when the unityshell plugin is loaded.
- glGetActiveAttribARB <-
+ [fglrx] X server dies when the unityshell plugin is loaded and GLSL is
+ unavailable. glGetActiveAttribARB <-
nux::IOpenGLShaderProgram::CheckAttributeLocation() <-
nux::IOpenGLShaderProgram::Link
Changed in fglrx-installer (Ubuntu):
status: Triaged → Invalid
Changed in unity:
milestone: 6.6 → none
Changed in nux (Ubuntu):
status: New → Confirmed
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.