segfault with panda3d

I switched CFLAGS and recompiled mesa, libdrm, and python without stripping. Now all’s a bit different… this is of course with only the notify level at debug so it will crash.

$ gdb --args python pandtut.py
GNU gdb (Gentoo 7.2 p1) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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 "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/python...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/python pandtut.py
process 30375 is executing new program: /usr/bin/python2.6
[Thread debugging using libthread_db enabled]
:interrogatedb(debug): Creating interrogate database
:interrogatedb(debug): Got interrogate data for module libexpress
:interrogatedb(debug): Got interrogate data for module libdownloader
:express(debug): mount / under /
:interrogatedb(debug): Got interrogate data for module libpnmtext
:interrogatedb(debug): Got interrogate data for module libdxml
:interrogatedb(debug): Got interrogate data for module libnativenet
:interrogatedb(debug): Got interrogate data for module libnet
:interrogatedb(debug): Got interrogate data for module libpgui
:interrogatedb(debug): Got interrogate data for module libaudio
:interrogatedb(debug): Got interrogate data for module libputil
:interrogatedb(debug): Got interrogate data for module liblerp
:interrogatedb(debug): Got interrogate data for module libtform
:interrogatedb(debug): Got interrogate data for module libtext
:interrogatedb(debug): Got interrogate data for module libpnmimage
:pnmimage(debug): Registering image type SGI RGB
:pnmimage(debug): Registering image type Targa
:pnmimage(debug): Registering image type Raw binary RGB
:pnmimage(debug): Registering image type SoftImage
:pnmimage(debug): Registering image type Windows BMP
:pnmimage(debug): Registering image type NetPBM-style PBM/PGM/PPM/PNM
:pnmimage(debug): Registering image type JPEG
:pnmimage:png(debug): PNG version 10404
:pnmimage(debug): Registering image type PNG
:pnmimage:tiff(debug): LIBTIFF, Version 4.0.0beta6
Copyright (c) 1988-1996 Sam Leffler
Copyright (c) 1991-1996 Silicon Graphics, Inc.
:pnmimage(debug): Registering image type TIFF
:interrogatedb(debug): Got interrogate data for module libparametrics
:interrogatedb(debug): Got interrogate data for module libmathutil
:interrogatedb(debug): Got interrogate data for module liblinmath
:interrogatedb(debug): Got interrogate data for module libgsgbase
:interrogatedb(debug): Got interrogate data for module libgobj
:interrogatedb(debug): Got interrogate data for module libevent
:interrogatedb(debug): Got interrogate data for module libpipeline
:interrogatedb(debug): Got interrogate data for module libdisplay
:interrogatedb(debug): Got interrogate data for module libdgraph
:interrogatedb(debug): Got interrogate data for module libdevice
:interrogatedb(debug): Got interrogate data for module libcollide
:interrogatedb(debug): Got interrogate data for module libchar
:interrogatedb(debug): Got interrogate data for module libpstatclient
:interrogatedb(debug): Got interrogate data for module libchan
:interrogatedb(debug): Got interrogate data for module libgrutil
:interrogatedb(debug): Got interrogate data for module libmovies
:interrogatedb(debug): Got interrogate data for module libpgraph
:interrogatedb(debug): Got interrogate data for module libpgraphnodes
:interrogatedb(debug): Got interrogate data for module librecorder
:interrogatedb(debug): Got interrogate data for module libparticlesystem
:interrogatedb(debug): Got interrogate data for module libphysics
:interrogatedb(debug): Got interrogate data for module libeffects
:interrogatedb(debug): Got interrogate data for module libdistort
:interrogatedb(debug): Got interrogate data for module libdistributed
:interrogatedb(debug): Got interrogate data for module libinterval
:interrogatedb(debug): Got interrogate data for module libdeadrec
:interrogatedb(debug): Got interrogate data for module libshowbase
:interrogatedb(debug): Got interrogate data for module libdcparser
:interrogatedb(debug): Got interrogate data for module libvision
:interrogatedb(debug): Got interrogate data for module libskel
:interrogatedb(debug): Got interrogate data for module libegg
:interrogatedb(debug): Got interrogate data for module libegg2pg
:interrogatedb(debug): Got interrogate data for module libpandaode
:pgraph(debug): Constructing 0x85f3d1c, hidden
:pgraph(debug): Constructing 0x851a5c4, render
:pgraph(debug): Constructing 0x84b01a4, render2d
:pgraph(debug): Constructing 0x84ae73c, aspect2d
:pgraph(debug): Constructing 0x84ae954, a2dBackground
:pgraph(debug): Constructing 0x84aea94, a2dTopCenter
:pgraph(debug): Constructing 0x84aec04, a2dTopCenterNS
:pgraph(debug): Constructing 0x84aed64, a2dBottomCenter
:pgraph(debug): Constructing 0x84aee94, a2dBottomCenterNS
:pgraph(debug): Constructing 0x84af05c, a2dLeftCenter
:pgraph(debug): Constructing 0x84af1ac, a2dLeftCenterNS
:pgraph(debug): Constructing 0x84af2fc, a2dRightCenter
:pgraph(debug): Constructing 0x84af42c, a2dRightCenterNS
:pgraph(debug): Constructing 0x84af5cc, a2dTopLeft
:pgraph(debug): Constructing 0x84af744, a2dTopLeftNS
:pgraph(debug): Constructing 0x84af894, a2dTopRight
:pgraph(debug): Constructing 0x85a1adc, a2dTopRightNS
:pgraph(debug): Constructing 0x85a1c1c, a2dBottomLeft
:pgraph(debug): Constructing 0x85a1d6c, a2dBottomLeftNS
:pgraph(debug): Constructing 0x85a1ebc, a2dBottomRight
:pgraph(debug): Constructing 0x85a1fec, a2dBottomRightNS
:pgraph(debug): Constructing 0x85a2374, pixel2d
:pgraph(debug): Constructing 0x85a266c, dataRoot
:pgraph(debug): Constructing 0x85a277c, dataUnused
:pgraph(debug): Constructing 0x85a2a04, render2dp
:pgraph(debug): Constructing 0x84ad9dc, aspect2dp
:pgraph(debug): Constructing 0x84adb6c, a2dpTopCenter
:pgraph(debug): Constructing 0x84adcb4, a2dpBottomCenter
:pgraph(debug): Constructing 0x84ade4c, a2dpLeftCenter
:pgraph(debug): Constructing 0x8615e0c, a2dpRightCenter
:pgraph(debug): Constructing 0x8615f5c, a2dpTopLeft
:pgraph(debug): Constructing 0x86160fc, a2dpTopRight
:pgraph(debug): Constructing 0x861624c, a2dpBottomLeft
:pgraph(debug): Constructing 0x861639c, a2dpBottomRight
:pgraph(debug): Constructing 0x86164cc, pixel2dp
:display: loading display module: libpandagl.so
:display(debug): symbol of get_pipe_type_pandagl = 0xb2ee5160
:display(debug): pipe_type_index = 649
:display(debug): pipe_type = glxGraphicsPipe
Known pipe types:
  glxGraphicsPipe
(all display modules loaded.)
:display(debug): DisplayRegion::do_compute_pixels(640, 480)
:display(debug): DisplayRegion::do_compute_pixels(640, 480)
:display(debug): Creating new window window1
:display(debug): Created glxGraphicsWindow 0x88948b4
:display(debug): Windows resorted: window1(0)
 window1(0)
:task(debug): AsyncTaskManager TaskManager task chain loader; 0 tasks: set_num_threads(1)
:display:gsg:glgsg(debug): GL_VENDOR = Tungsten Graphics, Inc.
:display:gsg:glgsg(debug): GL_RENDERER = Mesa DRI R100 (RS200 4437) 20090101 AGP 4x  NO-TCL
:display:gsg:glgsg(debug): GL_VERSION = 1.3 Mesa 7.8.2, decoded to 1.3
:display:gsg:glgsg(debug): GLX_VENDOR (client) = Mesa Project and SGI
:display:gsg:glgsg(debug): GLX_VERSION (client) = 1.4
:display:gsg:glgsg(debug): GLX_VENDOR (server) = SGI
:display:gsg:glgsg(debug): GLX_VERSION (server) = 1.2
:display:gsg:glgsg(debug): GLX_VERSION = 1.2
:display:gsg:glgsg(debug): GL Extensions:
:display:gsg:glgsg(debug): GLX_ARB_get_proc_address
:display:gsg:glgsg(debug): GLX_ARB_multisample
:display:gsg:glgsg(debug): GLX_EXT_import_context
:display:gsg:glgsg(debug): GLX_EXT_visual_info
:display:gsg:glgsg(debug): GLX_EXT_visual_rating
:display:gsg:glgsg(debug): GLX_MESA_copy_sub_buffer
:display:gsg:glgsg(debug): GLX_MESA_swap_control
:display:gsg:glgsg(debug): GLX_MESA_swap_frame_usage
:display:gsg:glgsg(debug): GLX_OML_swap_method
:display:gsg:glgsg(debug): GLX_SGIS_multisample
:display:gsg:glgsg(debug): GLX_SGIX_fbconfig
:display:gsg:glgsg(debug): GLX_SGIX_pbuffer
:display:gsg:glgsg(debug): GLX_SGIX_visual_select_group
:display:gsg:glgsg(debug): GLX_SGI_make_current_read
:display:gsg:glgsg(debug): GLX_SGI_swap_control
:display:gsg:glgsg(debug): GLX_SGI_video_sync
:display:gsg:glgsg(debug): GL_APPLE_packed_pixels
:display:gsg:glgsg(debug): GL_ARB_draw_buffers
:display:gsg:glgsg(debug): GL_ARB_imaging
:display:gsg:glgsg(debug): GL_ARB_multisample
:display:gsg:glgsg(debug): GL_ARB_multitexture
:display:gsg:glgsg(debug): GL_ARB_texture_border_clamp
:display:gsg:glgsg(debug): GL_ARB_texture_compression
:display:gsg:glgsg(debug): GL_ARB_texture_cube_map
:display:gsg:glgsg(debug): GL_ARB_texture_env_add
:display:gsg:glgsg(debug): GL_ARB_texture_env_combine
:display:gsg:glgsg(debug): GL_ARB_texture_env_crossbar
:display:gsg:glgsg(debug): GL_ARB_texture_env_dot3
:display:gsg:glgsg(debug): GL_ARB_texture_mirrored_repeat
:display:gsg:glgsg(debug): GL_ARB_texture_rectangle
:display:gsg:glgsg(debug): GL_ARB_transpose_matrix
:display:gsg:glgsg(debug): GL_ARB_vertex_buffer_object
:display:gsg:glgsg(debug): GL_ARB_window_pos
:display:gsg:glgsg(debug): GL_ATI_texture_env_combine3
:display:gsg:glgsg(debug): GL_ATI_texture_mirror_once
:display:gsg:glgsg(debug): GL_EXT_abgr
:display:gsg:glgsg(debug): GL_EXT_bgra
:display:gsg:glgsg(debug): GL_EXT_blend_color
:display:gsg:glgsg(debug): GL_EXT_blend_logic_op
:display:gsg:glgsg(debug): GL_EXT_blend_minmax
:display:gsg:glgsg(debug): GL_EXT_blend_subtract
:display:gsg:glgsg(debug): GL_EXT_compiled_vertex_array
:display:gsg:glgsg(debug): GL_EXT_convolution
:display:gsg:glgsg(debug): GL_EXT_copy_texture
:display:gsg:glgsg(debug): GL_EXT_draw_range_elements
:display:gsg:glgsg(debug): GL_EXT_fog_coord
:display:gsg:glgsg(debug): GL_EXT_histogram
:display:gsg:glgsg(debug): GL_EXT_multi_draw_arrays
:display:gsg:glgsg(debug): GL_EXT_packed_depth_stencil
:display:gsg:glgsg(debug): GL_EXT_packed_pixels
:display:gsg:glgsg(debug): GL_EXT_polygon_offset
:display:gsg:glgsg(debug): GL_EXT_rescale_normal
:display:gsg:glgsg(debug): GL_EXT_secondary_color
:display:gsg:glgsg(debug): GL_EXT_separate_specular_color
:display:gsg:glgsg(debug): GL_EXT_stencil_wrap
:display:gsg:glgsg(debug): GL_EXT_subtexture
:display:gsg:glgsg(debug): GL_EXT_texture
:display:gsg:glgsg(debug): GL_EXT_texture3D
:display:gsg:glgsg(debug): GL_EXT_texture_cube_map
:display:gsg:glgsg(debug): GL_EXT_texture_edge_clamp
:display:gsg:glgsg(debug): GL_EXT_texture_env_add
:display:gsg:glgsg(debug): GL_EXT_texture_env_combine
:display:gsg:glgsg(debug): GL_EXT_texture_env_dot3
:display:gsg:glgsg(debug): GL_EXT_texture_filter_anisotropic
:display:gsg:glgsg(debug): GL_EXT_texture_lod_bias
:display:gsg:glgsg(debug): GL_EXT_texture_mirror_clamp
:display:gsg:glgsg(debug): GL_EXT_texture_object
:display:gsg:glgsg(debug): GL_EXT_texture_rectangle
:display:gsg:glgsg(debug): GL_EXT_vertex_array
:display:gsg:glgsg(debug): GL_IBM_multimode_draw_arrays
:display:gsg:glgsg(debug): GL_IBM_rasterpos_clip
:display:gsg:glgsg(debug): GL_IBM_texture_mirrored_repeat
:display:gsg:glgsg(debug): GL_MESA_window_pos
:display:gsg:glgsg(debug): GL_MESA_ycbcr_texture
:display:gsg:glgsg(debug): GL_NV_blend_square
:display:gsg:glgsg(debug): GL_NV_light_max_exponent
:display:gsg:glgsg(debug): GL_NV_packed_depth_stencil
:display:gsg:glgsg(debug): GL_NV_texgen_reflection
:display:gsg:glgsg(debug): GL_NV_texture_rectangle
:display:gsg:glgsg(debug): GL_OES_read_format
:display:gsg:glgsg(debug): GL_SGIS_generate_mipmap
:display:gsg:glgsg(debug): GL_SGIS_texture_border_clamp
:display:gsg:glgsg(debug): GL_SGIS_texture_edge_clamp
:display:gsg:glgsg(debug): GL_SGIS_texture_lod
:display:gsg:glgsg(debug): GL_SGI_color_matrix
:display:gsg:glgsg(debug): GL_SGI_color_table
:display:gsg:glgsg(debug): GL_SUN_multi_draw_arrays
:display:gsg:glgsg(debug): HAS EXT GL_ARB_point_parameters 0
:display:gsg:glgsg(debug): HAS EXT GL_ARB_point_sprite 0
:display:gsg:glgsg(debug): HAS EXT GL_OES_point_sprite 0
:display:gsg:glgsg(debug): HAS EXT GL_ARB_vertex_blend 0
:display:gsg:glgsg(debug): HAS EXT GL_ARB_matrix_palette 0
:display:gsg:glgsg(debug): HAS EXT GLX_ARB_get_proc_address 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_depth_texture 0
:display:gsg:glgsg(debug): HAS EXT GL_EXT_texture_array 0
:display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_cube_map 1
:display:gsg:glgsg(debug): HAS EXT GL_EXT_bgra 1
:display:gsg:glgsg(debug): HAS EXT GL_EXT_rescale_normal 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_multisample 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_non_power_of_two 0
:display:gsg:glgsg(debug): HAS EXT GL_ARB_depth_texture 0
:display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_env_combine 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_env_crossbar 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_env_dot3 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_vertex_buffer_object 1
:display:gsg:glgsg(debug): HAS EXT GL_EXT_geometry_shader4 0
:display:gsg:glgsg(debug): HAS EXT GL_EXT_framebuffer_object 0
:display:gsg:glgsg(debug): HAS EXT GL_EXT_framebuffer_multisample 0
:display:gsg:glgsg(debug): HAS EXT GL_NV_framebuffer_multisample_coverage 0
:display:gsg:glgsg(debug): HAS EXT GL_EXT_framebuffer_blit 0
:display:gsg:glgsg(debug): HAS EXT GL_ARB_draw_buffers 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_occlusion_query 0
:display:gsg:glgsg(debug): HAS EXT GL_SGIS_texture_edge_clamp 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_border_clamp 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_mirrored_repeat 1
:display:gsg:glgsg(debug): HAS EXT GL_EXT_texture_mirror_clamp 1
:display:gsg:glgsg(debug): max texture dimension = 2048, max 3d texture = 256, max 2d texture array = 0, max cube map = 2048
:display:gsg:glgsg(debug): max_elements_vertices = 910, max_elements_indices = 910
:display:gsg:glgsg(debug): vertex buffer objects are supported.
:display:gsg:glgsg(debug): No specific compressed texture formats are supported.
:display:gsg:glgsg(debug): HAS EXT GL_EXT_texture_filter_anisotropic 1
:display:gsg:glgsg(debug): HAS EXT GL_EXT_stencil_wrap 1
:display:gsg:glgsg(debug): HAS EXT GL_EXT_stencil_two_side 0
:display:gsg:glgsg(debug): HAS EXT GL_ARB_draw_instanced 0
:display:gsg:glgsg(debug): HAS EXT GL_EXT_draw_instanced 0
:display:gsg:glgsg(debug): max lights = 8
:display:gsg:glgsg(debug): max clip planes = 6
:display:gsg:glgsg(debug): max texture stages = 3
:display:gsg:glgsg(debug): HAS EXT GLX_SGI_swap_control 1
:display:gsg:glgsg(debug): HAS EXT GLX_SGIX_fbconfig 1
:display:gsg:glgsg(debug): HAS EXT GLX_SGIX_pbuffer 1
:display:glxdisplay(debug): supports_swap_control = 1
:display:glxdisplay(debug): supports_fbconfig = 1
:display:glxdisplay(debug): supports_pbuffer = 0 sgix = 1
:display:glxdisplay: No suitable FBConfig contexts available.
:display:x11display(debug): Raw mice not requested.

