crash - Signal 11 on entering map

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Sat Jun 17, 2006 2:04 pm

  • I run OpenSuse 10.1 on a AMD Turion 64-Bit, with 512 MB RAM (suse eats much of that) an a ATI Mobility Radeon. I have direct rendering enabled and compiz/glx disabled.

    I can start Nexuiz fine and Play arround on the interface, apart from crashes when trying to change resolution (X11 complaints about not beeing able to free some buffer).

    When i try to join a game or play the campaign, Nexuiz crashes. Before it does so i hear some noisy sound for about half a second. Here is the commandline output:

    Code: Select all
    ^7Nexuiz Linux 02:51:45 Jun 14 2006
    ^7Trying to load library... "libz.so.1" - loaded.
    ^7Compressed files support enabled
    ^7Added packfile data/common-spog.pk3 (26 files)
    ^7Added packfile data/data20060614.pk3 (2858 files)
    ^7Console initialized.
    ^7Playing registered version.
    ^7Trying to load library... "libcurl.so.3" - loaded.
    ^7cURL support enabled
    ^7Initializing client
    ^7Trying to load library... "libvorbis.so.0" - loaded.
    ^7Trying to load library... "libvorbisfile.so.3" - loaded.
    ^7Ogg Vorbis support enabled
    ^7couldn't exec autoexec.cfg
    ^7Starting video system
    ^7Video: fullscreen 1024x768x32x60hz
    ^7Loading OpenGL driver libGL.so.1
    ^7checking for GLX_ARB_get_proc_address...  enabled
    ^7checking for GLX_SGI_swap_control...  not detected
    ^7checking for OpenGL 1.1.0...  enabled
    ^7GL_VENDOR: ATI Technologies Inc.
    ^7GL_RENDERER: MOBILITY RADEON X600 Generic
    ^7GL_VERSION: 2.0.5755 (8.24.8)
    ^7GL_EXTENSIONS: GL_ARB_multitexture GL_EXT_texture_env_add GL_EXT_compiled_vertex_array GL_S3_s3tc GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_multisample GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient 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_transpose_matrix GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ARB_draw_buffers GL_ATI_draw_buffers GL_ATI_element_array GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_map_object_buffer GL_ATI_separate_stencil GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_ATI_vertex_array_object GL_ATI_vertex_attrib_array_object GL_ATI_vertex_streams GL_ATIX_texture_env_combine3 GL_ATIX_texture_env_route GL_ATIX_vertex_shader_output_point_size GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_object GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_texgen_reflection GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_EXT_vertex_shader GL_HP_occlusion_test GL_NV_blend_square GL_NV_occlusion_query GL_NV_texgen_reflection GL_SGI_color_matrix GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays
    ^7GLX_EXTENSIONS: GLX_EXT_visual_info GLX_EXT_visual_rating GLX_EXT_import_context GLX_ARB_get_proc_address GLX_ARB_multisample
    ^7Checking OpenGL extensions...
    ^7checking for glDrawRangeElements...  enabled
    ^7checking for GL_ARB_multitexture...  enabled
    ^7checking for GL_ARB_texture_env_combine...  enabled
    ^7checking for GL_ARB_texture_env_dot3...  enabled
    ^7checking for GL_EXT_texture3D...  enabled
    ^7checking for GL_ARB_texture_cube_map...  enabled
    ^7checking for GL_EXT_compiled_vertex_array...  enabled
    ^7checking for GL_EXT_texture_edge_clamp...  enabled
    ^7checking for GL_EXT_texture_filter_anisotropic...  enabled
    ^7checking for GL_EXT_stencil_two_side...  not detected
    ^7checking for GL_ARB_shader_objects...  enabled
    ^7checking for GL_ARB_shading_language_100...  enabled
    ^7checking for GL_ARB_vertex_shader...  enabled
    ^7checking for GL_ARB_fragment_shader...  enabled
    ^7OpenGL Backend starting...
    ^7glDrawRangeElements detected (max vertices 2147483647, max indices 65535)
    ^7GLSL shader support detected: texture units = 8 texenv, 16 image, 8 array
    ^7OpenGL backend started.
    ^7Trying to load library... "libjpeg.so.62" - loaded.
    ^7JPEG support enabled
    ^7Trying to load library... "libpng12.so.0" - loaded.
    ^7PNG support enabled
    ^7Draw_CachePic: failed to load gfx/crosshair7
    ^7Draw_CachePic: failed to load gfx/crosshair8
    ^7Draw_CachePic: failed to load gfx/crosshair9
    ^7Draw_CachePic: failed to load gfx/crosshair10
    ^7Draw_CachePic: failed to load gfx/crosshair11
    ^7Draw_CachePic: failed to load gfx/crosshair12
    ^7Draw_CachePic: failed to load gfx/crosshair13
    ^7Draw_CachePic: failed to load gfx/crosshair14
    ^7Draw_CachePic: failed to load gfx/crosshair15
    ^7Draw_CachePic: failed to load gfx/crosshair16
    ^7Draw_CachePic: failed to load gfx/crosshair17
    ^7Draw_CachePic: failed to load gfx/crosshair18
    ^7Draw_CachePic: failed to load gfx/crosshair19
    ^7Draw_CachePic: failed to load gfx/crosshair20
    ^7Draw_CachePic: failed to load gfx/crosshair21
    ^7Draw_CachePic: failed to load gfx/crosshair22
    ^7Draw_CachePic: failed to load gfx/crosshair23
    ^7Draw_CachePic: failed to load gfx/crosshair24
    ^7Draw_CachePic: failed to load gfx/crosshair25
    ^7Draw_CachePic: failed to load gfx/crosshair26
    ^7Draw_CachePic: failed to load gfx/crosshair27
    ^7Draw_CachePic: failed to load gfx/crosshair28
    ^7Draw_CachePic: failed to load gfx/crosshair29
    ^7Draw_CachePic: failed to load gfx/crosshair30
    ^7Draw_CachePic: failed to load gfx/crosshair31
    ^7Draw_CachePic: failed to load gfx/crosshair32
    ^7Draw_CachePic: failed to load gfx/complete
    ^7Draw_CachePic: failed to load gfx/inter
    ^7Draw_CachePic: failed to load gfx/finale
    ^7SndSys_Init: using the ALSA module
    ^7Sound format: 48000Hz, 2 channels, 16 bits per sample
    ^7ioctl CDROMREADTOCHDR failed
    ^7CDAudio_Init: No CD in player.
    ^7Initial CD volume: 1
    ^7CD Audio Initialized
    ^7Draw_CachePic: failed to load gfx/m_white
    ^7DrawQ_ResetClipArea: not in 2d rendering stage!
    ^7Fake CD track 1 playing...
    ^7Client using port 0
    ^7Client opened a socket on address local:2
    ^7Client opened a socket on address 0.0.0.0:32775
    ^7
    ^7Trying to connect...
    ^7DrawQ_ResetClipArea: not in 2d rendering stage!
    ^7"challenge sI7Sn=fk:UR" received, sending connect request back to 85.10.194.55:26001
    ^7Got challenge response
    ^7Accepted
    ^7
    ^7Connection accepted to 85.10.194.55:26001
    ^7<-- server to client keepalive
    ^7
    ^7Server: Nexuiz build 02:50:44 Jun 14 2006 (progs 57493 crc)
    ^7
    ^7<===================================>
    ^7
    ^7^3Aneurysm
    ^7--> client to server keepalive
    ^7scripts/common.shader parsing warning: unknown surfaceparm "hint"
    ^7scripts/common.shader parsing warning: unknown surfaceparm "dust"
    ^7scripts/common.shader parsing warning: unknown surfaceparm "botclip"
    ^7scripts/common.shader parsing warning: unknown surfaceparm "lightgrid"
    ^7maps/aneurysm.bsp: could not load texture for missing shader "noshader"
    ^7maps/aneurysm.bsp: could not load texture for missing shader "textures/NULL"
    ^7<-- server to client keepalive
    ^7--> client to server keepalive
    ^7<-- server to client keepalive
    ^7--> client to server keepalive
    ^7<-- server to client keepalive
    ^7--> client to server keepalive
    ^7<-- server to client keepalive
    ^7--> client to server keepalive
    ^7CDAudio: Bad track number 0.
    ^7<-- server to client keepalive
    ^7<-- server to client keepalive
    ^7Fake CD track 6 playing...
    ^7^1kerpele^1 has been vaporized by Ravager
    ^7Received signal 11, exiting...
    ^7OpenGL Backend shutting down


    I Hope this helps. Tell me if more Information is needed.

    Best regards
    Mana
    mana
    Member
     
    Posts: 14
    Joined: Sat Jun 17, 2006 1:55 pm

Mon Jun 19, 2006 11:10 am

  • Hi. Sorry for the long wait. Actually this log does not help very much, except the last two lines everything looks just fine. Can you run other games fine? Did you try both the -sdl and the -glx binary? And which one did you use the x68_64 or the 686 variant?
    Last edited by esteel on Thu Aug 31, 2006 8:41 pm, edited 1 time in total.
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Mon Jun 19, 2006 11:35 am

  • I tried both, sdl and glx, for x86_64. This log-output is for the later one. Using sdl (damn slow) the sdl-parachute was deployed. I Will try to post that log soon, as i am at work right now :).

    I can play other Games just fine, including openGL games like tuxracer etc.

    I have no problem with the delay. You guys are doing a good job! :))

    greets
    Mana
    mana
    Member
     
    Posts: 14
    Joined: Sat Jun 17, 2006 1:55 pm

Mon Jun 19, 2006 11:55 am

  • Hello,

    I've the exact same problem as Mana. I also have a Turion64 processor and all the other stuff. This is the output I get:

    Code: Select all
    ^7Nexuiz Linux 02:51:46 Jun 14 2006
    ^7Trying to load library... "libz.so.1" - loaded.
    ^7Compressed files support enabled
    ^7Added packfile data/common-spog.pk3 (26 files)
    ^7Added packfile data/data20060614.pk3 (2858 files)
    ^7Console initialized.
    ^7Playing registered version.
    ^7Trying to load library... "libcurl.so.3" - loaded.
    ^7cURL support enabled
    ^7Initializing client
    ^7Trying to load library... "libvorbis.so.0" - loaded.
    ^7Trying to load library... "libvorbisfile.so.3" - loaded.
    ^7Ogg Vorbis support enabled
    ^7couldn't exec autoexec.cfg
    ^7Starting video system
    ^7Video: fullscreen 800x600x16x60hz
    ^7Linked against SDL version 1.2.8
    ^7Using SDL library version 1.2.9
    ^7checking for OpenGL 1.1.0...  enabled
    ^7GL_VENDOR: ATI Technologies Inc.
    ^7GL_RENDERER: MOBILITY RADEON X700 Generic
    ^7GL_VERSION: 2.0.5814 (8.25.18)
    ^7GL_EXTENSIONS: GL_ARB_multitexture GL_EXT_texture_env_add GL_EXT_compiled_vertex_array GL_S3_s3tc GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_multisample GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient 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_transpose_matrix GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ARB_draw_buffers GL_ATI_draw_buffers GL_ATI_element_array GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_map_object_buffer GL_ATI_separate_stencil GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_ATI_vertex_array_object GL_ATI_vertex_attrib_array_object GL_ATI_vertex_streams GL_ATIX_texture_env_combine3 GL_ATIX_texture_env_route GL_ATIX_vertex_shader_output_point_size GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_object GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_texgen_reflection GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_EXT_vertex_shader GL_HP_occlusion_test GL_NV_blend_square GL_NV_occlusion_query GL_NV_texgen_reflection GL_SGI_color_matrix GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays
    ^7SDL_EXTENSIONS:
    ^7Checking OpenGL extensions...
    ^7checking for glDrawRangeElements...  enabled
    ^7checking for GL_ARB_multitexture...  enabled
    ^7checking for GL_ARB_texture_env_combine...  enabled
    ^7checking for GL_ARB_texture_env_dot3...  enabled
    ^7checking for GL_EXT_texture3D...  enabled
    ^7checking for GL_ARB_texture_cube_map...  enabled
    ^7checking for GL_EXT_compiled_vertex_array...  enabled
    ^7checking for GL_EXT_texture_edge_clamp...  enabled
    ^7checking for GL_EXT_texture_filter_anisotropic...  enabled
    ^7checking for GL_EXT_stencil_two_side...  not detected
    ^7checking for GL_ARB_shader_objects...  enabled
    ^7checking for GL_ARB_shading_language_100...  enabled
    ^7checking for GL_ARB_vertex_shader...  enabled
    ^7checking for GL_ARB_fragment_shader...  enabled
    ^7OpenGL Backend starting...
    ^7glDrawRangeElements detected (max vertices 2147483647, max indices 65535)
    ^7GLSL shader support detected: texture units = 8 texenv, 16 image, 8 array
    ^7OpenGL backend started.
    ^7Trying to load library... "libjpeg.so.62" - loaded.
    ^7JPEG support enabled
    ^7Trying to load library... "libpng12.so.0" - loaded.
    ^7PNG support enabled
    ^7Draw_CachePic: failed to load gfx/crosshair7
    ^7Draw_CachePic: failed to load gfx/crosshair8
    ^7Draw_CachePic: failed to load gfx/crosshair9
    ^7Draw_CachePic: failed to load gfx/crosshair10
    ^7Draw_CachePic: failed to load gfx/crosshair11
    ^7Draw_CachePic: failed to load gfx/crosshair12
    ^7Draw_CachePic: failed to load gfx/crosshair13
    ^7Draw_CachePic: failed to load gfx/crosshair14
    ^7Draw_CachePic: failed to load gfx/crosshair15
    ^7Draw_CachePic: failed to load gfx/crosshair16
    ^7Draw_CachePic: failed to load gfx/crosshair17
    ^7Draw_CachePic: failed to load gfx/crosshair18
    ^7Draw_CachePic: failed to load gfx/crosshair19
    ^7Draw_CachePic: failed to load gfx/crosshair20
    ^7Draw_CachePic: failed to load gfx/crosshair21
    ^7Draw_CachePic: failed to load gfx/crosshair22
    ^7Draw_CachePic: failed to load gfx/crosshair23
    ^7Draw_CachePic: failed to load gfx/crosshair24
    ^7Draw_CachePic: failed to load gfx/crosshair25
    ^7Draw_CachePic: failed to load gfx/crosshair26
    ^7Draw_CachePic: failed to load gfx/crosshair27
    ^7Draw_CachePic: failed to load gfx/crosshair28
    ^7Draw_CachePic: failed to load gfx/crosshair29
    ^7Draw_CachePic: failed to load gfx/crosshair30
    ^7Draw_CachePic: failed to load gfx/crosshair31
    ^7Draw_CachePic: failed to load gfx/crosshair32
    ^7Draw_CachePic: failed to load gfx/complete
    ^7Draw_CachePic: failed to load gfx/inter
    ^7Draw_CachePic: failed to load gfx/finale
    ^7SndSys_Init: using the SDL module
    ^7Sound format: 48000Hz, 2 channels, 16 bits per sample
    ^7Found 1 cdrom drives.
    ^7No CD in drive 0.
    ^7CDAudio_Init: No CD in player.
    ^7Can't get initial CD volume
    ^7CD Audio Initialized
    ^7Draw_CachePic: failed to load gfx/m_white
    ^7DrawQ_ResetClipArea: not in 2d rendering stage!
    ^7g_maplist: Map 'dm_nexdm01' not found in database - ignored
    ^7Fake CD track 1 playing...
    ^7Client using port 0
    ^7Client opened a socket on address local:2
    ^7Client opened a socket on address 0.0.0.0:33228
    ^7scripts/common.shader parsing warning: unknown surfaceparm "hint"
    ^7scripts/common.shader parsing warning: unknown surfaceparm "dust"
    ^7scripts/common.shader parsing warning: unknown surfaceparm "botclip"
    ^7scripts/common.shader parsing warning: unknown surfaceparm "lightgrid"
    ^7maps/downer.bsp: could not load texture for missing shader "noshader"
    ^7Server using port 26000
    ^7Server listening on address local:1
    ^7Server listening on address 0.0.0.0:26000
    ^7Loaded maps/downer.ent
    ^7
    ^7Trying to connect...
    ^7"challenge x-8s1:7&X7M" received, sending connect request back to local:1
    ^7Got challenge response
    ^7"challenge x-8s1:7&X7M" received, sending connect request back to local:1
    ^7Got challenge response
    ^7Accepted
    ^7
    ^7Connection accepted to local:1
    ^7<-- server to client keepalive
    ^7
    ^7Server: Nexuiz build 02:51:46 Jun 14 2006 (progs 57493 crc)
    ^7
    ^7<===================================>
    ^7
    ^7^3Downer
    ^7CDAudio: Bad track number 0.
    ^7<-- server to client keepalive
    ^7Fake CD track 8 playing...
    Fatal signal: Segmentation Fault (SDL Parachute Deployed)
    FATAL: fglX11FreeBuffer: firegl_FreeBuffer() failed!


    I'm able to play other games like Warsow, Planet Pinguin Racer......etc.

    EDIT:

    This is the output I get after running the SDL version. The GLX version crashes on the same manner as Mana has described.
    Comp_Lex
    Newbie
     
    Posts: 6
    Joined: Mon Jun 19, 2006 11:45 am

