Jump to content

Program assertion upon execution


Guest stoehovve
 Share

Recommended Posts

Guest stoehovve

Hi Guys,

Saw your open sourcing of this game earlier today (Via /.), and decided to take a look over everything, and see if I can contribute. I checked out the read only version of the source, managed to get a clean compile via VS C++ 2008 express (except for 2 test sections, have not had a chance to look into why they failed to compile yet tho).

As I was attempting to run the game, however, I ran into an assertion, that appears to being cause by the game trying to load the following DLL (it occurs when running the debug and non-debugging versions:

C:\windows\system32\ct_oal.dll

A search of the system shows me that, despite me having a Creative Labs Sound Blaster X-Fi Platinum Fatality Champion sounds card, that driver DLL is not loaded anywhere on my system. It appears that it was phased out for Vista (64-bit) drivers (and possibly other OS versions), according to this thread:

http://opensource.creative.com/pipermail/o...ust/004922.html

(of which the removal discussion starts here):

http://opensource.creative.com/pipermail/o...ust/004931.html

I understand that (as you stated in the introduction page), that this is very pre-alpha code, and am willing to look into what might need to be done to work around/take into account different driver versions - though I will admit my windows development experience is lacking, and I'm more or less jumping in head first, feet first, and belly flopping all in one :>

But, I do know C++, so I'm half there.

However, after some additional searching, and according to Dxdiag, ct_oal.dll is actually in:

C:\Windows\SysWOW64\ct_oal.dll

So this might simply be due to the fact that I am running a 64-Bit OS, and the detection is seeing 32-Bit:

(generated 2009-07-16 17:20:23 UTC)

OS : Vista SP 2 (6.0.6002)

CPU : IA-32, Intel Core2 Quad Q6600 @ 2.40GHz (1x4x1), 2.40 GHz

Memory : 6142 MiB; 2970 MiB free

Graphics Card : NVIDIA GeForce 8800 GTS

OpenGL Drivers : 3.0.0;

Video Mode : 1024x768:32@60

Sound Card : Creative X-Fi Audio Processor (WDM)

Sound Drivers : OpenAL32.dll (6.14.0357.19), wrap_oal.dll (2.1.4.0), ct_oal.dll (unknown)

Link to comment
Share on other sites

For the issue of the 2 failed sections. Dont check out to c:\program files or any other directory that has a space in it, it messes up the file path when building in vc2008 (or atleast it did for me ). Also maybe try reinstalling/updating your sound drivers.

Edited by dankl__
Link to comment
Share on other sites

When using the quickstart option the game doesn't use sound which explains why it doesn't look for the .dll in that case.

Just a minor addition: ct_oal is examined for purposes of reporting your sound driver version. While -quickstart does skip sound init, it also skips the system-info-retrieval code that results in binaries/logs/system_info (of which sound driver version is a part).

So this might simply be due to the fact that I am running a 64-Bit OS, and the detection is seeing 32-Bit:

Yeah, there are definitely gremlins lurking in that area (Wow64 does magic redirection of the system32 directory).

Can you provide more details on what assertion is being triggered?

Link to comment
Share on other sites

Guest stoehovve

For the issue of the 2 failed sections. Dont check out to c:\program files or any other directory that has a space in it, it messes up the file path when building in vc2008 (or atleast it did for me ). Also maybe try reinstalling/updating your sound drivers.

Actually, I had no issues in relation to that, the check out worked with out issue, the building of work space elements worked, and other then 32-bit vs 64-bit related elements.

As for the sound drivers, this is a fresh installation of vista (quad HD crash 2 weeks ago, so there's nothing that's been futzed about once I got new drives). As well, the creative labs drivers are about as up to date as the web site says they can be, but thanks for the suggestions.

Here is a direct copy of the assertion being kicked out. When I first ran it, it was not very clear and so I code stepped to track down that it was looking for the ct_oal.dll file, as that was not reported in the assertion.

Function call failed: return value was -100102 (Case 2)

Location: wdll_ver.cpp:57 (ReadVersionString)

Call stack:

ReadVersionString (wdll_ver.cpp:41)

modulePathname_ = 0x01AE0258 ->

m_path = (error -100500 while analyzing string >)

out_ver = 0x0029EF50 -> [8] { 0, 0, 0, 0, 204 (0xCC), 204 (0xCC), 204 (0xCC), 204 (0xCC) }

out_ver_len = 4191315237 (0xF9D26525)

ver_size = 3435973836 (0xCCCCCCCC)

mem =

px = 0x00000000

pn =

pi_ = 0x00000000

subblock = [64]

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0 ...

unused = 3435973836 (0xCCCCCCCC)

noRedirect =

m_wasRedirectionEnabled = 0xCCCCCCCC

modulePathname = (error -100500 while analyzing string >)

s =

m_lastError = 31 (0x0000001F)

lang_len = 0 (0x00000000)

ok = 0 (0x00000000)

lang = 0x00000000

in_ver_len = 0 (0x00000000)

in_ver = 0x00000000

ILT+57655(?wdll_ver_AppendYAXABV?$basic_pathV?$basic_stringDU?$char_traitsDstdV?$allocatorD (:0)

add_oal_dlls_in_dir (wsnd.cpp:52)

path = 0x0029F1D8 ->

m_path = (error -100500 while analyzing string >)

dlls = 0x01350228 -> (error -100500 while analyzing set<string > >)

versionList = 0xF9D27A7D -> (error -100500 while analyzing string >)

ILT+165435(?win_get_snd_infoYAJXZ) (:0)

ILT+135540(?snd_detectYAXXZ) (:0)

ILT+70400(?WriteSystemInfoYAXXZ) (:0)

ILT+92775(?InitYAXABVCmdLineArgsHZ) (:0)

RunGameOrAtlas (main.cpp:379)

argc = 1 (0x00000001)

argv = 0x01BE4C90 -> 0x01BE4C98 -> "c:\Users\excalibur\Documents\Visual Studio 2008\Projects\ps\binaries\system\pyrogenesis_dbg.exe"

ran_atlas = false

args =

m_Args = (error -100500 while analyzing vector<pair<CStr8,CStr8> >)

m_Arg0 = { (error -100500 while analyzing string >) }

res = 1.6976e-314 (0x00000000CCCCCCCC)

ILT+159835(_main) (:0)

__tmainCRTStartup (crtexe.c:410)

mainCRTStartup (crtexe.c:393)

CallStartupWithinTryBlock (wseh.cpp:350)

ret = 2750620 (0x0029F89C)

errno = 0 (?)

OS error = 0 (no error code was set)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...