Exception code: c0000090 (FLT_INVALID_OPERATION) - I am in despair!
-
I'm working on a fatal error which make our application crash! I can not reproduce it in my environment, so I tried to get the Dr.Watson's dump log and it indicate such error: 380861d0 da742430 fidiv dword ptr [esp+0x30] ss:00c0977f=a0b900c1 FAULT ->380861d4 d95e58 fstp dword ptr [esi+0x58] ds:00c0983a=c1eed825 I have found the code corresponding to the asm instruction: i = float (m_rect.Width()) / float(m_rect.Height()); Just two floats' division! X| I'm sure denominator is not Zero! I can not understand why the fstp give such a fatal message: Exception code: c0000090 (FLT_INVALID_OPERATION) Who can give me advices? Thanks a lot, a lot...
-
I'm working on a fatal error which make our application crash! I can not reproduce it in my environment, so I tried to get the Dr.Watson's dump log and it indicate such error: 380861d0 da742430 fidiv dword ptr [esp+0x30] ss:00c0977f=a0b900c1 FAULT ->380861d4 d95e58 fstp dword ptr [esi+0x58] ds:00c0983a=c1eed825 I have found the code corresponding to the asm instruction: i = float (m_rect.Width()) / float(m_rect.Height()); Just two floats' division! X| I'm sure denominator is not Zero! I can not understand why the fstp give such a fatal message: Exception code: c0000090 (FLT_INVALID_OPERATION) Who can give me advices? Thanks a lot, a lot...