Issue 1:
[Enter steps to reproduce below:]

...

...

Atom Version: 0.169.0

System: linux 3.13.0-43-generic

Thrown From: Atom Core

Stack Trace

Uncaught Error: Atom can only handle files < 2MB for now.

At /usr/share/atom/resources/app/src/project.js:355

Error: Atom can only handle files < 2MB for now.
at Project.module.exports.Project.buildBuffer (/usr/share/atom/resources/app/src/project.js:355:15)
at Project.module.exports.Project.bufferForPath (/usr/share/atom/resources/app/src/project.js:332:63)
at Project.module.exports.Project.open (/usr/share/atom/resources/app/src/project.js:286:19)
at Workspace.module.exports.Workspace.openUriInPane (/usr/share/atom/resources/app/src/workspace.js:485:29)
at Workspace.module.exports.Workspace.open (/usr/share/atom/resources/app/src/workspace.js:412:19)
at Ipc.<anonymous> (/usr/share/atom/resources/app/src/window-event-handler.js:45:32)
at Ipc.emit (events.js:110:17)
at process.<anonymous> (/usr/share/atom/resources/atom/renderer/api/lib/ipc.js:22:29)
at process.emit (events.js:118:17)

Commands

2x -1:44.1 application:new-file (ul.list-inline.tab-bar.inset-panel)
2x -1:21.8 tree-view:toggle (atom-text-editor.editor)
-0:49.6 command-palette:toggle (atom-text-editor.editor)
-0:45.3 core:confirm (atom-text-editor.editor.mini)
-0:45.3 settings-view:open (atom-text-editor.editor)
4x -0:22.9 core:backspace (atom-text-editor.editor)
-0:21.7 editor:newline (atom-text-editor.editor)
4x -0:18.8 core:backspace (atom-text-editor.editor)
2x -0:17.9 core:select-up (atom-text-editor.editor)
-0:17.3 core:backspace (atom-text-editor.editor)
-0:00.0 application:new-file (ul.list-inline.tab-bar.inset-panel)

Config

{
"core": {
"themes": [
"atom-light-ui",
"solarized-light-syntax"
]
},
"editor": {
"invisibles": {}
}
}

Installed Packages

# User
No installed packages

# Dev
No dev packages

Issue 2:
Editing an unsaved .xml file

Atom Version: 0.182.0

System: linux 3.18.6-1-ARCH

Thrown From: Atom Core

Stack Trace

Uncaught TypeError: Cannot read property 'isComment' of undefined

At /usr/share/atom/resources/app/src/tokenized-buffer.js:401

TypeError: Cannot read property 'isComment' of undefined
at TokenizedBuffer.module.exports.TokenizedBuffer.isFoldableCodeAtRow (/usr/share/atom/resources/app/src/tokenized-buffer.js:401:71)
at TokenizedBuffer.module.exports.TokenizedBuffer.isFoldableAtRow (/usr/share/atom/resources/app/src/tokenized-buffer.js:396:19)
at TokenizedBuffer.module.exports.TokenizedBuffer.updateFoldableStatus (/usr/share/atom/resources/app/src/tokenized-buffer.js:384:25)
at TokenizedBuffer.module.exports.TokenizedBuffer.handleBufferChange (/usr/share/atom/resources/app/src/tokenized-buffer.js:351:20)
at /usr/share/atom/resources/app/src/tokenized-buffer.js:56:24
at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:82:11)
at TextBuffer.module.exports.TextBuffer.applyPatch (/usr/share/atom/resources/app/node_modules/text-buffer/lib/text-buffer.js:594:20)
at BufferPatch.module.exports.BufferPatch.applyTo (/usr/share/atom/resources/app/node_modules/text-buffer/lib/buffer-patch.js:74:21)
at Transaction.module.exports.Transaction.applyTo (/usr/share/atom/resources/app/node_modules/text-buffer/lib/transaction.js:60:29)
at History.module.exports.History.abortTransaction (/usr/share/atom/resources/app/node_modules/text-buffer/lib/history.js:165:24)
at History.module.exports.History.transact (/usr/share/atom/resources/app/node_modules/text-buffer/lib/history.js:122:16)
at TextBuffer.module.exports.TextBuffer.transact (/usr/share/atom/resources/app/node_modules/text-buffer/lib/text-buffer.js:687:27)
at TextEditor.module.exports.TextEditor.transact (/usr/share/atom/resources/app/src/text-editor.js:1195:26)
at atom-text-editor.newCommandListeners.(anonymous function) (/usr/share/atom/resources/app/src/text-editor-element.js:304:22)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:243:29)
at /usr/share/atom/resources/app/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:558:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:396:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/usr/share/atom/resources/app/src/window-event-handler.js:176:20)

Commands

3x -1:41.5 editor:newline (atom-text-editor.editor.is-focused)
-1:33.4 core:backspace (atom-text-editor.editor.is-focused)
-1:31.2 autocomplete:toggle (atom-text-editor.editor.is-focused)
-1:29.8 core:move-up (atom-text-editor.editor.is-focused)
-1:20.2 core:backspace (atom-text-editor.editor.is-focused)
-0:00.6 editor:newline (atom-text-editor.editor.is-focused)

Config

{
"core": {
"destroyEmptyPanes": false
},
"editor": {
"invisibles": {}
}
}

Installed Packages

# User
atom-beautify, v0.21.3
file-icons, v1.5.1
linter, v0.12.0
linter-xmllint, v0.0.5
xml-formatter, v0.8.1

# Dev
No dev packages