Syntax Error window locks up image

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
jrm
Reply | Threaded
Open this post in threaded view
|

Syntax Error window locks up image

jrm
What causes a window like this to appear?
Why does it lock up the image?
The problem occurred in an image that was running unattended using #Delay to run a method every hour. The application is in development but it has been running on schedule for a month or so without any problems.

I do save and restart the image occasionally.

--
jrm




SqueakSyntaxError.png (139K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Syntax Error window locks up image

marcel.taeumel
Hi John-Reed,

can you tell us more about that method your are running every hour?

Syntax errors are as tricky as debuggers. They actually use a debugger internally to interrupt the current (i.e. the compiler's/parser's) control flow and offer interactive means to fix syntax to then continue compilation.

Considering interactive syntax correction, I am not sure whether compilation is safe in processes other than the UI process.

Did you try hitting [CMD]+[Dot] in that case?

Best,
Marcel

Am 12.02.2021 06:00:11 schrieb John-Reed Maffeo <[hidden email]>:

What causes a window like this to appear?
Why does it lock up the image?
The problem occurred in an image that was running unattended using #Delay to run a method every hour. The application is in development but it has been running on schedule for a month or so without any problems.

I do save and restart the image occasionally.

--
jrm



Reply | Threaded
Open this post in threaded view
|

Re: Syntax Error window locks up image

timrowledge


> On 2021-02-12, at 12:33 AM, Marcel Taeumel <[hidden email]> wrote:
>
> Hi John-Reed,
>
> can you tell us more about that method your are running every hour?

My first thought on seeing the screenshot was that the source file is mucked up somehow; looks like it was trying to compile some part of the method header that ought to be ignored.

I remember in the far distant past having problems of that sort when Windows got its nsty little fingers in the pie and converted Rc to CRLF and thus broke all the source pointers.


tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Useful random insult:- A room temperature IQ.



jrm
Reply | Threaded
Open this post in threaded view
|

Re: Syntax Error window locks up image

jrm
In reply to this post by marcel.taeumel
CMD]+[Dot] interrupt was the first thing I tried.

At this point it is not repeatable so I don't think there is anything I can do other that keep an eye out for it.

the method that is run every hour is setup to run a method to do some work and then spawn a block with an hour delay which runs the method again when the delay elapses.
-jrm

On Fri, Feb 12, 2021 at 1:33 AM Marcel Taeumel <[hidden email]> wrote:
Hi John-Reed,

can you tell us more about that method your are running every hour?

Syntax errors are as tricky as debuggers. They actually use a debugger internally to interrupt the current (i.e. the compiler's/parser's) control flow and offer interactive means to fix syntax to then continue compilation.

Considering interactive syntax correction, I am not sure whether compilation is safe in processes other than the UI process.

Did you try hitting [CMD]+[Dot] in that case?

Best,
Marcel

Am 12.02.2021 06:00:11 schrieb John-Reed Maffeo <[hidden email]>:

What causes a window like this to appear?
Why does it lock up the image?
The problem occurred in an image that was running unattended using #Delay to run a method every hour. The application is in development but it has been running on schedule for a month or so without any problems.

I do save and restart the image occasionally.

--
jrm




--
John-Reed Maffeo


Reply | Threaded
Open this post in threaded view
|

Re: Syntax Error window locks up image

marcel.taeumel
the method that is run every hour is setup to run a method to
> do some work and then spawn a block with an hour delay
> which runs the method again when the delay elapses.

Ah, so you do not compile code in that method. Hmm...

Am 13.02.2021 17:58:50 schrieb John-Reed Maffeo <[hidden email]>:

CMD]+[Dot] interrupt was the first thing I tried.

At this point it is not repeatable so I don't think there is anything I can do other that keep an eye out for it.

the method that is run every hour is setup to run a method to do some work and then spawn a block with an hour delay which runs the method again when the delay elapses.
-jrm

On Fri, Feb 12, 2021 at 1:33 AM Marcel Taeumel <[hidden email]> wrote:
Hi John-Reed,

can you tell us more about that method your are running every hour?

Syntax errors are as tricky as debuggers. They actually use a debugger internally to interrupt the current (i.e. the compiler's/parser's) control flow and offer interactive means to fix syntax to then continue compilation.

Considering interactive syntax correction, I am not sure whether compilation is safe in processes other than the UI process.

Did you try hitting [CMD]+[Dot] in that case?

Best,
Marcel

Am 12.02.2021 06:00:11 schrieb John-Reed Maffeo <[hidden email]>:

What causes a window like this to appear?
Why does it lock up the image?
The problem occurred in an image that was running unattended using #Delay to run a method every hour. The application is in development but it has been running on schedule for a month or so without any problems.

I do save and restart the image occasionally.

--
jrm




--
John-Reed Maffeo


Reply | Threaded
Open this post in threaded view
|

Re: Syntax Error window locks up image

marcel.taeumel
I just noticed "Squeak 5.2" in that screenshot. Yes, we fixed that issue in 5.3 and restart all those processes through the release builder. That particular compiled method in the screenshot was apparently very old and out-of-sync with the .sources file.

http://forum.world.st/The-Trunk-Kernel-mt-1211-mcz-td5093956.html
http://forum.world.st/The-Trunk-Kernel-eem-1273-mcz-td5105160.html

Best,
Marcel

Am 16.02.2021 15:54:50 schrieb Marcel Taeumel <[hidden email]>:

the method that is run every hour is setup to run a method to
> do some work and then spawn a block with an hour delay
> which runs the method again when the delay elapses.

Ah, so you do not compile code in that method. Hmm...

Am 13.02.2021 17:58:50 schrieb John-Reed Maffeo <[hidden email]>:

CMD]+[Dot] interrupt was the first thing I tried.

At this point it is not repeatable so I don't think there is anything I can do other that keep an eye out for it.

the method that is run every hour is setup to run a method to do some work and then spawn a block with an hour delay which runs the method again when the delay elapses.
-jrm

On Fri, Feb 12, 2021 at 1:33 AM Marcel Taeumel <[hidden email]> wrote:
Hi John-Reed,

can you tell us more about that method your are running every hour?

Syntax errors are as tricky as debuggers. They actually use a debugger internally to interrupt the current (i.e. the compiler's/parser's) control flow and offer interactive means to fix syntax to then continue compilation.

Considering interactive syntax correction, I am not sure whether compilation is safe in processes other than the UI process.

Did you try hitting [CMD]+[Dot] in that case?

Best,
Marcel

Am 12.02.2021 06:00:11 schrieb John-Reed Maffeo <[hidden email]>:

What causes a window like this to appear?
Why does it lock up the image?
The problem occurred in an image that was running unattended using #Delay to run a method every hour. The application is in development but it has been running on schedule for a month or so without any problems.

I do save and restart the image occasionally.

--
jrm




--
John-Reed Maffeo


jrm
Reply | Threaded
Open this post in threaded view
|

Re: Syntax Error window locks up image

jrm
Marcel,
Thanks!
-jrm

On Tue, Feb 16, 2021 at 8:08 AM Marcel Taeumel <[hidden email]> wrote:
I just noticed "Squeak 5.2" in that screenshot. Yes, we fixed that issue in 5.3 and restart all those processes through the release builder. That particular compiled method in the screenshot was apparently very old and out-of-sync with the .sources file.


Best,
Marcel

Am 16.02.2021 15:54:50 schrieb Marcel Taeumel <[hidden email]>:

the method that is run every hour is setup to run a method to
> do some work and then spawn a block with an hour delay
> which runs the method again when the delay elapses.

Ah, so you do not compile code in that method. Hmm...

Am 13.02.2021 17:58:50 schrieb John-Reed Maffeo <[hidden email]>:

CMD]+[Dot] interrupt was the first thing I tried.

At this point it is not repeatable so I don't think there is anything I can do other that keep an eye out for it.

the method that is run every hour is setup to run a method to do some work and then spawn a block with an hour delay which runs the method again when the delay elapses.
-jrm

On Fri, Feb 12, 2021 at 1:33 AM Marcel Taeumel <[hidden email]> wrote:
Hi John-Reed,

can you tell us more about that method your are running every hour?

Syntax errors are as tricky as debuggers. They actually use a debugger internally to interrupt the current (i.e. the compiler's/parser's) control flow and offer interactive means to fix syntax to then continue compilation.

Considering interactive syntax correction, I am not sure whether compilation is safe in processes other than the UI process.

Did you try hitting [CMD]+[Dot] in that case?

Best,
Marcel

Am 12.02.2021 06:00:11 schrieb John-Reed Maffeo <[hidden email]>:

What causes a window like this to appear?
Why does it lock up the image?
The problem occurred in an image that was running unattended using #Delay to run a method every hour. The application is in development but it has been running on schedule for a month or so without any problems.

I do save and restart the image occasionally.

--
jrm




--
John-Reed Maffeo



--
John-Reed Maffeo