Panda segmentation fault

Hi everyone!

I’m a gentoo and nvidia user and recently installed panda3d via the ebuild provided in this forum. The installation process went smoothly, and I seem to have panda up and working.
But when I try to run one of the example programs the panda window shows up and then closes with this error:

ruby Asteroids # python Tut-Asteroids.py
DirectStart: Starting the game.
Warning: DirectNotify: category 'Interval' already exists
Known pipe types:
  glxGraphicsPipe
(all display modules loaded.)
Segmentation fault

I know that accelerated video driver is working because “glxgears” works fine…
How can I solve this problem or how can I get more informations about that Segmentation fault?

Thanks in advance!

Can you provide us with some more info?
What graphics card do you have? Is it just for one example that crashes or do all the sample programs crash? What version of Panda3D are you using?

Hi, thanks for your reply.
I’m using a nvdia 8600 GT card on gentoo linux. I’ve installed panda 1.5.2 and it seems to crash with all samples…
But I once tried to run kde without compiz enabled (a window manager which uses opengl) and samples worked two or three times, and after the error came back again. I can’t understand what’s the reason which causes panda to show that segmentation error at this point… I was thinking about some opengl conflict? And is there any way to tell panda to run programs in verbose mode so that I can see what’s actually the error?

Yes. Put this line somewhere in /etc/Config.prc and give us the output of running a sample program:

notify-level-glgsg debug

This is the output I have:

DirectStart: Starting the game.
:interrogatedb(debug): Creating interrogate database
:interrogatedb(debug): Got interrogate data for module libexpress
:interrogatedb(debug): Got interrogate data for module libdownloader
:interrogatedb(debug): Got interrogate data for module libpnmtext
:interrogatedb(debug): Got interrogate data for module libvrpn
: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:png(debug): PNG version 10226
:pnmimage:tiff(debug): LIBTIFF, Version 3.8.2
Copyright (c) 1988-1996 Sam Leffler
Copyright (c) 1991-1996 Silicon Graphics, Inc.
: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 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 libskel
:interrogatedb(debug): Got interrogate data for module libegg
:interrogatedb(debug): Got interrogate data for module libegg2pg
Warning: DirectNotify: category 'Interval' already exists
:05-11-2008 22:13:27 InputState(debug): -1270306644 (0) InputState()
:pgraph(debug): Constructing 0x8080b04, hidden
:pgraph(debug): Constructing 0x82a648c, render
:pgraph(debug): Constructing 0x82a678c, render2d
:pgraph(debug): Constructing 0x82a6b5c, aspect2d
:pgraph(debug): Constructing 0x82a6f5c, a2dBackground
:pgraph(debug): Constructing 0x82a7044, a2dTopCenter
:pgraph(debug): Constructing 0x82a712c, a2dBottomCenter
:pgraph(debug): Constructing 0x82a7254, a2dLeftCenter
:pgraph(debug): Constructing 0x82a737c, a2dRightCenter
:pgraph(debug): Constructing 0x82a74d4, a2dTopLeft
:pgraph(debug): Constructing 0x82a75ec, a2dTopRight
:pgraph(debug): Constructing 0x82a7714, a2dBottomLeft
:pgraph(debug): Constructing 0x82a783c, a2dBottomRight
:pgraph(debug): Constructing 0x82a79b4, dataRoot
:pgraph(debug): Constructing 0x82a7acc, dataUnused
:pgraph(debug): Constructing 0x82a7be4, render2dp
:pgraph(debug): Constructing 0x82a7ccc, aspect2dp
:pgraph(debug): Constructing 0x82a7e5c, a2dpTopCenter
:pgraph(debug): Constructing 0x82a7f7c, a2dpBottomCenter
:pgraph(debug): Constructing 0x82a80ec, a2dpLeftCenter
:pgraph(debug): Constructing 0x82a8214, a2dpRightCenter
:pgraph(debug): Constructing 0x82a833c, a2dpTopLeft
:pgraph(debug): Constructing 0x82a8494, a2dpTopRight
:pgraph(debug): Constructing 0x82a85ac, a2dpBottomLeft
:pgraph(debug): Constructing 0x82a86d4, a2dpBottomRight
:display: loading display module: libpandagl.so
Known pipe types:
  glxGraphicsPipe
