[xorg-edgers] ...dri/r600_dri.so: undefined symbol: _glapi_tls_Context

Bug #533418 reported by Mike Mestnik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: xorg

I know this indicates a bug with my libGL, however these are vary old reports and I don't feel they apply now.

I believe with this output you should be able to be reasonably sure all of these libs are authentic.
cheako@overrun:~$ LD_DEBUG=files LIBGL_DEBUG=verbose glxinfo
     12932:
     12932: file=libGL.so.1 [0]; needed by glxinfo [0]
     12932: file=libGL.so.1 [0]; generating link map
     12932: dynamic: 0x4f659014 base: 0x00000000 size: 0x0008ce74
     12932: entry: 0x4f5ff3d0 phdr: 0x4f5cf034 phnum: 5
     12932:
     12932:
     12932: file=libm.so.6 [0]; needed by glxinfo [0]
     12932: file=libm.so.6 [0]; generating link map
     12932: dynamic: 0x4e4aeef0 base: 0x00000000 size: 0x00025080
     12932: entry: 0x4e48d460 phdr: 0x4e48a034 phnum: 9
     12932:
     12932:
     12932: file=libX11.so.6 [0]; needed by glxinfo [0]
     12932: file=libX11.so.6 [0]; generating link map
     12932: dynamic: 0x4e610da8 base: 0x00000000 size: 0x0012e314
     12932: entry: 0x4e4f85c0 phdr: 0x4e4e5034 phnum: 7
     12932:
     12932:
     12932: file=libpthread.so.0 [0]; needed by glxinfo [0]
     12932: file=libpthread.so.0 [0]; generating link map
     12932: dynamic: 0x4e4c7eb4 base: 0x00000000 size: 0x000181e8
     12932: entry: 0x4e4b6950 phdr: 0x4e4b2034 phnum: 9
     12932:
     12932:
     12932: file=libc.so.6 [0]; needed by glxinfo [0]
     12932: file=libc.so.6 [0]; generating link map
     12932: dynamic: 0x4e47dd7c base: 0x00000000 size: 0x00144968
     12932: entry: 0x4e353cb0 phdr: 0x4e33d034 phnum: 10
     12932:
     12932:
     12932: file=libXext.so.6 [0]; needed by /usr/lib/libGL.so.1 [0]
     12932: file=libXext.so.6 [0]; generating link map
     12932: dynamic: 0x4e65ceec base: 0x00000000 size: 0x0000f6a0
     12932: entry: 0x4e650b80 phdr: 0x4e64e034 phnum: 6
     12932:
     12932:
     12932: file=libXxf86vm.so.1 [0]; needed by /usr/lib/libGL.so.1 [0]
     12932: file=libXxf86vm.so.1 [0]; generating link map
     12932: dynamic: 0x4f59ef08 base: 0x00000000 size: 0x000050c0
     12932: entry: 0x4f59abf0 phdr: 0x4f59a034 phnum: 6
     12932:
     12932:
     12932: file=libdl.so.2 [0]; needed by /usr/lib/libGL.so.1 [0]
     12932: file=libdl.so.2 [0]; generating link map
     12932: dynamic: 0x4e486ed0 base: 0x00000000 size: 0x00003078
     12932: entry: 0x4e484a40 phdr: 0x4e484034 phnum: 8
     12932:
     12932:
     12932: file=libxcb.so.1 [0]; needed by /usr/lib/libX11.so.6 [0]
     12932: file=libxcb.so.1 [0]; generating link map
     12932: dynamic: 0x4e639f00 base: 0x00000000 size: 0x0001d124
     12932: entry: 0x4e624b50 phdr: 0x4e61d034 phnum: 7
     12932:
     12932:
     12932: file=libXau.so.6 [0]; needed by /usr/lib/libXext.so.6 [0]
     12932: file=libXau.so.6 [0]; generating link map
     12932: dynamic: 0x4e63ff18 base: 0x00000000 size: 0x0000307c
     12932: entry: 0x4e63da70 phdr: 0x4e63d034 phnum: 6
     12932:
     12932:
     12932: file=libXdmcp.so.6 [0]; needed by /usr/lib/libxcb.so.1 [0]
     12932: file=libXdmcp.so.6 [0]; generating link map
     12932: dynamic: 0x4e61ab18 base: 0x00000000 size: 0x00004c40
     12932: entry: 0x4e616e50 phdr: 0x4e616034 phnum: 4
     12932:
     12932:
     12932: calling init: /lib/tls/i686/cmov/libpthread.so.0
     12932:
     12932:
     12932: calling init: /lib/tls/i686/cmov/libc.so.6
     12932:
     12932:
     12932: calling init: /usr/lib/libXdmcp.so.6
     12932:
     12932:
     12932: calling init: /usr/lib/libXau.so.6
     12932:
     12932:
     12932: calling init: /usr/lib/libxcb.so.1
     12932:
     12932:
     12932: calling init: /lib/tls/i686/cmov/libdl.so.2
     12932:
     12932:
     12932: calling init: /usr/lib/libX11.so.6
     12932:
     12932:
     12932: calling init: /usr/lib/libXext.so.6
     12932:
     12932:
     12932: calling init: /usr/lib/libXxf86vm.so.1
     12932:
     12932:
     12932: calling init: /lib/tls/i686/cmov/libm.so.6
     12932:
     12932:
     12932: calling init: /usr/lib/libGL.so.1
     12932:
     12932:
     12932: initialize program: glxinfo
     12932:
     12932:
     12932: transferring control: glxinfo
     12932:
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 4.3.0 r600 (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r600_dri.so
     12932:
     12932: file=/usr/X11R6/lib/modules/dri/r600_dri.so [0]; needed by /usr/lib/libGL.so.1 [0]
     12932: file=/usr/X11R6/lib/modules/dri/r600_dri.so [0]; generating link map
     12932: dynamic: 0xb77ae594 base: 0xb756a000 size: 0x00255820
     12932: entry: 0xb7571540 phdr: 0xb756a034 phnum: 7
     12932:
     12932:
     12932: file=libdrm.so.2 [0]; needed by /usr/X11R6/lib/modules/dri/r600_dri.so [0]
     12932: file=libdrm.so.2 [0]; generating link map
     12932: dynamic: 0xb77ecf0c base: 0xb77e3000 size: 0x0000a5c8
     12932: entry: 0xb77e5820 phdr: 0xb77e3034 phnum: 6
     12932:
     12932:
     12932: file=libexpat.so.1 [0]; needed by /usr/X11R6/lib/modules/dri/r600_dri.so [0]
     12932: file=libexpat.so.1 [0]; generating link map
     12932: dynamic: 0x4e7b1ee0 base: 0x00000000 size: 0x0002602c
     12932: entry: 0x4e78e1f0 phdr: 0x4e78c034 phnum: 7
     12932:
     12932:
     12932: file=libdrm_radeon.so.1 [0]; needed by /usr/X11R6/lib/modules/dri/r600_dri.so [0]
     12932: file=libdrm_radeon.so.1 [0]; generating link map
     12932: dynamic: 0xb77e1f0c base: 0xb77de000 size: 0x000040cc
     12932: entry: 0xb77dee60 phdr: 0xb77de034 phnum: 6
     12932:
     12932:
     12932: file=librt.so.1 [0]; needed by /lib/libdrm.so.2 [0]
     12932: file=librt.so.1 [0]; generating link map
     12932: dynamic: 0x4e64aee8 base: 0x00000000 size: 0x00008254
     12932: entry: 0x4e6448c0 phdr: 0x4e643034 phnum: 9
     12932:
     12932: /usr/X11R6/lib/modules/dri/r600_dri.so: error: symbol lookup error: undefined symbol: _glapi_tls_Context (fatal)
     12932:
     12932: file=/usr/X11R6/lib/modules/dri/r600_dri.so [0]; destroying link map
     12932:
     12932: file=/lib/libdrm_radeon.so.1 [0]; destroying link map
     12932:
     12932: file=/lib/libdrm.so.2 [0]; destroying link map
     12932:
     12932: file=/lib/libexpat.so.1 [0]; destroying link map
libGL error: dlopen /usr/X11R6/lib/modules/dri/r600_dri.so failed (/usr/X11R6/lib/modules/dri/r600_dri.so: undefined symbol: _glapi_tls_Context)
libGL error: unable to find driver: r600_dri.so
display: :0 screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
    GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (RV670 9501) 20090101 x86/MMX+/3DNow!+/SSE2 TCL
OpenGL version string: 1.4 (2.0 Mesa 7.8-devel)
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
    GL_ARB_fragment_program_shadow, GL_ARB_imaging, GL_ARB_multisample,
    GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_point_parameters,
    GL_ARB_point_sprite, GL_ARB_shadow, GL_ARB_shadow_ambient,
    GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
    GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
    GL_ARB_transpose_matrix, GL_ARB_vertex_program, GL_ARB_window_pos,
    GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate,
    GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
    GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
    GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
    GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
    GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture,
    GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_compression_s3tc,
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
    GL_EXT_texture_mirror_clamp, GL_EXT_texture_object,
    GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
    GL_ATI_draw_buffers, GL_ATI_texture_env_combine3,
    GL_ATI_texture_mirror_once, GL_ATIX_texture_env_combine3,
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
    GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_NV_blend_square,
    GL_NV_depth_clamp, GL_NV_light_max_exponent, GL_NV_texgen_reflection,
    GL_NV_texture_rectangle, GL_NV_vertex_program, GL_SGI_color_matrix,
    GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_shadow_ambient,
    GL_SUN_multi_draw_arrays

8 GLX Visuals
   visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
 id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x21 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x22 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x71 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x72 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x73 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x74 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x75 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x68 32 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None

8 GLXFBConfigs:
   visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
 id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x69 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x6a 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x6b 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x6c 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x6d 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x6e 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x6f 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x70 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow

     12932:
     12932: calling fini: glxinfo [0]
     12932:
     12932:
     12932: calling fini: /usr/lib/libGL.so.1 [0]
     12932:
     12932:
     12932: calling fini: /lib/tls/i686/cmov/libm.so.6 [0]
     12932:
     12932:
     12932: calling fini: /usr/lib/libXxf86vm.so.1 [0]
     12932:
     12932:
     12932: calling fini: /usr/lib/libXext.so.6 [0]
     12932:
     12932:
     12932: calling fini: /usr/lib/libX11.so.6 [0]
     12932:
     12932:
     12932: calling fini: /lib/tls/i686/cmov/libpthread.so.0 [0]
     12932:
     12932:
     12932: calling fini: /lib/tls/i686/cmov/libdl.so.2 [0]
     12932:
     12932:
     12932: calling fini: /usr/lib/libxcb.so.1 [0]
     12932:
     12932:
     12932: calling fini: /usr/lib/libXau.so.6 [0]
     12932:
     12932:
     12932: calling fini: /usr/lib/libXdmcp.so.6 [0]
     12932:
     12932:
     12932: calling fini: /lib/tls/i686/cmov/libc.so.6 [0]
     12932:
cheako@overrun:~$

ProblemType: Bug
Architecture: i386
Date: Sat Mar 6 12:23:58 2010
DistroRelease: Ubuntu 9.10
Package: xorg (not installed)
ProcEnviron:
 PATH=(custom, no user)
 LANG=C
 SHELL=/bin/bash
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu10
 libgl1-mesa-glx 7.8.0~git20100304.4c0c728b-0ubuntu0sarvatt~karmic
 libdrm2 2.4.19+git20100303.b5495527-0ubuntu0sarvatt2~karmic
 xserver-xorg-video-intel N/A
 xserver-xorg-video-ati 1:6.12.191+git20100302.e6dc8866-0ubuntu0sarvatt~karmic
SourcePackage: xorg
Uname: Linux 2.6.33 i686
system:
 distro: Ubuntu
 architecture: i686kernel: 2.6.33

Revision history for this message
Mike Mestnik (cheako) wrote :
Revision history for this message
Mike Mestnik (cheako) wrote :

I decided to run:
cheako@overrun:~$ grep -ri _glapi_tls_Context /lib /usr 2>/dev/null

Hopefully I'll discover some clue.

Revision history for this message
Mike Mestnik (cheako) wrote :

Only the client drivers in /usr/lib/dri/ had this string. All/Most of them had it.

Can you verify if this should be the case?

Revision history for this message
Mike Mestnik (cheako) wrote :

My Xorg.log

Revision history for this message
Robert Hooker (sarvatt) wrote :

It ended up being a stray fglrx libGL hanging around.

Changed in xorg (Ubuntu):
status: New → Invalid
Revision history for this message
Mike Mestnik (cheako) wrote :

<cheako> So... I'm looking ofr a file with "X11R6/lib/modules/" in it.
<cheako> /usr/lib/libGL.so.1.5.060500
<cheako> I fixed it... I found the rough libGL that ldconfig was choosing.
<Sarvatt> OpenGL vendor string: Advanced Micro Devices, Inc.
<Sarvatt> didnt even notice that since the next two lines were mesa ones
<Sarvatt> glad ya got it fixed :)
<cheako> There, now I've got compiz stuff flying all over and life is good.

...This can be closed, but I don't know how.

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.