Mon Jun 19, 2006 1:32 pm

  • Both of you, can you try the following:

    • unpack the engine source zip
    • enter the directory in a shell
    • when there, type: make cl-debug
    • after that, go in the Nexuiz directory and from there...
      Code: Select all
      $ screen
      $ gdb where/your/darkplaces/dir/is/darkplaces-glx
      (gdb) run -nexuiz
    • then you reproduce the crash
    • When it then finally crashes, it will hang forever instead. Once that happens, you press Ctrl-Alt-F1. There, you log in and type:
      Code: Select all
      $ screen -d -r
    • You will see messages like:
      Code: Select all
      Program received signal SIGINT, Interrupt.
      0x0000003269f8ebba in __getdents64 () from /lib64/libc.so.6
      (gdb)

      There, you should at least type "bt":
      Code: Select all
      (gdb) bt
      #0  0x0000003269f8ebba in __getdents64 () from /lib64/libc.so.6
      #1  0x0000003269f8e597 in readdir64 () from /lib64/libc.so.6
      #2  0x0000000000407389 in ?? ()
      #3  0x0000003269f1c40f in __libc_start_main () from /lib64/libc.so.6
      #4  0x0000000000402749 in ?? ()
      #5  0x00007fffffe20898 in ?? ()
      #6  0x0000000000000000 in ?? ()
      (gdb)
    • Send us at least the output of "bt". If possible, keep the crash screen open (you may exit and restart your X server using Ctrl-Alt-Backspace which won't kill the screen session, but you should not reboot or exit gdb) so we can ask you to enter further commands into gdb.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Mon Jun 19, 2006 5:59 pm

  • ok, i will try that now. Hoping to remember the commands, as i have no printer at hand
    mana
    Member
     
    Posts: 14
    Joined: Sat Jun 17, 2006 1:55 pm

Mon Jun 19, 2006 6:17 pm

  • sorry, no bug information from me ;) the game runs now with the compiled version ;))) somewhat slow when looking at farer distances but thats the ATI-mobility card i guess .... seems like you have a compatibility issue with the 64-bit binary :)

    thank you
    Mana

    p.s.: Installing Ubuntu now, if it the istaller will not crash this time *sigh* expect me here again in about an hour
    mana
    Member
     
    Posts: 14
    Joined: Sat Jun 17, 2006 1:55 pm

