atom-ctags icon indicating copy to clipboard operation
atom-ctags copied to clipboard

Atom crashing

Open venatiodecorus opened this issue 7 years ago • 6 comments

This has worked fine for me up until recently but now it crashes on the same codebase I have been using it on. My Atom and plugin should be fully up to date. Not sure exactly what the issue is. Disappointed to have to stop using it but no choice currently.

venatiodecorus avatar Mar 29 '17 23:03 venatiodecorus

I am not sure if this is related, but my Atom project window crashes when ctags successfully builds a reference to my WordPress project files. The (.tags) file produced is between 15Mb to 75Mb depending on the exclude paths I configure in the settings (I need to increase the timeout settings to be make sure ctags completes). Initially when I Rebuild the ctags symbols, the session runs fine and I am able to goto delcarations, however, when I restart Atom, the project window crashes and I have to close (only) this window, delete the .tags file, and reopen my project to get it to work again.

I just realised that issue 147 & 157 reports this problem

aurovrata avatar Apr 02 '17 12:04 aurovrata

Same issue here, large ctags file causes Atom to crash on opening.

michaeldever avatar Apr 27 '17 07:04 michaeldever

I'm seeing this problem too. I had a flail around disabling various plugins and eventually worked out that it was atom-ctags causing an "The editor has crashed" error.

Disabling the plugin fixed it. Deleting and rebuilding .tags fixed it.

Annoyingly, I forgot to backup the .tags before I deleted it. So I wonder if it was somehow "corrupt?". That's pure speculation.

My .tags weren't particularly large:

-rw-r--r--    1 andypearson  staff    16M 14 Jul 17:49 .tags
-rw-r--r--    1 andypearson  staff   6.6K 14 Jul 17:49 .tags1

And a crash report: Atom Helper_2017-07-17-114552_three-headed-monkey.crash.txt

andypearson avatar Jul 17 '17 11:07 andypearson

i should mention my ctags file was fairly large was well, 100+MB

venatiodecorus avatar Jul 17 '17 16:07 venatiodecorus

Version 1.23.3 of atom still crashed with ctags .tags file not fitting to the expectations of atom-ctags.

atom-ctags crashed with this format, which vim can handle quite well

srs01	srs.rst	/^\.\. _`srs0`:/;"	

atom-ctags did not crash with

srs01	srs.rst	//;"		line:5

i.e.

srs01\tsrs.rst\t//;"\t\tline:5

This is the extended format according to http://ctags.sourceforge.net/FORMAT.

atom-ctags seems not to consider the pattern, but only the line:xxx. In the Readme.md it is mentioned that ctags -R --fields=+KSn should be used to generate the .tags file.

It is no good, that atom crashes, though.

It would also be great if the pattern could be considered.

rpuntaie avatar Jan 17 '18 14:01 rpuntaie

Crashed when generating a 32 MB file.

designbyadrian avatar Jul 12 '18 08:07 designbyadrian