Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Floating Point Stack Check on Startup #2

Closed
ghost opened this Issue Mar 25, 2012 · 2 comments

Comments

1 participant
@ghost

ghost commented Mar 25, 2012

I'm still trying to figure out exactly what's going wrong, but it looks like dhewm3.exe (32 bit Debug build with VS2010) crashes on startup, although only when it's not run from the VS debugger.

The crash is caused by:
Unhandled exception at 0x01681c23 in dhewm3.exe: 0xC0000092: Floating-point stack check.

Call stack looks like this:

dhewm3.exe!idSIMD_MMX::Memset(void * dest0, const int val, const int count0) Line 338 C++
dhewm3.exe!Mem_ClearedAlloc(const int size) Line 1154 C++
dhewm3.exe!zcalloc(unsigned char * opaque, unsigned int items, unsigned int size) Line 4470 + 0xd bytes C++
dhewm3.exe!inflateInit2_(z_stream_s * z, int w, const char * version, int stream_size) Line 4211 + 0x13 bytes C++
dhewm3.exe!unzOpenCurrentFile(void * file) Line 1920 + 0x15 bytes C++
dhewm3.exe!idFileSystemLocal::ReadFileFromZip(pack_t * pak, fileInPack_s * pakFile, const char * relativePath) Line 3119 + 0xc bytes C++
dhewm3.exe!idFileSystemLocal::OpenFileReadFlags(const char * relativePath, int searchFlags, pack_t * * foundInPak, bool allowCopyFiles, const char * gamedir) Line 3326 + 0x17 bytes C++
dhewm3.exe!idFileSystemLocal::OpenFileRead(const char * relativePath, bool allowCopyFiles, const char * gamedir) Line 3384 C++
gamex86.dll!13d1262f()
[Frames below may be incorrect and/or missing, no symbols loaded for gamex86.dll]
gamex86.dll!13d20178()
gamex86.dll!13d4dca4()
gamex86.dll!13d4dc6b()
gamex86.dll!13d1f2ad()
gamex86.dll!13cff7da()
gamex86.dll!13d0934b()
gamex86.dll!13d00116()
ntdll.dll!77a5f8e5()
KernelBase.dll!76a9d348()
msvcr100d.dll!_read_nolock(int fh, void * inputbuf, unsigned int cnt) Line 230 + 0x2e bytes C
msvcr100d.dll!unlock(int locknum) Line 375 C
dhewm3.exe!idBTree<idDynamicBlock,int,4>::AllocNode() Line 376 + 0xb bytes C++
kernel32.dll!753e14dd()
KernelBase.dll!76a9b9f2()
rpcrt4.dll!75538007()
rpcrt4.dll!755d01a0()
rpcrt4.dll!755d0175()
ntdll.dll!77a5fa9a()
msvcrt.dll!7709c7ab()
msvcr100d.dll!unlock(int locknum) Line 375 C
msvcr100d.dll!heap_alloc_dbg_impl(unsigned int nSize, int nBlockUse, const char * szFileName, int nLine, int * errno_tmp) Line 507 + 0x7 bytes C++
msvcr100d.dll!heap_alloc_dbg_impl(unsigned int nSize, int nBlockUse, const char * szFileName, int nLine, int * errno_tmp) Line 504 + 0xc bytes C++
00000004()
dhewm3.exe!idCommonLocal::Printf(const char * fmt, ...) Line 426 C++
dhewm3.exe!idCommonLocal::InitCommands() Line 2357 C++
dhewm3.exe!idCommonLocal::Init(int argc, char * * argv) Line 2816 C++
dhewm3.exe!SDL_main(int argc, char * * argv) Line 551 C++
dhewm3.exe!main(int argc, char * * argv) Line 315 + 0xd bytes C
dhewm3.exe!WinMain(HINSTANCE
* hInst, HINSTANCE
* hPrev, char * szCmdLine, int sw) Line 398 + 0xd bytes C
dhewm3.exe!__tmainCRTStartup() Line 547 + 0x2c bytes C
dhewm3.exe!WinMainCRTStartup() Line 371 C
kernel32.dll!753e339a()
ntdll.dll!77a79ef2()
ntdll.dll!77a79ec5()

Has anyone seen this before?

Owner

dhewg commented Jun 7, 2012

is this still an issue?

@ghost

ghost commented Jun 23, 2012

Not that I've seen. I'm still not really sure what was going on, but I haven't seen it happen again.
Might've been a stale build or somesuch?

@ghost ghost closed this Jun 23, 2012

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment