OpenSolaris

Printable Version Enter a New Search
Bug ID 6813198
Synopsis [defect 7060] glxinfo -i is coring
State 10-Fix Delivered:Verified (Fix available in build)
Category:Subcategory xserver:programs
Keywords
Responsible Engineer Alan Coopersmith
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_111
Fixed In snv_111
Release Fixed solaris_nevada(snv_111)
Related Bugs 6724478
Submit Date 4-March-2009
Last Update Date 20-March-2009
Description
Transferred from http://defect.opensolaris.org/bz/show_bug.cgi?id=7060 :

------- Description From  Emily Chen   2009-03-03 05:37:12: -------

On Snv_108 + Vermillion_110

#/usr/X11/bin/glxinfo -i

The result is: 
name of display: :0.0
display: :0  screen: 0
direct rendering: No (-i specified)
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control, 
    GLX_EXT_texture_from_pixmap, GLX_ARB_create_context, GLX_ARB_multisample, 
    GLX_NV_float_buffer, GLX_ARB_fbconfig_float
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info, 
    GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync, 
    GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGI_swap_control, GLX_ARB_create_context, GLX_NV_float_buffer, 
    GLX_ARB_fbconfig_float, GLX_EXT_fbconfig_packed_float, 
    GLX_EXT_texture_from_pixmap, GLX_EXT_framebuffer_sRGB, 
    GLX_NV_present_video, GLX_NV_multisample_coverage
GLX version: 1.3
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control, 
    GLX_EXT_texture_from_pixmap, GLX_ARB_create_context, GLX_ARB_multisample, 
    GLX_NV_float_buffer, GLX_ARB_fbconfig_float, GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: Quadro NVS 285/PCI/SSE2
OpenGL version string: 2.1.2 NVIDIA 180.22
Segmentation Fault (core dumped)


bash-3.2# pstack core
core 'core' of 3267:    /usr/X11/bin/glxinfo -i
 fee64020 strlen   (80554dc) + 30
 feeb2c37 printf   (80554dc, 0, 3, 8047720) + af
 0805245d print_screen_info (8400008) + db1
 0805400b main     (2, 8047b28, 8047b34, 8047b1c) + bd3
 0805161d _start   (2, 8047c28, 8047c3d, 0, 8047c40, 8047c64

------- Comment #1 From David Comay 2009-03-03 10:49:03 -------

*** Bug 7061 has been marked as a duplicate of this bug. ***

------- Comment #2 From Alan Coopersmith 2009-03-03 18:45:03  -------

signal SEGV (no mapping at the fault address) in strlen at 0xfee74020
0xfee74020: strlen+0x0030:      movl     (%eax),%ecx
Current function is print_screen_info
  528            printf("OpenGL shading language version string: %s\n", v);
(dbx) print v
v = (nil)

Our old friend, 6724478 ("libc printf should not SEGV when passed NULL for 
%s format") strikes again.

Workaround: LD_PRELOAD=/usr/lib/ xxxxx@xxxxx.1 glxinfo -i
Work Around
LD_PRELOAD=/usr/lib/ xxxxx@xxxxx.1 glxinfo -i
Comments
N/A