AM3 CTD issue with DirectX 9 Audio

Discuss suspected bugs with other users and Sim Innovations Staff

Moderators: russ, Ralph

Message
Author
SimPassion
Posts: 5346
Joined: Thu Jul 27, 2017 12:22 am

AM3 CTD issue with DirectX 9 Audio

#1 Post by SimPassion »

Hi

it seems AM3 still having regularly some issue with DirectX 9 Audio conducting to a CTD :

Best Regards
Gilles

Code: Select all

Faulting application name: javaw.exe, version: 8.0.1440.1, time stamp: 0x5972dd89
Faulting module name: XAudio2_7.dll_unloaded, version: 9.29.1962.0, time stamp: 0x4c0643cc
Exception code: 0xc0000005
Fault offset: 0x0000000000032891
Faulting process id: 0xad4
Faulting application start time: 0x01d3445069a91ba7
Faulting application path: E:\Program Files\Java\jre1.8.0_144\bin\javaw.exe
Faulting module path: XAudio2_7.dll
Report Id: 1b6dfd1d-ec66-4e4e-b730-187e263dee35
Faulting package full name: 
Faulting package-relative application ID: 
Last edited by SimPassion on Tue Mar 06, 2018 4:03 pm, edited 1 time in total.

User avatar
Corjan
Posts: 2941
Joined: Thu Nov 19, 2015 9:04 am

Re: AM3 CTD issue with DirectX 9 Audio

#2 Post by Corjan »

It seems to be a bug in Windows SDK somewhere...

Allot of people get the some issue with allot of different games.

This is a possible solution:
Press Win + R, type 'services.msc', press Enter
Find 'Touch Keyboard and Handwriting Panel Service', and double tap/click it
Click Stop
Select 'disabled' at 'Startup type'


I'll see if I can find an alternative way to play the audio, without relying on XAudio2_7.dll maybe.


Corjan

User avatar
Corjan
Posts: 2941
Joined: Thu Nov 19, 2015 9:04 am

Re: AM3 CTD issue with DirectX 9 Audio

#3 Post by Corjan »

There is more information here:
https://answers.microsoft.com/en-us/win ... 21a?auth=1

Seems like a proper fix is not been made yet...

User avatar
Corjan
Posts: 2941
Joined: Thu Nov 19, 2015 9:04 am

Re: AM3 CTD issue with DirectX 9 Audio

#4 Post by Corjan »

Did some more research, and I found an interesting article here.
https://blogs.msdn.microsoft.com/chuckw ... audio-2-7/

They say that the XAudio dll might get unloaded at some point, crashing the whole application with it.
Creating another reference to it might prevent it from unloading.

I'm going to try that and include that into the next BETA. Unfortunately, I cannot test it on my computer, since I don't have 2.7.


Corjan

User avatar
Corjan
Posts: 2941
Joined: Thu Nov 19, 2015 9:04 am

Re: AM3 CTD issue with DirectX 9 Audio

#5 Post by Corjan »

Pretty much talking to myself on this thread :), but...

A new BETA is available, with the possible XAudio fix.

I have added a log message to the log.txt (inside <user_dir>\Air Manager BETA):
2017-10-14 10:55:18 INFO SiAudio - Result of XAudio 2.7 reference request: 0000000000000000

On my computer this gives 0000000000000000 since I don't have XAudio 2.7. On your computer though it should give something different than 0000000000000000.


Please let me know how this works out,

Corjan

SimPassion
Posts: 5346
Joined: Thu Jul 27, 2017 12:22 am

Re: AM3 CTD issue with DirectX 9 Audio

#6 Post by SimPassion »

Hi Corjan

At first Many thanks, the update process is working now

here's the result

Best regards
Gilles

Code: Select all

2017-10-14 13:35:05 INFO  Project - Starting Air Manager Home use 3.0 (build 49 BETA) (Home Use, Activated) (JAVA=1.8.0_144)
2017-10-14 13:35:05 INFO  AMBase - Initializing
2017-10-14 13:35:05 INFO  SiAudio - Result of XAudio 2.7 reference request: 00007FFC8C9F0000

User avatar
Corjan
Posts: 2941
Joined: Thu Nov 19, 2015 9:04 am

Re: AM3 CTD issue with DirectX 9 Audio

#7 Post by Corjan »

Ah good, it seems that it can indeed find XAudio 2.7 on your system.
Hopefully this will actually fix the issue.

Corjan

SimPassion
Posts: 5346
Joined: Thu Jul 27, 2017 12:22 am

Re: AM3 CTD issue with DirectX 9 Audio

#8 Post by SimPassion »

Here's my available Xaudio librairies available on Windows 10 64 bits Version1703 (OS Build 15063.674)
the two last in the screenshot below are 10.0.15063

Best regards
Gilles
XAudio_DLL.png

User avatar
Corjan
Posts: 2941
Joined: Thu Nov 19, 2015 9:04 am

Re: AM3 CTD issue with DirectX 9 Audio

#9 Post by Corjan »

Wow, you seem to have collected them all :)

On my system, I only have 2_8 and 2_9. The crash is a bug in the 2_7 version if I understand correctly.
So that probably explains why it is not crashing on my system.

Hopefully it will now also work on your system, fingers crossed.

Corjan

SimPassion
Posts: 5346
Joined: Thu Jul 27, 2017 12:22 am

Re: AM3 CTD issue with DirectX 9 Audio

#10 Post by SimPassion »

It could be there since Windows 10 free upgrade (or perhaps different programs are installing their own embedded runtime)
my XAudio_7.dll is 9.29.1962 and seems not being able to be updated (not the last version available)

AM3 seems stable for now (about an hour running without any action) as it previously have CTD shortly, mainly about 10 or 15 mn

Thanks for your quick update
Best Regards
Gilles

Post Reply