General discussion

Locked

Divide by Zero error, ntvdm.exe

By McSid ·
Running NT4.0 SP5 on a DELL box. A Dr. Watson error from the ntvdm.exe with a divide by zero error appears after 45min to an 1hr of inactivity. No error occurs during hours of use but only after idle time. Have reloaded the service pack, loaded SP6, stopped any 16bit services that are running. This is happening on several machines in a staged network running an X windows application to connect with a VMS server and application. How can I capture the program or application that is causing this error?

This conversation is currently closed to new comments.

19 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Divide by Zero error, ntvdm.exe

by McSid In reply to Divide by Zero error, ntv ...

Point value changed by question poster.

Collapse -

Divide by Zero error, ntvdm.exe

by josjea In reply to Divide by Zero error, ntv ...

A divide by zero is caused when a DIV instruction is executed and the divisor is 0. As you probably know, you cannot mathematically divide by 0. Memory corruption (or other hardware problems) or software failures can cause this.

NTVDM is the module that Windows NT uses to run 16-bit applications, so it is probably one of those pieces of software that is causing it. Open up the task manager and see which process is using the NTVDM.

Collapse -

Divide by Zero error, ntvdm.exe

by McSid In reply to Divide by Zero error, ntv ...

Poster rated this answer

Collapse -

Divide by Zero error, ntvdm.exe

by McSid In reply to Divide by Zero error, ntv ...

Poster rated this answer

Collapse -

Divide by Zero error, ntvdm.exe

by SteveD In reply to Divide by Zero error, ntv ...

If you've really stopped all your 16-bit apps, then NTVDM should unload also. Go into Task Manager and see what's listed directly under NTVDM, indented. Those are the 16-bit executables. You may recognize the names.

It is safe to use Task Managerto end the NTVDM process itself. That will also unload any 16-bit processes that are still running. It sounds as if one of them has a bug and doesn't remove itself entirely when you think you've stopped it.

Collapse -

Divide by Zero error, ntvdm.exe

by McSid In reply to Divide by Zero error, ntv ...

Poster rated this answer

Collapse -

Divide by Zero error, ntvdm.exe

by McSid In reply to Divide by Zero error, ntv ...

Poster rated this answer

Collapse -

Divide by Zero error, ntvdm.exe

by McSid In reply to Divide by Zero error, ntv ...

Answers 1 & 2, I appreciate your quick response but this is not new information to me. I already know that this NTVirtualDosMachine executable allows for 16bit apps to run, that is why I stopped those processes. Using the Task Manager, I have enabled Show 16 Bit but nothing comes up under the drwtn.exe process that displays in the list and thus my delemma. If this comment is more informative I will appretiate your solution.

Collapse -

Divide by Zero error, ntvdm.exe

by Ann777 In reply to Divide by Zero error, ntv ...

The fact that this tends to happen after a certain period of inactivity... leads me to believe that you may be experiencing problems/conflicts with a screen saver. Which screen saver do you have installed?

You might need to list all the apps that you have installed on this computer to try to narrow down what may be causing this.

Another thing you might try is seeing if you have anything running in task scheduler after a certain period of inactivity.

Collapse -

Divide by Zero error, ntvdm.exe

by McSid In reply to Divide by Zero error, ntv ...

I din't like the "Unacceptable" choince. You are an the right track. 1 of 11 machines reacted to the screensaver preview with the drwtn32.exe error. Re-ran SP5 and no reaction to test. The saver selected was "blank.svr". The other 10 machines were OK with the preview test so that may have been machine specific. Will obtain a list of apps. Stay with me, I think we'll lick this thing yet.

Back to Windows Forum
19 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums