[Vm-dev] Cog-r2491 crashes

Eliot Miranda eliot.miranda at gmail.com
Fri Sep 16 13:14:16 UTC 2011


:(.  I made significant changes recently to gc in machine code and to MNU handling. But this could also be Linux.  Try compiling with -O1 and see if any different.  Also, what's the last stable version for you?  

Of course, gold is a reproducible case...
 Is this easy to configure?  If so, I could run a replica under the debugger and take a look when it crashes.


Eliot (phone)

On Sep 16, 2011, at 4:13 AM, Andrew Gaylard <ag at computer.org> wrote:

> 
> Hi VM developers,
> 
> I'm finding the Cog VM, r2491, built from SVN source on Ubuntu-10.04,
> crashes from time to time, apparently under load.
> 
> I've included the top 40 lines of the debug traces for four of these crashes.
> 
> Anyone have any ideas?
> 
> - Andrew
> 
> ==> /tmp/vm.16.log <==
> 
> Segmentation fault Fri Sep 16 11:51:50 2011
> 
> 
> C stack backtrace:
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x805a635]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x805a8a2]
> [0x8f0410]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x8084522]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak(compactCogCompiledCode+0x1f8)[0x8096388]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x8060e74]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x807a395]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x807a4ed]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x807af05]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x807b367]
> [0x983aa269]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x8082bdb]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak(main+0x2c3)[0x805ccc3]
> /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x4ccbd6]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x805a251]
> 
> 
> Smalltalk stack dump:
> 0xbfcdb7c4 I UndefinedObject>? -1739952124: a(n) UndefinedObject
> 0xbfcdb7f4 M Compiler>evaluate:in:to:notifying:ifFail:logged: -1703473588: a(n) Compiler
> 0xbfcdb824 M Compiler class>evaluate:for:notifying:logged: -1733725272: a(n) Compiler class
> 0xbfcdb84c M Compiler class>evaluate:for:logged: -1733725272: a(n) Compiler class
> 0xbfcdb870 M Compiler class>evaluate: -1733725272: a(n) Compiler class
> 0xbfcdb89c M [] in LavaSession>? -1709063152: a(n) LavaSession
> 0xbfcb905c M [] in FileStream class>detectFile:do: -1734664412: a(n) FileStream class
> 0xbfcb907c M BlockClosure>ensure: -1704541468: a(n) BlockClosure
> 0xbfcb909c M FileStream class>detectFile:do: -1734664412: a(n) FileStream class
> 0xbfcb90bc M FileStream class>? -1734664412: a(n) FileStream class
> 0xbfcb90e4 M [] in LavaSession>? -1709063152: a(n) LavaSession
> 0xbfcb910c M [] in MorphicUIManager>? -1728439408: a(n) MorphicUIManager
> 0xbfcb9128 M BlockClosure>on:do: -1704544084: a(n) BlockClosure
> 0xbfcb9154 M [] in MorphicUIManager>? -1728439408: a(n) MorphicUIManager
> 0xbfcb9174 M BlockClosure>ensure: -1704544232: a(n) BlockClosure
> 0xbfcb9198 M MorphicUIManager>? -1728439408: a(n) MorphicUIManager
> 0xbfcb91c8 M ProgressInitiationException>? -1704545088: a(n) ProgressInitiationException
> 
> ==> /tmp/vm.19.log <==
> 
> Segmentation fault Fri Sep 16 11:57:29 2011
> 
> 
> C stack backtrace:
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x805a635]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x805a8a2]
> [0x332410]
> [0x9832d099]
> [0x983c3ddf]
> [0x98321e1d]
> [0x982cd00d]
> [0x982c5751]
> [0x982cdbb7]
> [0x9830737f]
> [0x982cdb23]
> [0x982ccf47]
> [0x982c4668]
> 
> 
> Smalltalk stack dump:
> 0xbfd2fc48 M [] in UndefinedObject>? -1740881916: a(n) UndefinedObject
> 0xbfd2fc70 M Set>do: -1706772700: a(n) Set
> 0xbfd2fc90 M [] in UndefinedObject>? -1740881916: a(n) UndefinedObject
> 0xbfd2fcac M BlockClosure>valueWithPossibleArgs: -1706866256: a(n) BlockClosure
> 0xbfd2fccc M [] in LavaSession(MagmaSession)>fileInFileNamed: -1709994440: a(n) LavaSession
> 0xbfd2fce8 M BlockClosure>on:do: -1706866236: a(n) BlockClosure
> 0xbfd2fd08 M BlockClosure>valueWithBindingsContext: -1706866236: a(n) BlockClosure
> 0xbfd2fd24 M BlockClosure>valueWithBindings: -1706866236: a(n) BlockClosure
> 0xbfd2fd40 M DynamicBindings>bindDuring: -1708703856: a(n) DynamicBindings
> 0xbfd2fd6c M [] in LavaSession(MagmaSession)>fileInFileNamed: -1709994440: a(n) LavaSession
> 0xbfd09524 M [] in FileStream class>detectFile:do: -1735594204: a(n) FileStream class
> 0xbfd09544 M BlockClosure>ensure: -1708703916: a(n) BlockClosure
> 0xbfd09564 M FileStream class>detectFile:do: -1735594204: a(n) FileStream class
> 0xbfd09584 M FileStream class>fileNamed:do: -1735594204: a(n) FileStream class
> 0xbfd095ac M [] in LavaSession(MagmaSession)>fileInFileNamed: -1709994440: a(n) LavaSession
> 0xbfd095d4 M [] in MorphicUIManager>displayProgress:at:from:to:during: -1729369200: a(n) MorphicUIManager
> 0xbfd095f0 M BlockClosure>on:do: -1708706532: a(n) BlockClosure
> 0xbfd0961c M [] in MorphicUIManager>displayProgress:at:from:to:during: -1729369200: a(n) MorphicUIManager
> 0xbfd0963c M BlockClosure>ensure: -1708706680: a(n) BlockClosure
> 
> ==> /tmp/vm.26.log <==
> 
> Segmentation fault Fri Sep 16 12:09:35 2011
> 
> 
> C stack backtrace:
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x805a635]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x805a8a2]
> [0x97d410]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x8084522]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak(markActiveMethodsAndReferents+0x4c)[0x806cf4c]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak(compactCogCompiledCode+0xe)[0x809619e]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x8060e74]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x807a395]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x807a4ed]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x807ad4e]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak(ceSendFromInLineCacheMiss+0xa3)[0x807c153]
> [0x9837f26c]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x8082bdb]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak(main+0x2c3)[0x805ccc3]
> /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x13dbd6]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x805a251]
> 
> 
> Smalltalk stack dump:
> 0xbf82e540 M Site(Thing)>species -1706196988: a(n) Site
> 0xbf82e558 M Site(Item)>= -1706196988: a(n) Site
> 0xbf82e580 M Dictionary>scanFor: -1706203676: a(n) Dictionary
> 0xbf82e5a0 M Dictionary>associationAt:ifAbsent: -1706203676: a(n) Dictionary
> 0xbf82e5c0 M MagmaSetChanges(MagmaLargeCollectionChanges)>objectEqualTo: -1706205076: a(n) MagmaSetChanges
> 0xbf82e5dc M MagmaSet>equivalentOf: -1706205800: a(n) MagmaSet
> 0xbf82e5f8 M MagmaSet>includes: -1706205800: a(n) MagmaSet
> 0xbf82e614 M MagmaSet>validateCanAdd: -1706205800: a(n) MagmaSet
> 0xbf82e630 M MagmaSet(MagmaCollection)>add: -1706205800: a(n) MagmaSet
> 0xbf82e64c M Message>sendTo: -1705210992: a(n) Message
> 0xbf82e668 M MagmaMutatingProxy>doesNotUnderstand: add: -1706206144: a(n) MagmaMutatingProxy
> 0xbf82e688 M [] in UndefinedObject>? -1740115964: a(n) UndefinedObject
> 0xbf82e6a4 M BlockClosure>valueWithPossibleArgs: -1705350396: a(n) BlockClosure
> 0xbf82e6c4 M [] in LavaSession(MagmaSession)>fileInFileNamed: -1709228496: a(n) LavaSession
> 0xbf82e6e0 M BlockClosure>on:do: -1705350376: a(n) BlockClosure
> 0xbf82e700 M BlockClosure>valueWithBindingsContext: -1705350376: a(n) BlockClosure
> 
> ==> /tmp/vm.37.log <==
> 
> Segmentation fault Fri Sep 16 12:28:03 2011
> 
> 
> C stack backtrace:
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x805a635]
> /opt/4dst/thirdparty/cog/bin/../lib/squeak/4.0-2491/squeak[0x805a8a2]
> [0x2d1410]
> [0x984753c9]
> [0x9850cdd7]
> [0x984f7425]
> [0x9841583d]
> [0x9840e751]
> [0x984a5987]
> [0x984b4047]
> [0x9841684b]
> [0x98415777]
> [0x9840d668]
> 
> 
> Smalltalk stack dump:
> 0xbfe21f88 M [] in UndefinedObject>? -1739534332: a(n) UndefinedObject
> 0xbfe21fb0 M Set>do: -1703865564: a(n) Set
> 0xbfe21fd0 M [] in UndefinedObject>? -1739534332: a(n) UndefinedObject
> 0xbfe21fec M BlockClosure>valueWithPossibleArgs: -1703959136: a(n) BlockClosure
> 0xbfe2200c M [] in LavaSession(MagmaSession)>fileInFileNamed: -1708645732: a(n) LavaSession
> 0xbfe22028 M BlockClosure>on:do: -1703959116: a(n) BlockClosure
> 0xbfe22048 M BlockClosure>valueWithBindingsContext: -1703959116: a(n) BlockClosure
> 0xbfe22064 M BlockClosure>valueWithBindings: -1703959116: a(n) BlockClosure
> 0xbfe22080 M DynamicBindings>bindDuring: -1705850620: a(n) DynamicBindings
> 0xbfe220ac M [] in LavaSession(MagmaSession)>fileInFileNamed: -1708645732: a(n) LavaSession
> 0xbfdf9864 M [] in FileStream class>detectFile:do: -1734246620: a(n) FileStream class
> 0xbfdf9884 M BlockClosure>ensure: -1705850680: a(n) BlockClosure
> 0xbfdf98a4 M FileStream class>detectFile:do: -1734246620: a(n) FileStream class
> 0xbfdf98c4 M FileStream class>fileNamed:do: -1734246620: a(n) FileStream class
> 0xbfdf98ec M [] in LavaSession(MagmaSession)>fileInFileNamed: -1708645732: a(n) LavaSession
> 0xbfdf9914 M [] in MorphicUIManager>displayProgress:at:from:to:during: -1728021616: a(n) MorphicUIManager
> 0xbfdf9930 M BlockClosure>on:do: -1705853296: a(n) BlockClosure
> 0xbfdf995c M [] in MorphicUIManager>displayProgress:at:from:to:during: -1728021616: a(n) MorphicUIManager
> 0xbfdf997c M BlockClosure>ensure: -1705853444: a(n) BlockClosure
> 


More information about the Vm-dev mailing list