Pavel,

You say it "hangs without error."  Squeak fails silently in many situations in 
the vms and the image, so a failure to provide diagnostic info is not a new 
thought, but this sounds like a deadlock between finalization and something 
else important - at least that is what I *think* I am reading.  There might not 
be an error to report.

Not to single out Sig, but has he not been working on finalization?

I've debugged a few deadlocks over time, usually less dramatic that this, but 
my first step would be to find the processes that are involved.  In terms of 
callstacks, all but the active process will be waiting on a semaphore; the 
first step is to find the ones doing that inside of critical sections.  
Typically one of the critical sections is "too big."  The remedy can be to 
break the section into a smaller blocks, grabbing the shared resource(s) only 
needed.  Other times, I have found it necessary/expedient to add a "third 
process" that moves objects or signals from one thread to the other.  It can 
also be that one mutex is doing the work of two or more, though that usually 
arises in connection management where one protects a map of what goes where and 
then individually protects the connections (so it's 1+n mutexes rather than two 
of them - I doubt it applies here).

Bill


________________________________________
From: [email protected] 
[[email protected]] On Behalf Of Pavel Krivanek 
[[email protected]]
Sent: Friday, October 08, 2010 6:39 AM
To: [email protected]
Subject: Re: [Pharo-project] 12186 image quit problem

Hi Marcus,

is that really all what happened between 12172 and 12186?

update12186
Issue 3071: fixing timestamp tests
Issue 3068: Non portable SmalltalkImage>>platformName deprecationWarning
Issue 3063: removing explain
Issue 3039: There should not be any configuration on Core

It doesn't explain the problems with VM versions and in 12186 I cannot build 
the PharoKernel (it hangs without error in unload phase)

-- Pavel




On Fri, Oct 8, 2010 at 10:49 AM, Marcus Denker 
<[email protected]<mailto:[email protected]>> wrote:

On Oct 8, 2010, at 10:39 AM, Pavel Krivanek wrote:

> Hmm, this is the result for Linux and
> cogvm 3.9-7 and pharovm 3.10-3
>
>

can you try:

https://gforge.inria.fr/frs/download.php/27589/PharoCore-1.2-12186.zip


--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.


_______________________________________________
Pharo-project mailing list
[email protected]<mailto:[email protected]>
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to