(all display modules loaded.)
:05-11-2008 22:13:27 ShowBase(info): Default graphics pipe is OpenGL (glxGraphicsPipe).
:display(debug): DisplayRegion::do_compute_pixels(800, 600)
:display(debug): DisplayRegion::do_compute_pixels(800, 600)
:display(debug): Creating new window window1
:display(debug): Created glxGraphicsWindow 0x82cbaec
:display(debug): Windows resorted: window1(0)
 window1(0)
:display:gsg:glgsg(debug): GL_VENDOR = NVIDIA Corporation
:display:gsg:glgsg(debug): GL_RENDERER = GeForce 8600M GT/PCI/SSE2
:display:gsg:glgsg(debug): GL_VERSION = 2.1.2 NVIDIA 169.12
:display:gsg:glgsg(debug): GL_VERSION = 2.1.2 NVIDIA 169.12, decoded to 2.1.2
:display:gsg:glgsg(debug): GLX_VENDOR (client) = NVIDIA Corporation
:display:gsg:glgsg(debug): GLX_VERSION (client) = 1.4
:display:gsg:glgsg(debug): GLX_VENDOR (server) = NVIDIA Corporation
:display:gsg:glgsg(debug): GLX_VERSION (server) = 1.4
:display:gsg:glgsg(debug): GLX_VERSION = 1.3
:display:gsg:glgsg(debug): GL Extensions:
:display:gsg:glgsg(debug): GLX_ARB_fbconfig_float
:display:gsg:glgsg(debug): GLX_ARB_get_proc_address
:display:gsg:glgsg(debug): GLX_ARB_multisample
:display:gsg:glgsg(debug): GLX_EXT_framebuffer_sRGB
:display:gsg:glgsg(debug): GLX_EXT_texture_from_pixmap
:display:gsg:glgsg(debug): GLX_EXT_visual_info
:display:gsg:glgsg(debug): GLX_EXT_visual_rating
:display:gsg:glgsg(debug): GLX_NV_float_buffer
:display:gsg:glgsg(debug): GLX_SGIX_fbconfig
:display:gsg:glgsg(debug): GLX_SGIX_pbuffer
:display:gsg:glgsg(debug): GLX_SGI_swap_control
:display:gsg:glgsg(debug): GLX_SGI_video_sync
:display:gsg:glgsg(debug): GL_ARB_color_buffer_float
:display:gsg:glgsg(debug): GL_ARB_depth_texture
:display:gsg:glgsg(debug): GL_ARB_draw_buffers
:display:gsg:glgsg(debug): GL_ARB_fragment_program
:display:gsg:glgsg(debug): GL_ARB_fragment_program_shadow
:display:gsg:glgsg(debug): GL_ARB_fragment_shader
:display:gsg:glgsg(debug): GL_ARB_half_float_pixel
: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_occlusion_query
:display:gsg:glgsg(debug): GL_ARB_pixel_buffer_object
:display:gsg:glgsg(debug): GL_ARB_point_parameters
:display:gsg:glgsg(debug): GL_ARB_point_sprite
:display:gsg:glgsg(debug): GL_ARB_shader_objects
:display:gsg:glgsg(debug): GL_ARB_shading_language_100
:display:gsg:glgsg(debug): GL_ARB_shadow
: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_dot3
:display:gsg:glgsg(debug): GL_ARB_texture_float
:display:gsg:glgsg(debug): GL_ARB_texture_mirrored_repeat
:display:gsg:glgsg(debug): GL_ARB_texture_non_power_of_two
: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_vertex_program
:display:gsg:glgsg(debug): GL_ARB_vertex_shader
:display:gsg:glgsg(debug): GL_ARB_window_pos
:display:gsg:glgsg(debug): GL_ATI_draw_buffers
:display:gsg:glgsg(debug): GL_ATI_texture_float
:display:gsg:glgsg(debug): GL_ATI_texture_mirror_once
:display:gsg:glgsg(debug): GL_EXTX_framebuffer_mixed_formats
:display:gsg:glgsg(debug): GL_EXT_Cg_shader
:display:gsg:glgsg(debug): GL_EXT_abgr
:display:gsg:glgsg(debug): GL_EXT_bgra
:display:gsg:glgsg(debug): GL_EXT_bindable_uniform
:display:gsg:glgsg(debug): GL_EXT_blend_color
:display:gsg:glgsg(debug): GL_EXT_blend_equation_separate
:display:gsg:glgsg(debug): GL_EXT_blend_func_separate
: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_depth_bounds_test
:display:gsg:glgsg(debug): GL_EXT_draw_buffers2
:display:gsg:glgsg(debug): GL_EXT_draw_instanced
:display:gsg:glgsg(debug): GL_EXT_draw_range_elements
:display:gsg:glgsg(debug): GL_EXT_fog_coord
:display:gsg:glgsg(debug): GL_EXT_framebuffer_blit
:display:gsg:glgsg(debug): GL_EXT_framebuffer_multisample
:display:gsg:glgsg(debug): GL_EXT_framebuffer_object
:display:gsg:glgsg(debug): GL_EXT_framebuffer_sRGB
:display:gsg:glgsg(debug): GL_EXT_geometry_shader4
:display:gsg:glgsg(debug): GL_EXT_gpu_program_parameters
:display:gsg:glgsg(debug): GL_EXT_gpu_shader4
: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_float
:display:gsg:glgsg(debug): GL_EXT_packed_pixels
:display:gsg:glgsg(debug): GL_EXT_pixel_buffer_object
:display:gsg:glgsg(debug): GL_EXT_point_parameters
: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_shadow_funcs
:display:gsg:glgsg(debug): GL_EXT_stencil_two_side
:display:gsg:glgsg(debug): GL_EXT_stencil_wrap
:display:gsg:glgsg(debug): GL_EXT_texture3D
:display:gsg:glgsg(debug): GL_EXT_texture_array
:display:gsg:glgsg(debug): GL_EXT_texture_buffer_object
:display:gsg:glgsg(debug): GL_EXT_texture_compression_latc
:display:gsg:glgsg(debug): GL_EXT_texture_compression_rgtc
:display:gsg:glgsg(debug): GL_EXT_texture_compression_s3tc
: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_integer
:display:gsg:glgsg(debug): GL_EXT_texture_lod
: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_sRGB
:display:gsg:glgsg(debug): GL_EXT_texture_shared_exponent
:display:gsg:glgsg(debug): GL_EXT_timer_query
:display:gsg:glgsg(debug): GL_EXT_vertex_array
:display:gsg:glgsg(debug): GL_IBM_rasterpos_clip
:display:gsg:glgsg(debug): GL_IBM_texture_mirrored_repeat
:display:gsg:glgsg(debug): GL_KTX_buffer_region
:display:gsg:glgsg(debug): GL_NVX_conditional_render
:display:gsg:glgsg(debug): GL_NV_blend_square
:display:gsg:glgsg(debug): GL_NV_conditional_render
:display:gsg:glgsg(debug): GL_NV_copy_depth_to_color
:display:gsg:glgsg(debug): GL_NV_depth_buffer_float
:display:gsg:glgsg(debug): GL_NV_depth_clamp
:display:gsg:glgsg(debug): GL_NV_fence
:display:gsg:glgsg(debug): GL_NV_float_buffer
:display:gsg:glgsg(debug): GL_NV_fog_distance
:display:gsg:glgsg(debug): GL_NV_fragment_program
:display:gsg:glgsg(debug): GL_NV_fragment_program2
:display:gsg:glgsg(debug): GL_NV_fragment_program_option
:display:gsg:glgsg(debug): GL_NV_framebuffer_multisample_coverage
:display:gsg:glgsg(debug): GL_NV_geometry_shader4
:display:gsg:glgsg(debug): GL_NV_gpu_program4
:display:gsg:glgsg(debug): GL_NV_half_float
:display:gsg:glgsg(debug): GL_NV_light_max_exponent
:display:gsg:glgsg(debug): GL_NV_multisample_coverage
:display:gsg:glgsg(debug): GL_NV_multisample_filter_hint
:display:gsg:glgsg(debug): GL_NV_occlusion_query
:display:gsg:glgsg(debug): GL_NV_packed_depth_stencil
:display:gsg:glgsg(debug): GL_NV_parameter_buffer_object
:display:gsg:glgsg(debug): GL_NV_pixel_data_range
:display:gsg:glgsg(debug): GL_NV_point_sprite
:display:gsg:glgsg(debug): GL_NV_primitive_restart
:display:gsg:glgsg(debug): GL_NV_register_combiners
:display:gsg:glgsg(debug): GL_NV_register_combiners2
:display:gsg:glgsg(debug): GL_NV_texgen_reflection
:display:gsg:glgsg(debug): GL_NV_texture_compression_vtc
:display:gsg:glgsg(debug): GL_NV_texture_env_combine4
:display:gsg:glgsg(debug): GL_NV_texture_expand_normal
:display:gsg:glgsg(debug): GL_NV_texture_rectangle
:display:gsg:glgsg(debug): GL_NV_texture_shader
:display:gsg:glgsg(debug): GL_NV_texture_shader2
:display:gsg:glgsg(debug): GL_NV_texture_shader3
:display:gsg:glgsg(debug): GL_NV_transform_feedback
:display:gsg:glgsg(debug): GL_NV_vertex_array_range
:display:gsg:glgsg(debug): GL_NV_vertex_array_range2
:display:gsg:glgsg(debug): GL_NV_vertex_program
:display:gsg:glgsg(debug): GL_NV_vertex_program1_1
:display:gsg:glgsg(debug): GL_NV_vertex_program2
:display:gsg:glgsg(debug): GL_NV_vertex_program2_option
:display:gsg:glgsg(debug): GL_NV_vertex_program3
:display:gsg:glgsg(debug): GL_S3_s3tc
:display:gsg:glgsg(debug): GL_SGIS_generate_mipmap
:display:gsg:glgsg(debug): GL_SGIS_texture_lod
:display:gsg:glgsg(debug): GL_SGIX_depth_texture
:display:gsg:glgsg(debug): GL_SGIX_shadow
:display:gsg:glgsg(debug): GL_SUN_slice_accum
:display:gsg:glgsg(debug): Getting run-time PointParameter pointers
:display:gsg:glgsg(debug): HAS EXT GLX_ARB_get_proc_address 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_point_sprite 1
: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): Getting run-time DrawRangeElements pointers
:display:gsg:glgsg(debug): HAS EXT GL_ARB_depth_texture 1
:display:gsg:glgsg(debug): HAS EXT GL_EXT_packed_depth_stencil 1
:display:gsg:glgsg(debug): Getting run-time 3-D textures pointers
:display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_cube_map 1
:display:gsg:glgsg(debug): Getting run-time compressed textures pointers
: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_SGIS_generate_mipmap 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_non_power_of_two 1
:display:gsg:glgsg(debug): Getting run-time multitexture pointers
:display:gsg:glgsg(debug): HAS EXT GL_ARB_depth_texture 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_shadow 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_fragment_program_shadow 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_env_combine 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_env_crossbar 0
:display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_env_dot3 1
:display:gsg:glgsg(debug): Getting run-time buffer pointers
:display:gsg:glgsg(debug): HAS EXT GL_ATI_draw_buffers 1
:display:gsg:glgsg(debug): HAS EXT GL_EXT_framebuffer_object 1
:display:gsg:glgsg(debug): Getting run-time occlusion pointers
:display:gsg:glgsg(debug): Occlusion query counter provides 32 bits.
:display:gsg:glgsg(debug): Getting run-time blend pointers
:display:gsg:glgsg(debug): Getting run-time BlendColor pointers
:display:gsg:glgsg(debug): HAS EXT GL_SGIS_texture_edge_clamp 0
: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 = 8192, max 3d texture = 2048, max cube map = 8192
:display:gsg:glgsg(debug): max_elements_vertices = 1048576, max_elements_indices = 1048576
:display:gsg:glgsg(debug): vertex buffer objects are supported.
:display:gsg:glgsg(debug): Supported compressed texture formats:
  GL_COMPRESSED_RGB_S3TC_DXT1_EXT
  GL_COMPRESSED_RGBA_S3TC_DXT3_EXT
  GL_COMPRESSED_RGBA_S3TC_DXT5_EXT
