Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-11849

BSoD on shut-down after USB-flash ejection.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • Drivers: USB

    Description

      I was testing usb-flash connect/disconnection (CORE-11367) on VBox-5.0.24 + ROS-r72182. The issue described in CORE-11367 I was not able to reproduce. But found another constant bug.

      When I am disconnecting USB-flash in non debug run, ROS continues performing normally, I am even able to connect again and read from flash. But when I am shutting down or restarting system when device is disconnected, it throws BSoD. General assumption is that there is bug in surprise removal handling.

      Also sometimes it throws BSoD just after disconnection, but it is very hard to reproduce, I saw that 1 time after 10-15 tests. I think that is also PnP issue which is raising due to some timing conditions.

      I have some patches related PnP handling which were tested on 2k3 and will be tested on ROS soon. I'll update this ticket if any improvement will be achieved with them.

      The interesting thing is that when I am doing same test in debug run with debugger attached, it is rebooting without hang.

      Without debugger issue is easy reproducible, just need to remove flash and reboot or shut down.

      Attachments

        Issue Links

          Activity

            People

              bug zilla Bug Zilla
              VardanM Vardan Mikayelyan
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: