klorenz / atom-table-editor

Easily edit and navigate markdown tables
MIT License
13 stars 3 forks source link

Atom crashes when editing markdown table #9

Open kylebarron opened 6 years ago

kylebarron commented 6 years ago

Atom crashes while editing a markdown table with this package activated. If I type

| Filename | Description of Report |
|-|-||
     ^

where my cursor is the | character directly above the ^; then if I hit tab, Atom will crash every time. In my terminal, after Atom crashes, I see

/usr/bin/atom: line 129: 11384 Segmentation fault      (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1

If I disable table-editor, then restart Atom, Atom does not crash in this situation. When I enable the package again, and restart Atom, Atom again crashes. I had thought this was the fault of language-markdown, but with that enabled and this disabled, the crash doesn't happen, see https://github.com/burodepeper/language-markdown/issues/205.

My Atom version is:

> atom --version
Atom    : 1.23.1
Electron: 1.6.15
Chrome  : 56.0.2924.87
Node    : 7.4.0

This also crashes on Atom 1.22.1 and Atom 1.24.0-beta1. I'm using Ubuntu 16.04.