Jump to content

Why does LabVIEW give me disk errors before it crashes?


Recommended Posts

Every time LabVIEW crashes for me, it gives me several disk errors beforehand. Each of these has "Cancel", "Try Again", and "Continue" as buttons. I've always just clicked Continue, so I'm not sure about what happens if you click a different one. Here's the sequence of errors: (not sure if it's the same every time)

There is no disk in the drive. Please insert a disk into drive \Device\Harddisk2\DR3.

There is no disk in the drive. Please insert a disk into drive \Device\Harddisk2\DR2.

There is no disk in the drive. Please insert a disk into drive \Device\Harddisk2\DR2.

There is no disk in the drive. Please insert a disk into drive \Device\Harddisk2\DR2.

There is no disk in the drive. Please insert a disk into drive \Device\Harddisk2\DR3.

There is no disk in the drive. Please insert a disk into drive \Device\Harddisk2\DR3.

There is no disk in the drive. Please insert a disk into drive \Device\Harddisk2\DR3.

There is no disk in the drive. Please insert a disk into drive \Device\Harddisk2\DR3.

There is no disk in the drive. Please insert a disk into drive \Device\Harddisk2\DR3.

I do have a RAID setup, so that may have something to do with it. It's just annoying, sort of adding insult to injury whenever LV crashes, which unfortunately isn't as seldom as I'd hope.

Link to comment

There is another possible answer. When we build the EXE and all the DLLs that make up LabVIEW, we do generate symbol files. We don't ship them but we hold on to them for debugging. Each executable remembers the absolute path that this symbol file was created at on our build machines. In many cases our build machines are setup with multiple drive letters rather than just one huge C drive.

When NIER encounters a crash, it uses a MS DLL to look for the symbol files to try to put more details in its log. One of the places this DLL looks is the path in the executable. I think this behavior is frequently the result of accesses to drive letters that are not mapped or mapped to removable media. The exact behavior may depend on what the drive is. I know we have had cases where it would request you insert a disk into an optical drive.

In the end there are no ill effects. This is just a matter of unfortunate error handling.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.