Program received signal SIGSEGV, Segmentation fault.
__glXGenerateError (dpy=0x8512318, gc=0x0, resource=41943046, errorCode=8 '\b', minorCode=26) at glxcurrent.c:326
326	glxcurrent.c: No such file or directory.
	in glxcurrent.c
(gdb) bt
#0  __glXGenerateError (dpy=0x8512318, gc=0x0, resource=41943046, errorCode=8 '\b', minorCode=26) at glxcurrent.c:326
#1  0xb3782052 in MakeContextCurrent (dpy=0x8512318, draw=41943046, read=41943046, gc=0x0) at glxcurrent.c:372
#2  0xb37823f7 in glXMakeCurrent (dpy=0x8512318, draw=41943046, gc=0x0) at glxcurrent.c:545
#3  0xb2f2c71a in glxGraphicsWindow::open_window() () from /usr/local/lib/panda3d/libpandagl.so
#4  0xb64343ad in GraphicsWindow::set_properties_now(WindowProperties&) () from /usr/local/lib/panda3d/libpanda.so
#5  0xb2ee07ae in x11GraphicsWindow::set_properties_now(WindowProperties&) () from /usr/local/lib/panda3d/libpandagl.so
#6  0xb642266b in GraphicsWindow::process_events() () from /usr/local/lib/panda3d/libpanda.so
#7  0xb2ee14dc in x11GraphicsWindow::process_events() () from /usr/local/lib/panda3d/libpandagl.so
#8  0xb6410f4e in GraphicsEngine::process_events(ov_set<PointerTo<GraphicsOutput>, IndirectLess<GraphicsOutput> > const&, Thread*) ()
   from /usr/local/lib/panda3d/libpanda.so
