[Vm-dev] Re: I need help building Cog on 64bit Linux (new Squeak server)

Ken Causey ken at kencausey.com
Sun Jan 27 00:17:04 UTC 2013


See bottom for SqueakDebug.log contents which I should have included 
originally.

On 01/26/2013 06:13 PM, Ken Causey wrote:
> Thanks to Dave's reminders about plugins.int and plugins.ext I managed
> to get past the step of building at least an initial Cog VM for testing.
> But running the tests with a 4.4-12327 image and the built VM resulted
> in a crash:
>
> Squeak VM version: 4.0-2673 #1 Sun Jan 27 00:56:27 CET 2013 gcc 4.4.5
> Built from: CoInterpreter VMMaker.oscog-eem.258 uuid:
> da1433f1-de50-475f-be33-f462b300a2ea Jan 27 2013
> With: StackToRegisterMappingCogit VMMaker.oscog-eem.256 uuid:
> bfea3efd-4e81-4e85-922e-cf4f58ee5d64 Jan 27 2013
> Revision: VM: r2673 http://www.squeakvm.org/svn/squeak/branches/Cog
> Plugins: r2545 http://squeakvm.org/svn/squeak/trunk/platforms/Cros
> s/plugins
> Build host: Linux squeak-box4 2.6.32-xenU-7428-x86_64 #4 SMP Mon Nov 19
> 10:17:25 UTC 2012 x86_64 GNU/Linux
> plugin path: /home/kencausey/source/cog/svn/Cog/unixbuild/bld/ [default:
> /home/kencausey/source/cog/svn/Cog/unixbuild/bld/]
>
>
> C stack backtrace:
> /home/kencausey/source/cog/svn/Cog/unixbuild/bld/squeak[0x805fc04]
> /home/kencausey/source/cog/svn/Cog/unixbuild/bld/squeak[0x805fe9f]
> [0xffffe410]
> [0xb7255bc9]
> [0xb722d07e]
> [0xb722d176]
> [0xb722d011]
> [0xb725d9d6]
> [0xb72e6ad8]
> [0xb72e6a54]
> [0xb725535f]
> [0xb720b2f2]
> [0xb7209668]
>
>
> Smalltalk stack dump:
> 0xffb30850 M [] in MorphicUIManager>displayProgress:at:from:to:during:
> -1211236388: a(n) MorphicUIManager
> 0xffb3086c M BlockClosure>cull: -1200277580: a(n) BlockClosure
> 0xffb3088c M [] in MethodContext(ContextPart)>handleSignal: -1200277332:
> a(n) MethodContext
> 0xffb308ac M BlockClosure>ensure: -1200235732: a(n) BlockClosure
> 0xffb308cc M MethodContext(ContextPart)>handleSignal: -1200277332: a(n)
> MethodContext
> 0xffb308e8 M ProgressNotification(Exception)>signal -1200236048: a(n)
> ProgressNotification
> 0xffb30900 M ProgressNotification(Exception)>signal: -1200236048: a(n)
> ProgressNotification
> 0xffb30920 M ProgressNotification class>signal:extra: -1215814820: a(n)
> ProgressNotification class
> 0xffb3095c M [] in
> OrderedCollection(Collection)>do:displayingProgress:every: -1200427368:
> a(n) OrderedCollection
> 0xffb3097c M OrderedCollection>do: -1200427368: a(n) OrderedCollection
> 0xffb31fd4 M [] in
> OrderedCollection(Collection)>do:displayingProgress:every: -1200427368:
> a(n) OrderedCollection
> 0xffb31ffc M [] in MorphicUIManager>displayProgress:at:from:to:during:
> -1211236388: a(n) MorphicUIManager
> 0xffb32018 M BlockClosure>on:do: -1200277612: a(n) BlockClosure
> 0xffb32044 M [] in MorphicUIManager>displayProgress:at:from:to:during:
> -1211236388: a(n) MorphicUIManager
> 0xffb32064 M BlockClosure>ensure: -1200277760: a(n) BlockClosure
> 0xffb32088 M MorphicUIManager>displayProgress:at:from:to:during:
> -1211236388: a(n) MorphicUIManager
> 0xffb320b4 M ProgressInitiationException>defaultResumeValue -1200278516:
> a(n) ProgressInitiationException
> 0xffb320d0 M ProgressInitiationException(Exception)>resume -1200278516:
> a(n) ProgressInitiationException
> 0xffb320e8 M ProgressInitiationException>defaultAction -1200278516: a(n)
> ProgressInitiationException
> 0xffb32104 M UndefinedObject>handleSignal: -1221554172: a(n)
> UndefinedObject
> 0xffb32120 M ProgressInitiationException(Exception)>signal -1200278516:
> a(n) ProgressInitiationException
> 0xffb32138 M ProgressInitiationException>display:at:from:to:during:
> -1200278516: a(n) ProgressInitiationException
> 0xffb3216c I ProgressInitiationException
> class>display:at:from:to:during: -1210997420: a(n)
> ProgressInitiationException class
> 0xffb30040 I ByteString(String)>displayProgressAt:from:to:during:
> -1210991784: a(n) ByteString
> 0xffb30068 M ByteString(String)>displayProgressFrom:to:during:
> -1210991784: a(n) ByteString
> 0xffb30098 M OrderedCollection(Collection)>do:displayingProgress:every:
> -1200427368: a(n) OrderedCollection
> 0xffb300d0 I [] in TestRunner>basicRunSuite:do: -1200432232: a(n)
> TestRunner
> 0xffb300f0 M BlockClosure>ensure: -1200278860: a(n) BlockClosure
> 0xffb30114 I TestRunner>basicRunSuite:do: -1200432232: a(n) TestRunner
> 0xffb3013c I TestRunner>runSuite: -1200432232: a(n) TestRunner
> 0xffb30160 I TestRunner>runAll -1200432232: a(n) TestRunner
> 0xffb3017c M SystemReporter>reportTestRunner: -1200872260: a(n)
> SystemReporter
> 0xffb31040 M [] in SystemReporter>updateReport -1200872260: a(n)
> SystemReporter
> 0xffb31060 M OrderedCollection>do: -1200872228: a(n) OrderedCollection
> 0xffb31080 M [] in SystemReporter>updateReport -1200872260: a(n)
> SystemReporter
> 0xffb310a0 M TextStream>withAttribute:do: -1200482052: a(n) TextStream
> 0xffb310c0 M [] in SystemReporter>updateReport -1200872260: a(n)
> SystemReporter
> 0xffb310e8 I Text class>streamContents: -1216401056: a(n) Text class
> 0xffb31104 M SystemReporter>updateReport -1200872260: a(n) SystemReporter
> 0xffb3111c M SystemReporter>categoryAt:put: -1200872260: a(n)
> SystemReporter
> 0xffb31144 I PluggableListMorphOfMany>listSelectionAt:put: -1200866376:
> a(n) PluggableListMorphOfMany
> 0xffb3117c I PluggableListMorphOfMany>mouseDown: -1200866376: a(n)
> PluggableListMorphOfMany
> 0xffb2f884 M PluggableListMorphOfMany(Morph)>handleMouseDown:
> -1200866376: a(n) PluggableListMorphOfMany
> 0xffb2f8a0 M MouseButtonEvent>sentTo: -1200482652: a(n) MouseButtonEvent
> 0xffb2f8bc M PluggableListMorphOfMany(Morph)>handleEvent: -1200866376:
> a(n) PluggableListMorphOfMany
> 0xffb2f8f8 M MorphicEventDispatcher>dispatchMouseDown:with: -1200482800:
> a(n) MorphicEventDispatcher
> 0xffb2f918 M MorphicEventDispatcher>dispatchEvent:with: -1200482800:
> a(n) MorphicEventDispatcher
> 0xffb2f938 M PluggableListMorphOfMany(Morph)>processEvent:using:
> -1200866376: a(n) PluggableListMorphOfMany
> 0xffb2f978 M MorphicEventDispatcher>dispatchMouseDown:with: -1200482800:
> a(n) MorphicEventDispatcher
> 0xffb2e050 M MorphicEventDispatcher>dispatchEvent:with: -1200482800:
> a(n) MorphicEventDispatcher
> 0xffb2e070 M PluggableSystemWindow(Morph)>processEvent:using:
> -1200870400: a(n) PluggableSystemWindow
> 0xffb2e0b0 M MorphicEventDispatcher>dispatchMouseDown:with: -1200482800:
> a(n) MorphicEventDispatcher
> 0xffb2e0d0 M MorphicEventDispatcher>dispatchEvent:with: -1200482800:
> a(n) MorphicEventDispatcher
> 0xffb2e0f0 M PasteUpMorph(Morph)>processEvent:using: -1212910376: a(n)
> PasteUpMorph
> 0xffb2e118 M PasteUpMorph>processEvent:using: -1212910376: a(n)
> PasteUpMorph
> 0xffb2e138 M PasteUpMorph(Morph)>processEvent: -1212910376: a(n)
> PasteUpMorph
> 0xffb2e158 M HandMorph>sendEvent:focus:clear: -1219207060: a(n) HandMorph
> 0xffb2e17c M HandMorph>sendMouseEvent: -1219207060: a(n) HandMorph
> 0xffb2e880 M HandMorph>handleEvent: -1219207060: a(n) HandMorph
> 0xffb2e8ac M HandMorph>processEvents -1219207060: a(n) HandMorph
> 0xffb2e8c8 M [] in WorldState>doOneCycleNowFor: -1221398640: a(n)
> WorldState
> 0xffb2e8ec M Array(SequenceableCollection)>do: -1221482504: a(n) Array
> 0xffb2e908 M WorldState>handsDo: -1221398640: a(n) WorldState
> 0xffb2e928 M WorldState>doOneCycleNowFor: -1221398640: a(n) WorldState
> 0xffb2e944 M WorldState>doOneCycleFor: -1221398640: a(n) WorldState
> 0xffb2e960 M PasteUpMorph>doOneCycle -1212910376: a(n) PasteUpMorph
> 0xffb2e980 I [] in Project class>spawnNewProcess -1213766452: a(n)
> Project class
> 0xb7d6d640 s [] in BlockClosure>newProcess
>
> Most recent primitives
> 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:
> @
> species
> species
> @
> at:put:
> basicNew
> new:
> species
> basicNew
> new:
> species
> basicNew
> new:
> at:put:
> wait
> signal
> primShowRectLeft:right:top:bottom:
> primitiveDeferUpdates:
> forceDisplayUpdate
> findNextUnwindContextUpTo:
> tempAt:
> tempAt:put:
> tempAt:
> terminateTo:
> tempAt:put:
> findNextUnwindContextUpTo:
> terminateTo:
> millisecondClockValue
> value:
> instVarsInclude:
> instVarsInclude:
> objectAt:
> objectAt:
> basicNew
> basicNew
> objectAt:
> basicNew:
> stackp:
> basicNew
> primitiveResume
> wait
> signal
> millisecondClockValue
> at:put:
> at:put:
> millisecondClockValue
> primSignal:atMilliseconds:
> millisecondClockValue
> wait
> signal
> wait
> basicNew
> basicNew
> new:
> at:put:
> at:put:
> at:put:
> signal
> findNextUnwindContextUpTo:
> terminateTo:
> suspend
> instVarsInclude:
> instVarsInclude:
> objectAt:
> objectAt:
> basicNew
> basicNew
> objectAt:
> basicNew:
> stackp:
> basicNew
> primitiveResume
> wait
> signal
> millisecondClockValue
> at:put:
> at:put:
> millisecondClockValue
> primSignal:atMilliseconds:
> millisecondClockValue
> wait
> signal
> wait
> basicNew
> basicNew
> new:
> at:put:
> at:put:
> at:put:
> perform:
> on:do:
> value
> new:
> at:put:
> new:
> at:put:
> basicNew
> basicNew
> wait
> wait
> signal
> wait
> signal
> wait
> signal
> signal
> wait
> basicNew:
> replaceFrom:to:with:startingAt:
> new:
> at:put:
> species
> new:
> replaceFrom:to:with:startingAt:
> basicNew
> basicNew
> stringHash:initialHash:
> compare:with:collated:
> stringHash:initialHash:
> basicNew
> signal
> findNextUnwindContextUpTo:
> terminateTo:
> suspend
> at:put:
> primSecondsClock
> digitCompare:
> millisecondClockValue
> basicAt:
> basicAt:
> bitShiftMagnitude:
> basicAt:
> perform:with:
>  >=
> basicAt:
> bitShiftMagnitude:
> basicAt:
> bitAnd:
> bitShiftMagnitude:
> basicAt:
> +
> bitOr:
> bitShiftMagnitude:
> perform:with:
> <=
> perform:with:
> -
> truncated
> value:
> basicNew:
> basicNew
> basicNew:
> basicNew
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> species
> basicNew:
> replaceFrom:to:with:startingAt:
> replaceFrom:to:with:startingAt:
> replaceFrom:to:with:startingAt:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> species
> basicNew:
> replaceFrom:to:with:startingAt:
> species
> basicNew:
> replaceFrom:to:with:startingAt:
> replaceFrom:to:with:startingAt:
> compare:with:collated:
> basicNew
> findNextHandlerContextStarting
> tempAt:
> tempAt:
> tempAt:put:
> tempAt:
>
> (Segmentation fault)
> Aborted

