Sorry, I forget to say that all run on Windows 2012/3/23 David T. Lewis <lewis@mail.msen.com>
On Fri, Mar 23, 2012 at 02:13:57PM +0400, Denis Kudriashov wrote:
Hello.
I have standalone application with UI which hangs sometime (very *rarely*). This application has many threads which interacts with server. All interactions with server and UI activity logged.
But at hang state there are no new log entries. There are no server interactions. It looks like all VM block image stuff. ("alt ." not work too). Logs always finished at same position. I know where I should add extra logging which give me information before hang.
So I need help. What information about system can help me? What code I should use? Is somebody has same problems?
If this is Cog on Unix/Linux you can send SIGUSR1 to the VM to cause it to print a diagnostic stack trace (the Smalltalk stacks) to its output. That may give you a better idea of the source of the problem. For example, from a Unix shell use "ps -f" to identify the pid of the Cog VM process, and if the pid is 1234, then you can do "kill -SIGUSR1 1234" and a stack trace will be printed to your terminal window. (Note, a similar mechanism is present in OSProcess for use with interpreter VMs).
Dave
Application uses old cog VM (maybe one of first distributions from Eliot) and Pharo1.1. Application uses continuations actively. I want try updated VM. What version I should use? I need most reliable
cog
(not latest I think).