#9  0xb641e3fd in GraphicsEngine::WindowRenderer::do_windows(GraphicsEngine*, Thread*) () from /usr/local/lib/panda3d/libpanda.so
#10 0xb64357f2 in GraphicsEngine::open_windows() () from /usr/local/lib/panda3d/libpanda.so
#11 0xb643e946 in GraphicsEngine::make_output(GraphicsPipe*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, FrameBufferProperties const&, WindowProperties const&, int, GraphicsStateGuardian*, GraphicsOutput*) () from /usr/local/lib/panda3d/libpanda.so
#12 0xb64a1554 in Dtool_GraphicsEngine_make_output_552(_object*, _object*, _object*) () from /usr/local/lib/panda3d/libpanda.so
#13 0xb7ece762 in PyCFunction_Call (func=0x847432c, arg=0x884cecc, kw=0x0) at Objects/methodobject.c:85
#14 0xb7f23023 in call_function (f=0x85a2ebc, throwflag=0) at Python/ceval.c:3750
#15 PyEval_EvalFrameEx (f=0x85a2ebc, throwflag=0) at Python/ceval.c:2412
#16 0xb7f24e10 in PyEval_EvalCodeEx (co=0xb7c79650, globals=0xb7c8224c, locals=0x0, args=0x8652e58, argcount=1, kws=0x85a2ea0, kwcount=1, defs=0x846ed28, 
    defcount=12, closure=0x0) at Python/ceval.c:3000
#17 0xb7ebe985 in function_call (func=0x8489c6c, arg=0x8652e4c, kw=0x8599c64) at Objects/funcobject.c:524
#18 0xb7e98f5a in PyObject_Call (func=0x8489c6c, arg=0x8652e4c, kw=0x8599c64) at Objects/abstract.c:2492
#19 0xb7f23837 in ext_do_call (f=0x85a2d14, throwflag=0) at Python/ceval.c:4063
#20 PyEval_EvalFrameEx (f=0x85a2d14, throwflag=0) at Python/ceval.c:2452
#21 0xb7f24e10 in PyEval_EvalCodeEx (co=0xb7c79770, globals=0xb7c8224c, locals=0x0, args=0x8652e18, argcount=1, kws=0x85a9e98, kwcount=1, defs=0x0, defcount=0, 
    closure=0x0) at Python/ceval.c:3000
#22 0xb7ebe985 in function_call (func=0x8489d4c, arg=0x8652e0c, kw=0x8490934) at Objects/funcobject.c:524
#23 0xb7e98f5a in PyObject_Call (func=0x8489d4c, arg=0x8652e0c, kw=0x8490934) at Objects/abstract.c:2492
#24 0xb7f23837 in ext_do_call (f=0x85a2b9c, throwflag=0) at Python/ceval.c:4063
#25 PyEval_EvalFrameEx (f=0x85a2b9c, throwflag=0) at Python/ceval.c:2452
#26 0xb7f24e10 in PyEval_EvalCodeEx (co=0xb7c796e0, globals=0xb7c8224c, locals=0x0, args=0x85f4b70, argcount=1, kws=0x85f4b74, kwcount=2, defs=0x0, defcount=0, 
    closure=0x0) at Python/ceval.c:3000