SqueakDebug.log:

TestFailure: Assertion failed
8 January 2013 12:55:42.928 am

VM: unix - Smalltalk
Image: Squeak4.4 [latest update: #12327]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /home/kencausey/testing
Trusted Dir /home/kencausey/testing/secure
Untrusted Dir /home/kencausey/testing/My Squeak

LocaleTest(TestCase)>>signalFailure:
	Receiver: LocaleTest>>#testLocaleChanged
	Arguments and temporary variables:
		aString: 	'Assertion failed'
	Receiver's instance variables:
		testSelector: 	#testLocaleChanged
		timeout: 	nil

LocaleTest(TestCase)>>assert:
	Receiver: LocaleTest>>#testLocaleChanged
	Arguments and temporary variables:
		aBooleanOrBlock: 	false
	Receiver's instance variables:
		testSelector: 	#testLocaleChanged
		timeout: 	nil

LocaleTest>>testLocaleChanged
	Receiver: LocaleTest>>#testLocaleChanged
	Arguments and temporary variables:

	Receiver's instance variables:
		testSelector: 	#testLocaleChanged
		timeout: 	nil

LocaleTest(TestCase)>>performTest
	Receiver: LocaleTest>>#testLocaleChanged
	Arguments and temporary variables:

	Receiver's instance variables:
		testSelector: 	#testLocaleChanged
		timeout: 	nil

[] in [] in LocaleTest(TestCase)>>runCase
	Receiver: LocaleTest>>#testLocaleChanged
	Arguments and temporary variables:

	Receiver's instance variables:
		testSelector: 	#testLocaleChanged
		timeout: 	nil

BlockClosure>>on:do:
	Receiver: [closure] in [] in LocaleTest(TestCase)>>runCase
	Arguments and temporary variables:
		exception: 	an ExceptionSet
		handlerAction: 	[closure] in [] in LocaleTest(TestCase)>>timeout:after:
		handlerActive: 	false
	Receiver's instance variables:
		outerContext: 	[] in LocaleTest(TestCase)>>runCase
		startpc: 	62
		numArgs: 	0

[] in LocaleTest(TestCase)>>timeout:after:
	Receiver: LocaleTest>>#testLocaleChanged
	Arguments and temporary variables:
<<error during printing>
	Receiver's instance variables:
		testSelector: 	#testLocaleChanged
		timeout: 	nil

BlockClosure>>ensure:
	Receiver: [closure] in LocaleTest(TestCase)>>timeout:after:
	Arguments and temporary variables:
		aBlock: 	[closure] in LocaleTest(TestCase)>>timeout:after:
		complete: 	nil
		returnValue: 	nil
	Receiver's instance variables:
		outerContext: 	LocaleTest(TestCase)>>timeout:after:
		startpc: 	153
		numArgs: 	0

LocaleTest(TestCase)>>timeout:after:
	Receiver: LocaleTest>>#testLocaleChanged
	Arguments and temporary variables:
		aBlock: 	[closure] in [] in LocaleTest(TestCase)>>runCase
		seconds: 	60
		delay: 	a Delay(60000 msecs; 59622 msecs remaining)
		watchdog: 	a Process in [] in Delay>>wait
		theProcess: 	#(nil)
	Receiver's instance variables:
		testSelector: 	#testLocaleChanged
		timeout: 	nil

[] in LocaleTest(TestCase)>>runCase
	Receiver: LocaleTest>>#testLocaleChanged
	Arguments and temporary variables:

	Receiver's instance variables:
		testSelector: 	#testLocaleChanged
		timeout: 	nil

BlockClosure>>ensure:
	Receiver: [closure] in LocaleTest(TestCase)>>runCase
	Arguments and temporary variables:
		aBlock: 	[closure] in LocaleTest(TestCase)>>runCase
		complete: 	nil
		returnValue: 	nil
	Receiver's instance variables:
		outerContext: 	LocaleTest(TestCase)>>runCase
		startpc: 	45
		numArgs: 	0

LocaleTest(TestCase)>>runCase
	Receiver: LocaleTest>>#testLocaleChanged
	Arguments and temporary variables:

	Receiver's instance variables:
		testSelector: 	#testLocaleChanged
		timeout: 	nil

[] in LocaleTest(TestCase)>>debug
	Receiver: LocaleTest>>#testLocaleChanged
	Arguments and temporary variables:

	Receiver's instance variables:
		testSelector: 	#testLocaleChanged
		timeout: 	nil

BlockClosure>>ensure:
	Receiver: [closure] in LocaleTest(TestCase)>>debug
	Arguments and temporary variables:
		aBlock: 	[closure] in LocaleTest(TestCase)>>debug
		complete: 	nil
		returnValue: 	nil
	Receiver's instance variables:
		outerContext: 	LocaleTest(TestCase)>>debug
		startpc: 	62
		numArgs: 	0

LocaleTest(TestCase)>>debug
	Receiver: LocaleTest>>#testLocaleChanged
	Arguments and temporary variables:

	Receiver's instance variables:
		testSelector: 	#testLocaleChanged
		timeout: 	nil

[] in TestRunner>>debugSuite:
	Receiver: a TestRunner
	Arguments and temporary variables:
<<error during printing>
	Receiver's instance variables:
		categories: 	#(#'KernelTests-Chronology' #'KernelTests-Classes' 
#'KernelTests-Me...etc...
		categoriesSelected: 	a Set(#'Universes-Tests' 
#'Tests-PrimCallController' #'Test...etc...
		classes: 	{TestCase . AllocationTest . ArbitraryObjectSocketTestCase . 
ArrayLite...etc...
		classIndex: 	0
		classesSelected: 	a Set(WeakMessageSendTest MCAncestryTest 
SemaphoreTest Depende...etc...
		failedList: 	{LocaleTest>>#testLocaleChanged . 
ReleaseTest>>#testNoObsoleteClass...etc...
		failedSelected: 	LocaleTest>>#testLocaleChanged
		errorList: 	#()
		errorSelected: 	nil
		lastUpdate: 	3535058965
		result: 	3272 run, 3252 passes, 18 expected failures, 2 failures, 0 
errors, 0 un...etc...
		previousRun: 	nil
		categoryPattern: 	nil
		classPattern: 	nil

[] in [] in OrderedCollection(Collection)>>do:displayingProgress:every:
	Receiver: an OrderedCollection(LocaleTest>>#testLocaleChanged)
	Arguments and temporary variables:
<<error during printing>
	Receiver's instance variables:
		array: 	{LocaleTest>>#testLocaleChanged . nil . nil . nil . nil . nil 
. nil . ni...etc...
		firstIndex: 	1
		lastIndex: 	1

OrderedCollection>>do:
	Receiver: an OrderedCollection(LocaleTest>>#testLocaleChanged)
	Arguments and temporary variables:
		aBlock: 	[closure] in [] in 
OrderedCollection(Collection)>>do:displayingProgress...etc...
		index: 	1
	Receiver's instance variables:
		array: 	{LocaleTest>>#testLocaleChanged . nil . nil . nil . nil . nil 
. nil . ni...etc...
		firstIndex: 	1
		lastIndex: 	1

[] in OrderedCollection(Collection)>>do:displayingProgress:every:
	Receiver: an OrderedCollection(LocaleTest>>#testLocaleChanged)
	Arguments and temporary variables:
<<error during printing>
	Receiver's instance variables:
		array: 	{LocaleTest>>#testLocaleChanged . nil . nil . nil . nil . nil 
. nil . ni...etc...
		firstIndex: 	1
		lastIndex: 	1


--- The full stack ---
LocaleTest(TestCase)>>signalFailure:
LocaleTest(TestCase)>>assert:
LocaleTest>>testLocaleChanged
LocaleTest(TestCase)>>performTest
[] in [] in LocaleTest(TestCase)>>runCase
BlockClosure>>on:do:
[] in LocaleTest(TestCase)>>timeout:after:
BlockClosure>>ensure:
LocaleTest(TestCase)>>timeout:after:
[] in LocaleTest(TestCase)>>runCase
BlockClosure>>ensure:
LocaleTest(TestCase)>>runCase
[] in LocaleTest(TestCase)>>debug
BlockClosure>>ensure:
LocaleTest(TestCase)>>debug
[] in TestRunner>>debugSuite:
[] in [] in OrderedCollection(Collection)>>do:displayingProgress:every:
OrderedCollection>>do:
[] in OrderedCollection(Collection)>>do:displayingProgress:every:
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[] in [] in MorphicUIManager>>displayProgress:at:from:to:during:
BlockClosure>>on:do:
[] in MorphicUIManager>>displayProgress:at:from:to:during:
BlockClosure>>ensure:
MorphicUIManager>>displayProgress:at:from:to:during:
ProgressInitiationException>>defaultResumeValue
ProgressInitiationException(Exception)>>resume
ProgressInitiationException>>defaultAction
UndefinedObject>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
ProgressInitiationException(Exception)>>signal
ProgressInitiationException>>display:at:from:to:during:
ProgressInitiationException class>>display:at:from:to:during:
ByteString(String)>>displayProgressAt:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
OrderedCollection(Collection)>>do:displayingProgress:every:
[] in TestRunner>>basicRunSuite:do:
BlockClosure>>ensure:
TestRunner>>basicRunSuite:do:
TestRunner>>debugSuite:
TestRunner>>debug:
TestRunner>>failedSelected:
PluggableListMorphPlus(PluggableListMorph)>>changeModelSelection:
PluggableListMorphPlus(PluggableListMorph)>>mouseUp:
PluggableListMorphPlus(Morph)>>handleMouseUp:
MouseButtonEvent>>sentTo:
PluggableListMorphPlus(Morph)>>handleEvent:
PluggableListMorphPlus(Morph)>>handleFocusEvent:
[] in HandMorph>>sendFocusEvent:to:clear:
BlockClosure>>on:do:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendMouseEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in WorldState>>doOneCycleNowFor:
Array(SequenceableCollection)>>do:
WorldState>>handsDo:
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph>>doOneCycle
-- and more not shown --


More information about the Vm-dev mailing list