View Issue Details

IDProjectCategoryView StatusLast Update
0000935FSSCPsoundpublic2006-11-01 04:23
ReporterCrusader Assigned Totaylor  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionduplicate 
PlatformP3 1.2Ghz, 400MBRAM, Radeon 9200OSWindowsOS Version98SE
Product Version3.6.9 
Summary0000935: audiostr-openal.cpp:1113 - OpenAL error = 'Invalid Operation'
DescriptionEver since the 2/20/06 redmenace builds, FS_Open has crashed on startup for me when the in-game music is enabled. i've circumvented that by disabling music, but the program still crashes upon game-exit, with a dialog box describing a Kernel32 page fault. The fs.log generally shows some variation on the following line, repeated several times throughout my gameplay session:

SOUND: D:\C++\Freespace\fs2_open\code\sound\audiostr-openal.cpp:1113 - OpenAL error = 'Invalid Operation'

Disabling sound and music seems to alleviate any crashing, but of course makes the gaming experience a lot less immersive.

i do have the latest Creative OpenALwEAX installed. i do have a Creative soundcard, the very old 'Soundblaster 16 PCI' model, and its drivers have been the same for years. i also have a secondary ISA soundcard, an ancient IBM Mwave card.

As such, i'm wondering if the OpenAL error is due to one or more of the following:
a.) some conflict with Win98SE/DirectX8.1 vs. OpenAL
b.) some conflict with me having two soundcards at once
c.) some conflict with my Creative card/my Mwave card/the drivers for either
d.) some bug in FS_Open or in its OpenAL code
e.) some gremlins that don't like me very much

This isn't a critical bug by any means, so there's no hurry, but i am rather curious about why it happens.
Steps To ReproduceN/A
Additional InformationThe two builds after 5/30/06 and before 3.6.9-RC1 wouldn't load at all, regardless of whether sounds/music were disabled or not; they CTD immediately, and the fs.log showed that the program froze at the "Initialising OpenAL..." line.
TagsNo tags attached.

Relationships

duplicate of 0000938 resolvedtaylor The first time a soundtrack is loaded, the ambient pattern doesn't load 

Activities

2006-06-05 02:59

 

fs.log (141,946 bytes)

Goober5000

2006-06-05 04:05

administrator   ~0005764

Which version of OpenAL do you have? I know you said "latest", but without a version number we won't know for sure.

Crusader

2006-06-05 05:42

reporter   ~0005766

1.1, same as what was available at the Creative website.

taylor

2006-06-05 06:00

administrator   ~0005767

But the builds released before 2/20/06 worked ok right? If so then I know what the problem might be. I'm not sure why it crashes for you and no one else though.

Crusader

2006-06-05 06:11

reporter   ~0005768

Last edited: 2006-06-05 06:17

Unfortunately, i can't really recall how well or poorly earlier builds worked. If memory serves, i had not played the game since last July... then in this past March, i just downloaded the redmenace build on a whim, deleted any prior, and played for maybe 30 minutes before losing interest for another few months (which brings us to the present moment).

If you like, i could go to the Hard Light Forums and look for a pre-2/20 build? In any case, it's encouraging that you at least have a guess about the issue.

Edit: Hmm, i received another error while playing this evening:
SOUND: E:\Languages\Visual Studio Projects\Visual C++\fs2_open_3_6_9\code\sound\audiostr-openal.cpp:1136 - OpenAL error = 'Invalid Operation'

edited on: 06-05-06 02:17

Goober5000

2006-06-05 06:51

administrator   ~0005769

You can have your pick of builds from here. ;)
http://fs2source.warpcore.org/exes/latest/February2006/

Crusader

2006-06-05 09:34

reporter   ~0005770

Last edited: 2006-06-05 14:01

Hey! Very kind of you, Goober5000. Saves me much trouble...


Edit: Okay. After several hours investigating several builds from the linked site, here is what i've determined.

2005 08/25-redmenace.rar - no crash on exit, game GUI sounds are crisp and loud
2005 09/14-redmenace.rar - same
2005 09/18-redmenace.rar - same

2005 09/20-redmenace.rar - crash on exit, game GUI sounds are glitchy and flat
2005 09/22-redmenace.rar - same
2005 09/30-redmenace.rar - same
2005 11/14-redmenace.rar - same
2006 01/31-redmenace.rar - same

edited on: 06-05-06 10:01

Crusader

2006-06-11 08:45

reporter   ~0005820

Unfortunately, the RC2 build does not seem to address this bug of crashing on exit. Also, a similar crash occurs in the new launcher: a CTD leads to a dialog box, then after the box is clicked "Ok", the launcher window appears normally. Neither the "Generic Hardware" nor "Generic Software" options resolve either of the crashes.

Even so, however, i do greatly appreciate the fixed elements of both the launcher and the build--for the first time, i do not have to disable music. All songs, voices, and sound effects appear to be working in fine order, plus the new launcher options are very useful. So, many thanks. i'm more or less willing to tolerate the crash-on-exit by now, since everything else is performing so well.

taylor

2006-06-11 11:56

administrator   ~0005823

Try: http://icculus.org/~taylor/fso/testing/20060611-win32.rar

Use the same launcher from the previous since I didn't include it in this one (forgot, don't care to upload it again). This could fix the crash on exit, but it might just hang on exit instead. ;)

Crusader

2006-06-12 01:15

reporter   ~0005831

Hm, i'm not sure a hang would be an improvement, since when things get hung on Win9x they tend to stay that way until i beat the power button with my hammer to force a reboot. [tongue-in-cheek]

Sadly, it's academic, because the new build neither hung nor resolved the problem. i tested with the release and the debug, i toggled between music/sound, no-music/sound, and no-music/no-sound; the crash behaviour is still the same with music/sound and no-music/sound.

taylor

2006-07-09 03:33

administrator   ~0006105

Try with RC5.1 and see if that makes a difference.

Crusader

2006-07-12 23:17

reporter   ~0006155

Thanks much for responding. i would have replied sooner, but was out of town.

Unfortunately, i can only report 'no change' with the most recent RC5. The launcher still CTD on load (presumably in trying to init / control OpenAL linkage?), and then the game still CTD on exit (presumably in trying to turn off OpenAL linkage?). i toggled "Generic Software" and "Generic Hardware"; the former setting has no new issues other than the crash, whereas music disppears entirely under the latter setting. Just as before, disabling music doesn't help; disabling sound and music makes the crash go away.

taylor

2006-08-18 21:46

administrator   ~0006482

Pretty sure this is a duplicate of another bug (though it's actually a dupe of this one) so I'm just going to close this one since it doesn't contain any info that is extra.

Duplicate of 0000938.

Issue History

Date Modified Username Field Change
2006-06-05 02:59 Crusader New Issue
2006-06-05 02:59 Crusader File Added: fs.log
2006-06-05 04:05 Goober5000 Note Added: 0005764
2006-06-05 05:42 Crusader Note Added: 0005766
2006-06-05 06:00 taylor Note Added: 0005767
2006-06-05 06:00 taylor Status new => assigned
2006-06-05 06:00 taylor Assigned To => taylor
2006-06-05 06:11 Crusader Note Added: 0005768
2006-06-05 06:17 Crusader Note Edited: 0005768
2006-06-05 06:51 Goober5000 Note Added: 0005769
2006-06-05 09:34 Crusader Note Added: 0005770
2006-06-05 14:01 Crusader Note Edited: 0005770
2006-06-11 08:45 Crusader Note Added: 0005820
2006-06-11 11:56 taylor Note Added: 0005823
2006-06-12 01:15 Crusader Note Added: 0005831
2006-07-09 03:33 taylor Note Added: 0006105
2006-07-12 23:17 Crusader Note Added: 0006155
2006-08-18 21:46 taylor Status assigned => closed
2006-08-18 21:46 taylor Note Added: 0006482
2006-11-01 04:23 taylor Resolution open => duplicate
2006-11-01 04:23 taylor Relationship added duplicate of 0000938