Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Exception code: c0000090 (FLT_INVALID_OPERATION) - I am in despair!

Exception code: c0000090 (FLT_INVALID_OPERATION) - I am in despair!

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestionworkspace
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Best Kiluyar
    wrote on last edited by
    #1

    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...

    A 1 Reply Last reply
    0
    • B Best Kiluyar

      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...

      A Offline
      A Offline
      Arman S
      wrote on last edited by
      #2

      Are you using VC7.1 or VC8 release canditate. As far as I remember, this is a bug on those IDEs.

      -- ===== Arman

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups