Home Download Buy Blog Forum Support

Dev Build 3049

Re: Dev Build 3049

Postby jps on Mon Jul 22, 2013 6:35 am

3050 is out, fixing a crash introduced in 3049
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev Build 3049

Postby Narretz on Mon Jul 22, 2013 4:02 pm

e: nothing to see here
Narretz
 
Posts: 43
Joined: Mon Feb 04, 2013 5:33 pm

Re: Dev Build 3049

Postby Narretz on Mon Jul 22, 2013 4:29 pm

facelessuser wrote:It seems there is constantly stuff behind the scenes going on with plugin handling. About a month ago one of my personal plugins stopped working 100% of the time. And now on this update, it caused ST to freeze completely so I had to disable it now.

I wish I understood better what was going on behind the scenes so I could get it working again.


3049 definitely introduced a change that makes a certain package (Phpcs) crash-freeze Sublime 100% of the time whenever I try to save its settings file or when I try to put it on the ignored package list. (Win7 64bit) This also happened with other plugin's settings files, but only if phpcs was enabled. I could not reproduce the issue reliably for other plugins, though. I bet something broke / changed with API: Plugins may now call Settings.clear_on_change() within a callback from Settings.add_on_change()?
Last edited by Narretz on Mon Jul 22, 2013 7:13 pm, edited 2 times in total.
Narretz
 
Posts: 43
Joined: Mon Feb 04, 2013 5:33 pm

Re: Dev Build 3049

Postby quodlibet on Mon Jul 22, 2013 6:26 pm

facelessuser wrote:It seems there is constantly stuff behind the scenes going on with plugin handling. About a month ago one of my personal plugins stopped working 100% of the time. And now on this update, it caused ST to freeze completely so I had to disable it now.

I wish I understood better what was going on behind the scenes so I could get it working again.


Would this be ScopeHunter?

I spent the better part of an hour banging my head on the table, trying to figure out why ST crashes when I try to alter Package Control's settings. I've narrowed it down to ScopeHunter on my Windows machine, but everything works fine on Linux.

Oh, dear me...

Edit: it _does_ crash Linux as well. I can reliably crash ST 3050 on Windows XP, Ubuntu x64 & x32.
quodlibet
 
Posts: 543
Joined: Sat Jun 18, 2011 5:53 pm

Re: Dev Build 3049

Postby facelessuser on Mon Jul 22, 2013 7:33 pm

quodlibet wrote:Would this be ScopeHunter?

I spent the better part of an hour banging my head on the table, trying to figure out why ST crashes when I try to alter Package Control's settings. I've narrowed it down to ScopeHunter on my Windows machine, but everything works fine on Linux.

Oh, dear me...

Edit: it _does_ crash Linux as well. I can reliably crash ST 3050 on Windows XP, Ubuntu x64 & x32.


No, ScopeHunter is causing no problems for me at all.

The plugin I was referring to was a personal scheme modification plugin that freezes ST as soon as it loads. It used to work fine, then a month or so ago, if I locked or sleep my system and came back and logged in again, it would no longer update things. Then on the recent upgrade, ST freezes when the module gets loaded. Something behind the scene as changed, and I haven't spent any time trying to debug it yet. It is one of those things that if I had a vague idea of what changed in the plugin system, maybe I could quickly resolve the issue, but right now I don't know where to start looking, and I don't have time to right now to fix a plugin whose use is for aesthetics only.

I will try ScopeHunter on some more systems, but I can't imagine why it would be crashing things for you, and I honestly doubt I am going to be able to reproduce this. But if I do, I will let you know.
facelessuser
 
Posts: 1575
Joined: Tue Apr 05, 2011 7:38 pm

Re: Dev Build 3049

Postby sublimator on Tue Jul 23, 2013 2:55 am

I've been getting a bunch of freezes too
It is better to remain silent and be thought a fool, than to speak out and remove all doubt
sublimator
 
Posts: 649
Joined: Thu Mar 20, 2008 5:41 am

Re: Dev Build 3049

Postby jps on Tue Jul 23, 2013 5:01 am

3051 is out now, addressing a crash introduced in 3050. I'm not sure if it's related to the freezing seen above, but it may be.
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev Build 3049

Postby sublimator on Tue Jul 23, 2013 5:44 am

@facelessuser

I had some plugin that was a remnant of an experimentation in xplatform settings that misused the settings.add_on_change stuff

This was causing the freeze for me
It is better to remain silent and be thought a fool, than to speak out and remove all doubt
sublimator
 
Posts: 649
Joined: Thu Mar 20, 2008 5:41 am

Re: Dev Build 3049

Postby quodlibet on Tue Jul 23, 2013 6:01 am

On 3051, I still have the freezing that seem to be caused by ScopeHunter.

(I mispoke earlier when I said it crashed; it does actually freeze. Sorry it was late.)

Removing ScopeHunter stops the issue, which seems to be triggered by changes in the settings.

@facelessuser If I can help with the ScopeHunter issue, let me know.

Edit: are .dmp files useful to anyone?
quodlibet
 
Posts: 543
Joined: Sat Jun 18, 2011 5:53 pm

Re: Dev Build 3049

Postby sublimator on Tue Jul 23, 2013 6:07 am

@quodibilet

It's due to a change in the settings.add_on_change in build 3049, where it's looping over an ever growing list, due to adding a new listener inside a listener callback.

Jon's tweaking it to allow our old tomfoolery.

(edit: well, not really `growing` so much as in perpetual flux (well at least in the case that i hit ))
It is better to remain silent and be thought a fool, than to speak out and remove all doubt
sublimator
 
Posts: 649
Joined: Thu Mar 20, 2008 5:41 am

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 27 guests

cron