Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sublimetext break down... #24

Open
PixelT opened this issue Jun 3, 2014 · 25 comments
Open

Sublimetext break down... #24

PixelT opened this issue Jun 3, 2014 · 25 comments
Labels

Comments

@PixelT
Copy link

PixelT commented Jun 3, 2014

Plugin breakes editor - when I save file or add files to cache, the editor stop working (no response...). I have this situation since 3 days - before everything worked....

@subhaze
Copy link
Owner

subhaze commented Jun 3, 2014

@PixelT
Copy link
Author

PixelT commented Jun 3, 2014

  • Build 3062
  • Windows 8
  • No error in console (only info in bottom bar: CSS Extended: parsing file 4 of 6, end they stopped... + breakdown SublimeText...

@subhaze
Copy link
Owner

subhaze commented Jun 3, 2014

Hmm...

In the console it should print what file it is parsing, would it be possible for you to check and see which file and send me that?

Understandable if you can't send the file, but, it would help greatly in seeing the file that's blowing up and run it locally on my machine.

If you can't provide the file, could you provide information on whether it's CSS/LESS/SCSS and if it's minified and the file size.

Thanks!

@PixelT
Copy link
Author

PixelT commented Jun 6, 2014

I upload it on dropbox - this is my startup template.
When I write something in index.php and next save, then crashed...
https://www.dropbox.com/s/o4cv6w8s4m0iif3/start.zip

@subhaze
Copy link
Owner

subhaze commented Jun 6, 2014

Thanks!

I'll try to look into this over the weekend.

@PixelT
Copy link
Author

PixelT commented Jun 12, 2014

Hi @subhaze,

some news about it? :)

@subhaze
Copy link
Owner

subhaze commented Jun 12, 2014

When I wrote that I forgot that this weekend was my birthday weekend... So... didn't get to this :/ but, it is on my radar. I'll update this ticket as soon as I have some info to share with ya.

@subhaze
Copy link
Owner

subhaze commented Jun 13, 2014

@PixelT A small update, not really helpful right now, but figured it was worth mentioning.

I've DLed the files attached, thanks on that, and tested on my main machine with no issues, however, it's OSX. So my next step will be getting a Windows 8 VM setup and testing on it and see if I can replicate the behavior you've described.

@ghost
Copy link

ghost commented Jun 15, 2014

Same issue on the same operating system. As soon as i add a css file to cache i'm greeted with the error popup "plugin_host has exited unexpectedly, plugin functionality won't be available until Sublime Text has been restarted" and all the other installed plugins stop working as well.

@subhaze
Copy link
Owner

subhaze commented Jun 15, 2014

I grabbed the latest VM of Windows 8 on modern.ie and tested out the attached .zip project and was unable to replicate this issue. Unfortunately all the projects I've worked on with this plugin haven't caused this issue either so I've hit a road block on trying to pinpoint where the issue is arising.

@ctf0
Copy link

ctf0 commented Jun 25, 2014

currently have the same problem ,it was working just fine till last night ,opening any file cuz ST to freeze ,OSX 10.9 + ST 3062

@subhaze
Copy link
Owner

subhaze commented Jun 25, 2014

Hmm... I'm thinking this "might" be due to the last update I made via modifying files so that ST 3 would apply syntax to larger/minified CSS files.

@ctf0 did this just happen randomly or did you add any CSS framework/concat lots of CSS files into one/etc... ?

@ctf0
Copy link

ctf0 commented Jun 25, 2014

@subhaze at first it started when opening less file ,then i tried with html ,then tried with simply creating a plain new file.

@subhaze
Copy link
Owner

subhaze commented Jun 29, 2014

@ctf0 @jilves

Would it be possible to list your other plugins installed?

@ghost
Copy link

ghost commented Jun 29, 2014

This is my current setup:

    "Anaconda",
    "Autocomplete Javascript with Method Signature",
    "Better Completion",
    "Cython+",
    "DocBlockr",
    "Emmet",
    "Git",
    "GitGutter",
    "GoSublime",
    "JavaScript Console",
    "JSHint",
    "Python 3",
    "Python Improved",
    "Razor",
    "scriptcs",
    "SublimeCodeIntel",
    "SublimeREPL"

@ctf0
Copy link

ctf0 commented Jun 29, 2014

