VirtualBox

Opened 13 years ago

Last modified 9 years ago

#9042 closed defect

OS/2 guest crashes on floating point exception — at Initial Version

Reported by: rudi Owned by:
Component: other Version: VirtualBox 4.0.8
Keywords: Cc:
Guest type: other Host type: Windows

Description

The following code snippet (which is supposed to die by SIGFPE) causes an OS/2 guest to trap. Kernel is 14.104_W4.

#include <stdio.h>
#include <float.h>

int main(void)
{
  double d1 = 1.0;
  double d2 = 0.0;

  _control87(0, 0x1f);

  printf("%lf\n", d1 / d2);

  return 0;
}

Change History (0)

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use