0
0

Two Bugs. . .

First one:
An FMOD Project with 3D sound integrated crashes in Windows XP SP3 if the fmodex.dll is used but if the fmodexL.dll is used it does not, (Windows 7 works fine with any dll) if a mod or admin would like me to email my fmod code or entire program I can do so, I’m not on a computer with it currently available, otherwise I’d just e-mail it now.

Second one:
Program compiles and runs without a problem but I get a couple debug errors not being able to find PDB files, not really an immediate concern but I was just curious if anyone’s had similar problems with FMOD and Windows (occurs both in Windows 7 and XP) and if there’s a fix.

‘HappyGo Universe!.exe’: Loaded ‘C:\Users\Work\Desktop\HAPPYGOUNIVERSE!!!!!\HappyGo Universe!\bin\HappyGo Universe!.exe’, Symbols loaded.
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\ntdll.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\kernel32.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\KernelBase.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’:
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\user32.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\gdi32.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\lpk.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\usp10.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\msvcrt.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\advapi32.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\sechost.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\rpcrt4.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\sspicli.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\cryptbase.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\opengl32.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\glu32.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\ddraw.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\dciman32.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\setupapi.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\cfgmgr32.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\oleaut32.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\ole32.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\devobj.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\dwmapi.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\winmm.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Users\Work\Desktop\HAPPYGOUNIVERSE!!!!!\HappyGo Universe!\bin\fmodex.dll’, Binary was not built with debug information.
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\msacm32.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\wsock32.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\ws2_32.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\nsi.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\msvcr100d.dll’, Symbols loaded.
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\apphelp.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\AppPatch\AcLayers.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\shell32.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\shlwapi.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\userenv.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\profapi.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\winspool.drv’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\mpr.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\imm32.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\msctf.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\uxtheme.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\clbcatq.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\MMDevAPI.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\propsys.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\wintrust.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\crypt32.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\msasn1.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Unloaded ‘C:\Windows\SysWOW64\MMDevAPI.dll’
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\MMDevAPI.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\AudioSes.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\avrt.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Unloaded ‘C:\Windows\SysWOW64\avrt.dll’
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\avrt.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Unloaded ‘C:\Windows\SysWOW64\avrt.dll’
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\ig4icd32.dll’, Cannot find or open the PDB file
‘HappyGo Universe!.exe’: Loaded ‘C:\Windows\SysWOW64\ig4dev32.dll’, Cannot find or open the PDB file

  • You must to post comments
0
0

Hi JCSopko,

[quote:3j3766c0]First one:
An FMOD Project with 3D sound integrated crashes in Windows XP SP3 if the fmodex.dll is used but if the fmodexL.dll is used it does not, (Windows 7 works fine with any dll) [/quote:3j3766c0]
What version are you using?
Does it crash inside FMOD or inside your code?
If it crashes inside FMOD what function were you calling when it crashed?

  • You must to post comments
0
0

[quote="peter":2gaagzi3]Hi JCSopko,

[quote:2gaagzi3]First one:
An FMOD Project with 3D sound integrated crashes in Windows XP SP3 if the fmodex.dll is used but if the fmodexL.dll is used it does not, (Windows 7 works fine with any dll) [/quote:2gaagzi3]
What version are you using?
Does it crash inside FMOD or inside your code?
If it crashes inside FMOD what function were you calling when it crashed?[/quote:2gaagzi3]

Latest FMOD version.

Compiles and crashes at runtime, when breaking at the crash it ends up pointing to another one of our engines, Irrlicht. We were going to go to the Irrlicht forums but we discovered that the fmodexL.dll allowed for FMOD and Irrlicht to coincide without any problems which I thought was odd because I figured they’d be more or less identical with the exception of the L version including the debug log being created at runtime. So I’d ask here first and see why you guys think the debug dll would work without issue but the normal dll wouldn’t.

N/A

Thanks for your time and help.

Regards,
Joe

  • You must to post comments
0
0

You’re right that there is no difference between the normal and the L version apart from the logging. This sounds like a threading issue, the L version will change the timing of things, so I suspect it is masking a race condition.

  • You must to post comments
0
0

Also, make sure that you’re only calling FMOD functions from one single thread.

  • You must to post comments
0
0

I do have FMOD running from a single thread. Excuse my inexperience and ignorance peter, but what is masking of a race condition and is there anything I can do about it? Thanks for your time and help.

Regards,
Joe

  • You must to post comments
0
0

[quote:36c4zgfg]Excuse my inexperience and ignorance peter, but what is masking of a race condition[/quote:36c4zgfg]
Basically, a race condition is when two threads access shared data in a way which varies depending on the timing.
[url:36c4zgfg]http://en.wikipedia.org/wiki/Race_condition#Computing[/url:36c4zgfg]

When I say it is masking the race condition, I’m just saying that maybe that the logging version changes the timing of some code so that the two threads access the data at different times, hiding the problem.

I’m not saying your problem is definately threading related but it from your description that is my best guess.

[quote:36c4zgfg]is there anything I can do about it?[/quote:36c4zgfg]
First of all I would reccomend you review your code and think of anything which may occur in a thread. Even if your code is quite simple with no threads there may be some hidden in there. For example any kind of callback, delegate, or event may not happen from main thread. FMOD contains quite a few threads and I suspect Ogre would as well. Do you use anything like that?

Threading issues are notoriously difficult to debug. Generally the best approach is to insert sleeps at points which you expect might be most problematic to produce a reliable repro of the problem.

[i:36c4zgfg]Edit: I just realized, you didn’t say what was causing the crash. I had assumed it was an access violation. What message comes up when the program crashes? It might just be your linker settings.[/i:36c4zgfg]

  • You must to post comments
0
0

Thanks for the clear well directed post Peter, the other programmer currently has the XP test laptop so I’ll get back to you in a few days on what specifically the error is and if not a linker issue I’ll try to figure out the possible threading issue.

Regards,
Joe

  • You must to post comments
Showing 7 results
Your Answer

Please first to submit.