Mon Jun 19, 2006 9:54 pm

  • Do you both have Suse installed? Maybe there is a library conflict between Suse and the one DivVerent used to build Nexuiz. Or some problem with the turion.
    At least you are able to 'fix' it because of open source ;)
    Last edited by esteel on Thu Aug 31, 2006 8:44 pm, edited 1 time in total.
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Mon Jun 19, 2006 10:06 pm

  • esteel wrote:Do you both have Suse installed? Maybe there is a library conflict between Suse and the one DivVerent used to build Nexuiz. Or some problem with the turion.
    At least you are able to 'fix' it because of open source ;)


    Still we NEED more information on the problem. I can provide a debug build, but please test it then.

    For me it works fine - on 64bit, Fedora Core 4. The i386 binary built there even runs fine on FreeBSD's Linux support.

    But I neither have SuSE nor an ATI - and am not planning to buy either (no spare computer). LordHavoc however IIRC uses SuSE and - as the developer of the engine - does not know the problem yet, so the problem is probably somehow related to the ATI driver. Still we'd be happy if we could solve it, but with this lack of information we can't.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Tue Jun 20, 2006 8:23 am

  • Tell me how i can help :)
    mana
    Member
     
    Posts: 14
    Joined: Sat Jun 17, 2006 1:55 pm

