Failure to unmount volume in chromebook recovery tool not reported to the user.
Reported by
faketast...@gmail.com,
May 24 2016
|
||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.47 Safari/537.36 Steps to reproduce the problem: 1. Install chromebook recovery utility 2. Insert USB stick with existing ext2 partitions, and click "ignore" in windows dialogs asking to format the drive. 3. Try to restore something What is the expected behavior? During image writing phase, show an error to the user because the volume couldn't be locked. What went wrong? "Creating a recovery images" screen shows "Writing. 0% completed" indefinetly. Running chrome with --enable-logging=stderr shows the following in the logs: [10484:7268:0524/134703:ERROR:image_writer_win.cc(169)] Unable to lock volume.: Access is denied. (0x5) From what I can tell, https://code.google.com/p/chromium/codesearch#chromium/src/chrome/utility/image_writer/image_writer_win.cc&q=image_writer_win&sq=package:chromium&l=169 has no path to report failure to the caller. WebStore page: https://chrome.google.com/webstore/detail/chromebook-recovery-utili/jndclpdbaamdhonoechobihbbiimdgai Did this work before? N/A Chrome version: 53.0.2746.0 Channel: n/a OS Version: 10.0 Flash Version: Shockwave Flash 22.0 r0
,
May 24 2016
Also, if you hit "cancel", the following shows up in logs:
[8476:3388:0524/135650:INFO:CONSOLE(93)] "Error: Parameter 1 (cancelWrite) is required.
at Object.validate (extensions::schemaUtils:36:13)
at null.<anonymous> (extensions::binding:436:25)
at recovery.controllers.WriteImageController.cancel (chrome-extension://jndclpdbaamdhonoechobihbbiimdgai/app_compiled-bundle.js:49864:29)
at chrome-extension://jndclpdbaamdhonoechobihbbiimdgai/lib/angular.min.js:179:88
at g.P.(anonymous function) [as back] (chrome-extension://jndclpdbaamdhonoechobihbbiimdgai/lib/angular.min.js:54:248)
at chrome-extension://jndclpdbaamdhonoechobihbbiimdgai/lib/angular.min.js:179:88
at f (chrome-extension://jndclpdbaamdhonoechobihbbiimdgai/lib/angular.min.js:196:177)
at g.$eval (chrome-extension://jndclpdbaamdhonoechobihbbiimdgai/lib/angular.min.js:114:104)
at g.$apply (chrome-extension://jndclpdbaamdhonoechobihbbiimdgai/lib/angular.min.js:114:382)
at HTMLButtonElement.<anonymous> (chrome-extension://jndclpdbaamdhonoechobihbbiimdgai/lib/angular.min.js:196:229)", source: chrome-extension://jndclpdbaamdhonoechobihbbiimdgai/lib/angular.min.js (93)
,
May 24 2017
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
||
►
Sign in to add a comment |
||
Comment 1 by amistry@chromium.org
, May 24 2016Components: Platform>Apps>RecoveryTool