#27 0xb7f23205 in fast_function (f=0x85f49e4, throwflag=0) at Python/ceval.c:3846
#28 call_function (f=0x85f49e4, throwflag=0) at Python/ceval.c:3771
#29 PyEval_EvalFrameEx (f=0x85f49e4, throwflag=0) at Python/ceval.c:2412
#30 0xb7f24e10 in PyEval_EvalCodeEx (co=0xb7c74b18, globals=0xb7c8224c, locals=0x0, args=0x86519b8, argcount=1, kws=0x0, kwcount=0, defs=0x8627578, defcount=2, 
    closure=0x0) at Python/ceval.c:3000
#31 0xb7ebe9f4 in function_call (func=0x8489a3c, arg=0x86519ac, kw=0x0) at Objects/funcobject.c:524
#32 0xb7e98f5a in PyObject_Call (func=0x8489a3c, arg=0x86519ac, kw=0x0) at Objects/abstract.c:2492
#33 0xb7ea6e61 in instancemethod_call (func=0x842e0cc, arg=0x86519ac, kw=0x0) at Objects/classobject.c:2579
#34 0xb7e98f5a in PyObject_Call (func=0x842e0cc, arg=0x86519ac, kw=0x0) at Objects/abstract.c:2492
#35 0xb7f2337e in do_call (f=0x85a42b4, throwflag=0) at Python/ceval.c:3968
#36 call_function (f=0x85a42b4, throwflag=0) at Python/ceval.c:3773
#37 PyEval_EvalFrameEx (f=0x85a42b4, throwflag=0) at Python/ceval.c:2412
#38 0xb7f24e10 in PyEval_EvalCodeEx (co=0xb7c65bf0, globals=0xb7cbf24c, locals=0x0, args=0x8652b58, argcount=1, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0)
    at Python/ceval.c:3000
#39 0xb7ebe9f4 in function_call (func=0x866264c, arg=0x8652b4c, kw=0x0) at Objects/funcobject.c:524
#40 0xb7e98f5a in PyObject_Call (func=0x866264c, arg=0x8652b4c, kw=0x0) at Objects/abstract.c:2492
#41 0xb7ea6e61 in instancemethod_call (func=0x842e02c, arg=0x8652b4c, kw=0x0) at Objects/classobject.c:2579
#42 0xb7e98f5a in PyObject_Call (func=0x842e02c, arg=0xb7c8d02c, kw=0x0) at Objects/abstract.c:2492
#43 0xb7f1e31b in PyEval_CallObjectWithKeywords (func=0x842e02c, arg=0xb7c8d02c, kw=0x0) at Python/ceval.c:3619
#44 0xb7eaa799 in PyInstance_New (klass=0x884ce9c, arg=0xb7c8d02c, kw=0x0) at Objects/classobject.c:568
#45 0xb7e98f5a in PyObject_Call (func=0x884ce9c, arg=0xb7c8d02c, kw=0x0) at Objects/abstract.c:2492
#46 0xb7f2337e in do_call (f=0x80b372c, throwflag=0) at Python/ceval.c:3968
#47 call_function (f=0x80b372c, throwflag=0) at Python/ceval.c:3773
#48 PyEval_EvalFrameEx (f=0x80b372c, throwflag=0) at Python/ceval.c:2412
#49 0xb7f24e10 in PyEval_EvalCodeEx (co=0xb7c636e0, globals=0xb7cbf24c, locals=0xb7cbf24c, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, 
    closure=0x0) at Python/ceval.c:3000
