4.6 regression: stepping Through locks the image solid

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

4.6 regression: stepping Through locks the image solid

Chris Muller-4
Today I noticed Preferences #serverMode.  I've never used it, is this
still useful?

I decided to try setting it in one of my servers to see if it had any
effect on its performance.

   Preferences serverMode  "false"
   Preferences serverMode: true    "DNU"
   Preferences setPreference: #serverMode toValue: true.  "do it"
   Preferences serverMode  "false.  Huh?"
   Preferences setPreference: #serverMode toValue: true.    "debug it"

In the debugger, select Into + Into + Through.

It works fine in the 4.5 image, but trunk locks up tightly.

It may be due to called code entering a critical: section but I'm not
sure.  Based on what Marcel described re: extending "Processor
activeProcess" to return the effective process, is definitely a
suspect..

This is a pretty bad regression from 4.5, because Mutexes are very
common and so the image should could easily lock just by normal
debugging activity..

Reply | Threaded
Open this post in threaded view
|

Re: 4.6 regression: stepping Through locks the image solid

marcel.taeumel
Its only use is in WorldState >> interCyclePause: and should fix a freezing bug as described here: http://bugs.squeak.org/view.php?id=6581

Best,
Marcel