Something Went Wrong | MAC OS X 10.14.6 | Etcher 1.5.111

Trying to write an image to an SD Card but receiving errors. Oddly I get two types of errors on different occasions.

The error states “Something went wrong. If it is a compressed image , please check that the archive is not corrupted.
The writer process ended unexpectedly”

Other times the 2nd part is replaced with
“The value of “offset” is out of range. It must be >=0 && <= 1048576. Received 1048576”

I have tried running as root user and opening Balena with sudo but no joy.

Here is the console report:

Thu Nov 26 2020 11:04:28 GMT+0000 (Greenwich Mean Time) Application start ({“packageType”:“dmg”,“version”:“1.5.111”,“sample”:0.1,“applicationSessionUuid”:“cd2fa702-0942-498b-a3a2-c74aca2e3174”,“flashingWorkflowUuid”:“02b302db-eafe-45cd-8bde-990caebfa113”})
gui.js:56894 Thu Nov 26 2020 11:05:06 GMT+0000 (Greenwich Mean Time) Open image selector ({“sample”:0.1,“applicationSessionUuid”:“cd2fa702-0942-498b-a3a2-c74aca2e3174”,“flashingWorkflowUuid”:“02b302db-eafe-45cd-8bde-990caebfa113”})
gui.js:56894 Thu Nov 26 2020 11:05:09 GMT+0000 (Greenwich Mean Time) Select image ({“image”:{“size”:124326613504,“name”:“128GB VIRTUALMAN.img”,“hasMBR”:true,“partitions”:[{“offset”:4194304,“size”:268435456,“type”:12,“index”:1},{“offset”:272629760,“size”:124053983744,“type”:131,“index”:2}],“extension”:“img”,“path”:"/Volumes/Samsung_T5/128GB VIRTUALMAN.img",“logo”:false,“blockMap”:false},“sample”:0.1,“applicationSessionUuid”:“cd2fa702-0942-498b-a3a2-c74aca2e3174”,“flashingWorkflowUuid”:“02b302db-eafe-45cd-8bde-990caebfa113”})
gui.js:56894 Thu Nov 26 2020 11:05:12 GMT+0000 (Greenwich Mean Time) Toggle drive ({“drive”:{“size”:127865454592,“isVirtual”:false,“enumerator”:“DiskArbitration”,“logicalBlockSize”:512,“raw”:"/dev/rdisk3",“error”:null,“isReadOnly”:false,“displayName”:"/dev/disk3",“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:"/dev/disk3",“busVersion”:null,“isSystem”:false,“busType”:“USB”,“isCard”:true,“isUSB”:true,“devicePath”:“IODeviceTree:/PCI0@0/XHC1@14”,“mountpoints”:[{“path”:"/Volumes/boot",“label”:“boot”}],“description”:“APPLE SD Card Reader Media”,“isUAS”:null,“partitionTableType”:“mbr”},“previouslySelected”:false,“sample”:0.1,“applicationSessionUuid”:“cd2fa702-0942-498b-a3a2-c74aca2e3174”,“flashingWorkflowUuid”:“02b302db-eafe-45cd-8bde-990caebfa113”})
gui.js:56894 Thu Nov 26 2020 11:05:14 GMT+0000 (Greenwich Mean Time) Flash ({“image”:{“size”:124326613504,“name”:“128GB VIRTUALMAN.img”,“hasMBR”:true,“partitions”:[{“offset”:4194304,“size”:268435456,“type”:12,“index”:1},{“offset”:272629760,“size”:124053983744,“type”:131,“index”:2}],“extension”:“img”,“path”:"/Volumes/Samsung_T5/128GB VIRTUALMAN.img"},“drives”:[{“size”:127865454592,“isVirtual”:false,“enumerator”:“DiskArbitration”,“logicalBlockSize”:512,“raw”:"/dev/rdisk3",“error”:null,“isReadOnly”:false,“displayName”:"/dev/disk3",“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:"/dev/disk3",“busVersion”:null,“isSystem”:false,“busType”:“USB”,“isCard”:true,“isUSB”:true,“devicePath”:“IODeviceTree:/PCI0@0/XHC1@14”,“mountpoints”:[{“path”:"/Volumes/boot",“label”:“boot”}],“description”:“APPLE SD Card Reader Media”,“isUAS”:null,“partitionTableType”:“mbr”}],“driveCount”:1,“uuid”:“3d3adba7-42d5-42ef-a186-40a874fb3809”,“status”:“started”,“flashInstanceUuid”:“3d3adba7-42d5-42ef-a186-40a874fb3809”,“unmountOnSuccess”:true,“sample”:0.1,“applicationSessionUuid”:“cd2fa702-0942-498b-a3a2-c74aca2e3174”,“flashingWorkflowUuid”:“02b302db-eafe-45cd-8bde-990caebfa113”})
gui.js:56894 Elevating command: /Applications/balenaEtcher.app/Contents/Frameworks/balenaEtcher Helper (Renderer).app/Contents/MacOS/balenaEtcher Helper (Renderer) /Applications/balenaEtcher.app/Contents/Resources/app/generated/child-writer.js
gui.js:56894 Thu Nov 26 2020 11:05:14 GMT+0000 (Greenwich Mean Time) SafeWebview loaded ({“event”:{“id”:1,“url”:“https://assets.balena.io/etcher-featured/index.html?borderRight=false&darkBackground=true&etcher-version=1.5.111&api-version=2&optOutAnalytics=false",“method”:“GET”,“timestamp”:1606388714744.792,“resourceType”:“mainFrame”,“ip”:“104.31.82.157”,“fromCache”:false,“statusLine”:"HTTP/1.1 200”,“statusCode”:200,“responseHeaders”:{“access-control-allow-origin”:["*"],“age”:[“161”],“cache-control”:[“max-age=600”],“cf-cache-status”:[“DYNAMIC”],“cf-ray”:[“5f83221afb152c76-LHR”],“cf-request-id”:[“06a5d3a4db00002c7629126000000001”],“content-encoding”:[“br”],“content-type”:[“text/html; charset=utf-8”],“date”:[“Thu, 26 Nov 2020 11:05:14 GMT”],“expect-ct”:[“max-age=604800, report-uri=“https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct””],“expires”:[“Thu, 26 Nov 2020 11:01:30 GMT”],“last-modified”:[“Thu, 26 Nov 2020 10:50:28 GMT”],“nel”:["{“report_to”:“cf-nel”,“max_age”:604800}"],“report-to”:["{“endpoints”:[{“url”:“https:\/\/a.nel.cloudflare.com\/report?s=legfgB5ZEOp2MEfKqtbmKsNabN0FbiYqtXNVZqDTVrUtraY%2BsCKTJINXB5Fdrixfndyr25qgNyPXIgcqKjeLFnioz6xn6ICQNVAR%2BshbPJE3”}],“group”:“cf-nel”,“max_age”:604800}"],“server”:[“cloudflare”],“status”:[“200”],“vary”:[“Accept-Encoding”],“via”:[“1.1 varnish”],“x-cache”:[“HIT”],“x-cache-hits”:[“3”],“x-fastly-request-id”:[“4cac2e61ad9c8abffdbbf10238730031bd9d1f20”],“x-github-request-id”:[“884A:8DBF:F26502:100532A:5FBF88B2”],“x-origin-cache”:[“HIT”],“x-proxy-cache”:[“MISS”],“x-served-by”:[“cache-lcy19272-LCY”],“x-timer”:[“S1606388715.725078,VS0,VE0”]},“referrer”:"",“error”:“net::OK”},“sample”:0.1,“applicationSessionUuid”:“cd2fa702-0942-498b-a3a2-c74aca2e3174”,“flashingWorkflowUuid”:“02b302db-eafe-45cd-8bde-990caebfa113”})
gui.js:6038 0 devices, 0% at 0.00 MB/s (total 0.00 MB/s) with 0 failed devices
gui.js:56894 Successfully connected to IPC server: etcher-server-3200, socket root /var/folders/_l/487p_grx6qlgtg6603wgtg6c0000gp/T/
gui.js:56894 Image: /Volumes/Samsung_T5/128GB VIRTUALMAN.img
gui.js:56894 Devices: /dev/disk3
gui.js:56894 Umount on success: true
gui.js:56894 Auto blockmapping: true
gui.js:56894 Decompress first: true
gui.js:56894 Thu Nov 26 2020 11:09:05 GMT+0000 (Greenwich Mean Time) Flash error ({“image”:{“size”:124326613504,“name”:“128GB VIRTUALMAN.img”,“hasMBR”:true,“partitions”:[{“offset”:4194304,“size”:268435456,“type”:12,“index”:1},{“offset”:272629760,“size”:124053983744,“type”:131,“index”:2}],“extension”:“img”,“path”:"/Volumes/Samsung_T5/128GB VIRTUALMAN.img"},“drives”:[{“size”:127865454592,“isVirtual”:false,“enumerator”:“DiskArbitration”,“logicalBlockSize”:512,“raw”:"/dev/rdisk3",“error”:null,“isReadOnly”:false,“displayName”:"/dev/disk3",“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:"/dev/disk3",“busVersion”:null,“isSystem”:false,“busType”:“USB”,“isCard”:true,“isUSB”:true,“devicePath”:“IODeviceTree:/PCI0@0/XHC1@14”,“mountpoints”:[{“path”:"/Volumes/boot",“label”:“boot”}],“description”:“APPLE SD Card Reader Media”,“isUAS”:null,“partitionTableType”:“mbr”}],“driveCount”:1,“uuid”:“3d3adba7-42d5-42ef-a186-40a874fb3809”,“flashInstanceUuid”:“3d3adba7-42d5-42ef-a186-40a874fb3809”,“unmountOnSuccess”:true,“error”:{“name”:“Error”,“message”:“EBUSY: resource busy or locked, open ‘/dev/rdisk3’”,“stack”:“Error: EBUSY: resource busy or locked, open ‘/dev/rdisk3’”,“code”:“EBUSY”,“syscall”:“open”,“errno”:-16},“sample”:0.1,“applicationSessionUuid”:“cd2fa702-0942-498b-a3a2-c74aca2e3174”,“flashingWorkflowUuid”:“02b302db-eafe-45cd-8bde-990caebfa113”})
gui.js:6038 0 devices, 0% at 0.00 MB/s (total 0.00 MB/s) with 0 failed devices
gui.js:56894 Finish: 0
gui.js:56894 Terminating IPC server
gui.js:56894 Flash results Object
gui.js:56894 Thu Nov 26 2020 11:09:08 GMT+0000 (Greenwich Mean Time) Write failed ({“image”:{“size”:124326613504,“name”:“128GB VIRTUALMAN.img”,“hasMBR”:true,“partitions”:[{“offset”:4194304,“size”:268435456,“type”:12,“index”:1},{“offset”:272629760,“size”:124053983744,“type”:131,“index”:2}],“extension”:“img”,“path”:"/Volumes/Samsung_T5/128GB VIRTUALMAN.img"},“drives”:[{“size”:127865454592,“isVirtual”:false,“enumerator”:“DiskArbitration”,“logicalBlockSize”:512,“raw”:"/dev/rdisk3",“error”:null,“isReadOnly”:false,“displayName”:"/dev/disk3",“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:"/dev/disk3",“busVersion”:null,“isSystem”:false,“busType”:“USB”,“isCard”:true,“isUSB”:true,“devicePath”:“IODeviceTree:/PCI0@0/XHC1@14”,“mountpoints”:[{“path”:"/Volumes/boot",“label”:“boot”}],“description”:“APPLE SD Card Reader Media”,“isUAS”:null,“partitionTableType”:“mbr”}],“driveCount”:1,“uuid”:“3d3adba7-42d5-42ef-a186-40a874fb3809”,“status”:“failed”,“flashInstanceUuid”:“3d3adba7-42d5-42ef-a186-40a874fb3809”,“unmountOnSuccess”:true,“error”:{“description”:“Please try again, and contact the Etcher team if the problem persists”,“report”:false},“sample”:0.1,“applicationSessionUuid”:“cd2fa702-0942-498b-a3a2-c74aca2e3174”,“flashingWorkflowUuid”:“02b302db-eafe-45cd-8bde-990caebfa113”})
gui.js:56894 {“stack”:“Error: The writer process ended unexpectedly\n at createError (file:///Applications/balenaEtcher.app/Contents/Resources/app/generated/gui.js:71076:23)\n at createUserError (file:///Applications/balenaEtcher.app/Contents/Resources/app/generated/gui.js:71087:16)\n at Server. (file:///Applications/balenaEtcher.app/Contents/Resources/app/generated/gui.js:87446:28)”,“message”:“The writer process ended unexpectedly”,“description”:“Please try again, and contact the Etcher team if the problem persists”,“report”:false,“image”:“128GB VIRTUALMAN.img”}

Hi there, what OS and etcher version are you using? Thanks

Hi, it is in the title of the post :wink:

Oh of course it is sorry!

Although typo in the Mac version. Is actually 10.14.06

A couple of things we can try:

  1. Does it work with other images or SD cards
  2. if the image is compressed, we can try manually uncompressing it before flashing to see if that works
  3. you already tried running with sudo? sudo /Applications/balenaEtcher.app/Contents/MacOS/balenaEtcher
  4. you can try to format the target SD card ((FAT32 - GUID)), unmount it, then launch etcher and try to flash it again.
  1. I haven’t tried any other SD card, I would need to download a new image and try as I don’t have another 128Gb card. I’l do that now…
  2. I uncompressed the image first using unarchiver
  3. yes tried sudo and logging in as root user
  4. I have been formatting the card before flashing as ExFat (which I believe should be compatible?)

Same results unfortunately, used a different image and card, tried via sudo too.

Also tried formatting the card in Disk utility (as opposed to SD Card Formatter) as MS Dos.

Hi,
I can confirm the issue. For a few month now, I can’t flash any image using Mac OS via Etcher. I always fails with the above error message.
I’ve setup now a different computer, where it works.
In the past, it worked flawlessly but after some update, it stopped working. Even after downgrading to older versions of Etcher did not help unfortunately.

Cheers

Hey, we are working on a new release that fixes this! Apologizes for the experience and we will keep you updated when this is fixed!

This is the open issue https://github.com/balena-io/etcher/issues/3366 on the etcher repository

1 Like

Hello
same issue for me with 2 different sd cards and 2 different images
MAC OS 10.13.6, latest balena etcher version

Hello,

This should be fixed in Etcher 1.5.112