I occasionally get Squeak into a state that it can only be killed. Any
suggestions?
Using the Squeak 4.2 all-in-one
MacOS 10.5.8
VM: Mac OS - Smalltalk [that's literally what it says!]
Image: Squeak4.2 [latest update: #10966]
here's another take on VM version:
Virtual Machine
---------------
/Users/bob/squeak/SE squeak 4.2.app/Contents/MacOS/Squeak VM Opt
Squeak3.8.1 of '28 Aug 2006' [latest update: #6747] 4.2
Mac Carbon 4.2.4b1 28-Mar-10 >45CAAEAC-5A1E-4327-9702-7973E3473FDE<
--here is what Activity Monitor thinks is going on--
Sampling process 61351 for 3 seconds with 1 millisecond of run time between
samples
Sampling completed, processing symbols...
Analysis of sampling Squeak VM Opt (pid 61351) every 1 millisecond
Call graph:
2482 Thread_2507
1856 accessibleObjectAfter
1856 accessibleObjectAfter
626 primitiveSomeInstance
626 primitiveSomeInstance
2482 Thread_2603
2482 thread_start
2482 _pthread_start
2482 TimerThread
2482 TSWaitOnSemaphoreCommon
2482 TSWaitOnConditionTimedRelative
2482 pthread_cond_timedwait_relative_np
2482 _pthread_cond_wait
2477 semaphore_timedwait_signal_trap
2477 semaphore_timedwait_signal_trap
5 _pthread_cond_wait
2482 Thread_2703
2482 thread_start
2482 _pthread_start
2482 CAPThread::Entry(CAPThread*)
2482 HALRunLoop::OwnThread(void*)
2482 CFRunLoopRunInMode
2482 CFRunLoopRunSpecific
2482 mach_msg
2482 mach_msg_trap
2482 mach_msg_trap
Total number in stack (recursive counted multiple, when >=5):
Sort by top of stack, same collapsed (when >= 5):
mach_msg_trap 2482
semaphore_timedwait_signal_trap 2477
accessibleObjectAfter 1856
primitiveSomeInstance 626
_pthread_cond_wait 5
Sample analysis of process 61351 written to file /dev/stdout
--
View this message in context: http://forum.world.st/Mac-VM-not-responding-any-ideas-tp3741250p3741250.html
Sent from the Squeak VM mailing list archive at Nabble.com.
Mariano Martínez Peck uploaded a new version of CMakeVMMaker to project VM Maker:
http://www.squeaksource.com/VMMaker/CMakeVMMaker-LaurentLaffont.135.mcz
==================== Summary ====================
Name: CMakeVMMaker-LaurentLaffont.135
Author: LaurentLaffont
Time: 15 August 2011, 3:32:15 pm
UUID: bea4ade1-62c7-420f-b9e3-ba02eaec0b0f
Ancestors: CMakeVMMaker-IgorStasenko.134
Add CogOnDebian64Config - used to build 32 bit Cog on Debian 64 bits.
Dave Lewis uploaded a new version of VMMaker to project VM Maker:
http://www.squeaksource.com/VMMaker/VMMaker-dtl.249.mcz
==================== Summary ====================
Name: VMMaker-dtl.249
Author: dtl
Time: 21 August 2011, 11:13:53 am
UUID: 330dac94-0086-48dd-84ae-496930360e4e
Ancestors: VMMaker-dtl.248
VMMaker 4.7.6
Prune unreferenced methods in plugins. Previously this was done only for interpreter classes. Useful when MemoryAccess is used in code generation, in which case unused memory access functions in plugin modules should not be generated.
Warning: Plugins that do not declare externally referenced methods (listed in #requiredMethodNames, declared as exported, or equivalent) will have those methods removed by #pruneUnreachableMethods. Externally maintained plugins may encounter this issue. If the plugin cannot be updated, then its module name should be added to InterpreterPlugin class>>doNotPruneClasses, which will disable method pruning for that class.
Currently RomePlugin is listed in #doNotPruneClasses. OSProcessPlugin and AioPlugin must be updated to their latest versions from SqueakSource (use 'VMMaker updateFromServer' or equivalent) in order to prevent required methods from being pruned.
Dave Lewis uploaded a new version of SlangBrowser to project VM Maker:
http://www.squeaksource.com/VMMaker/SlangBrowser-dtl.8.mcz
==================== Summary ====================
Name: SlangBrowser-dtl.8
Author: dtl
Time: 21 August 2011, 10:56:28 am
UUID: b4887def-e07c-480f-ae29-d85c8ffa996e
Ancestors: SlangBrowser-dtl.7
Implement #asInlinedCString and #asCString for generating source module with or without inlining.
Fix bug in #asInlinedCString: from previous update.
Dave Lewis uploaded a new version of VMConstruction-Plugins-OSProcessPlugin to project OSProcessPlugin:
http://www.squeaksource.com/OSProcessPlugin/VMConstruction-Plugins-OSProces…
==================== Summary ====================
Name: VMConstruction-Plugins-OSProcessPlugin-dtl.28
Author: dtl
Time: 21 August 2011, 10:51:32 am
UUID: 9ea173a2-8f5b-445a-b7a7-a21b182f88a3
Ancestors: VMConstruction-Plugins-OSProcessPlugin-dtl.27
OSProcessPlugin 4.4.4
Declare required method names in order to permit code generators to prune unreachable methods.
Remove UnixOSProcess>>semaphoreIndices and change various methods to use direct variable access.
Various updates to remove unreferenced methods in interpreter simulation.
Dave Lewis uploaded a new version of VMConstruction-Plugins-AioPlugin to project AioPlugin:
http://www.squeaksource.com/AioPlugin/VMConstruction-Plugins-AioPlugin-dtl.…
==================== Summary ====================
Name: VMConstruction-Plugins-AioPlugin-dtl.12
Author: dtl
Time: 21 August 2011, 10:20:23 am
UUID: 05e12df3-4bd4-4bb3-ae61-963cb41b426c
Ancestors: VMConstruction-Plugins-AioPlugin-dtl.11
AioPlugin 2.2.5
Declare #aioForward:withData:andFlags: as a required method name in order to permit code generators to prune unreachable methods.
Dave Lewis uploaded a new version of VMMaker to project VM Maker:
http://www.squeaksource.com/VMMaker/VMMaker-dtl.248.mcz
==================== Summary ====================
Name: VMMaker-dtl.248
Author: dtl
Time: 21 August 2011, 6:22:25 am
UUID: 14a77dab-9f0d-493b-88e2-eabae766e98d
Ancestors: VMMaker-dtl.247
VMMaker 4.7.5
Honor #static: pragmas (or 'self static: true' ) for interpreter classes. This is a fix for SlangTest>>testInterpDeclareStatic. With this update, all VMMaker-Tests tests are green.
Implements the following policy:
- Always honor a #static: pragma (or 'self static: true' statement).
- If not explicitly declared, defer to the code generator to determine default.
- Plugin methods are declared static by default (local to the plugin).
- Interpreter methods are declared not static by default (visible to support code).
This retains existing code generation behavior, but permits methods in the interpreter to be declared static if desired.
Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://www.squeaksource.com/VMMaker/VMMaker.oscog-eem.117.mcz
==================== Summary ====================
Name: VMMaker.oscog-eem.117
Author: eem
Time: 16 August 2011, 2:31:47 am
UUID: a21465f6-8cd9-4284-8638-c30d5de21ce9
Ancestors: VMMaker.oscog-eem.116
Cogit:
Fix bugs described in the "[Pharo-project] Troubles with #flushCache and #run:with:in:"
thread http://lists.gforge.inria.fr/pipermail/pharo-project/2011-July/050858.html.
The PIC machinery wrongly treated invoke-as-method sends as MNUs.
Closely related, finally fully implement PIC MNU cacheing where, by calling a special
abort, a PIC is able to record that a gven selector is an MNU for a particular class.
Speeds up a simple MNU benchmark by 33% (with more performance the deeper
the receiver's cass hierarchy is).
Refactor method cache flushing's interface with the Cogit. If doesNotUnderstand: is
ever redefined all closed PICs with MNU cases must be discarded.
Change type of JumpLong: and JumpRT args for fewer casts.
Comment typos (cePushImplicitReceiver => ceImplicitReceiver).
CoInterpreter:
fix receivers in primitiveClone. Fix assert failure in cloneContext: by avoiding
ObjectMemory>>clone:.
refactor printOopShort: and use this in new printMethodDictionary(Of), and
also in findString.
Slang: Fix translation of $' which needs to become '\''.
Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://www.squeaksource.com/VMMaker/VMMaker.oscog-eem.118.mcz
==================== Summary ====================
Name: VMMaker.oscog-eem.118
Author: eem
Time: 17 August 2011, 4:40:20 am
UUID: 3b55b5fa-083b-4528-acc2-bb5f7aa1a3fe
Ancestors: VMMaker.oscog-eem.117
Fix bug in checkIfValidObjectRefAndTarget: for the Newspeak VM.
Fix assert uses of methodClassAssociationOf: to
noAssertMethodClassAssociationOf: in cases where a CogMethod's
objectHeader may be invalid (i.e. during relocation).
Fix some local variable name conflicts with globals.
Add a longPrintOop: that printOopShort's pointer fields.
In the Newspeak VM hook up an anonymous method with one of its
cogged forms if its original cogged method has been freed.
Make the leak checker a little more informative.
Use super for CoInterpreterMT>>loadInitialContext.
Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://www.squeaksource.com/VMMaker/VMMaker.oscog-eem.119.mcz
==================== Summary ====================
Name: VMMaker.oscog-eem.119
Author: eem
Time: 19 August 2011, 1:57:15 am
UUID: dedbaf07-59d6-4a97-b10a-af8a7f631287
Ancestors: VMMaker.oscog-eem.118
CoInterpreter/StackInterpreter:
Fix object accessing prims (at:, at:put: & size 60, 61 & 612) for contexts, because
primitives 60-62 are used for the mirror primitives in ContextPart (object:at: et al).
Fix now obsolete, but still used primitiveContextAt et al (primitives 210, 211 & 212)
to be varargs, since these might also be used from mirror primitives. Pull the
temporary:in:[put:] code into a non-inlined wrapper to avoid bloating the common
case.
Cogit/CogObjectRepresentationForSqueakV3:
Fix genInnerPrimitiveAt: & genInnerPrimitiveSize to fail for context receivers.
Fix genInnerPrimitiveAt:, genInnerPrimitiveStringAt: & genInnerPrimitiveSize to
call the interpereter primitive on failure, to get the error code (not yet avoiding
the call if the method doesn't use the error code; one thing at a time).
Add symbolic constants for accessing instSpec/formatOfHeader:. Make these
and their analogues for compact class index access macros.
Slang:
Fix TStmtListNode as-expression output for the forst or: in InterpreterPrimitives>
primitiveSize.