02 Oct 10, 06:02PM
Ok here's the gdb output
I've altered the other files like you said, and 'works' does indeed appear. It's still crashing though...
I'm a bit new to memory debugging so if there is anything else I can try, please let me know. :)
[SELECT ALL] Code:
gdb --args bin_unix/linux_client --home=${HOME}/.assaultcube_v1.1 --init -r -t0
GNU gdb (GDB) 7.1-ubuntu
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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/X/assaultcube/1.1.0.1/bin_unix/linux_client...done.
(gdb) r
Starting program: /home/X/assaultcube/1.1.0.1/bin_unix/linux_client --home=/home/X/.assaultcube_v1.1 --init -r -t0
[Thread debugging using libthread_db enabled]
Using home directory: /home/X/.assaultcube_v1.1
works
current locale: en_US.utf8
init: sdl
[New Thread 0xb7a7ab70 (LWP 21009)]
init: net
init: world
init: video: sdl
init: video: mode
init: video: misc
init: gl
Renderer: GeForce 7600 GT/AGP/SSE2 (NVIDIA Corporation)
Driver: 2.1.2 NVIDIA 195.36.24
init: console
init: sound
[New Thread 0xb5fb1b70 (LWP 21010)]
[Thread 0xb5fb1b70 (LWP 21010) exited]
Audio devices: PulseAudio Software, ALSA Software, OSS Software
Program received signal SIGSEGV, Segmentation fault.
0x024d05d0 in ?? ()
(gdb) bt
#0 0x024d05d0 in ?? ()
#1 0x00726bcc in ?? () from /usr/lib/libasound.so.2
#2 0x007276ef in snd_func_card_driver () from /usr/lib/libasound.so.2
#3 0x00725140 in ?? () from /usr/lib/libasound.so.2
#4 0x0071f0e3 in ?? () from /usr/lib/libasound.so.2
#5 0x0071f132 in ?? () from /usr/lib/libasound.so.2
#6 0x00727ab9 in snd_func_concat () from /usr/lib/libasound.so.2
#7 0x00725140 in ?? () from /usr/lib/libasound.so.2
#8 0x0071f0e3 in ?? () from /usr/lib/libasound.so.2
#9 0x00725eba in snd_func_refer () from /usr/lib/libasound.so.2
#10 0x00725140 in ?? () from /usr/lib/libasound.so.2
#11 0x0071f0e3 in ?? () from /usr/lib/libasound.so.2
#12 0x0071f132 in ?? () from /usr/lib/libasound.so.2
#13 0x0071f132 in ?? () from /usr/lib/libasound.so.2
#14 0x007237a8 in snd_config_expand () from /usr/lib/libasound.so.2
#15 0x00724fd4 in snd_config_search_definition () from /usr/lib/libasound.so.2
#16 0x0074c8df in ?? () from /usr/lib/libasound.so.2
#17 0x0030503e in alsa_open_playback (device=0xb69e5008, deviceName=0x81f6458 "ALSA Software")
at /build/buildd/openal-soft-1.12.854/Alc/alsa.c:572
#18 0x002ece3c in alcOpenDevice (deviceName=0x81f6458 "ALSA Software")
at /build/buildd/openal-soft-1.12.854/Alc/ALc.c:1755
#19 0x0806e223 in audiomanager::initsound() ()
#20 0x0809e464 in main ()
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) n
Program not restarted.
(gdb) c
Continuing.
stacktrace:
Program received signal SIGSEGV, Segmentation fault.
x86_fallback_frame_state (context=<value optimized out>, fs=0xbfffde4c)
at ../../../src/libgcc/../gcc/config/i386/linux-unwind.h:125
125 ../../../src/libgcc/../gcc/config/i386/linux-unwind.h: No such file or directory.
in ../../../src/libgcc/../gcc/config/i386/linux-unwind.h
(gdb) c
Continuing.
[Thread 0xb7a7ab70 (LWP 21009) exited]
Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb)
I've altered the other files like you said, and 'works' does indeed appear. It's still crashing though...
I'm a bit new to memory debugging so if there is anything else I can try, please let me know. :)