URL:
  <http://gna.org/bugs/?11898>

                 Summary: game crashes with out "--nosound" - trunk r5333
                 Project: Warzone Resurrection Project
            Submitted by: None
            Submitted on: Thursday 06/26/2008 at 06:59 CEST
                Category: None
                Severity: 5 - Blocker
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: [EMAIL PROTECTED]
             Open/Closed: Open
         Discussion Lock: Any
                 Release: svn/trunk
        Operating System: GNU/Linux
         Planned Release: None

    _______________________________________________________

Details:

if the game starts with sound, go to muiltiplayer, pick any map and start to
start the game. it crashes very time the game is started without "--nosound"

ubuntu 8.04 x64

Program: /usr/local/bin/warzone2100(warzone2100)
Version: Version TRUNK r5333 - Built Jun 25 2008 - DEBUG
Distributor: UNKNOWN
Compiled on: Jun 25 2008 19:41:37
Compiled by: GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Executed on: Thu Jun 26 00:38:30 2008

Operating system: Linux
Node name: jms1000
Release: 2.6.24-19-generic
Version: #1 SMP Wed Jun 18 14:15:37 UTC 2008
Machine: x86_64

Pointers: 64bit

Dump caused by signal: SIGSEGV: Invalid memory reference: Address not mapped
to object

Log message 1: [printSearchPath]     [/usr/local/share/warzone2100/base.wz]
Log message 2: [printSearchPath]     [/usr/local/share/warzone2100/mp.wz]

GLIBC raw backtrace:
warzone2100[0x5dddb1]
/lib/libc.so.6[0x7f634de37100]
/usr/lib/libphysfs-1.0.so.0[0x7f634fe874fd]
warzone2100[0x5721f3]
/usr/lib/libvorbisfile.so.3[0x7f634f4be919]
/usr/lib/libvorbisfile.so.3[0x7f634f4bed47]
/usr/lib/libvorbisfile.so.3(ov_read+0x65)[0x7f634f4bf255]
warzone2100[0x572603]
warzone2100[0x570acf]
warzone2100[0x570cf5]
warzone2100[0x56fce2]
warzone2100[0x56e7db]
warzone2100[0x4fe67e]
warzone2100[0x48748d]
warzone2100[0x487769]
warzone2100[0x487b18]
/lib/libc.so.6(__libc_start_main+0xf4)[0x7f634de231c4]
warzone2100(__gxx_personality_v0+0x439)[0x409609]

