Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Hello,
On Pharo4, when I type the command: OSProcess waitForCommand: 'ls' it locks the image, I can get back control with [Alt]-. With the same image and VM, this command was previously working, even called from a Seaside component. Any idea? Thanks Hilaire -- Dr. Geo http://drgeo.eu |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I have no idea why it happens but sometimes OSProcess resumes working after doing a
OSProcessAccessor initialize. in a workspace..... Hope this helps
... [show rest of quote]
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Hi Paul,
Thanks for the tips. My image was running for days with the computer going to sleep regularly. Restarting the image solved the problem. Hilaire Le 15/10/2016 à 20:00, Paul DeBruicker a écrit : > I have no idea why it happens but sometimes OSProcess resumes working after > doing a > > OSProcessAccessor initialize. > > in a workspace..... > > > Hope this helps > > -- Dr. Geo http://drgeo.eu |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
On Wed, Oct 19, 2016 at 10:03:15PM +0200, Hilaire wrote:
> Hi Paul, > > Thanks for the tips. > My image was running for days with the computer going to sleep > regularly. Restarting the image solved the problem. That is interesting and helpful, thanks. The process that receives notification of child process exit (unix SIGCHLD signal) spends most of its time waiting on a semaphore with timeout, see UnixOSProcessAccessor>>grimReaperProcess. Maybe there is some kind of issue with the timeout if the image is paused while the computer is put to sleep. Dave > > Hilaire > > Le 15/10/2016 ? 20:00, Paul DeBruicker a ?crit : > > I have no idea why it happens but sometimes OSProcess resumes working after > > doing a > > > > OSProcessAccessor initialize. > > > > in a workspace..... > > > > > > Hope this helps > > > > > > -- > Dr. Geo > http://drgeo.eu > ... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In reply to this post by Paul DeBruicker
Am 15.10.16 um 20:00 schrieb Paul DeBruicker:
> I have no idea why it happens but sometimes OSProcess resumes working after > doing a > > OSProcessAccessor initialize. > > in a workspace..... > > > Hope this helps It did help *me*, thanks for sharing this on the list. I just had the same issue (like described from Hilaire below) in a new Pharo 6.1 image. It locked the image and left a zombie process. "OSProcessAccessor initialize" did the trick. Cheers, Andreas > > > > > HilaireFernandes wrote >> Hello, >> >> On Pharo4, when I type the command: >> >> OSProcess waitForCommand: 'ls' >> >> it locks the image, I can get back control with [Alt]-. >> >> With the same image and VM, this command was previously working, even >> called from a Seaside component. >> >> Any idea? >> >> Thanks >> >> Hilaire >> >> -- >> Dr. Geo >> http://drgeo.eu > > > > > > -- > View this message in context: http://forum.world.st/OSProcess-lock-image-tp4918923p4918935.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > > ... [show rest of quote] -- Andreas Brodbeck www.mindclue.ch |
Free forum by Nabble | Edit this page |