#50 0xb7f24ec5 in PyEval_EvalCode (co=0xb7c636e0, globals=0xb7cbf24c, locals=0xb7cbf24c) at Python/ceval.c:541
#51 0xb7f3d5c4 in run_mod (mod=<value optimized out>, filename=<value optimized out>, globals=0xb7cbf24c, locals=0xb7cbf24c, flags=0xbfffeddc, arena=0x807a2d0)
    at Python/pythonrun.c:1351
#52 0xb7f3d696 in PyRun_FileExFlags (fp=0x8065b28, filename=0xbffff0b7 "pandtut.py", start=257, globals=0xb7cbf24c, locals=0xb7cbf24c, closeit=1, flags=0xbfffeddc)
    at Python/pythonrun.c:1337
#53 0xb7f3ec30 in PyRun_SimpleFileExFlags (fp=0x8065b28, filename=0xbffff0b7 "pandtut.py", closeit=1, flags=0xbfffeddc) at Python/pythonrun.c:941
#54 0xb7f3f15c in PyRun_AnyFileExFlags (fp=0x8065b28, filename=0xbffff0b7 "pandtut.py", closeit=1, flags=0xbfffeddc) at Python/pythonrun.c:745
#55 0xb7f4a71d in Py_Main (argc=2, argv=0xbfffeed4) at Modules/main.c:584
#56 0x08048816 in main (argc=2, argv=0xbfffeed4) at ./Modules/python.c:46
(gdb) 

Anything else a noob can do?

I remain baffled. The crash appears to be happening deep within your OpenGL driver, so there’s little for me to go on here.

David

I downgraded mesa from 7.8.2 to 7.7.1 and panda walks again with no tweaks. I’ll just leave it there for now, and file a bug with Gentoo.

thx for your replies, dropdeadsed.
downgrading mesa-libs worked for me, too.
could you send me a link for your gentoo bugreport, please?

I have the same problem.

Known pipe types:
  glxGraphicsPipe
(all display modules loaded.)
Segmentation fault

I can’t run the first manual example.

I downgrade mesa-libs (but i’m using archlinux not gentoo), but doesn’t help me :frowning:

Any ideas?

try to set your notify level to debug. that slows down the panda boot and may help.
and could you please give us more info about our system?
kernel-version, mesa-lib version, graphics drivers and version. and which panda version are your running?

I guess it’s because you built without JPEG support

[code]
–no-jpeg

[code]

Just for the record: in most, if not all, cases ‘makepanda.py --everything’ is all you need. It will detect missing libraries by itself and append all the --no-* parameters respectively.

Back to the problem. Having the same on my notebook (Archlinux x86_64, Intel Graphics chip).
I’ll try to downgrade the mesa lib and let you know what happens. (Given i success in downgrading, which is a problem on arch…)

Blindly isolated the problem to this code:

  if (!_supports_fbconfig) {
    // We have a good OpenGL context, but it doesn't support the
    // FBConfig interface, so we'll stop there.
    if (glxdisplay_cat.is_debug()) {
      glxdisplay_cat.debug()
        <<" No FBConfig supported; using XVisual only.\n";

      glxdisplay_cat.debug()
        << _fbprops << "\n";

      _context = _temp_context;
      _temp_context = (GLXContext)NULL;

      // By convention, every indirect XVisual that can render to a
      // window can also render to a GLXPixmap.  Direct visuals we're
      // not as sure about.
      _context_has_pixmap = !glXIsDirect(_display, _context);

      // Pbuffers aren't supported at all with the XVisual interface.
      _context_has_pbuffer = false;
    }

So the context never gets initialised if there is no FBConfig support and if notify-level-glxdisplay is not debug. Will check in a fix, but I do wonder why _supports_fbconfig would be false in the case of Mesa.
So this may just be only a part of the problem.

I think that the whole temp_context hack just doesn’t work for many drivers- I have a hunch that it is causing the fact that these extensions (including the FBConfig one) are being queried incorrectly.