[squeak-dev] The Trunk: System-cmm.602.mcz

Frank Shearar frank.shearar at gmail.com
Wed Oct 16 06:19:32 UTC 2013


Indeed! The stack trace - as always - originates in the CI scripts'
update-image.st
(https://github.com/squeak-smalltalk/squeak-ci/blob/d34ea864fe71bf53e28fe0c3813d2040c963cc3e/update-image.st).

That script uses (a copy of the) pretty much the standard update
mechanism, only with loads of logging thrown in. As far as I know it's
System-cmm.602 that's in flight. I agree with you about it being weird
that it might be System-cmm.602. But it might not be: it might just be
that System's the poor commit that happens to stumble upon something
broken by the Graphics work? There's a CanvasCharacterScanner at the
top of the stack.

I also tried to update through the canonical standard way, and saw the
same stack trace (which I've attached).

frank

On 16 October 2013 03:18, Chris Muller <asqueaker at gmail.com> wrote:
> Really strange.  My changes were almost entirely refactorings.  I
> can't think of any reason they should cause a segfault.
>
> What's the input file being fed to this image (as the first arg after
> the image name)?  Whatever it's doing, it appears to be loading
> something from some MC repository, which triggers a call to
> ClassBuilder>recompile:from:to:mutate: which causes the
> updateInstancesFrom: on CanvasCharacterScanner.
>
> Which package and version is it trying to load when it crashes?  That
> might offer a clue..
>
>
>
> On Tue, Oct 15, 2013 at 4:05 PM, Frank Shearar <frank.shearar at gmail.com> wrote:
>> On 15 October 2013 21:30, Frank Shearar <frank.shearar at gmail.com> wrote:
>>> On 15 October 2013 19:45,  <commits at source.squeak.org> wrote:
>>>> Chris Muller uploaded a new version of System to project The Trunk:
>>>> http://source.squeak.org/trunk/System-cmm.602.mcz
>>>>
>>>> ==================== Summary ====================
>>>>
>>>> Name: System-cmm.602
>>>> Author: cmm
>>>> Time: 15 October 2013, 1:45:33.881 pm
>>>> UUID: 7a452144-3c88-4726-9692-a6afa93ef46e
>>>> Ancestors: System-eem.601
>>>>
>>>> - Support Preferences class>>#readDocumentAtStartup: false, so that Squeak can accept arbitrary arguments without requiring the first one to be a document URL.
>>>> - Convenience method for checking for any of the various headless VM  options.
>>>> - API consistency for accessing command-line arguments.
>>>> - Remove duplicate code (#extractParameters).  Bid to remove apparently-unused code.
>>>> - RecentMessages simplifications, fixes and cleanups.
>>>>
>>>> =============== Diff against System-eem.601 ===============
>>>
>>> This might be temporal, or temperamental, coincidence but
>>> http://build.squeak.org/job/SqueakTrunk/561/console shows a segfault
>>> while updating to this commit.
>>>
>>> I'm going to rerun the build, just in case it was a once-off. I'll
>>> report back when it's done.
>>>
>>> Here's the top part of the stack; see the URL for full details:
>>
>> http://build.squeak.org/job/SqueakTrunk/562/console shows it happening
>> again. So either something's very badly wrong, or something's very
>> badly wrong just on that slave. (But you'll see in its history that it
>> can run builds.)
>>
>> frank
>>
>
-------------- next part --------------
Segmentation fault Tue Oct 15 22:52:11 2013


Squeak VM version: 4.0-2776 #1 Thu Aug 22 10:35:56 PDT 2013 gcc 4.1.2 [Production ITHB 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
Build host: Linux mcqfes 2.6.18-128.el5 #1 SMP Wed Jan 21 10:44:23 EST 2009 i686 i686 i386 GNU/Linux
plugin path: target/cog.r2776/coglinux/lib/squeak/4.0-2776 [default: /home/frank/Documents/squeak-ci/target/cog.r2776/coglinux/lib/squeak/4.0-2776/]


C stack backtrace:
target/cog.r2776/coglinux/lib/squeak/4.0-2776/squeak[0x805d051]
target/cog.r2776/coglinux/lib/squeak/4.0-2776/squeak[0x805d228]
[0xb771640c]
target/cog.r2776/coglinux/lib/squeak/4.0-2776/squeak(interpret+0x3a57)[0x80848e7]
target/cog.r2776/coglinux/lib/squeak/4.0-2776/squeak[0x8086e4f]
target/cog.r2776/coglinux/lib/squeak/4.0-2776/squeak(interpret+0x1eb)[0x808107b]
target/cog.r2776/coglinux/lib/squeak/4.0-2776/squeak(main+0x397)[0x805d717]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0xb74f9935]


Smalltalk stack dump:
0xbfbc7168 I CanvasCharacterScanner class(Behavior)>allInstancesDo: 0x79326518: a(n) CanvasCharacterScanner class
0xbfbc7190 I CanvasCharacterScanner class(Behavior)>allInstances 0x79326518: a(n) CanvasCharacterScanner class
0xbfb9cffc I CanvasCharacterScanner class(ClassDescription)>updateInstancesFrom: 0x798f56e0: a(n) CanvasCharacterScanner class
0xbfb9d024 M [] in ClassBuilder>update:to: 0x798f2dd4: a(n) ClassBuilder
0xbfb9d044 M BlockClosure>ensure: 0x799ffe44: a(n) BlockClosure
0xbfb9d074 I BlockClosure>valueUnpreemptively 0x799ffe44: a(n) BlockClosure
0xbfb9d090 M ClassBuilder>update:to: 0x798f2dd4: a(n) ClassBuilder
0xbfb9d0b8 I ClassBuilder>mutate:to: 0x798f2dd4: a(n) ClassBuilder
0xbfb9d0e0 M [] in ClassBuilder>recompile:from:to:mutate: 0x798f2dd4: a(n) ClassBuilder
0xbfb9d0fc M BlockClosure>on:do: 0x799cc428: a(n) BlockClosure
0xbfb9d120 M CurrentReadOnlySourceFiles class>cacheDuring: 0x77a2d740: a(n) CurrentReadOnlySourceFiles class
0xbfb9d144 M [] in ClassBuilder>recompile:from:to:mutate: 0x798f2dd4: a(n) ClassBuilder
0xbfb9d168 I [] in ClassBuilder>informUserDuring: 0x798f2dd4: a(n) ClassBuilder
0xbfb9d190 M [] in MorphicUIManager>displayProgress:at:from:to:during: 0x77a29910: a(n) MorphicUIManager
0xbfb9c080 M BlockClosure>on:do: 0x799cc394: a(n) BlockClosure
0xbfb9c0ac M [] in MorphicUIManager>displayProgress:at:from:to:during: 0x77a29910: a(n) MorphicUIManager
0xbfb9c0cc M BlockClosure>ensure: 0x799cc300: a(n) BlockClosure
0xbfb9c0f0 M MorphicUIManager>displayProgress:at:from:to:during: 0x77a29910: a(n) MorphicUIManager
0xbfb9c11c M ProgressInitiationException>defaultResumeValue 0x799c5100: a(n) ProgressInitiationException
0xbfb9c138 M ProgressInitiationException(Exception)>resume 0x799c5100: a(n) ProgressInitiationException
0xbfb9c150 M ProgressInitiationException>defaultAction 0x799c5100: a(n) ProgressInitiationException
0xbfb9c16c M UndefinedObject>handleSignal: 0x77163004: a(n) UndefinedObject
0xbfb9c18c M MethodContext(ContextPart)>handleSignal: 0x77e96334: a(n) MethodContext
0xbfbd2004 M MethodContext(ContextPart)>handleSignal: 0x7988e564: a(n) MethodContext
0xbfbd2024 M MethodContext(ContextPart)>handleSignal: 0x7988e508: a(n) MethodContext
0xbfbd2044 M MethodContext(ContextPart)>handleSignal: 0x798959b8: a(n) MethodContext
0xbfbd2064 M MethodContext(ContextPart)>handleSignal: 0x798f5f50: a(n) MethodContext
0xbfbd2084 M MethodContext(ContextPart)>handleSignal: 0x798f2ed0: a(n) MethodContext
0xbfbd20a0 M ProgressInitiationException(Exception)>signal 0x799c5100: a(n) ProgressInitiationException
0xbfbd20b8 M ProgressInitiationException>display:at:from:to:during: 0x799c5100: a(n) ProgressInitiationException
0xbfbd20e4 M ProgressInitiationException class>display:at:from:to:during: 0x77a4df9c: a(n) ProgressInitiationException class
0xbfbd2118 I SystemProgressMorph class>informUserAt:during: 0x77a443e4: a(n) SystemProgressMorph class
0xbfbd2140 I MorphicUIManager>informUserDuring: 0x77a29910: a(n) MorphicUIManager
0xbfbd2164 I ClassBuilder>informUserDuring: 0x798f2dd4: a(n) ClassBuilder
0xbfbd2180 M ClassBuilder>recompile:from:to:mutate: 0x798f2dd4: a(n) ClassBuilder
0xbfb63090 I [] in ClassBuilder>name:inEnvironment:subclassOf:type:instanceVariableNames:classVariableNames:poolDictionaries:category:unsafe: 0x798f2dd4: a(n) ClassBuilder
0xbfb630b0 M BlockClosure>ensure: 0x798f40f0: a(n) BlockClosure
0xbfb630e8 I ClassBuilder>name:inEnvironment:subclassOf:type:instanceVariableNames:classVariableNames:poolDictionaries:category:unsafe: 0x798f2dd4: a(n) ClassBuilder
0xbfb6312c I ClassBuilder>name:inEnvironment:subclassOf:type:instanceVariableNames:classVariableNames:poolDictionaries:category: 0x798f2dd4: a(n) ClassBuilder
0xbfb6316c M [] in MCClassDefinition>createClass 0x7957cb08: a(n) MCClassDefinition
0xbfb63188 M BlockClosure>on:do: 0x798f2ca0: a(n) BlockClosure
0xbfb9a040 M MCClassDefinition>createClass 0x7957cb08: a(n) MCClassDefinition
0xbfb9a064 I MCClassDefinition>load 0x7957cb08: a(n) MCClassDefinition
0xbfb9a080 M [] in MCPackageLoader>basicLoad 0x798645f0: a(n) MCPackageLoader
0xbfb9a09c M BlockClosure>on:do: 0x798f2ae0: a(n) BlockClosure
0xbfb9a0bc M [] in MCPackageLoader>basicLoad 0x798645f0: a(n) MCPackageLoader
0xbfb9a0f4 M [] in OrderedCollection(Collection)>do:displayingProgress:every: 0x79864778: a(n) OrderedCollection
0xbfb9a114 M OrderedCollection>do: 0x79864778: a(n) OrderedCollection
0xbfb9a144 M [] in OrderedCollection(Collection)>do:displayingProgress:every: 0x79864778: a(n) OrderedCollection
0xbfb9a16c M [] in MorphicUIManager>displayProgress:at:from:to:during: 0x77a29910: a(n) MorphicUIManager
0xbfb9a188 M BlockClosure>on:do: 0x79895984: a(n) BlockClosure
0xbfb8ffd4 M [] in MorphicUIManager>displayProgress:at:from:to:during: 0x77a29910: a(n) MorphicUIManager
0xbfb8fff4 M BlockClosure>ensure: 0x798958f0: a(n) BlockClosure
0xbfb90018 M MorphicUIManager>displayProgress:at:from:to:during: 0x77a29910: a(n) MorphicUIManager
0xbfb90044 M ProgressInitiationException>defaultResumeValue 0x7988e1d8: a(n) ProgressInitiationException
0xbfb90060 M ProgressInitiationException(Exception)>resume 0x7988e1d8: a(n) ProgressInitiationException
0xbfb90078 M ProgressInitiationException>defaultAction 0x7988e1d8: a(n) ProgressInitiationException
0xbfb90094 M UndefinedObject>handleSignal: 0x77163004: a(n) UndefinedObject
0xbfb900b4 M MethodContext(ContextPart)>handleSignal: 0x77e96334: a(n) MethodContext
0xbfb900d4 M MethodContext(ContextPart)>handleSignal: 0x7988e564: a(n) MethodContext
0xbfb900f4 M MethodContext(ContextPart)>handleSignal: 0x7988e508: a(n) MethodContext
0xbfb90110 M ProgressInitiationException(Exception)>signal 0x7988e1d8: a(n) ProgressInitiationException
0xbfb90128 M ProgressInitiationException>display:at:from:to:during: 0x7988e1d8: a(n) ProgressInitiationException
0xbfb90154 M ProgressInitiationException class>display:at:from:to:during: 0x77a4df9c: a(n) ProgressInitiationException class
0xbfb90180 M ByteString(String)>displayProgressAt:from:to:during: 0x77a4f440: a(n) ByteString
0xbfbdc038 M ByteString(String)>displayProgressFrom:to:during: 0x77a4f440: a(n) ByteString
0xbfbdc068 M OrderedCollection(Collection)>do:displayingProgress:every: 0x79864778: a(n) OrderedCollection
0xbfbdc08c M OrderedCollection(Collection)>do:displayingProgress: 0x79864778: a(n) OrderedCollection
0xbfbdc0b0 M [] in MCPackageLoader>basicLoad 0x798645f0: a(n) MCPackageLoader
0xbfbdc0cc M BlockClosure>on:do: 0x7988e06c: a(n) BlockClosure
0xbfbdc0f0 M [] in MCPackageLoader>basicLoad 0x798645f0: a(n) MCPackageLoader
0xbfbdc10c M BlockClosure>on:do: 0x7988df7c: a(n) BlockClosure
0xbfbdc130 M CurrentReadOnlySourceFiles class>cacheDuring: 0x77a2d740: a(n) CurrentReadOnlySourceFiles class
0xbfbdc150 M [] in MCPackageLoader>basicLoad 0x798645f0: a(n) MCPackageLoader
0xbfbdc170 M BlockClosure>ensure: 0x7988def4: a(n) BlockClosure
0xbfbdc190 M [] in MCPackageLoader>basicLoad 0x798645f0: a(n) MCPackageLoader
0xbfbbefc4 M BlockClosure>ensure: 0x7988ddb0: a(n) BlockClosure
0xbfbbefec I RecentMessages>suspendWhile: 0x798373dc: a(n) RecentMessages
0xbfbbf00c M MCPackageLoader>basicLoad 0x798645f0: a(n) MCPackageLoader
0xbfbbf02c I [] in MCPackageLoader>loadWithNameLike: 0x798645f0: a(n) MCPackageLoader
0xbfbbf04c M BlockClosure>ensure: 0x7986776c: a(n) BlockClosure
0xbfbbf07c I MCPackageLoader>useChangeSetNamed:during: 0x798645f0: a(n) MCPackageLoader
0xbfbbf0a4 I MCPackageLoader>useNewChangeSetNamedLike:during: 0x798645f0: a(n) MCPackageLoader
0xbfbbf0cc I MCPackageLoader>loadWithNameLike: 0x798645f0: a(n) MCPackageLoader
0xbfbbf0ec M MCVersionLoader>load 0x798645a4: a(n) MCVersionLoader
0xbfbbf10c I MCVersionLoader class>loadVersion: 0x776e2c2c: a(n) MCVersionLoader class
0xbfbbf130 I MCDiffyVersion(MCVersion)>load 0x79609950: a(n) MCDiffyVersion
0xbfbbf148 M [] in MCConfiguration>upgrade 0x793eaddc: a(n) MCConfiguration
0xbfbbf16c M [] in MCConfiguration>depsSatisfying:versionDo:displayingProgress: 0x793eaddc: a(n) MCConfiguration
0xbfbbf18c M OrderedCollection>do: 0x79609800: a(n) OrderedCollection
0x79610410 s MCConfiguration>withProgress:in:do:
0x796097a0 s [] in MCConfiguration>depsSatisfying:versionDo:displayingProgress:
0x79609894 s BlockClosure>ensure:
0x79609730 s MCHttpRepository(MCFileBasedRepository)>cacheAllFileNamesDuring:
0x796098f0 s [] in MCConfiguration>cacheAllFileNamesDuring:
0x795b0cf0 s MCConfiguration>cacheAllFileNamesDuring:
0x795b0c70 s MCConfiguration>depsSatisfying:versionDo:displayingProgress:
0x795b0bdc s MCConfiguration>upgrade
0x77e96cf0 s [] in MCMcmUpdater class>updateFromRepositories:
0x77e97554 s BlockClosure>valueWithPossibleArgument:
0x77e975b0 s SortedCollection(Collection)>ifNotEmpty:
0x77e96c74 s [] in MCMcmUpdater class>updateFromRepositories:
0x77e9760c s BlockClosure>ensure:
0x77e96390 s MCHttpRepository()>?
0x77e962bc s [] in MCMcmUpdater class>updateFromRepositories:
0x77e97668 s Array(SequenceableCollection)>do:
0x77e961e4 s MCMcmUpdater class>updateFromRepositories:
0x77e96248 s MCMcmUpdater class>updateFromDefaultRepository
0x77e9732c s Utilities class>updateFromServer
0x77e97388 s TheWorldMainDockingBar>updateSqueak
0x77e973e4 s [] in MenuItemMorph>invokeWithEvent:
0x77e97440 s BlockClosure>ensure:
0x77e96160 s CursorWithMask()>?
0x77e960ec s MenuItemMorph>invokeWithEvent:
0x77e9749c s MenuItemMorph>mouseUp:
0x77e974f8 s MenuItemMorph>handleMouseUp:
0x77e96090 s MouseButtonEvent>sentTo:
0x77e96034 s MenuItemMorph(Morph)>handleEvent:
0x77e96ff0 s MorphicEventDispatcher>dispatchDefault:with:
0x77e9704c s MorphicEventDispatcher>dispatchEvent:with:
0x77e970a8 s MenuItemMorph(Morph)>processEvent:using:
0x77e97104 s MorphicEventDispatcher>dispatchDefault:with:
0x77e97160 s MorphicEventDispatcher>dispatchEvent:with:
0x77e971bc s DockingBarMenuMorph(Morph)>processEvent:using:
0x77e97218 s DockingBarMenuMorph(Morph)>processEvent:
0x77e97274 s DockingBarMenuMorph(MenuMorph)>handleFocusEvent:
0x77e972d0 s [] in HandMorph>sendFocusEvent:to:clear:
0x77e96334 s BlockClosure>on:do:
0x77e95f58 s PasteUpMorph>becomeActiveDuring:
0x77e95edc s HandMorph>sendFocusEvent:to:clear:
0x77e96d6c s HandMorph>sendEvent:focus:clear:
0x77e95e64 s HandMorph>sendMouseEvent:
0x77e95e08 s HandMorph>handleEvent:
0x77e96dc8 s HandMorph>processEvents
0x77e96e24 s [] in WorldState>doOneCycleNowFor:
0x77e96e80 s Array(SequenceableCollection)>do:
0x77e96edc s WorldState>handsDo:
0x77e95d18 s WorldState>doOneCycleNowFor:
0x77e96f38 s WorldState>doOneCycleFor:
0x77e96f94 s PasteUpMorph>doOneCycle
0x77a92e1c s [] in Project class()>?
0x77a92d98 s [] in BlockClosure()>?

Most recent primitives
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
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
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
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
@
@
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
identityHash
value
ensure:
size
new:
basicNew
at:put:
at:put:
at:put:
at:put:
new:
replaceFrom:to:with:startingAt:
identityHash
value
flushCache
flushCache
flushCache
flushCache
flushCache
flushCache
flushCache
flushCache
flushCache
flushCache
flushCache
flushCache
flushCache
basicNew
new:
someInstance

stack page bytes 4096 available headroom 3300 minimum unused headroom 2116

	(Segmentation fault)


More information about the Squeak-dev mailing list