[Pharo-project] UI blocked
Hi guys, My 1.3 #13299 image is blocked again, but just UI not responding to any input events, while Aida web app server is running smoothly in backrgound.
From Transcript I can see that last action was a new image backup procedure, which is done simply by :
OSProcess waitForCommand: 'cp some.image some-bck.image'. This procedure is called from a background process and report to Transcript its start and end. Is there something wrong with that? Or is some interference with OSProcess semaphores? (I saw such suspicious thing once before). In any case, is there a way to unblock image now? Ctrl or Alt . doesn't help. Best regards Janko -- Janko Mivšek Aida/Web Smalltalk Web Application Server http://www.aidaweb.si
Small update: UI is responsive, just not to keyboard/mouse input. Background Aida is able to write to Transcript without a problem. So, can I unblock or restart somehow input sensors so that image will start to react to my input again? I can in theory run a script through the web from background Aida server... Best regards Janko S, Janko Mivšek piše:
Hi guys,
My 1.3 #13299 image is blocked again, but just UI not responding to any input events, while Aida web app server is running smoothly in backrgound.
From Transcript I can see that last action was a new image backup procedure, which is done simply by :
OSProcess waitForCommand: 'cp some.image some-bck.image'.
This procedure is called from a background process and report to Transcript its start and end. Is there something wrong with that? Or is some interference with OSProcess semaphores? (I saw such suspicious thing once before).
In any case, is there a way to unblock image now? Ctrl or Alt . doesn't help.
Best regards Janko
-- Janko Mivšek Svetovalec za informatiko Eranova d.o.o. Ljubljana, Slovenija www.eranova.si tel: 01 514 22 55 faks: 01 514 22 56 gsm: 031 674 565
Sensor startUp should do the thing. 2011/10/24 Janko Mivšek <janko.mivsek@eranova.si>:
Small update: UI is responsive, just not to keyboard/mouse input. Background Aida is able to write to Transcript without a problem.
So, can I unblock or restart somehow input sensors  so that image will start to react to my input again? I can in theory run a script through the web from background Aida server...
Best regards Janko
S, Janko Mivšek piše:
Hi guys,
My 1.3 #13299 image is blocked again, but just UI not responding to any input events, while Aida web app server is running smoothly in backrgound.
From Transcript I can see that last action was a new image backup procedure, which is done simply by :
  OSProcess waitForCommand: 'cp some.image some-bck.image'.
This procedure is called from a background process and report to Transcript its start and end. Is there something wrong with that? Or is some interference with OSProcess semaphores? (I saw such suspicious thing once before).
In any case, is there a way to unblock image now? Ctrl or Alt . doesn't help.
Best regards Janko
-- Janko Mivšek Svetovalec za informatiko Eranova d.o.o. Ljubljana, Slovenija www.eranova.si tel:  01 514 22 55 faks: 01 514 22 56 gsm: 031 674 565
-- Best regards, Igor Stasenko.
We will have to have a look at this event stuff. Probably beginning of the year. Stef On Oct 23, 2011, at 7:36 PM, Janko Mivšek wrote:
Hi guys,
My 1.3 #13299 image is blocked again, but just UI not responding to any input events, while Aida web app server is running smoothly in backrgound.
From Transcript I can see that last action was a new image backup procedure, which is done simply by :
OSProcess waitForCommand: 'cp some.image some-bck.image'.
This procedure is called from a background process and report to Transcript its start and end. Is there something wrong with that? Or is some interference with OSProcess semaphores? (I saw such suspicious thing once before).
In any case, is there a way to unblock image now? Ctrl or Alt . doesn't help.
Best regards Janko
-- Janko Mivšek Aida/Web Smalltalk Web Application Server http://www.aidaweb.si
S, Stéphane Ducasse piše:
We will have to have a look at this event stuff. Probably beginning of the year.
Super, thanks Stef and Igor! I also prepared hooks and a backdoor script execution via web, so that we can investigate the image even if input is blocked. So next time this will happen, you can inspect and debug my image even from your machine :) Best regards Janko
Stef
On Oct 23, 2011, at 7:36 PM, Janko Mivšek wrote:
Hi guys,
My 1.3 #13299 image is blocked again, but just UI not responding to any input events, while Aida web app server is running smoothly in backrgound.
From Transcript I can see that last action was a new image backup procedure, which is done simply by :
OSProcess waitForCommand: 'cp some.image some-bck.image'.
This procedure is called from a background process and report to Transcript its start and end. Is there something wrong with that? Or is some interference with OSProcess semaphores? (I saw such suspicious thing once before).
In any case, is there a way to unblock image now? Ctrl or Alt . doesn't help.
Best regards Janko
-- Janko Mivšek Aida/Web Smalltalk Web Application Server http://www.aidaweb.si
-- Janko Mivšek Svetovalec za informatiko Eranova d.o.o. Ljubljana, Slovenija www.eranova.si tel: 01 514 22 55 faks: 01 514 22 56 gsm: 031 674 565
excellent! I just time... Stef
We will have to have a look at this event stuff.
Probably beginning of the year.
Super, thanks Stef and Igor! I also prepared hooks and a backdoor script execution via web, so that we can investigate the image even if input is blocked. So next time this will happen, you can inspect and debug my image even from your machine :)
Best regards Janko
Stef
On Oct 23, 2011, at 7:36 PM, Janko Mivšek wrote:
Hi guys,
My 1.3 #13299 image is blocked again, but just UI not responding to any input events, while Aida web app server is running smoothly in backrgound.
From Transcript I can see that last action was a new image backup procedure, which is done simply by :
OSProcess waitForCommand: 'cp some.image some-bck.image'.
This procedure is called from a background process and report to Transcript its start and end. Is there something wrong with that? Or is some interference with OSProcess semaphores? (I saw such suspicious thing once before).
In any case, is there a way to unblock image now? Ctrl or Alt . doesn't help.
Best regards Janko
-- Janko Mivšek Aida/Web Smalltalk Web Application Server http://www.aidaweb.si
-- Janko Mivšek Svetovalec za informatiko Eranova d.o.o. Ljubljana, Slovenija www.eranova.si tel: 01 514 22 55 faks: 01 514 22 56 gsm: 031 674 565
On 10/23/11 11:36 AM, Janko Mivšek wrote:
Hi guys,
My 1.3 #13299 image is blocked again, but just UI not responding to any input events, while Aida web app server is running smoothly in backrgound.
From Transcript I can see that last action was a new image backup procedure, which is done simply by :
OSProcess waitForCommand: 'cp some.image some-bck.image'.
This procedure is called from a background process and report to Transcript its start and end. Is there something wrong with that? Or is some interference with OSProcess semaphores? (I saw such suspicious thing once before).
In any case, is there a way to unblock image now? Ctrl or Alt . doesn't help.
Best regards Janko
For what it's worth, the UI blocking also happens occasionally (not very often, but occasionally) with Squeak 3.8/Seaside 2.8. But it's easy to unblock. Just run the "screenshot" app (within Seaside), then at the top there is a "Suspend UI Process" link. Click it to suspend, then click it again to unsuspend. That almost always unblocks the UI, although occasionally I have to suspend and unsuspend a second time, not just once. But, because of the "screenshot" app is able to unblock it, the UI blocking problem has never been more than a minor inconvenience. Nevin
Nevin Pratt wrote
For what it's worth, the UI blocking also happens occasionally (not very often, but occasionally) with Squeak 3.8/Seaside 2.8. But it's easy to unblock. Just run the "screenshot" app (within Seaside), then at the top there is a "Suspend UI Process" link. Click it to suspend, then click it again to unsuspend. That almost always unblocks the UI, although occasionally I have to suspend and unsuspend a second time, not just once.
But, because of the "screenshot" app is able to unblock it, the UI blocking problem has never been more than a minor inconvenience.
Nevin
This helped me out today. And if you've disabled all of the development tools you can get the screenshot app back by putting: WAScreenshot initialize. in a st file (e.g. startScreenshot.st) then on the command line doing squeak myFrozenImage.image startScreenshot.st then going to http://127.0.0.1:8080/tools/screenshot and clicking the stop/resume links. -- View this message in context: http://forum.world.st/UI-blocked-tp3930833p4662547.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
participants (5)
-
Igor Stasenko -
Janko Mivšek -
Nevin Pratt -
Paul DeBruicker -
Stéphane Ducasse