:display:gsg:glgsg(debug): HAS EXT GL_EXT_stencil_wrap 1
:display:gsg:glgsg(debug): HAS EXT GL_EXT_stencil_two_side 1
:display:gsg:glgsg(debug): max lights = 8
:display:gsg:glgsg(debug): max clip planes = 6
:display:gsg:glgsg(debug): max texture stages = 4
:display:gsg:glgsg(debug):
Cg vertex profile = vp40  id = 7001
Cg pixel profile = fp40  id = 6151
shader model = 4
:display:gsg:glgsg(debug): HAS EXT GLX_SGI_swap_control 1
:display:glxdisplay(debug): Raw mice not requested.
:display(debug): DisplayRegion::do_compute_pixels(800, 600)
:display(debug): system_changed_properties(size=(800, 600) )
:display(debug): system_changed_size(800, 600)
:display(debug): system_changed_properties(size=(800, 600) )
:display(debug): system_changed_size(800, 600)
:display(debug): system_changed_properties(size=(800, 600) )
:display(debug): system_changed_size(800, 600)
:pgraph(debug): Constructing 0x807b61c, camera
:pgraph(debug): Constructing 0x8454f0c, cam
:display(debug): DisplayRegion::do_compute_pixels(800, 600)
:display(debug): DisplayRegion::do_compute_pixels(800, 600)
:05-11-2008 22:13:27 Messenger(debug): sent event: open_window sentArgs: [<libpanda.GraphicsWindow object at 0xb44ae3c8>, True]
:05-11-2008 22:13:27 Messenger(debug): sent event: open_main_window sentArgs: []
:pgraph(debug): Constructing 0x845576c, keyboard/mouse
:pgraph(debug): Constructing 0x8455994, keyboard/mouse
:pgraph(debug): Constructing 0x84561ac, keyboard/mouse
:pgraph(debug): Constructing 0x8456474, trackball
:pgraph(debug): Constructing 0x84566f4, drive
:pgraph(debug): Constructing 0x8456d24, mouse2cam
:pgraph(debug): Constructing 0x8456eac, timeButtons
:display(debug): DisplayRegion::do_compute_pixels(800, 600)
:display(debug): DisplayRegion::do_compute_pixels(800, 600)
:pgraph(debug): Constructing 0x845743c, cam2d
:pgraph(debug): Constructing 0x84575ac, camera2d
:display(debug): DisplayRegion::do_compute_pixels(800, 600)
:display(debug): DisplayRegion::do_compute_pixels(800, 600)
:pgraph(debug): Constructing 0x8457bcc, cam2dp
:pgraph(debug): Constructing 0x8457d64, camera2dp
:display: Unable to set window properties: !undecorated
:05-11-2008 22:13:27 Messenger(debug): object: <direct.showbase.Loader.Loader instance at 0xb44b206c>
 accepting: async_loader_0
 method: <bound method Loader.__gotAsyncObject of <direct.showbase.Loader.Loader instance at 0xb44b206c>>
 extraArgs: []
 persistent: 1
