http://bugs.winehq.org/show_bug.cgi?id=30082
Bug #: 30082 Summary: Divide by Zero in Mathcad 2000 Product: Wine Version: 1.3.28 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: msvcrt AssignedTo: wine-bugs@winehq.org ReportedBy: wa7ncl@yahoo.com Classification: Unclassified
When a computation that results in dividing by zero is performed wine and the application crashes. It does something to X as well because my screen goes black. A mouse click outside the previous location of the window (before crashing) brings back X but wine and Mathcad are gone.
Fixed it by adding Native msvcp60.dll msvcrt.dll. I think the Wine builtins must not handle divide by zero correctly.
I also had to add MSVCIRT.dll but this did not figure into the divide by zero.
In the days before 1.0 Wine, I believe this problem with zero results did not happen.
For now the fix is to add the Native DLLs and override.