Tue Jun 20, 2006 8:30 am

Tue Jun 20, 2006 8:36 am

  • Of course :) i am happy with bug reports being recognized. But i can start testing any builds in 8 hours earliest. If you don't want to make the builds available in public, just send me the links: mana@cyor.de.

    If communication via ICQ helps, you can contact me: 27495311

    but i will have a look at the bord as well.

    until then
    greets
    Mana
    mana
    Member
     
    Posts: 14
    Joined: Sat Jun 17, 2006 1:55 pm

Tue Jun 20, 2006 7:03 pm

  • mana wrote:Of course :) i am happy with bug reports being recognized. But i can start testing any builds in 8 hours earliest. If you don't want to make the builds available in public, just send me the links: mana@cyor.de.

    If communication via ICQ helps, you can contact me: 27495311

    but i will have a look at the bord as well.


    Okay, can you try the builds here: http://mensa.ath.cx/~polzer/temp/dpdebug.zip

    Put the files from this zip file in your Nexuiz installation folder.

    If you still get the crash, try doing this on a shell:

    Code: Select all
    $ ulimit -Sc  unlimited
    $ ./nexuiz-glx


    When it crashes again, you will get a "core" file. Assuming it will be called core.7131 (the number can vary), you then do the following:

    Code: Select all
    $ gdb nexuiz-glx core.7131
    (gdb) bt


    and post the output of that. This should help us.

    Thanks!
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Tue Jun 20, 2006 7:42 pm

  • here the results

    nexuiz-glx:
    Same crash as my first post

    nexuiz-glx after the ulimit-command:
    no crash, but i get droped out of the map (that i do not see) and the main screen with the menu is presented. The Mouse pointer is very slow then, the interfaces reacts slowly, so i exit nexuiz via the quit button. There is no core.* File created that i can see.
    mana
    Member
     
    Posts: 14
    Joined: Sat Jun 17, 2006 1:55 pm

Tue Jun 20, 2006 7:50 pm

  • now _very strange_:
    i do the debug in a screen like you told me above. I am in the nexuiz directory where i unziped the nexuiz-glx, the timestamps show that it must be the right executable. I issue

      gdb nexuiz-glx
      (gdb) run -nexuiz


    I try to join a game like all the attempts before, and suddenly i am in. I can play with poor performance, i guess because of gdb .. no crash ...

    i leave it to you to interpret this :)

    greets
    Mana
    mana
    Member
     
    Posts: 14
    Joined: Sat Jun 17, 2006 1:55 pm

Tue Jun 20, 2006 8:09 pm

  • I wanted to run my self-compiled binary now without gdb, but it keeps complaining about not beeing able to open files in data-dir. The binary is in nexuiz main folder, i tried to set -basedir /path/to/nexuiz. Running the selfcompiled binary in gdb does not work anymore too. Maybe the ulimit or something else messed up my environment? Using another console doesn't help. Reboot?

    you debug-binary does not have this problem.
    mana
    Member
     
    Posts: 14
    Joined: Sat Jun 17, 2006 1:55 pm

