Able to hang the Squeak UI

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

Able to hang the Squeak UI

Charles Dow
When I am debugging a Seaside app using the browser, I am often able to
hang the Squeak UI; my mouse works, the app will still run using the
browser but I am unable to regain control of the Squeak image,
consequently I have to exit Squeak and restart.  I would appreciate your
help.

Regards

Charles
P.S.  The Seaside framework is truly awesome and to-date a fairly well
kept secret but that will change. Kudos to Avi and the rest.
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Able to hang the Squeak UI

Philippe Marschall
2007/7/3, Charles Dow <[hidden email]>:
> When I am debugging a Seaside app using the browser, I am often able to
> hang the Squeak UI; my mouse works, the app will still run using the
> browser but I am unable to regain control of the Squeak image,
> consequently I have to exit Squeak and restart.  I would appreciate your
> help.

Are you seeing 100% cpu load or no load at all. One very commong bug
is ui-freezing. Sometimes the ui can be made working again be
registering the WAScreenshot seaside application and suspending and
resuming the UI Process several times.

Sometimes when the UI freezes Alt+. also helps.

Philippe

> Regards
>
> Charles
> P.S.  The Seaside framework is truly awesome and to-date a fairly well
> kept secret but that will change. Kudos to Avi and the rest.
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Able to hang the Squeak UI

Martial Boniou
In reply to this post by Charles Dow
It's a common problem. I can't help you now but you can save your access
and regain a usable image by using the screenshot application
WAScreenshot in the tools section with a web browser. Here you can
restart the suspended UI display by clicking on 'Resume UI Process'.

Cheers,

--
Martial

On Wed, 2007-07-04 at 02:10 +0800, Charles Dow wrote:

> When I am debugging a Seaside app using the browser, I am often able to
> hang the Squeak UI; my mouse works, the app will still run using the
> browser but I am unable to regain control of the Squeak image,
> consequently I have to exit Squeak and restart.  I would appreciate your
> help.
>
> Regards
>
> Charles
> P.S.  The Seaside framework is truly awesome and to-date a fairly well
> kept secret but that will change. Kudos to Avi and the rest.
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Able to hang the Squeak UI

Lukas Renggli
> It's a common problem. I can't help you now but you can save your access
> and regain a usable image by using the screenshot application
> WAScreenshot in the tools section with a web browser. Here you can
> restart the suspended UI display by clicking on 'Resume UI Process'.

I fixed this very problem this afternoon. Load the latest version of
Seaside 2.8a1.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: Able to hang the Squeak UI

Ron Teitelbaum
What did you find?  What did you fix?

Ron

> -----Original Message-----
> From: [hidden email] [mailto:seaside-
> [hidden email]] On Behalf Of Lukas Renggli
> Sent: Tuesday, July 03, 2007 3:23 PM
> To: Seaside - general discussion
> Subject: Re: [Seaside] Able to hang the Squeak UI
>
> > It's a common problem. I can't help you now but you can save your access
> > and regain a usable image by using the screenshot application
> > WAScreenshot in the tools section with a web browser. Here you can
> > restart the suspended UI display by clicking on 'Resume UI Process'.
>
> I fixed this very problem this afternoon. Load the latest version of
> Seaside 2.8a1.
>
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Able to hang the Squeak UI

Lukas Renggli
> What did you find?  What did you fix?

The variable semaphore in WAProcessMonitor>>#critical:ifError: has to
be an instance-variable, even so it is only used within this method.

This was changed some time ago, as it seemed to be more natural to
make it a temp-var. However this introduced a subtle regression with
continuations causing the lock not to be released in some situations
with the debugger. The issue is now documented in the method itself
and should not occur anymore!

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Able to hang the Squeak UI

Philippe Marschall
2007/7/3, Lukas Renggli <[hidden email]>:

> > What did you find?  What did you fix?
>
> The variable semaphore in WAProcessMonitor>>#critical:ifError: has to
> be an instance-variable, even so it is only used within this method.
>
> This was changed some time ago, as it seemed to be more natural to
> make it a temp-var. However this introduced a subtle regression with
> continuations causing the lock not to be released in some situations
> with the debugger. The issue is now documented in the method itself
> and should not occur anymore!

This class should have a comment 'here be dragons'. I don't know how
many times I found out it didn't work the way I thought. I surely
wouldn't miss it if we could get rid of it. Great work!

Philippe

> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Able to hang the Squeak UI

Martial Boniou
In reply to this post by Lukas Renggli
Good job! Standing ovation!

--
Martial

On Tue, 2007-07-03 at 22:00 +0200, Lukas Renggli wrote:

> > What did you find?  What did you fix?
>
> The variable semaphore in WAProcessMonitor>>#critical:ifError: has to
> be an instance-variable, even so it is only used within this method.
>
> This was changed some time ago, as it seemed to be more natural to
> make it a temp-var. However this introduced a subtle regression with
> continuations causing the lock not to be released in some situations
> with the debugger. The issue is now documented in the method itself
> and should not occur anymore!
>
> Lukas
>

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: Able to hang the Squeak UI

Ron Teitelbaum
In reply to this post by Lukas Renggli
That's fantastic.  Thanks for finding it!!

Ron

> -----Original Message-----
> From: Lukas Renggli [mailto:[hidden email]]
> Sent: Tuesday, July 03, 2007 4:01 PM
> To: [hidden email]; Seaside - general discussion
> Subject: Re: [Seaside] Able to hang the Squeak UI
>
> > What did you find?  What did you fix?
>
> The variable semaphore in WAProcessMonitor>>#critical:ifError: has to
> be an instance-variable, even so it is only used within this method.
>
> This was changed some time ago, as it seemed to be more natural to
> make it a temp-var. However this introduced a subtle regression with
> continuations causing the lock not to be released in some situations
> with the debugger. The issue is now documented in the method itself
> and should not occur anymore!
>
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside