{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/9196","labels_url":"https://api.github.com/repos/atom/atom/issues/9196/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/9196/comments","events_url":"https://api.github.com/repos/atom/atom/issues/9196/events","html_url":"https://github.com/atom/atom/issues/9196","id":111988061,"number":9196,"title":"Uncaught Error: UnknownSystemError: Unknown system error, fdatasync","user":{"login":"justingrady","id":323685,"avatar_url":"https://avatars.githubusercontent.com/u/323685?v=3","gravatar_id":"","url":"https://api.github.com/users/justingrady","html_url":"https://github.com/justingrady","followers_url":"https://api.github.com/users/justingrady/followers","following_url":"https://api.github.com/users/justingrady/following{/other_user}","gists_url":"https://api.github.com/users/justingrady/gists{/gist_id}","starred_url":"https://api.github.com/users/justingrady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justingrady/subscriptions","organizations_url":"https://api.github.com/users/justingrady/orgs","repos_url":"https://api.github.com/users/justingrady/repos","events_url":"https://api.github.com/users/justingrady/events{/privacy}","received_events_url":"https://api.github.com/users/justingrady/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/atom/labels/uncaught-exception","name":"uncaught-exception","color":"e11d21"},{"url":"https://api.github.com/repos/atom/atom/labels/windows","name":"windows","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-17T22:24:12Z","updated_at":"2015-10-19T20:50:49Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\n1. ...\r\n2. ...\r\n\r\n**Atom Version**: 1.0.19\r\n**System**: Mac OS X 10.10.2\r\n**Thrown From**: Atom Core\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught Error: UnknownSystemError: Unknown system error, fdatasync\r\n\r\n```\r\nAt /Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:809\r\n\r\nError: UnknownSystemError: Unknown system error, fdatasync\r\n  at Error (native)\r\n  at Object.fs.fdatasyncSync (fs.js:773:18)\r\n  at TextBuffer.module.exports.TextBuffer.backUpFileContentsBeforeWriting (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1103:10)\r\n  at TextBuffer.module.exports.TextBuffer.saveAs (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1020:31)\r\n  at TextBuffer.module.exports.TextBuffer.save (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1004:19)\r\n  at TextEditor.module.exports.TextEditor.save (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:584:26)\r\n  at Pane.module.exports.Pane.saveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:547:18)\r\n  at Pane.module.exports.Pane.saveActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:530:19)\r\n  at Workspace.module.exports.Workspace.saveActivePaneItem (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:609:35)\r\n  at atom-workspace.atom.commands.add.core:save (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace-element.js:293:30)\r\n  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:245:29)\r\n  at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)\r\n  at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:145:19)\r\n  at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:70:30)\r\n  at emitOne (events.js:77:13)\r\n  at EventEmitter.emit (events.js:169:7)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -0:33.2.0 snippets:expand (atom-text-editor.editor.is-focused)\r\n     -0:33.2.0 editor:indent (atom-text-editor.editor.is-focused)\r\n 13x -0:31.9.0 core:move-up (atom-text-editor.editor.is-focused)\r\n  2x -0:30 core:move-left (atom-text-editor.editor.is-focused)\r\n  4x -0:29.3.0 core:backspace (atom-text-editor.editor.is-focused)\r\n     -0:28.1.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)\r\n     -0:28.1.0 snippets:expand (atom-text-editor.editor.is-focused)\r\n     -0:28.1.0 editor:indent (atom-text-editor.editor.is-focused)\r\n 13x -0:27.1.0 core:move-down (atom-text-editor.editor.is-focused)\r\n     -0:24.9.0 core:move-right (atom-text-editor.editor.is-focused)\r\n     -0:24.3.0 core:backspace (atom-text-editor.editor.is-focused)\r\n 14x -0:23.3.0 core:move-up (atom-text-editor.editor.is-focused)\r\n     -0:20 core:backspace (atom-text-editor.editor.is-focused)\r\n     -0:19.3.0 core:move-down (atom-text-editor.editor.is-focused)\r\n  4x -0:18.8.0 core:move-up (atom-text-editor.editor.is-focused)\r\n  2x -0:17.4.0 core:save (atom-text-editor.editor.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"projectHome\": \"/Volumes/Seagate Backup Plus Drive/web_dev\",\r\n    \"themes\": [\r\n      \"one-dark-ui\",\r\n      \"base16-tomorrow-dark-theme\"\r\n    ]\r\n  },\r\n  \"editor\": {\r\n    \"invisibles\": {},\r\n    \"backUpBeforeSaving\": true\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nNo installed packages\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/149343304","html_url":"https://github.com/atom/atom/issues/9196#issuecomment-149343304","issue_url":"https://api.github.com/repos/atom/atom/issues/9196","id":149343304,"user":{"login":"nathansobo","id":1789,"avatar_url":"https://avatars.githubusercontent.com/u/1789?v=3","gravatar_id":"","url":"https://api.github.com/users/nathansobo","html_url":"https://github.com/nathansobo","followers_url":"https://api.github.com/users/nathansobo/followers","following_url":"https://api.github.com/users/nathansobo/following{/other_user}","gists_url":"https://api.github.com/users/nathansobo/gists{/gist_id}","starred_url":"https://api.github.com/users/nathansobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathansobo/subscriptions","organizations_url":"https://api.github.com/users/nathansobo/orgs","repos_url":"https://api.github.com/users/nathansobo/repos","events_url":"https://api.github.com/users/nathansobo/events{/privacy}","received_events_url":"https://api.github.com/users/nathansobo/received_events","type":"User","site_admin":true},"created_at":"2015-10-19T20:50:49Z","updated_at":"2015-10-19T20:50:49Z","body":"`fdatasync` flushes buffered file contents to disk so we're sure the backup is safe. Not sure what the system error could have been that prevented this. @justingrady were you able to subsequently save successfully. Was there anything interesting about the directory you were writing to permissions-wise?"}}