0

I have a driver that for one reason or an other it hanged for more than 1 second and crashed my app.

What possible causes do you know that can make a driver hang for more than one second inside an OS? Think here of special conditions, automatic updates, antivirus, etc.

My OS is Windows 2000.

cmserv
  • 195
  • 2
  • 6
  • 14

1 Answers1

1

Almost anything, it could even be the driver itself. Drivers are basically an low level application for communicating with something, they can have bugs, exploits and issues themselves just like any program. I often find a lot of OS level issues stem from a bad driver. There is one driver for HP management we have to downgrade to an older version because the one that came with the equipment causes a ton of errors and eventually triggers a random reboot.

Shial
  • 1,017
  • 1
  • 9
  • 14
  • Can it be that it's not the driver, but the OS who does something else and does not assigns enough priority to it? – cmserv Nov 12 '09 at 14:59
  • I call a function from its API which returns a timeout error, signaling that it spends a lot of time extra on something which I can't actually inspect due to its closed source character. – cmserv Nov 12 '09 at 15:05
  • Did you inspect the documentation on why it returned the timeout? Given its actually telling you it would seem likely the driver was waiting on something else to occur. – Shial Nov 14 '09 at 19:15