0
0

I got a dump in my program, like this:

msvcrt.dll!77c46fa3()
[Frames below may be incorrect and/or missing, no symbols loaded for msvcrt.dll]
fmodex.dll!007a77ce()

Here is my code fragment:

m_pSystem->setFileSystem(fmodOpenFileCallback,fmodCloseFileCallback,fmodReadFileCallback,fmodSeekFileCallback,-1);

m_pSystem->createStream(buf,FMOD_2D|FMOD_SOFTWARE|FMOD_IGNORETAGS|FMOD_MPEGSEARCH|FMOD_NONBLOCKING,NULL,&m_pSound);

m_pSystem->playSound(FMOD_CHANNEL_FREE,m_pSound,false,&m_pChannel);

All the file callback funtions are thread safe, this crash rarely happens but does exists. And I can not force it to happen even I return wrong data in the file callback funtion Intentionally.

Can anyone help me. Thanks!

  • You must to post comments
0
0

which version of fmod are you talking about.

  • You must to post comments
0
0

The fmodex.dll file version is 0.4.16.13

  • You must to post comments
0
0

That callstack is no good, the addres is not in fmod space.
Is it possible that address is one of your callback addresses? You’d need to provide a more detailed callstack, attach your debugger to the process and give a hex dump or try and repro it. Also you didnt say what actually crashed. Can you tell if it happens right as you call a particular fmod function?

  • You must to post comments
0
0

I found the crash on debug mode:
[img:cacstifk]http://img.blog.163.com/photo/omkQOyg3ilFzf37qhHuyog==/2833608590547064122.jpg[/img:cacstifk]

In case the image can not be displayed, I list the call stack here:

msvcrt.dll!77c46fa3()
[Frames below my be incorrect or missing …]
fmodex.dll!100277ce()
fmodex.dll!100359f4()
fmodex.dll!1000a3ef()
fmodex.dll!1000d49f()
fmodex.dll!1001179c()
fmodex.dll!1001aedf()
kernel32.dll!7c80b713()

Any suggestion?

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.