[squeak-dev] Re: Troubleshooting and/or recovering from VM hang?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: Troubleshooting and/or recovering from VM hang?

Jerome Peace
[squeak-dev] Troubleshooting and/or recovering from VM hang?

Hi Phil,

Some things you need to know.
1) The changes file will have much of your lost data.
2) PasteUpMorph>>addedOrRemovedSubmorph: can not be understood
because the method was depricated (replaced by #privateInvalidateMorph:)
at the beginning of 3.9.  And apparently removed at some later point.

The deprecated and removed method was specifically:

Morph>>addedOrRemovedSubmorph: aMorph
        self deprecated:'Use #privateInvalidateMorph: instead'.
        ^self privateInvalidateMorph: aMorph "which is the equvivalent here"

You have  either some old code or some branch code mixed in with 3.10.2.

Next steps:
Describe exactly how to recreate the problem from a fresh 3.10.2 image
(what did you load/change etc)
The tail of changes files will help remind you.
I find it helpful to search down to the name of my disk drive (which is somewhat unique).
That demarks where the system stuff ends and my own modifications begin.

Troubleshooting:
Look for packages you loaded that were meant for 3.8 or earlier.
Look in the image for senders of the offending message #addedOrRemovedSubmorph:

The vm is probably doing what it ought but everytime the image tries to raise a debug window
it is probably running into the DNU which causes an infinite debug loop.

That debug malbehavior is high on my desirable targets list for bug repair.
It hasn't been tackled yet because I have no idea where to look.
Maybe, if we get lucky, someone with more experience will drop a clue.

hth,

yours in service and curiosity, --Jerome Peace


***

>Phil pbpublist at gmail.com
>Sat Sep 13 21:52:27 UTC 2008
>
>
>My VM appears to be hung while attempting to opening a Morphic project
>file and after several minutes of 100% utilization on a single core, the
>CPU usage has dropped back to 0%, the VM/image is unresponsive (VM
>screen is frozen, cmd-. has no effect) and the attached log file was
>written.  Just curious if there's anything I can do at this point to
>recover, if there's any data I should be capturing and passing along to
>someone that would be helpful, or if I just need to restart the VM?
>
>Thanks,
>Phil
>
>-------------- next part --------------
>MessageNotUnderstood: PasteUpMorph>>addedOrRemovedSubmorph:
>13 September 2008 5:42:14 pm
***

VM: Mac OS - a SmalltalkImage
Image: Squeak3.10.2 [latest update: #7179]




     

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Troubleshooting and/or recovering from VM hang?

Phil B
Jerome,

Thanks for the information-packed reply.  I'll also send a private  
email with a couple of attachments (a screenshot and the .pr file) as  
to not congest the list, but what I did was pretty straight-forward...

On Sep 14, 2008, at 10:26 PM, Jerome Peace wrote:

> Next steps:
> Describe exactly how to recreate the problem from a fresh 3.10.2 image
> (what did you load/change etc)

I'm attempting to load a rather old Morphic project file (obtained  
from http://wiki.squeak.org/squeak/1773) which results in the error:
1) From a vanilla 3.10.2 image, it doesn't hang but rather appears to  
crash (pops up a *** System Error handling failed *** window)
2) From the latest vanilla developer image from http://damien.cassou.free.fr/squeak-dev.html 
  (which is what I was running) I get the hang.

>
> The tail of changes files will help remind you.
> I find it helpful to search down to the name of my disk drive (which  
> is somewhat unique).
> That demarks where the system stuff ends and my own modifications  
> begin.
>
> Troubleshooting:
> Look for packages you loaded that were meant for 3.8 or earlier.
> Look in the image for senders of the offending message  
> #addedOrRemovedSubmorph:
>

Am I correct in assuming this information wouldn't be relevant since I  
can reproduce with standard images?

> The vm is probably doing what it ought but everytime the image tries  
> to raise a debug window
> it is probably running into the DNU which causes an infinite debug  
> loop.

Just curious... DNU?

>
>
> That debug malbehavior is high on my desirable targets list for bug  
> repair.
> It hasn't been tackled yet because I have no idea where to look.
> Maybe, if we get lucky, someone with more experience will drop a clue.

>
>
> hth,
>
> yours in service and curiosity, --Jerome Peace
>


Thanks,
Phil

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Troubleshooting and/or recovering from VM hang?

Edgar J. De Cleene



El 9/15/08 3:31 AM, "pbpublist (gmail)" <[hidden email]> escribió:

> I'm attempting to load a rather old Morphic project file (obtained
> from http://wiki.squeak.org/squeak/1773) which results in the error:
If you like have Connectors, should go to SqueakMap and load
Connectors-nk.187.mcz, marked as 3.8 but I use on FunSqueak which is 3dot10
loaded with many old and new packages, see http://www.squeak.org/Download/

Edgar