GDB extended backtrace:
GNU gdb 6.8-debian
Copyright (C) 2008 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 "x86_64-linux-gnu"...
Attaching to program: /usr/local/bin/warzone2100, process 23871
Reading symbols from /usr/lib/libSDL-1.2.so.0...done.
Loaded symbols for /usr/lib/libSDL-1.2.so.0
Reading symbols from /usr/lib/libSDL_net-1.2.so.0...done.
Loaded symbols for /usr/lib/libSDL_net-1.2.so.0
Reading symbols from /usr/lib/libphysfs-1.0.so.0...done.
Loaded symbols for /usr/lib/libphysfs-1.0.so.0
Reading symbols from /usr/lib/libpng12.so.0...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /usr/lib/libvorbisfile.so.3...done.
Loaded symbols for /usr/lib/libvorbisfile.so.3
Reading symbols from /usr/lib/libvorbis.so.0...done.
Loaded symbols for /usr/lib/libvorbis.so.0
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libogg.so.0...done.
Loaded symbols for /usr/lib/libogg.so.0
Reading symbols from /usr/lib/libopenal.so.0...done.
Loaded symbols for /usr/lib/libopenal.so.0
Reading symbols from /usr/local/lib/libGLC.so.0...done.
Loaded symbols for /usr/local/lib/libGLC.so.0
Reading symbols from /usr/lib/libGL.so.1...done.
Loaded symbols for /usr/lib/libGL.so.1
Reading symbols from /usr/lib/libGLU.so.1...done.
Loaded symbols for /usr/lib/libGLU.so.1
Reading symbols from /lib/libpopt.so.0...done.
Loaded symbols for /lib/libpopt.so.0
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 0x7f634fe677e0 (LWP 23871)]
[New Thread 0x4198f950 (LWP 23883)]
[New Thread 0x40b54950 (LWP 23882)]
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /usr/lib/libX11.so.6...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libasound.so.2...done.
Loaded symbols for /usr/lib/libasound.so.2
Reading symbols from /usr/lib/libartsc.so.0...done.
Loaded symbols for /usr/lib/libartsc.so.0
Reading symbols from /usr/lib/libgmodule-2.0.so.0...done.
Loaded symbols for /usr/lib/libgmodule-2.0.so.0
Reading symbols from /usr/lib/libgthread-2.0.so.0...done.
Loaded symbols for /usr/lib/libgthread-2.0.so.0
Reading symbols from /lib/librt.so.1...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /usr/lib/libglib-2.0.so.0...done.
Loaded symbols for /usr/lib/libglib-2.0.so.0
Reading symbols from /usr/lib/libesd.so.0...done.
Loaded symbols for /usr/lib/libesd.so.0
Reading symbols from /usr/lib/libaudiofile.so.0...done.
Loaded symbols for /usr/lib/libaudiofile.so.0
Reading symbols from /usr/lib/libpulse-simple.so.0...done.
Loaded symbols for /usr/lib/libpulse-simple.so.0
Reading symbols from /usr/lib/libpulse.so.0...done.
Loaded symbols for /usr/lib/libpulse.so.0
Reading symbols from /usr/lib/libaudio.so.2...done.
Loaded symbols for /usr/lib/libaudio.so.2
Reading symbols from /usr/lib/libXt.so.6...done.
Loaded symbols for /usr/lib/libXt.so.6
Reading symbols from /usr/lib/libdirectfb-1.0.so.0...done.
Loaded symbols for /usr/lib/libdirectfb-1.0.so.0
Reading symbols from /usr/lib/libfusion-1.0.so.0...done.
Loaded symbols for /usr/lib/libfusion-1.0.so.0
Reading symbols from /usr/lib/libdirect-1.0.so.0...done.
Loaded symbols for /usr/lib/libdirect-1.0.so.0
Reading symbols from /usr/lib/libaa.so.1...done.
Loaded symbols for /usr/lib/libaa.so.1
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libfontconfig.so.1...done.
Loaded symbols for /usr/lib/libfontconfig.so.1
Reading symbols from /usr/lib/libfreetype.so.6...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /lib/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib/libXext.so.6...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /usr/lib/libxcb-xlib.so.0...done.
Loaded symbols for /usr/lib/libxcb-xlib.so.0
Reading symbols from /usr/lib/libxcb.so.1...done.
Loaded symbols for /usr/lib/libxcb.so.1
Reading symbols from /lib/libselinux.so.1...done.
Loaded symbols for /lib/libselinux.so.1
Reading symbols from /usr/lib/libpcre.so.3...done.
Loaded symbols for /usr/lib/libpcre.so.3
Reading symbols from /lib/libcap.so.1...done.
Loaded symbols for /lib/libcap.so.1
Reading symbols from /usr/lib/libSM.so.6...done.
Loaded symbols for /usr/lib/libSM.so.6
Reading symbols from /usr/lib/libICE.so.6...done.
Loaded symbols for /usr/lib/libICE.so.6
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /lib/libslang.so.2...done.
Loaded symbols for /lib/libslang.so.2
Reading symbols from /usr/lib/libgpm.so.1...done.
Loaded symbols for /usr/lib/libgpm.so.1
Reading symbols from /usr/lib/libexpat.so.1...done.
Loaded symbols for /usr/lib/libexpat.so.1
Reading symbols from /usr/lib/libXau.so.6...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libXdmcp.so.6...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /usr/lib/libXrender.so.1...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/lib/libXrandr.so.2...done.
Loaded symbols for /usr/lib/libXrandr.so.2
Reading symbols from /usr/lib/libXcursor.so.1...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/libXfixes.so.3...done.
Loaded symbols for /usr/lib/libXfixes.so.3
Reading symbols from /usr/lib/dri/fglrx_dri.so...done.
Loaded symbols for /usr/lib/dri/fglrx_dri.so
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from
/usr/lib/alsa-lib/libasound_module_rate_speexrate.so...done.
Loaded symbols for /usr/lib/alsa-lib/libasound_module_rate_speexrate.so
0x00007f634dea24df in waitpid () from /lib/libc.so.6
(gdb) #0  0x00007f634dea24df in waitpid () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000005ddf88 in posixExceptionHandler (signum=11, 
    siginfo=0x7fff57fa7f40, sigcontext=0x7fff57fa7e10)
    at exceptionhandler.c:469
        btBuffer = {0x5dddb1, 0x7f634de37100, 0x7f634fe874fd, 0x5721f3, 
  0x7f634f4be919, 0x7f634f4bed47, 0x7f634f4bf255, 0x572603, 0x570acf, 
  0x570cf5, 0x56fce2, 0x56e7db, 0x4fe67e, 0x48748d, 0x487769, 0x487b18, 
  0x7f634de231c4, 0x409609, 0x0, 0x0}
        btSize = 18
        pid = 23917
        gdbPipe = {13, 14}
        dumpFile = 12
        signal = 0x6b15a0 "SIGSEGV: Invalid memory reference: Address not 