its rather big :( but here they are.
"AdvancedNewFile",
"Alignment",
"AutoFileName",
"BoundKeys",
"BracketHighlighter",
"ChangeList",
"Clickable URLs",
"Color Highlighter",
"Colorcoder",
"CSS Primer",
"CSSLint",
"DictionaryAutoComplete",
"DocBlockr",
"Emmet",
"Emmet Style Reflector",
"ExpandRegion",
"File History",
"FileBinder",
"FileDiffs",
"FindKeyConflicts",
"Goto-CSS-Declaration",
"GoToLastEdit",
"Hayaku - tools for writing CSS faster",
"Highlight-Changes",
"HighlightWords",
"jQuery",
"Keymaps",
"LESS",
"MaxPane",
"MoveText",
"MultiEditUtils",
"MultiFill",
"NFO",
"Origami",
"PackageResourceViewer",
"Pane Resizer",
"PlatformSettings",
"PowerCursors",
"PxToEm",
"Reindent on save",
"REM PX",
"Sass",
"Scroll Other Pane",
"SCSS",
"SelectNextNumber",
"SelectUntil",
"SideBarEnhancements",
"SnippetMaker",
"Sublime Bookmarks",
"SublimeCodeIntel",
"SublimeSuperSelect",
"Surround",
"Swap Selections",
"Sync View Scroll",
"SyncedSideBar",

@subhaze
Copy link
Owner

subhaze commented Jun 30, 2014

Thanks!

@subhaze
Copy link
Owner

subhaze commented Jul 13, 2014

@subhaze subhaze mentioned this issue Jul 13, 2014
@SecureCloud-biz
Copy link

I know this is closed, but I just wanted to say that I also am having the same problem.. (multiple days), i actually just looked it up, normally i just close and re-start ST3.. then good for a bit, or longer.. depends.

Same issue on the WINDOWS 7 x64 operating system. As soon as i add a file with the error popup "plugin_host has exited unexpectedly, plugin functionality won't be available until Sublime Text has been restarted" and all the other installed plugins stop working as well.

one thing i did notice, i dont know if this helps.. but on the ST3 taskbar, it said "CSS Extended: parsing file 28 of 39", and it was counting up.. 29 of 39.. you get the idea.. I think if you do anything while that "count", "cache", "parse[ing]" whatever it is, you get a plug-in error.. not sure if this narrows it down any.. i dont wanna have to un-install this plug-in.. but i dont wanna keep re-starting ST3 all the time...

also i notice on:
http://www.sublimetext.com/forum/viewtopic.php?f=3&t=16472&p=62048#p62048

it says these plug-ins...

{
"installed_packages":
[
"Better CoffeeScript",
"Clickable URLs",
"CSS Extended Completions"
]}

i DONT use "Better CoffeeScript", or "Clickable URLs", just wanted to state that... but i have a TON of other plug-ins.. it could be some compatibility issues with another plug-in... BUT... like i said.. i think it has something to do with the parsing "CSS Extended: parsing file 28 of 39", and it was counting up.. 29 of 39.. and interrupting it while that is happening.

cssextendederror

[email protected]

@subhaze
Copy link
Owner

subhaze commented Aug 21, 2014

@SecureCloud-biz Thanks for the info, would the files you're working with happen to be publicly available for me to test on. It seems like there are some files that are blowing when the index cache is being built.

@SecureCloud-biz
Copy link

sorry, you commented so quick.. i was editing above.. look at image i uploaded, i am almost positive thats where the error lies.. interrupting that process.. please re-read my above post with additions.

@SecureCloud-biz
Copy link

i dont think its the files... but i will tell you what i have going on, i have 2 groups open so i can see files side by side.. i have 5 files open on left side ([3]- .php files and [2]- untitled), on the right side 8 files open.. ([3]- untitled testing files to hold notes, i havent touched them in a while.. [4]- php files, and [1] html5 file).. it was a template file i was looking at.. i went to:
http://www.freeformatter.com/html-formatter.html

and i pasted code from ST3 into web page to format it.. then pasted it back in, and it starts automatically "parsing" now if i hit "CTRL+S" during that or change tabs.. it causes the error.. i find you have to wait until its done..

isnt there a way to put it on another thread, or if it detects change to start a re-parse automatically without error?

i noticed "plugin_host" sometimes KILLS my memory.. i have 8 gigs on my laptop, and that file sometime consumes 450,000K (in Processes tab).. i have to kill it & reopen.. but i think the underlying culprit is this CSS Extended.. causing it to mem-leak... which in turn Chrome has a competition eating memory, i'm using 5.02 gig memory as i write this.. and the only thing i have open is ST3, 1 chrome window with 25 tabs open.. (lol i know).. and Uniform Server like xampp for localhost.. i have nothing else running or open.. and normally it's not this high...

i'm just trying to help you narrow this down.

@SecureCloud-biz
Copy link

Just wanted to give an update... SOLUTION TO REPRODUCE !

Yes it's definitely this:

Image of CSSEntended_Error

like i said above.. I was working on a plain old PHP File, I hit CTRL+S to save, then it starts
counting in taskbar after a second (like image above) - parsing "CSS Extended: parsing file 28 of 39", and it was counting up.. 29 of 39.. and interrupting it while that is happening.. then error.

REPRODUCE ERROR: If you hit CTRL+S to save, let it start counting, then hit CTRL+S to save AGAIN, you will get a "plugin_host" error.. -OR- Just get it to start counting again & hit CTRL+S.

SOLUTION: You HAVE to wait for it to finish counting up (or parsing)

@subhaze , Since you are the author, maybe you could check your code to see if you can add a condition that if the parse gets interrupted, to wait & re-start ?, not error out..

SecureCloud

@subhaze
Copy link
Owner

subhaze commented Aug 28, 2014

@SecureCloud-biz Thanks for the extra details.

@subhaze
Copy link
Owner

subhaze commented Oct 18, 2014

So far I've found that ST will blow up on code that's in the format:

.some-class-here  /* some comments here*/
,.some-class-here /* some comments here*/
,.some-class-here /* some comments here*/
,.some-class-here /* some comments here*/
{

}

As well as in LESS files that has )} with no space, so... I add in a space ) } and it works fine...

@subhaze subhaze added the bug label Oct 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants