$ gdb --args glxinfo -l GNU gdb (Gentoo 7.7 vanilla) 7.7 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from glxinfo...Reading symbols from /usr/lib64/debug//usr/bin/glxinfo.debug...done. done. (gdb) r Starting program: /usr/bin/glxinfo -l warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? warning: File "/usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.2/libstdc++.so.6.0.18-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". To enable execution of this file add add-auto-load-safe-path /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.2/libstdc++.so.6.0.18-gdb.py line to your configuration file "/home/plaes/.gdbinit". To completely disable this security protection add set auto-load safe-path / line to your configuration file "/home/plaes/.gdbinit". For more information about this security protection see the "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: info "(gdb)Auto-loading safe path" [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". name of display: :0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.4 server glx extensions: GLX_ARB_create_context, GLX_ARB_create_context_profile, GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample, GLX_EXT_create_context_es2_profile, GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_swap_control client glx vendor string: Mesa Project and SGI client glx version string: 1.4 client glx extensions: GLX_ARB_create_context, GLX_ARB_create_context_profile, GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_create_context_es2_profile, GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync GLX version: 1.4 GLX extensions: GLX_ARB_create_context, GLX_ARB_create_context_profile, GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_create_context_es2_profile, GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync OpenGL vendor string: Mesa Project OpenGL renderer string: Gallium 0.4 on i915 (chipset: 945GM) OpenGL version string: 2.1 Mesa 10.1.0 OpenGL shading language version string: 1.20 OpenGL extensions: GL_AMD_shader_trinary_minmax, GL_APPLE_packed_pixels, GL_APPLE_vertex_array_object, GL_ARB_ES2_compatibility, GL_ARB_clear_buffer_object, GL_ARB_copy_buffer, GL_ARB_debug_output, GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_draw_elements_base_vertex, GL_ARB_draw_instanced, GL_ARB_explicit_attrib_location, GL_ARB_fragment_coord_conventions, GL_ARB_fragment_program, GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader, GL_ARB_framebuffer_object, GL_ARB_get_program_binary, GL_ARB_half_float_pixel, GL_ARB_half_float_vertex, GL_ARB_instanced_arrays, GL_ARB_internalformat_query, GL_ARB_invalidate_subdata, GL_ARB_map_buffer_alignment, GL_ARB_map_buffer_range, GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_occlusion_query2, GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_provoking_vertex, GL_ARB_robustness, GL_ARB_sampler_objects, GL_ARB_shader_objects, GL_ARB_shading_language_100, GL_ARB_shadow, GL_ARB_sync, 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_texture_storage, GL_ARB_transpose_matrix, GL_ARB_vertex_array_bgra, GL_ARB_vertex_array_object, GL_ARB_vertex_attrib_binding, GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ARB_vertex_type_10f_11f_11f_rev, GL_ARB_vertex_type_2_10_10_10_rev, GL_ARB_window_pos, GL_ATI_blend_equation_separate, GL_ATI_draw_buffers, GL_ATI_separate_stencil, GL_ATI_texture_env_combine3, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array, GL_EXT_copy_texture, GL_EXT_draw_instanced, GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_blit, GL_EXT_framebuffer_object, GL_EXT_gpu_program_parameters, GL_EXT_multi_draw_arrays, GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels, GL_EXT_pixel_buffer_object, GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_provoking_vertex, 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_cube_map, 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_object, GL_EXT_texture_rectangle, GL_EXT_texture_sRGB, GL_EXT_texture_sRGB_decode, GL_EXT_vertex_array, GL_EXT_vertex_array_bgra, GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate, GL_KHR_debug, GL_MESA_pack_invert, GL_MESA_window_pos, GL_MESA_ycbcr_texture, GL_NV_blend_square, GL_NV_fog_distance, GL_NV_light_max_exponent, GL_NV_packed_depth_stencil, GL_NV_primitive_restart, GL_NV_texgen_reflection, GL_NV_texture_env_combine4, GL_NV_texture_rectangle, GL_NV_vdpau_interop, GL_OES_EGL_image, GL_OES_read_format, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays OpenGL limits: GL_MAX_ATTRIB_STACK_DEPTH = 16 GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 16 GL_MAX_CLIP_PLANES = 6 GL_MAX_ELEMENTS_VERTICES = 3000 GL_MAX_ELEMENTS_INDICES = 3000 GL_MAX_EVAL_ORDER = 30 GL_MAX_LIGHTS = 8 GL_MAX_LIST_NESTING = 64 GL_MAX_MODELVIEW_STACK_DEPTH = 32 GL_MAX_NAME_STACK_DEPTH = 64 GL_MAX_PIXEL_MAP_TABLE = 256 GL_MAX_PROJECTION_STACK_DEPTH = 32 GL_MAX_TEXTURE_STACK_DEPTH = 10 GL_MAX_TEXTURE_SIZE = 2048 GL_MAX_3D_TEXTURE_SIZE = 256 GL_MAX_VIEWPORT_DIMS = 2048, 2048 GL_ALIASED_LINE_WIDTH_RANGE = 1, 8 GL_SMOOTH_LINE_WIDTH_RANGE = 1, 8 GL_ALIASED_POINT_SIZE_RANGE = 1, 255 GL_SMOOTH_POINT_SIZE_RANGE = 0, 255 GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB = 2048 GL_MAX_RECTANGLE_TEXTURE_SIZE_NV = 2048 GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB = 0 GL_MAX_TEXTURE_UNITS_ARB = 8 GL_MAX_TEXTURE_LOD_BIAS_EXT = 16 GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT = 4 GL_MAX_DRAW_BUFFERS_ARB = 1 GL_MAX_RENDERBUFFER_SIZE = 2048 GL_MAX_COLOR_ATTACHMENTS = 1 GL_MAX_SAMPLES = 0 GL_VERTEX_PROGRAM_ARB: GL_MAX_PROGRAM_INSTRUCTIONS_ARB = 4218880 Program received signal SIGSEGV, Segmentation fault. 0x0000000000000032 in ?? () (gdb) bt #0 0x0000000000000032 in ?? () #1 0x00007ffff6563fb3 in frame_dummy () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/libgcc_s.so.1 #2 0x0000000000008620 in ?? () #3 0x0000000000402b53 in print_program_limits (target=4294956144, target@entry=34336) at glxinfo.c:361 #4 0x0000000000404236 in print_limits (oglstring=0x4045ca "OpenGL", extensions=0x79c4d0 "GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_"...) at glxinfo.c:541 #5 print_screen_info (dpy=dpy@entry=0x608010, scrnum=scrnum@entry=0, allowDirect=allowDirect@entry=1, coreProfile=coreProfile@entry=0, limits=limits@entry=1, singleLine=singleLine@entry=0, coreWorked=0) at glxinfo.c:1014 #6 0x00000000004019e4 in main (argc=, argv=) at glxinfo.c:1732 (gdb) bt full #0 0x0000000000000032 in ?? () No symbol table info available. #1 0x00007ffff6563fb3 in frame_dummy () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/libgcc_s.so.1 No symbol table info available. #2 0x0000000000008620 in ?? () No symbol table info available. #3 0x0000000000402b53 in print_program_limits (target=4294956144, target@entry=34336) at glxinfo.c:361 common_limits = {{token = 34977, name = 0x405700 "GL_MAX_PROGRAM_INSTRUCTIONS_ARB"}, {token = 34979, name = 0x405720 "GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB"}, {token = 34981, name = 0x405748 "GL_MAX_PROGRAM_TEMPORARIES_ARB"}, {token = 34983, name = 0x405768 "GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB"}, {token = 34985, name = 0x404991 "GL_MAX_PROGRAM_PARAMETERS_ARB"}, {token = 34987, name = 0x405790 "GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB"}, {token = 34989, name = 0x4049af "GL_MAX_PROGRAM_ATTRIBS_ARB"}, { token = 34991, name = 0x4057b8 "GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB"}, {token = 34993, name = 0x4057e0 "GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB"}, {token = 34995, name = 0x405808 "GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB"}, {token = 34996, name = 0x405838 "GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB"}, {token = 34997, name = 0x405860 "GL_MAX_PROGRAM_ENV_PARAMETERS_ARB"}, {token = 0, name = 0x0}} fragment_limits = {{token = 34827, name = 0x4055f8 "GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB"}, {token = 34828, name = 0x405620 "GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB"}, {token = 34829, name = 0x405648 "GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB"}, {token = 34830, name = 0x405670 "GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB"}, {token = 34831, name = 0x4056a0 "GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB"}, {token = 34832, name = 0x4056d0 "GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB"}, {token = 0, name = 0x0}} GetProgramivARB_func = 0x7ffff6563fa4 max = {4218880} i = #4 0x0000000000404236 in print_limits (oglstring=0x4045ca "OpenGL", extensions=0x79c4d0 "GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_"...) at glxinfo.c:541 i = max = {0, 255} limits = {{count = 1, token = 3381, name = 0x4049ca "GL_MAX_ATTRIB_STACK_DEPTH", extension = 0x0}, {count = 1, token = 3387, name = 0x405888 "GL_MAX_CLIENT_ATTRIB_STACK_DEPTH", extension = 0x0}, {count = 1, token = 3378, name = 0x4049e4 "GL_MAX_CLIP_PLANES", extension = 0x0}, {count = 1, token = 32947, name = 0x4058b0 "GL_MAX_COLOR_MATRIX_STACK_DEPTH", extension = 0x404769 "GL_ARB_imaging"}, {count = 1, token = 33000, name = 0x4049f7 "GL_MAX_ELEMENTS_VERTICES", extension = 0x0}, {count = 1, token = 33001, name = 0x404a10 "GL_MAX_ELEMENTS_INDICES", extension = 0x0}, {count = 1, token = 3376, name = 0x404a28 "GL_MAX_EVAL_ORDER", extension = 0x0}, {count = 1, token = 3377, name = 0x404a3a "GL_MAX_LIGHTS", extension = 0x0}, {count = 1, token = 2865, name = 0x404a48 "GL_MAX_LIST_NESTING", extension = 0x0}, {count = 1, token = 3382, name = 0x404a5c "GL_MAX_MODELVIEW_STACK_DEPTH", extension = 0x0}, {count = 1, token = 3383, name = 0x404a79 "GL_MAX_NAME_STACK_DEPTH", extension = 0x0}, {count = 1, token = 3380, name = 0x404a91 "GL_MAX_PIXEL_MAP_TABLE", extension = 0x0}, {count = 1, token = 3384, name = 0x404aa8 "GL_MAX_PROJECTION_STACK_DEPTH", extension = 0x0}, {count = 1, token = 3385, name = 0x404ac6 "GL_MAX_TEXTURE_STACK_DEPTH", extension = 0x0}, {count = 1, token = 3379, name = 0x404ae1 "GL_MAX_TEXTURE_SIZE", extension = 0x0}, {count = 1, token = 32883, name = 0x404af5 "GL_MAX_3D_TEXTURE_SIZE", extension = 0x0}, {count = 2, token = 3386, name = 0x404b0c "GL_MAX_VIEWPORT_DIMS", extension = 0x0}, {count = 2, token = 33902, name = 0x404b21 "GL_ALIASED_LINE_WIDTH_RANGE", extension = 0x0}, {count = 2, token = 2850, name = 0x404b3d "GL_SMOOTH_LINE_WIDTH_RANGE", extension = 0x0}, {count = 2, token = 33901, name = 0x404b58 "GL_ALIASED_POINT_SIZE_RANGE", extension = 0x0}, {count = 2, token = 2834, name = 0x404b74 "GL_SMOOTH_POINT_SIZE_RANGE", extension = 0x0}, {count = 1, token = 34076, name = 0x4058d0 "GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB", extension = 0x404b8f "GL_ARB_texture_cube_map"}, {count = 1, ---Type to continue, or q to quit--- token = 34040, name = 0x4058f8 "GL_MAX_RECTANGLE_TEXTURE_SIZE_NV", extension = 0x404ba7 "GL_NV_texture_rectangle"}, { count = 1, token = 34466, name = 0x405920 "GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB", extension = 0x404bbf "GL_ARB_texture_compression"}, {count = 1, token = 34018, name = 0x404bda "GL_MAX_TEXTURE_UNITS_ARB", extension = 0x404bf3 "GL_ARB_multitexture"}, {count = 1, token = 34045, name = 0x404c07 "GL_MAX_TEXTURE_LOD_BIAS_EXT", extension = 0x404c23 "GL_EXT_texture_lod_bias"}, {count = 1, token = 34047, name = 0x405948 "GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT", extension = 0x405970 "GL_EXT_texture_filter_anisotropic"}, {count = 1, token = 34852, name = 0x404c3b "GL_MAX_DRAW_BUFFERS_ARB", extension = 0x404c53 "GL_ARB_draw_buffers"}, {count = 1, token = 35068, name = 0x405998 "GL_MAX_DUAL_SOURCE_DRAW_BUFFERS", extension = 0x404c67 "GL_ARB_blend_func_extended"}, {count = 1, token = 34024, name = 0x404c82 "GL_MAX_RENDERBUFFER_SIZE", extension = 0x404c9b "GL_ARB_framebuffer_object"}, { count = 1, token = 36063, name = 0x404cb5 "GL_MAX_COLOR_ATTACHMENTS", extension = 0x404c9b "GL_ARB_framebuffer_object"}, {count = 1, token = 36183, name = 0x404cce "GL_MAX_SAMPLES", extension = 0x404c9b "GL_ARB_framebuffer_object"}, { count = 0, token = 0, name = 0x0, extension = 0x0}} #5 print_screen_info (dpy=dpy@entry=0x608010, scrnum=scrnum@entry=0, allowDirect=allowDirect@entry=1, coreProfile=coreProfile@entry=0, limits=limits@entry=1, singleLine=singleLine@entry=0, coreWorked=0) at glxinfo.c:1014 serverVersion = 0x617aa0 "1.4" clientVersion = 0x7ffff76ba315 <__glXGLXClientVersion> "1.4" glRenderer = 0x6d9eec "Gallium 0.4 on i915 (chipset: 945GM)" displayName = glVendor = 0x6d9e88 "Mesa Project" glExtensions = 0x79c4d0 "GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_"... period = glxExtensions = 0x618320 "GLX_ARB_create_context GLX_ARB_create_context_profile GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_import_context GLX_EXT_visual_info GLX_EXT_vi"... glVersion = 0x79ba40 "2.1 Mesa 10.1.0" colon = serverVendor = 0x79c4b0 "SGI" serverExtensions = 0x617de0 "GLX_ARB_create_context GLX_ARB_create_context_profile GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_multisample GLX_EXT_create_context_es2_profile GLX_EXT_framebuffer_sRGB GLX_EXT_import_con"... clientVendor = 0x7ffff76ba300 <__glXGLXClientVendorName> "Mesa Project and SGI" clientExtensions = 0x79d170 "GLX_ARB_create_context GLX_ARB_create_context_profile GLX_ARB_create_context_robustness GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_import_cont"... glxVersionMajor = 1 glxVersionMinor = 4 version = win = 67108874 attr = {background_pixmap = 4295000081, background_pixel = 0, border_pixmap = 4294967305, border_pixel = 0, bit_gravity = 5, win_gravity = 1, backing_store = 0, backing_planes = 4294967296, backing_pixel = 140737337594960, save_under = 1, event_mask = 163840, do_not_propagate_mask = 0, override_redirect = -136379691, colormap = 67108873, cursor = 1} mask = 10250 root = ctx = 0x617bd0 visinfo = fbconfigs = 0x0 oglstring = 0x4045ca "OpenGL" #6 0x00000000004019e4 in main (argc=, argv=) at glxinfo.c:1732 displayName = dpy = 0x608010 numScreens = 1 scrnum = 0 mode = findBest = ---Type to continue, or q to quit--- limits = allowDirect = singleLine = coreWorked = i = (gdb)