Hi all,
My shrink script seems pretty good at flushing out bugs. After finding a few issues in the image code, I started hitting this VM crash consistently.
Colin
sweep failed to find exact end of memory
Squeak VM version: 4.0 4.0.2776 Mac OS X built on Aug 22 2013 10:08:05 Compiler: 4.2.1 (Apple Inc. build 5666) (dot 3) [Production VM] Built from: CoInterpreter VMMaker.oscog-eem.331 uuid: 37d2e4b0-2f37-4e2d-8313-c63637785e59 Aug 22 2013 With: StackToRegisterMappingCogit VMMaker.oscog-eem.333 uuid: 84da9cb8-7f30-4cb7-b4fb-239a11f63b54 Aug 22 2013 Revision: VM: r2776 http://www.squeakvm.org/svn/squeak/branches/Cog Plugins: r2545 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins
C stack backtrace: 0 Squeak 0x000700a1 reportStackState + 145 1 Squeak 0x0007037a error + 26 2 Squeak 0x000ea831 fullGC + 689 3 Squeak 0x000f7460 primitiveFullGC + 64 4 ??? 0x048c10a3 0x0 + 76288163 5 Squeak 0x00101d9a interpret + 2970 6 Squeak 0x0005ee00 EventLoopEventHandler + 144 7 HIToolbox 0x915d5eb9 _Z22_InvokeEventHandlerUPPP25OpaqueEventHandlerCallRefP14OpaqueEventRefPvPFlS0_S2_S3_E + 36 8 HIToolbox 0x9142964f _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1452 9 HIToolbox 0x91428968 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 386 10 HIToolbox 0x914287e0 SendEventToEventTargetWithOptions + 94 11 HIToolbox 0x9145c6a9 _ZL29ToolboxEventDispatcherHandlerP25OpaqueEventHandlerCallRefP14OpaqueEventRefPv + 1757 12 HIToolbox 0x91429a95 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 2546 13 HIToolbox 0x91428968 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 386 14 HIToolbox 0x9143baf1 SendEventToEventTarget + 88 15 HIToolbox 0x915d55a3 ToolboxEventDispatcher + 82 16 HIToolbox 0x915d5463 RunApplicationEventLoop + 240 17 Squeak 0x0005e61a RunApplicationEventLoopWithSqueak + 218 18 Squeak 0x000706e2 main + 690 19 Squeak 0x00002486 start + 54
Smalltalk stack dump: 0xbffb8270 M SmalltalkImage>garbageCollect 0x4c4487c: a(n) SmalltalkImage 0xbffb8294 I Symbol class>compactSymbolTable 0x4c0e120: a(n) Symbol class 0xbffb82b4 I Symbol class>cleanUp 0x4c0e120: a(n) Symbol class 0xbffb82d4 I Symbol class(Behavior)>cleanUp: 0x4c0e120: a(n) Symbol class 0xbffb82f4 M [] in SmalltalkImage>cleanUp:except: 0x4c4487c: a(n) SmalltalkImage 0xbffb832c M [] in OrderedCollection(Collection)>do:displayingProgress:every: 0x58fe240: a(n) OrderedCollection 0xbffb834c M OrderedCollection>do: 0x58fe240: a(n) OrderedCollection 0xbffb8384 I [] in OrderedCollection(Collection)>do:displayingProgress:every: 0x58fe240: a(n) OrderedCollection 0xbffb83ac M [] in MorphicUIManager>displayProgress:at:from:to:during: 0x4d97048: a(n) MorphicUIManager 0xbffb83c8 M BlockClosure>on:do: 0x58fe8c8: a(n) BlockClosure 0xbffb7228 M [] in MorphicUIManager>displayProgress:at:from:to:during: 0x4d97048: a(n) MorphicUIManager 0xbffb7248 M BlockClosure>ensure: 0x58fe834: a(n) BlockClosure 0xbffb726c M MorphicUIManager>displayProgress:at:from:to:during: 0x4d97048: a(n) MorphicUIManager 0xbffb72a0 I ProgressInitiationException>defaultResumeValue 0x58fe3e0: a(n) ProgressInitiationException 0xbffb72c4 I ProgressInitiationException(Exception)>resume 0x58fe3e0: a(n) ProgressInitiationException 0xbffb72e4 I ProgressInitiationException>defaultAction 0x58fe3e0: a(n) ProgressInitiationException 0xbffb7300 M UndefinedObject>handleSignal: 0x4900004: a(n) UndefinedObject 0xbffb7320 M MethodContext(ContextPart)>handleSignal: 0x57051f8: a(n) MethodContext 0xbffb7340 M MethodContext(ContextPart)>handleSignal: 0x56fdc44: a(n) MethodContext 0xbffb7360 M MethodContext(ContextPart)>handleSignal: 0x58fe4d0: a(n) MethodContext 0xbffb7380 M MethodContext(ContextPart)>handleSignal: 0x58f5844: a(n) MethodContext 0xbffb739c M ProgressInitiationException(Exception)>signal 0x58fe3e0: a(n) ProgressInitiationException 0xbffb73bc I ProgressInitiationException>display:at:from:to:during: 0x58fe3e0: a(n) ProgressInitiationException 0xbffaead4 I ProgressInitiationException class>display:at:from:to:during: 0x4da0354: a(n) ProgressInitiationException class 0xbffaeb08 I ByteString(String)>displayProgressAt:from:to:during: 0x543d590: a(n) ByteString 0xbffaeb38 I ByteString(String)>displayProgressFrom:to:during: 0x543d590: a(n) ByteString 0xbffaeb70 I OrderedCollection(Collection)>do:displayingProgress:every: 0x58fe240: a(n) OrderedCollection 0xbffaeb9c I OrderedCollection(Collection)>do:displayingProgress: 0x58fe240: a(n) OrderedCollection 0xbffaebc8 I SmalltalkImage>cleanUp:except: 0x4c4487c: a(n) SmalltalkImage 0xbffb6a68 I SmalltalkImage>cleanUp: 0x4c4487c: a(n) SmalltalkImage 0xbffb6a90 I UndefinedObject()>? 0x4900004: a(n) UndefinedObject 0xbffb6ab4 M Compiler>evaluateCue:ifFail: 0x58f6408: a(n) Compiler 0xbffb6ad8 M Compiler>evaluateCue:ifFail:logged: 0x58f6408: a(n) Compiler 0xbffb6b00 M Compiler>evaluate:in:to:notifying:ifFail:logged: 0x58f6408: a(n) Compiler 0xbffb6b30 M Compiler class>evaluate:for:notifying:logged: 0x4e295e4: a(n) Compiler class 0xbffb6b58 M Compiler class>evaluate:for:logged: 0x4e295e4: a(n) Compiler class 0xbffb6b7c M Compiler class>evaluate:logged: 0x4e295e4: a(n) Compiler class 0xbffb6bac I [] in MultiByteFileStream(PositionableStream)>fileInAnnouncing: 0x58dbfec: a(n) MultiByteFileStream 0xbffb6bc8 M BlockClosure>on:do: 0x58f581c: a(n) BlockClosure 0xbffb5ad8 I [] in MultiByteFileStream(PositionableStream)>fileInAnnouncing: 0x58dbfec: a(n) MultiByteFileStream 0xbffb5b00 M [] in MorphicUIManager>displayProgress:at:from:to:during: 0x4d97048: a(n) MorphicUIManager 0xbffb5b1c M BlockClosure>on:do: 0x58dce0c: a(n) BlockClosure 0xbffb5b50 I [] in MorphicUIManager>displayProgress:at:from:to:during: 0x4d97048: a(n) MorphicUIManager 0xbffb5b70 M BlockClosure>ensure: 0x58dcd78: a(n) BlockClosure 0xbffb5b9c I MorphicUIManager>displayProgress:at:from:to:during: 0x4d97048: a(n) MorphicUIManager 0xbffb5bd0 I ProgressInitiationException>defaultResumeValue 0x58dcab4: a(n) ProgressInitiationException 0xbffb61f4 I ProgressInitiationException(Exception)>resume 0x58dcab4: a(n) ProgressInitiationException 0xbffb6214 I ProgressInitiationException>defaultAction 0x58dcab4: a(n) ProgressInitiationException 0xbffb6238 I UndefinedObject>handleSignal: 0x4900004: a(n) UndefinedObject 0xbffb6258 M MethodContext(ContextPart)>handleSignal: 0x57051f8: a(n) MethodContext 0xbffb6280 I MethodContext(ContextPart)>handleSignal: 0x56fdc44: a(n) MethodContext 0xbffb62a4 I ProgressInitiationException(Exception)>signal 0x58dcab4: a(n) ProgressInitiationException 0xbffb62c4 I ProgressInitiationException>display:at:from:to:during: 0x58dcab4: a(n) ProgressInitiationException 0xbffb62f8 I ProgressInitiationException class>display:at:from:to:during: 0x4da0354: a(n) ProgressInitiationException class 0xbffb632c I ByteString(String)>displayProgressAt:from:to:during: 0x58dca1c: a(n) ByteString 0xbffb635c I ByteString(String)>displayProgressFrom:to:during: 0x58dca1c: a(n) ByteString 0xbffb638c I MultiByteFileStream(PositionableStream)>fileInAnnouncing: 0x58dbfec: a(n) MultiByteFileStream 0xbffb63b0 I MultiByteFileStream(FileStream)>fileIn 0x58dbfec: a(n) MultiByteFileStream 0xbffb63d0 I MultiByteFileStream>fileIn 0x58dbfec: a(n) MultiByteFileStream 0xbffb3a7c I [] in UndefinedObject()>? 0x4900004: a(n) UndefinedObject 0xbffb3aa8 I [] in MultiByteFileStream class(FileStream class)>detectFile:do: 0x4d3fd5c: a(n) MultiByteFileStream class 0xbffb3ac8 M BlockClosure>ensure: 0x58dc110: a(n) BlockClosure 0xbffb3af0 I MultiByteFileStream class(FileStream class)>detectFile:do: 0x4d3fd5c: a(n) MultiByteFileStream class 0xbffb3b18 I MultiByteFileStream class(FileStream class)>oldFileNamed:do: 0x4d3fd5c: a(n) MultiByteFileStream class 0xbffb3b40 I UnixFileDirectory(FileDirectory)>oldFileNamed:do: 0x570490c: a(n) UnixFileDirectory 0xbffb3b6c I [] in UndefinedObject()>? 0x4900004: a(n) UndefinedObject 0xbffb3b98 I [] in UndefinedObject()>? 0x4900004: a(n) UndefinedObject 0xbffb3bd0 I UndefinedObject()>? 0x4900004: a(n) UndefinedObject 0x56fde48 s Compiler>evaluateCue:ifFail: 0x56fddd4 s Compiler>evaluateCue:ifFail:logged: 0x57052b0 s Compiler>evaluate:in:to:notifying:ifFail:logged: 0x56fdd30 s Compiler class>evaluate:for:notifying:logged: 0x570530c s Compiler class>evaluate:for:logged: 0x5705368 s Compiler class>evaluate:logged: 0x56fd4d8 s [] in RWBinaryOrTextStream(PositionableStream)>fileInAnnouncing: 0x56fdc44 s BlockClosure>on:do: 0x56fd450 s [] in RWBinaryOrTextStream(PositionableStream)>fileInAnnouncing: 0x570519c s [] in MorphicUIManager>displayProgress:at:from:to:during: 0x57051f8 s BlockClosure>on:do: 0x56fd3bc s [] in MorphicUIManager>displayProgress:at:from:to:during: 0x5705254 s BlockClosure>ensure: 0x56fd328 s MorphicUIManager>displayProgress:at:from:to:during: 0x56fd14c s ProgressInitiationException>defaultResumeValue 0x56fd204 s ProgressInitiationException(Exception)>resume 0x56fd1a8 s ProgressInitiationException>defaultAction 0x5704fd0 s UndefinedObject>handleSignal: 0x56fd094 s ProgressInitiationException(Exception)>signal 0x56fd0f0 s ProgressInitiationException>display:at:from:to:during: 0x570502c s ProgressInitiationException class>display:at:from:to:during: 0x5705088 s ByteString(String)>displayProgressAt:from:to:during: 0x57050e4 s ByteString(String)>displayProgressFrom:to:during: 0x56fcfe4 s RWBinaryOrTextStream(PositionableStream)>fileInAnnouncing: 0x5705140 s RWBinaryOrTextStream(PositionableStream)>fileIn 0x56fbfd0 s CodeLoader>installSourceFile: 0x56fcf50 s [] in CodeLoader>installSourceFiles 0x5704e04 s Array(SequenceableCollection)>do: 0x56fbeac s CodeLoader>installSourceFiles 0x56fbd48 s ProjectLauncher>startUpAfterLogin 0x5704e60 s ProjectLauncher>startUp 0x5704ebc s [] in AutoStart class>startUp: 0x5704f18 s WorldState>runStepMethodsIn: 0x5704f74 s PasteUpMorph>runStepMethods 0x56e2d84 s WorldState>doOneCycleNowFor: 0x56e2d28 s WorldState>doOneCycleFor: 0x56e2ccc s PasteUpMorph>doOneCycle 0x4e3c924 s [] in MorphicProject()>? 0x4e3c5c8 s [] in BlockClosure()>?
Most recent primitives primFinishedProcessing primRenderScanline:with: primFinishedProcessing primRenderScanline:with: primFinishedProcessing primRenderScanline:with: primFinishedProcessing primRenderScanline:with: primFinishedProcessing primRenderScanline:with: primFinishedProcessing primRenderScanline:with: primFinishedProcessing primRenderScanline:with: primFinishedProcessing primRenderScanline:with: primFinishedProcessing primRenderScanline:with: primFinishedProcessing primRenderScanline:with: primFinishedProcessing primRenderScanline:with: primFinishedProcessing primRenderScanline:with: primFinishedProcessing primRenderScanline:with: primFinishedProcessing primRenderScanline:with: primFinishedProcessing primRenderScanline:with: primFinishedProcessing primRenderScanline:with: primFinishedProcessing primRenderScanline:with: primFinishedProcessing primRenderScanline:with: primFinishedProcessing primGetTimes: primGetCounts: primGetBezierStats: wait at:put: signal @ @ basicNew @ perform:with: @ @ perform:with: @ basicNew basicNew new: @ basicNew at:put: @ basicNew at:put: @ @ basicNew at:put: @ @ basicNew at:put: copyBits copyBits copyBits copyBits @ @ basicNew copyBits copyBits @ perform:with: @ @ perform:with: @ basicNew @ @ basicNew @ perform:with: @ @ perform:with: @ basicNew copyBits @ perform:with: @ @ perform:with: @ basicNew @ @ basicNew @ @ @ basicNew @ perform:with: @ @ perform:with: @ basicNew copyBits @ @ basicNew @ @ primDisplayString:from:to:map:xTable:kern: @ primDisplayString:from:to:map:xTable:kern: @ @ @ perform:with: @ @ perform:with: @ basicNew @ @ basicNew @ perform:with: @ @ perform:with: @ basicNew copyBits @ perform:with: @ @ perform:with: @ basicNew @ @ basicNew @ @ @ basicNew @ perform:with: @ @ perform:with: @ basicNew copyBits @ @ basicNew @ @ primDisplayString:from:to:map:xTable:kern: @ primDisplayString:from:to:map:xTable:kern: @ @ @ perform:with: @ @ perform:with: @ basicNew @ @ basicNew @ perform:with: @ @ perform:with: @ basicNew copyBits @ @ basicNew @ @ primDisplayString:from:to:map:xTable:kern: @ primDisplayString:from:to:map:xTable:kern: @ @ at:put: basicNew new: basicNew new: basicNew new: at:put: wait signal primShowRectLeft:right:top:bottom: primitiveDeferUpdates: forceDisplayUpdate findNextUnwindContextUpTo: tempAt: tempAt:put: tempAt: terminateTo: tempAt:put: findNextUnwindContextUpTo: terminateTo: millisecondClockValue basicNew new: someInstance nextInstance at:put: nextInstance at:put: new: replaceFrom:to:with:startingAt: value: value: millisecondClockValue basicNew new: at:put: basicNew new: basicNew
new: at:put: at:put: basicNew new: millisecondClockValue primitiveGarbageCollect **IncrementalGC** **FullGC**
stack page bytes 2048 available headroom 1252 minimum unused headroom 1464
(sweep failed to find exact end of memory)
vm-dev@lists.squeakfoundation.org