From: Brian P. <bri...@tu...> - 2007-11-30 21:56:30
|
woolfie wrote: > > liga wrote: >> Could you possibly provide a stack trace or test the mesa_7_0_branch >> branch from git? >> > > I came across this thread while googling on the same error. The original > poster was seeing this error from glxinfo. I encounter it when trying to run > stellarium, although glxinfo doesn't crash. > > Included below is my glxinfo output, a list of the versions I'm running and > the code traceback from gdb. > > (no debugging symbols found) > stellarium: main/renderbuffer.c:2153: _mesa_reference_renderbuffer: > Assertion `oldRb->Magic == 0xaabbccdd' failed. > > ~> glxinfo > name of display: :0.0 > display: :0 screen: 0 > direct rendering: Yes > 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_OML_swap_method, > GLX_SGI_make_current_read, GLX_SGI_swap_control, 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_copy_sub_buffer, 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_MESA_swap_control, > GLX_MESA_swap_frame_usage, GLX_OML_swap_method, > GLX_SGI_make_current_read, > GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample, > GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group > OpenGL vendor string: VIA Technology > OpenGL renderer string: Mesa DRI UniChrome (KM400) 20060710 > x86/MMX+/3DNow!+/SSE > OpenGL version string: 1.2 Mesa 7.0.2 > OpenGL extensions: > GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture, > GL_ARB_point_parameters, GL_ARB_texture_env_add, > GL_ARB_texture_env_combine, GL_ARB_texture_mirrored_repeat, > GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object, GL_ARB_window_pos, > GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_minmax, > GL_EXT_blend_subtract, GL_EXT_clip_volume_hint, > GL_EXT_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture, > GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_histogram, > 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_stencil_wrap, GL_EXT_subtexture, > GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp, > GL_EXT_texture_env_add, GL_EXT_texture_env_combine, > GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array, > GL_APPLE_packed_pixels, GL_IBM_rasterpos_clip, > GL_IBM_texture_mirrored_repeat, GL_MESA_window_pos, GL_NV_blend_square, > GL_NV_light_max_exponent, GL_NV_texgen_reflection, GL_OES_read_format, > GL_SGI_color_matrix, GL_SGI_color_table, GL_SGIS_texture_edge_clamp, > GL_SGIS_texture_lod > > 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 > ---------------------------------------------------------------------- > 0x22 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x23 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x24 24 tc 0 32 0 r y . 8 8 8 8 0 16 0 0 0 0 0 0 0 None > 0x25 24 tc 0 32 0 r . . 8 8 8 8 0 16 0 0 0 0 0 0 0 None > 0x26 24 tc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > 0x27 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > 0x28 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x29 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x2a 24 tc 0 32 0 r y . 8 8 8 8 0 16 0 16 16 16 16 0 0 Slow > 0x2b 24 tc 0 32 0 r . . 8 8 8 8 0 16 0 16 16 16 16 0 0 Slow > 0x2c 24 tc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow > 0x2d 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow > > ~> dpkg -l \*mesa\* > Desired=Unknown/Install/Remove/Purge/Hold > | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed > |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: > uppercase=bad) > ||/ Name Version Description > +++-=====================-=====================-========================================================== > ii libgl1-mesa-dev 7.0.2-2 A free implementation of the > OpenGL API -- GLX development > ii libgl1-mesa-dri 7.0.2-2 A free implementation of the > OpenGL API -- DRI modules > un libgl1-mesa-dri-dev <none> (no description available) > ii libgl1-mesa-glx 7.0.2-2 A free implementation of the > OpenGL API -- GLX runtime > un libgl1-mesa-swx11 <none> (no description available) > un libgl1-mesa-swx11-dev <none> (no description available) > ii libglu1-mesa 7.0.2-2 The OpenGL utility library > (GLU) > ii libglu1-mesa-dev 7.0.2-2 The OpenGL utility library > -- development files > ii mesa-common-dev 7.0.2-2 Developer documentation for > Mesa > un mesa-glide2-dev <none> (no description available) > ii mesa-utils 7.0.2-2 Miscellaneous Mesa GL > utilities > un mesag-dev <none> (no description available) > un mesag3 <none> (no description available) > un mesag3+ggi-dev <none> (no description available) > un xlibmesa-dev <none> (no description available) > ii xlibmesa-dri 1:7.2-5 transitional package for > Debian etch > ii xlibmesa-gl 1:7.2-5 transitional package for > Debian etch > ii xlibmesa-gl-dev 1:7.2-5 transitional package for > Debian etch > rc xlibmesa-glu 4.3.0.dfsg.1-14 Mesa OpenGL utility library > [XFree86] > pn xlibmesa-glu-dev <none> (no description available) > un xlibmesa3 <none> (no description available) > un xlibmesa3-gl <none> (no description available) > un xlibmesa3-glu <none> (no description available) > un xlibosmesa-dev <none> (no description available) > > When I run stellarium, I get this: > ~> stellarium > ------------------------------------------------------- > [ This is Stellarium 0.9.0 - http://www.stellarium.org ] > [ Copyright (C) 2000-2006 Fabien Chereau et al ] > ------------------------------------------------------- > File search path set to: > 1) /home/blah/.stellarium > 2) /usr/share/stellarium > config file is: /home/blah/.stellarium/config.ini > stellarium: main/renderbuffer.c:2153: _mesa_reference_renderbuffer: > Assertion `oldRb->Magic == 0xaabbccdd' failed. > Abort > > Running it from gdb, I get the following traceback: > > Program received signal SIGABRT, Aborted. > [Switching to Thread 0xb6a888d0 (LWP 12127)] > 0xb706f7d6 in raise () from /lib/libc.so.6 > (gdb) bt > #0 0xb706f7d6 in raise () from /lib/libc.so.6 > #1 0xb70710f1 in abort () from /lib/libc.so.6 > #2 0xb7068b50 in __assert_fail () from /lib/libc.so.6 > #3 0xb688d10e in _mesa_reference_renderbuffer () from > /usr/lib/dri/unichrome_dri.so > #4 0xb68684e7 in _mesa_free_framebuffer_data () from > /usr/lib/dri/unichrome_dri.so > #5 0xb68685d6 in _mesa_destroy_framebuffer () from > /usr/lib/dri/unichrome_dri.so > #6 0xb686835b in _mesa_unreference_framebuffer () from > /usr/lib/dri/unichrome_dri.so > #7 0xb6824df0 in ?? () from /usr/lib/dri/unichrome_dri.so > #8 0x0858183c in ?? () > #9 0xb69f14d4 in ?? () from /usr/lib/dri/unichrome_dri.so > #10 0xbfce5988 in ?? () > #11 0xb681a6e0 in ?? () from /usr/lib/dri/unichrome_dri.so > #12 0x08581838 in ?? () > #13 0x08466058 in ?? () > #14 0xbfce5988 in ?? () > #15 0xb7030bef in drmHashFirst () from /usr/lib/libdrm.so.2 > Backtrace stopped: previous frame inner to this frame (corrupt stack?) > > Please let me know if there's any other information you'd like me to > collect. The problem is a renderbuffer is a being referenced after it was deleted. The framebuffer/renderbuffer code in the via/unichrome driver has always been a bit of a kludge. Can you run with valgrind? that might give another hint. -Brian |