Tue Jun 20, 2006 9:19 pm

  • No idea what that could be, can you try starting it from the console?

    Does my binary work fine or can you reproduce the crash with it?
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Tue Jun 20, 2006 10:27 pm

  • Hello, i'm trying to make cl-debug, but i can't compile it. This is what i get:

    Code: Select all
    make bin-debug \
                    DP_MAKE_TARGET=linux DP_SOUND_API=ALSA \
                    EXE="darkplaces-glx" LDFLAGS_COMMON="-lm -ldl -L/usr/X11R6/lib64 -lX11 -lXext -lXxf86dga -lXxf86vm -lasound"
    make[1]: Map '/home/alexander/Nexuiz/Nexuiz/sources/darkplaces' wordt binnengegaan

    ========== darkplaces-glx (debug) ==========
    make darkplaces-glx \
                    DP_MAKE_TARGET=linux DP_SOUND_API=ALSA \
                    CFLAGS="-MD -Wall -Wsign-compare  -ggdb "\
                    LDFLAGS="-g -ggdb  -lm -ldl -L/usr/X11R6/lib64 -lX11 -lXext -lXxf86dga -lXxf86vm -lasound"
    make[2]: Map '/home/alexander/Nexuiz/Nexuiz/sources/darkplaces' wordt binnengegaan
    gcc -MD -Wall -Wsign-compare  -ggdb  -c vid_glx.c -o vid_glx.o -I/usr/X11R6/include
    vid_glx.c:33:36: fout: X11/extensions/xf86dga.h: Onbekend bestand of map
    vid_glx.c:35:38: fout: X11/extensions/xf86vmode.h: Onbekend bestand of map
    vid_glx.c:105: fout: syntax error before ‘init_vidmode’
    vid_glx.c:105: let op: type krijgt standaardwaarde ‘int’ in de declaratie van ‘init_vidmode’
    vid_glx.c:105: let op: datadefinitie heeft geen type of opslagklasse
    vid_glx.c: In functie ‘IN_Activate’:
    vid_glx.c:273: let op: impliciete declaratie van functie ‘XF86DGAQueryVersion’
    vid_glx.c:282: let op: impliciete declaratie van functie ‘XF86DGADirectVideo’
    vid_glx.c:282: fout: ‘XF86DGADirectMouse’ is hier niet gedeclareerd (eerste gebruik in deze functie)
    vid_glx.c:282: fout: (Elke niet-gedeclareerde naam wordt slechts één
    vid_glx.c:282: fout: keer vermeld voor elke functie waarin hij staat.)
    vid_glx.c: In functie ‘VID_Shutdown’:
    vid_glx.c:520: let op: impliciete declaratie van functie ‘XF86VidModeSwitchToMode’
    vid_glx.c: In functie ‘VID_SetGamma’:
    vid_glx.c:595: let op: impliciete declaratie van functie ‘XF86VidModeSetGammaRamp’
    vid_glx.c: In functie ‘VID_GetGamma’:
    vid_glx.c:600: let op: impliciete declaratie van functie ‘XF86VidModeGetGammaRamp’
    vid_glx.c: In functie ‘VID_InitMode’:
    vid_glx.c:671: let op: impliciete declaratie van functie ‘XF86VidModeQueryVersion’
    vid_glx.c:705: fout: ‘XF86VidModeModeLine’ is hier niet gedeclareerd (eerste gebruik in deze functie)
    vid_glx.c:705: fout: ‘current_vidmode’ is hier niet gedeclareerd (eerste gebruik in deze functie)
    vid_glx.c:706: fout: ‘XF86VidModeModeInfo’ is hier niet gedeclareerd (eerste gebruik in deze functie)
    vid_glx.c:706: fout: ‘vidmodes’ is hier niet gedeclareerd (eerste gebruik in deze functie)
    vid_glx.c:710: fout: syntax error before ‘)’ token
    vid_glx.c:710: fout: request for member ‘dotclock’ in something not a structure or union
    vid_glx.c:711: let op: impliciete declaratie van functie ‘XF86VidModeGetModeLine’
    vid_glx.c:711: fout: request for member ‘dotclock’ in something not a structure or union
    vid_glx.c:713: let op: impliciete declaratie van functie ‘XF86VidModeGetAllModeLines’
    vid_glx.c:745: let op: impliciete declaratie van functie ‘XF86VidModeSetViewPort’
    vid_glx.c:837: let op: impliciete declaratie van functie ‘XF86VidModeGetGammaRampSize’
    make[2]: *** [vid_glx.o] Fout 1
    make[2]: Map '/home/alexander/Nexuiz/Nexuiz/sources/darkplaces' wordt verlaten
    make[1]: *** [bin-debug] Fout 2
    make[1]: Map '/home/alexander/Nexuiz/Nexuiz/sources/darkplaces' wordt verlaten
    make: *** [cl-debug] Fout 2


    "Fout" = Error
    "Let op" = Warning

    BTW, I'm using Ubuntu 6.06.
    Comp_Lex
    Newbie
     
    Posts: 6
    Joined: Mon Jun 19, 2006 11:45 am

Tue Jun 20, 2006 10:39 pm

  • divVerent, i did everything from the console so far :)

    and again, yes your binary crashes also but only when _not_ started with gdb and without the ulimit thing. see above.
    mana
    Member
     
    Posts: 14
    Joined: Sat Jun 17, 2006 1:55 pm

Tue Jun 20, 2006 10:43 pm

  • Comp_Lex wrote:Hello, i'm trying to make cl-debug, but i can't compile it. This is what i get:

    Code: Select all
    make bin-debug \
                    DP_MAKE_TARGET=linux DP_SOUND_API=ALSA \
                    EXE="darkplaces-glx" LDFLAGS_COMMON="-lm -ldl -L/usr/X11R6/lib64 -lX11 -lXext -lXxf86dga -lXxf86vm -lasound"
    make[1]: Map '/home/alexander/Nexuiz/Nexuiz/sources/darkplaces' wordt binnengegaan

    ========== darkplaces-glx (debug) ==========
    make darkplaces-glx \
                    DP_MAKE_TARGET=linux DP_SOUND_API=ALSA \
                    CFLAGS="-MD -Wall -Wsign-compare  -ggdb "\
                    LDFLAGS="-g -ggdb  -lm -ldl -L/usr/X11R6/lib64 -lX11 -lXext -lXxf86dga -lXxf86vm -lasound"
    make[2]: Map '/home/alexander/Nexuiz/Nexuiz/sources/darkplaces' wordt binnengegaan
    gcc -MD -Wall -Wsign-compare  -ggdb  -c vid_glx.c -o vid_glx.o -I/usr/X11R6/include
    vid_glx.c:33:36: fout: X11/extensions/xf86dga.h: Onbekend bestand of map
    vid_glx.c:35:38: fout: X11/extensions/xf86vmode.h: Onbekend bestand of map
    vid_glx.c:105: fout: syntax error before ‘init_vidmode’
    vid_glx.c:105: let op: type krijgt standaardwaarde ‘int’ in de declaratie van ‘init_vidmode’


    Sorry, I don't speak Dutch, but I guess this means that X11/extensions/xf86dga.h is missing. If Ubuntu is anything like Debian, you have to install a package named x11proto-xf86vidmode-dev (that's what it is called in Debian unstable) or xlibs-static-dev (the package in Debian stable). No idea where a packages.debian.org equivalent for Ubuntu is, but maybe this already helps you.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Tue Jun 20, 2006 10:47 pm

  • mana wrote:divVerent, i did everything from the console so far :)

    and again, yes your binary crashes also but only when _not_ started with gdb and without the ulimit thing. see above.


    I rephrase: it does not crash when the ulimit command has been executed (which does absolutely nothing more than enable core dumps)? Weird. What does "ulimit -a" say before executing my ulimit command?

    Can you make the dedicated server crash too?
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Tue Jun 20, 2006 10:55 pm

  • ulimit -a says:

    Code: Select all
    core file size          (blocks, -c) 0
    data seg size           (kbytes, -d) unlimited
    file size               (blocks, -f) unlimited
    pending signals                 (-i) 4085
    max locked memory       (kbytes, -l) 256000
    max memory size         (kbytes, -m) unlimited
    open files                      (-n) 1024
    pipe size            (512 bytes, -p) 8
    POSIX message queues     (bytes, -q) 819200
    stack size              (kbytes, -s) 8192
    cpu time               (seconds, -t) unlimited
    max user processes              (-u) 4085
    virtual memory          (kbytes, -v) unlimited
    file locks                      (-x) unlimited


    Right it does not crash but brings me back to the main menu where then everything corresponds very slowly.
    What is a dedicated server crash?

    p.s.: dutch, german, french, whatever error-messages. This is how far internationalisation goes these days :D
    mana
    Member
     
    Posts: 14
    Joined: Sat Jun 17, 2006 1:55 pm

Tue Jun 20, 2006 11:03 pm

  • Well, it seemed that I had to install alot of packages.... and it still seems that I have to install something...maybe not. This is what I'm getting now:

    Code: Select all
    /usr/bin/ld: cannot find -lXxf86dga


    But if I'm doing "sudo apt-get install xf86dga" then the output is:

    Code: Select all
    xf86dga is reeds de nieuwste versie.


    == xf86dga is already the newest version.

    But when I'm doing "ld xf86dga" it simply states:

    Code: Select all
    ld: xf86dga: No such file: Onbekend bestand of map


    "Onbekend bestand of map" == unknown file or directory
    Comp_Lex
    Newbie
     
    Posts: 6
    Joined: Mon Jun 19, 2006 11:45 am

Tue Jun 20, 2006 11:34 pm

  • sorry i cannot test and post during 24 hours from now on, as i am in Leipzig at the championchips :D

    yours
    mana
    mana
    Member
     
    Posts: 14
    Joined: Sat Jun 17, 2006 1:55 pm

Wed Jun 21, 2006 10:05 am

  • Comp_Lex wrote:But if I'm doing "sudo apt-get install xf86dga" then the output is:

    Code: Select all
    xf86dga is reeds de nieuwste versie.

    Try installing xf86dga-dev (*-dev packages are required for every lib darkplaces needs).
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Wed Jun 21, 2006 10:52 am

  • Alright, this is the output of bt:

    Code: Select all
    #0  0x00002aaaad4059f5 in Reassociate () from /usr/lib/dri/fglrx_dri.so
    #1  0x00002aaaad436d9e in KhanPs::RewriteInstWithUseVector ()
       from /usr/lib/dri/fglrx_dri.so
    #2  0x00002aaaad3ee08e in IRInst::RewriteWithUseVector ()
       from /usr/lib/dri/fglrx_dri.so
    #3  0x00002aaaad3ef6fc in CFG::RewriteWithUseVector ()
       from /usr/lib/dri/fglrx_dri.so
    #4  0x00002aaaad3ee900 in CFG::Rewrite () from /usr/lib/dri/fglrx_dri.so
    #5  0x00002aaaad3a2403 in Compiler::Compile () from /usr/lib/dri/fglrx_dri.so
    #6  0x00002aaaad3a1d57 in Compiler::CompileShader ()
       from /usr/lib/dri/fglrx_dri.so
    #7  0x00002aaaad3a0808 in CompilerExternal::CompileShader ()
       from /usr/lib/dri/fglrx_dri.so
    #8  0x00002aaaad3a0043 in SCCompileShader () from /usr/lib/dri/fglrx_dri.so
    #9  0x00002aaaad1213fc in __glscR300CompilePS () from /usr/lib/dri/fglrx_dri.so
    #10 0x00002aaaad0e0e4e in __TranslateILtoR300FS ()
       from /usr/lib/dri/fglrx_dri.so
    #11 0x00002aaaad0c52c9 in __R300GLSLLinkProgram ()
       from /usr/lib/dri/fglrx_dri.so
    #12 0x00002aaaad071522 in __glslLinkProgram () from /usr/lib/dri/fglrx_dri.so
    #13 0x00002aaaad071c95 in __glim_LinkProgramARB ()
       from /usr/lib/dri/fglrx_dri.so
    #14 0x00002aaaacfcc7c7 in __fgl_glLinkProgramARB ()
    #15 0x0000000000468d51 in GL_Backend_CompileProgram (vertexstrings_count=13,
        vertexstrings_list=0x7fffffbb0ce0, fragmentstrings_count=13,
        fragmentstrings_list=0x7fffffbaccd0) at gl_backend.c:827
    #16 0x0000000000471c46 in R_GLSL_CompilePermutation (permutation=2)
        at gl_rmain.c:711
    #17 0x000000000047250c in R_SetupSurfaceShader (lightcolorbase=0x877c38,
        modellighting=false) at gl_rmain.c:825
    #18 0x000000000047d0ed in R_DrawTextureSurfaceList_GL20 (texturenumsurfaces=2,
        texturesurfacelist=0x7fffffbb4ef0) at gl_rmain.c:3039
    #19 0x000000000047f122 in R_DrawTextureSurfaceList (texturenumsurfaces=2,
        texturesurfacelist=0x7fffffbb4ef0) at gl_rmain.c:3332
    #20 0x000000000047f628 in R_QueueTextureSurfaceList (texturenumsurfaces=2,
        texturesurfacelist=0x7fffffbb4ef0) at gl_rmain.c:3407
    #21 0x000000000047f98a in R_DrawSurfaces (ent=0x2aaabc2fe1a0,
        skysurfaces=false) at gl_rmain.c:3465
    #22 0x0000000000482eee in R_Q1BSP_Draw (ent=0x2aaabc2fe1a0) at gl_rsurf.c:513
    #23 0x0000000000477579 in R_RenderScene () at gl_rmain.c:1934
    #24 0x0000000000476e9e in R_RenderView () at gl_rmain.c:1821
    #25 0x000000000043e5b2 in SCR_DrawScreen () at cl_screen.c:1284
    #26 0x000000000043f5f9 in CL_UpdateScreen () at cl_screen.c:1535
    #27 0x000000000048a536 in Host_Main () at host.c:787
    #28 0x000000000040383b in main (argc=2, argv=0x7fffffbb7268) at sys_linux.c:252
    Comp_Lex
    Newbie
     
    Posts: 6
    Joined: Mon Jun 19, 2006 11:45 am

Wed Jun 21, 2006 2:39 pm

  • Comp_Lex wrote:Alright, this is the output of bt:

    Code: Select all
    #0  0x00002aaaad4059f5 in Reassociate () from /usr/lib/dri/fglrx_dri.so
    #14 0x00002aaaacfcc7c7 in __fgl_glLinkProgramARB ()
    #15 0x0000000000468d51 in GL_Backend_CompileProgram (vertexstrings_count=13,
        vertexstrings_list=0x7fffffbb0ce0, fragmentstrings_count=13,
        fragmentstrings_list=0x7fffffbaccd0) at gl_backend.c:827
    #16 0x0000000000471c46 in R_GLSL_CompilePermutation (permutation=2)
        at gl_rmain.c:711
    #17 0x000000000047250c in R_SetupSurfaceShader (lightcolorbase=0x877c38,
        modellighting=false) at gl_rmain.c:825


    Looks like we can't fix this because it isn't our bug but ATI's. As a workaround, set "OpenGL 2.0 Shaders" to off or, on the console, set "r_glsl 0". This will turn off the part that crashes, but also disable most of the graphics effects. Apparently this function sometimes works without crash and sometimes crashes (that is, __fgl_glLinkProgramARB).

    Maybe we can work around it somehow, but for that someone of us would need to buy an ATI card, and probably nobody here wants to ;)

    Seriously, I don't have a spare fast enough PC. At university there is one I could use, but I don't have an ATI for it and I don't feel like buying one of the faster and expensive ones. Can you recommend a cheap ATI that is supported by the fglrx driver?

    *edit* do you have the current version of the fglrx driver? See https://support.ati.com/ics/support/default.asp?deptID=894&task=knowledge&folderID=300. They also seem to have both a "certified" and a "current" driver - you might be better off trying the other one.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Wed Jun 21, 2006 2:46 pm

  • divVerent wrote:Can you recommend a cheap ATI that is supported by the fglrx driver?

    That might not work at all... Mana & Comp_Lex are both using Radeon Mobility chips, so it might be a problem with that chipset family in particular.
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Wed Jun 21, 2006 5:43 pm

  • I'm using their latest driver (8.25.18)
    Comp_Lex
    Newbie
     
    Posts: 6
    Joined: Mon Jun 19, 2006 11:45 am

Thu Jun 22, 2006 8:32 pm

  • ah those damn ati-guys right? Thanks for the analysis divVerent. I will come back with my nvidia-empored system later :)
    Or in other words, forget about spending money and time in working on hacks because of buggy drivers. Guess how many fixes opensource ati-drivers would have gotton from all the projects that suffer from bad graphics drivers these days ...

    see you guys

    Mana
    mana
    Member
     
    Posts: 14
    Joined: Sat Jun 17, 2006 1:55 pm

Next


Return to Nexuiz - Support / Bugs




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest