So, this is related to thread-safe transcript code.. which using semaphore to synchronize access to transcript stream. I guess what happens is that a semaphore is blocked in another process, but for some strange reason never released. This leads to situation, that any other process which will attempt to write to transcript will be blocked as well.. forever. 2012/4/21 Janko Mivšek <janko.mivsek@eranova.si>:
Hi guys,
It seems that writing to Transcript from background process causes my freeze after restart. And yes, I have Transcript window open.
This is a code snippet in question:
AIDASite class>>imageSnapshot  ...  elapsed := Time millisecondsToRun:   [SmalltalkImage current saveSession].  Transcript show: ' in ', (elapsed // 1000) printString, 's '.
If I comment out the last line, snapshot doesn't block the image after restart.
This is not necessary 1.4 specific problem, because I noticed similar problem in 1.3 also. Just that on 1.3 input freezes immediately while on 1.4 it freezes after restart.
Let me investigate a bit further, what if Transcript window is not open?
Best regards Janko
Dne 20. 04. 2012 21:42, piše Stéphane Ducasse:
Ok may be nautilus bug. It should be different than janko problem.
Stef
On Apr 20, 2012, at 9:39 PM, Sean P. DeNigris wrote:
Stéphane Ducasse wrote
on which os?
Mac Lion 10.7.3
-- View this message in context: http://forum.world.st/Unresponsive-1-4-image-tp4574693p4575049.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
-- Janko Mivšek Aida/Web Smalltalk Web Application Server http://www.aidaweb.si
-- Best regards, Igor Stasenko.