:audio(debug): create_AudioManager()
  audio_library_name="p3openal_audio"
:audio(debug):   dl_name="libp3openal_audio.so"
Segmentation fault

Ah. You’re trying to use OpenAL for audio. Panda3D’s OpenAL subsystem is not yet stable in linux (on windows, it is already). You can switch to the FMOD system in your /etc/Config.prc:
Change this line:

audio-library-name p3openal_audio

into this:

audio-library-name p3fmod_audio

PS. Note to Josh/drwr: was this changed? I just saw in my own Config.prc (installed by makepanda’s deb) on linux that it was also set to use openal…

Thanks so much for your help, pro soft! ^^

The problem was exactly openal, which makes panda crash almost every time. With fmod samples works fine but the same can’t be said for audio… which sounds very bad. So I was wondering if there could be some other way to use audio. Can I use pyopenal or I would get the same issues? If yes, maybe another solution would be to use the audio library included in pygame…

pyOpenAL is fine, it will work good. Several users have already used it and posted about it at the forums.
But wait – FMOD is supposed to sound OK! sounds play very well here… There must be something wrong then. Are there any additional debug messages printed when you use fmod? Or are you perhaps running another sound program (music player or so) at the same time while running Panda3D?

Actually, if somebody could make an effort to get OpenAL working under linux, that would be nice. I suspect the OpenAL team has made significant progress since I last tried - it may be a question of merely plugging in a more recent version of OpenAL.