Nothing entered.
[http://sourceforge.net/p/ufoai/bugs/2132 Item 2132] imported from sourceforge.net tracker on 2013-01-28 19:22:20
short: UfoAi silent crash, sound toggle.
walktrough:
- UfoAi start. (default settings, english)
- start new game: single player, campaign.*
- (geoscape), options, sound.
- (sound) disable sound. (enable sound [OFF])
- (sound) [Activate Sound], or (enable sound [ON])
- (sound) disable sound. (enable sound [OFF])
+ UfoAi gone.
*) without, sound can be toggled multiple times without any side effects.
*) Skirmish instead of campaign mode: ufo-ai gone at [Activate Sound] step.
ufoconsole.log = zero bytes.
System details:
- UFO-AI(installer): ufoai-2.3-dev-win32-24799.
-- File source: http://ufoai.ninex.info/forum/index.php?topic=3462.msg27455#msg27455
- windows Xp.Pro.Sp3, Eng. (i386/Pentium4)
-- Nvidia GeForce FX 5500.
-- Nvidia Forceware 163.75. (last version with FX5500 support)
(mmm, I think I need to be able to test-run changes somehow before I can fix something)
===== Comments Ported from Sourceforge =====
====== tlh2000 (2009-06-30 15:40:14) ======
not reproducible for rich and me
====== richlv (2009-06-30 18:28:00) ======
i just wanted to suggest running ufoai in gdb (see details in wiki) and providing a backtrace if the crash is reproducible
====== mvgulik (2009-07-03 15:07:57) ======
gdb console log
====== mvgulik (2009-07-03 15:09:14) ======
Added "gdb console log.txt"
gdb problem:
Can't fully duplicate the problem when running UfoAi with gdb.
UfoAi locks up when disabling the sound the first time.
additional info:
- using version 24882 instead of 24799.
- confirmed initial behavior is unchanged when running ufoai without gdb.
====== pcalus (2009-10-10 23:33:07) ======
Reproducible since r24392. Sound may be disabled when you start game, but must be enabled when you start campaign (or load savegame).
Backtrace 1: new campaign or early savegame -- geoscape or tactical mission (trunk r26578)
Restarting sound
[Thread 0x425fc950 (LWP 18051) exited]
------- sound initialization -------
not initializing.
Restarting sound
------- sound initialization -------
SDL_mixer version: 1.2.8
[New Thread 0x425fc950 (LWP 18057)]
... driver: 'alsa'
... audio rate: 44100
... audio channels: 2
Restarting sound
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fec7ed5e710 (LWP 18047)]
0x00007fec7d3aa48e in _Eff_PositionDeinit () from /usr/lib/libSDL_mixer-1.2.so.0
(gdb) bt full
#0 0x00007fec7d3aa48e in _Eff_PositionDeinit () from /usr/lib/libSDL_mixer-1.2.so.0
No symbol table info available.
#1 0x00007fec7d3acf05 in Mix_CloseAudio () from /usr/lib/libSDL_mixer-1.2.so.0
No symbol table info available.
#2 0x000000000046146d in S_Shutdown () at src/client/sound/s_main.c:277
No locals.
#3 0x0000000000460f8b in S_Restart_f () at src/client/sound/s_main.c:131
No locals.
#4 0x0000000000460de9 in S_Frame () at src/client/sound/s_main.c:62
i = 32767
ch = (s_channel_t *) 0x539edc
#5 0x000000000043735f in CL_Frame (now=36070, data=0x0) at src/client/cl_main.c:1163
delta = 559
lastFrame = 36070
#6 0x00000000005082ff in tick_timer (now=36070, data=0x1b908128) at src/common/common.c:979
timer = (struct timer *) 0x1b908128
old_interval = 20
lateness = 1
#7 0x00000000005087c8 in Qcommon_Frame () at src/common/common.c:1130
time_to_next = 0
event = (struct event *) 0x11859068
#8 0x0000000000560aed in main (argc=1, argv=0x7fff86ee44e8) at src/ports/linux/linux_main.c:53
No locals.
Backtrace 2: late savegame (trunk r26578)
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f05e4929710 (LWP 21433)]
0x00007f05e2f76e49 in ?? () from /usr/lib/libSDL_mixer-1.2.so.0
(gdb) bt full
#0 0x00007f05e2f76e49 in ?? () from /usr/lib/libSDL_mixer-1.2.so.0
No symbol table info available.
#1 0x00007f05e2f77d69 in Mix_PlayChannelTimed () from /usr/lib/libSDL_mixer-1.2.so.0
No symbol table info available.
#2 0x0000000000461b24 in S_LoopSample (org=0x2e1ae94, sample=0x2250d548, volume=1) at src/client/sound/s_mix.c:157
ch = (s_channel_t *) 0x2f04eb0
i = 0
#3 0x0000000000460efd in S_Frame () at src/client/sound/s_main.c:99
le = (const le_t *) 0x2e1ae80
j = 64
i = 0
ch = (s_channel_t *) 0x2f056b0
#4 0x000000000043735f in CL_Frame (now=167267, data=0x0) at src/client/cl_main.c:1163
delta = 20
lastFrame = 167267
#5 0x00000000005082ff in tick_timer (now=167267, data=0x1c63c928) at src/common/common.c:979
timer = (struct timer *) 0x1c63c928
old_interval = 20
lateness = 1
#6 0x00000000005087c8 in Qcommon_Frame () at src/common/common.c:1130
time_to_next = 0
event = (struct event *) 0x11f07268
#7 0x0000000000560aed in main (argc=1, argv=0x7fffecaaf0a8) at src/ports/linux/linux_main.c:53
No locals.
System details:
* CPU: AMD Athlon 64
* VGA: Radeon 9600
* OS: Debian GNU/Linux 5.0 (kernel: 2.6.26, x86_64)
* ALSA 1.0.16
* SDL 1.2.12
* SDL Mixer 1.2.8
====== tlh2000 (2010-01-28 07:42:15) ======
not reproducible here - still the case in current trunk?
====== sf-robot (2010-02-12 02:20:18) ======
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).