bugWarzone 2100 Project - Bugs: bug #11898, game crashes with out...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #11898: game crashes with out "--nosound" - trunk r5333

Submitted by:  None
Submitted on:  Thu 26 Jun 2008 04:59:04 AM UTC  
 
Category: NoneSeverity: Blocker
Priority: 5 - NormalStatus: Fixed
Assigned to: NoneOriginator Email: -unavailable-
Open/Closed: ClosedRelease: svn/trunk
Operating System: GNU/LinuxPlanned Release: None

Mon 15 Sep 2008 03:10:50 AM UTC, comment #5:

Should now be fixed in r6028

If not, please respond back in this bug report.
Thanks.

Bugs Buggy <buginator>
Project Administrator
Sun 14 Sep 2008 08:36:52 PM UTC, SVN revision 6028:

Trunk is currently broken when playing music and switching between the "base" and "mp" mods, see ticket:57.

This revision fixes ticket:57. We (Buginator, EvilGuru and Giel) decided to use the fix suggested in ticket:57 for now and to use [wiki:Proposal:ModMounting] on a later date. I.e. fix the problem now (however dirty the solution may be), and implement a properly designed one later on, instead of letting trunk remain broken until said proposal is worked out in enough detail.

This revision fixes bug #11847, bug #11875, bug #11898, bug #11976, bug #11989, bug #12017, bug #12250 and bug #12280.

Patch by Buginator and myself

(Browse SVN revision 6028)

Giel van Schijndel <muggenhor>
Project Member
Thu 21 Aug 2008 03:04:59 PM UTC, comment #3:

the last time I check "if the game starts with sound, go to muiltiplayer, pick any map and start to start the game. it crashes" is still an issue. on Linux.

I'll send in a new dump file of the current trunk tonight.

Ubuntu 8.04.1 x64
- Dell Vostro 1000 - ATI 1250 - AMD64 x2 - laptop speakers
Mythbuntu 8.04.1 x64
- Custom - NV8400 - Q6600 - Digtial audio out

Anonymous
Thu 21 Aug 2008 05:49:58 AM UTC, comment #2:

Is this still a issue?

Trying to close old bug reports. :)

Bugs Buggy <buginator>
Project Administrator
Sat 02 Aug 2008 03:57:49 PM UTC, comment #1:

same here

uname -a
Linux anubis 2.6.25-gentoo-r6 #1 SMP PREEMPT Mon Jul 14 09:07:23 EEST 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ AuthenticAMD GNU/Linux

gcc version 4.3.1 (Gentoo 4.3.1-r1 p1.1)
media-libs/libvorbis-1.2.1_rc1-r1

dpblnt <dpblnt>
Thu 26 Jun 2008 04:59:04 AM UTC, original submission:

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

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dpblnt (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 15 Sep 2008 03:10:50 AM UTCbuginatorStatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Thu 21 Aug 2008 05:49:58 AM UTCbuginatorStatusNone=>Need Info
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup