question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Windows 10 x64 1903]Writer process ended unexpectedly

See original GitHub issue
  • Etcher version: 1.5.99+5d95fcb8, Type = nsis
  • Operating system and architecture: Windows 10 x64 1903
  • Image flashed: ubuntu-20.04-desktop-amd64.iso
  • Do you see any meaningful error information in the DevTools?
"error":{"description":"Please try again, and contact the Etcher team if the problem persists","report":false,"code":"ECHILDDIED"},"sample":0.1,"applicationSessionUuid":"f0e458f3-3043-4e9a-be34-b3d3996cd507","flashingWorkflowUuid":"d0126961-8a80-4098-8442-7f6e86acae6b"})

Steps I did

  • Followed CONTRIBUTING.md to build Etcher locally on my dev environment, then attempted to flash the provided image onto a 16 GB USB.

Following error occurred after elevating the cmd script: image

Controlled folder access is off: image

If needed, I can provide more info about steps I took while building.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
unm4sk1gcommented, Jun 17, 2020
  1. Installed fresh installation of Windows 10 Pro x64 1903, along with dependencies required in contributing document (NSIS 2.51, Python2.7, VS with Desktop C++ env, jq, msys-make etc.)
  2. Cloned the repository recursively with scripts submodule.
  3. Ran pip install -r requirements.txt
  4. Ran make electron-develop Had some issues here, some dependencies required mingw32-make, for some reason things like shasum and sha1sum were missing, managed to fix that.
  5. Finally managed to install all dependencies and ran make webpack
  6. After everything, ran make electron-build and used the output setup to install Etcher on my PC.
  7. Tried to flash an image, got thrown the error above.

And yes, I’m running etcher as a built package.

0reactions
unm4sk1gcommented, Jul 6, 2020

@thundron I’ve updated etcher-sdk to v4.1.17, issue still persists.

I’ve added some console.logs to child-writer.ts, specifically on ipc write event just to see if it even comes to this event before it crashes. Then I’ve executed the temporary cmd file manually from an elevated cmd before allowing it elevated permissions through UAC, just to see if there will be any output from the script itself.

This is the output:

C:\Users\sunje\AppData\Local\Temp>balena-etcher-electron--2456-n2CLDPWDwPe2-.cmd

C:\Users\sunje\AppData\Local\Temp>chcp 65001
Active code page: 65001

C:\Users\sunje\AppData\Local\Temp>set "IPC_SERVER_ID=etcher-server-2456"

C:\Users\sunje\AppData\Local\Temp>set "IPC_CLIENT_ID=etcher-client-2456"

C:\Users\sunje\AppData\Local\Temp>set "IPC_SOCKET_ROOT=C:\Users\sunje\AppData\Local\Temp\"

C:\Users\sunje\AppData\Local\Temp>set "ELECTRON_RUN_AS_NODE=1"

C:\Users\sunje\AppData\Local\Temp>set "UV_THREADPOOL_SIZE=64"

C:\Users\sunje\AppData\Local\Temp>set "SKIP=1"

C:\Users\sunje\AppData\Local\Temp>"C:\Users\sunje\AppData\Local\Temp\1eJu86M6u6uCJCmBnzf0pO3Tkaz\balenaEtcher.exe" "C:\Users\sunje\AppData\Local\Temp\1eJu86M6u6uCJCmBnzf0pO3Tkaz\resources\app"
WRITE STARTED

C:\Users\sunje\AppData\Local\Temp>

Only the console.log I’ve added is outputted from the script, nothing else. Don’t know if that’s normal behaviour or not, but the error still comes out the same as from the original issue above, terminate code: ECHILDDIED

Read more comments on GitHub >

github_iconTop Results From Across the Web

Win10 Balena Ethcher fails "Writer Process ended ...
It could be related to Windows Defender settings on your machine. If you have a chance to play with settings there and see...
Read more >
FIX: Windows 10 Update 1903 failed to install (Solved)
> Settings > Update & Security. 2. Click Check for updates. 3. Finally let Windows to download and install the update again. Method...
Read more >
Windows 10 upgrade resolution procedures - Microsoft Learn
A frequently observed result code is 0xC1900101. This result code can be thrown at any stage of the upgrade process, with the exception...
Read more >
How to Fix Windows Update Error 0x80070057 - MakeUseOf
As this error usually relates to the Windows Update process, many users were unhappy with it. The update either left an uncompleted update...
Read more >
Fix Webcam Issues in Windows 10 by Disabling Frame Server ...
Service Control Manager - The Windows Camera Frame Server service terminated unexpectedly. It has done this 20 time(s).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found