mapped to
object"
        allreadyRunning = 1
#2  <signal handler called>
No symbol table info available.
#3  0x00007f634fe874fd in ?? () from /usr/lib/libphysfs-1.0.so.0
No symbol table info available.
#4  0x00000000005721f3 in wz_oggVorbis_read (ptr=0x2d8d381, size=1, 
    nmemb=65536, datasource=0x2d85c50) at oggvorbis.c:66
        fileHandle = (PHYSFS_file *) 0x2392a50
#5  0x00007f634f4be919 in ?? () from /usr/lib/libvorbisfile.so.3
No symbol table info available.
#6  0x00007f634f4bed47 in ?? () from /usr/lib/libvorbisfile.so.3
No symbol table info available.
#7  0x00007f634f4bf255 in ov_read () from /usr/lib/libvorbisfile.so.3
No symbol table info available.
#8  0x0000000000572603 in sound_DecodeOggVorbis (decoder=0x2d85c50, 
    bufferSize=16384) at oggvorbis.c:264
        section = 0
        size = 5376
        result = 4096
        buffer = (soundDataBuffer *) 0x2e015d0
        __FUNCTION__ = "sound_DecodeOggVorbis"
#9  0x0000000000570acf in sound_UpdateStream (stream=0x232b590)
    at openal_track.c:898
        soundBuffer = (soundDataBuffer *) 0x6
        buffer = 32780
        state = 4114
        buffer_count = 1
#10 0x0000000000570cf5 in sound_UpdateStreams () at openal_track.c:988
        stream = (AUDIO_STREAM *) 0x232b590
        previous = (AUDIO_STREAM *) 0x0
#11 0x000000000056fce2 in sound_Update () at openal_track.c:276
        node = (SAMPLE_LIST *) 0x0
        previous = (SAMPLE_LIST *) 0x0
        err = 0
        __FUNCTION__ = "sound_Update"
#12 0x000000000056e7db in audio_Update () at audio.c:582
        vecPlayer = {x = 4096, y = -4096, z = 0}
        iA = 0
        psSample = (AUDIO_SAMPLE *) 0x0
        psSampleTemp = (AUDIO_SAMPLE *) 0xff0a000000000000
#13 0x00000000004fe67e in titleLoop () at wrappers.c:240
        RetCode = TITLECODE_CONTINUE
        __FUNCTION__ = "titleLoop"
#14 0x000000000048748d in runTitleLoop () at main.c:685
        __FUNCTION__ = "runTitleLoop"
#15 0x0000000000487769 in mainLoop () at main.c:825
        event = {type = 4 '\004', active = {type = 4 '\004', gain = 0 '\0', 
    state = 0 '\0'}, key = {type = 4 '\004', which = 0 '\0', state = 0 '\0',

    keysym = {scancode = 214 'Ö', sym = 65535, mod = KMOD_NONE, 
      unicode = 0}}, motion = {type = 4 '\004', which = 0 '\0', 
    state = 0 '\0', x = 470, y = 416, xrel = -1, yrel = 0}, button = {
    type = 4 '\004', which = 0 '\0', button = 0 '\0', state = 0 '\0', 
    x = 470, y = 416}, jaxis = {type = 4 '\004', which = 0 '\0', 
    axis = 0 '\0', value = 470}, jball = {type = 4 '\004', which = 0 '\0', 
    ball = 0 '\0', xrel = 470, yrel = 416}, jhat = {type = 4 '\004', 
    which = 0 '\0', hat = 0 '\0', value = 0 '\0'}, jbutton = {
    type = 4 '\004', which = 0 '\0', button = 0 '\0', state = 0 '\0'}, 
  resize = {type = 4 '\004', w = 27263446, h = 65535}, expose = {
    type = 4 '\004'}, quit = {type = 4 '\004'}, user = {type = 4 '\004', 
    code = 27263446, data1 = 0xffff, data2 = 0x0}, syswm = {type = 4 '\004',

    msg = 0xffff}}
#16 0x0000000000487b18 in main (argc=4, argv=0x7fff57fa8788) at main.c:971
        __FUNCTION__ = "main"
        __PRETTY_FUNCTION__ = "main"
(gdb) The program is running.  Quit anyway (and detach it)? (y or n)
[answered Y; input not from terminal]
Detaching from program: /usr/local/bin/warzone2100, process 23871




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?11898>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to