Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Etcher flash process is killed by unplugging USB mouse #1981

Open
georgikoemdzhiev opened this issue Jan 20, 2018 · 10 comments
Open

Etcher flash process is killed by unplugging USB mouse #1981

georgikoemdzhiev opened this issue Jan 20, 2018 · 10 comments

Comments

@georgikoemdzhiev
Copy link

georgikoemdzhiev commented Jan 20, 2018

  • Etcher version: 1.2.1
  • Operating system and architecture: Windows 10 x64
  • Image flashed: iso files
  • Do you see any meaningful error information in the DevTools? No

Today I noticed a bug when the flashing process is in progress and my mouse is inside the "Ethcer" window and I disconnected my mouse by unplugging the USB cabel (it is a USB mouse) the Etcher window goes white and the process disappears in the Task Manager:

capture

@georgikoemdzhiev georgikoemdzhiev changed the title Ethcer flash process is killed by unpluggin my USB mouse Ethcer flash process is killed by unpluggin USB mouse Jan 21, 2018
@lurch
Copy link
Contributor

lurch commented Jan 21, 2018

How bizarre! Before unplugging your mouse, can you open the Etcher DevTools console and see if any error gets reported there when you later unplug the mouse?

@lurch lurch changed the title Ethcer flash process is killed by unpluggin USB mouse Etcher flash process is killed by unplugging USB mouse Jan 21, 2018
@georgikoemdzhiev
Copy link
Author

Hi! Thank you for getting back to me. There is nothing helpful I can see in the DevTools. The process is killed after I unplug the device and the output in the DevTools do not output any errors about it. :)

@jhermsmeier
Copy link
Contributor

@georgikoemdzhiev can you try Etcher v1.3.1 (which we've released this week), and see if this still happens?

@georgikoemdzhiev
Copy link
Author

georgikoemdzhiev commented Jan 28, 2018

@jhermsmeier Will give it a try later today and report back. Thanks! :)

@georgikoemdzhiev
Copy link
Author

@jhermsmeier I was able to replicate the problem even with the latest version of Etche (1.3.1).

@jhermsmeier
Copy link
Contributor

Thanks @georgikoemdzhiev – we'll check it out & try to reproduce!

@lurch
Copy link
Contributor

lurch commented Feb 28, 2018

Just out of curiosity, why do you need to unplug your USB mouse while flashing an image with Etcher? 😆

@jhermsmeier
Copy link
Contributor

Strangely enough I just ran into this when testing something on Windows 7, and attaching a Virtual Hard Drive while Etcher was open – it blanked to white, and that was it. Will look into this a bit more, now that I have a way to reproduce.

@georgikoemdzhiev
Copy link
Author

@jhermsmeier Nice! Glad that you managed to reproduce it :) @lurch :D I have Logitech G700s -
rechargeable mouse. So when charged I unplug it from the cable and it so happened I was flashing an ISO at the time :D

@orionlu0916
Copy link

orionlu0916 commented Dec 17, 2018

this problem is caused by the library "tessel/node-usb", and it only happens on windows OS. I have a project which also build with electron framework. My use case is using that usb library to watch usb ports and once the target usb device plug into computer(by checking the vendor id, product id....) my application will use hex code to communicate with it.
On linux, macOS everything works, but on windows 7, 10, if I unplug any other usb devices(usb drive/ smart card reader), my electron app will just crashed and goes white without any error message no matter in rendering process or main process. Therefore, for windows OS, I have to cancel the "auto detect" function for usb plug/unplug events to make my app works without that issue. I've tried to find other solutions for about 3 months. This problem is really annoying..... hoping someone knows how to solve it.....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants