[squeak-dev] seg fault on squeak6/spur while attempting to add some collections to ~700, 000 objects

gettimothy gettimothy at zoho.com
Sun Nov 14 19:38:51 UTC 2021


I tried to initialize each object before adding it to the SortedCollection where it will reside.



The full initialization looks like this:





initialize



self initializeMetaData







initializeMetaData



parametercount := nestedparametercount := nestedparamaterizedtemplatecount := nestedsimpletemplatecount := 0.

"| foo = these"

parameters := SortedCollection sortBlock:[:a :b | a key < b key].

parameters

add:(0 -> (Set new));

add:(1 -> (Set new));

add:(2 -> (Set new));

add:(3 -> (Set new));

add:(4 -> (Set new));

add:(5 -> (Set new));

add:(6 -> (Set new));

add:(7 -> (Set new));

add:(8 -> (Set new));

add:(9 -> (Set new));

add:(10 -> (Set new));

add:(99 -> (Set new)).

"{{{these}}}"

nestedparameters := OrderedDictionary new.

nestedparameters

add:(0 -> (Set new));

add:(1 -> (Set new));

add:(2 -> (Set new));

add:(3 -> (Set new));

add:(4 -> (Set new));

add:(5 -> (Set new));

add:(6 -> (Set new));

add:(7 -> (Set new));

add:(8 -> (Set new));

add:(9 -> (Set new));

add:(10 -> (Set new));

add:(99 -> (Set new)).

  "{{Like | this | one | here}}"

nestedparamaterizedtemplates := OrderedDictionary new.

nestedparamaterizedtemplates

add:(0 -> (Set new));

add:(1 -> (Set new));

add:(2 -> (Set new));

add:(3 -> (Set new));

add:(4 -> (Set new));

add:(5 -> (Set new));

add:(6 -> (Set new));

add:(7 -> (Set new));

add:(8 -> (Set new));

add:(9 -> (Set new));

add:(10 -> (Set new));





segfault output here:





stack page bytes 8192 available headroom 5576 minimum unused headroom 5360



Segmentation fault Sun Nov 14 14:35:48 2021





/usr/local/lib/squeak/5.0-202110010850-64bit/squeak

Squeak VM version: 5.0-202110010850  Fri Oct  1 13:13:17 EDT 2021 clang [Production Spur 64-bit VM]

Built from: CoInterpreter VMMaker.oscog-eem.3077 uuid: 8ad52133-62f2-4e1e-bf92-9b29ba104d62 Oct  1 2021

With: StackToRegisterMappingCogit VMMaker.oscog-eem.3077 uuid: 8ad52133-62f2-4e1e-bf92-9b29ba104d62 Oct  1 2021

Revision: VM: 202110010850 wm at tinker:usr/src/smalltalk/tmp/oscogvm

Date: Fri Oct 1 10:50:05 2021 CommitHash: 7ede113ff

Plugins: 202110010850 wm at tinker:usr/src/smalltalk/tmp/oscogvm

Build host: Linux tinker 4.4.14 #2 SMP Fri Jun 24 13:38:27 CDT 2016 x86_64 AMD Ryzen 7 2700 Eight-Core Processor AuthenticAMD GNU/Linux

plugin path: /usr/local/bin/../lib/squeak/5.0-202110010850-64bit [default: /usr/local/lib/squeak/5.0-202110010850-64bit/]





C stack backtrace & registers:

    rax     0x21789b20 rbx      0x1000010 rcx            0x1 rdx       0xffffe0

    rdi            0x1 rsi 0xffffffffffffff rbp      0x1000000 rsp 0x7fffe7657c40

    r8      0x12973a08 r9           (nil) r10          (nil) r11          (nil)

    r12          (nil) r13 0xffffffffffffff r14     0x88000008 r15     0x7efa6208

    rip       0x42b1e1

*/usr/local/bin/../lib/squeak/5.0-202110010850-64bit/squeak(remember+0x1b1)[0x42b1e1]

/usr/local/bin/../lib/squeak/5.0-202110010850-64bit/squeak[0x41a703]

/usr/local/bin/../lib/squeak/5.0-202110010850-64bit/squeak[0x41cbbe]

/lib64/libpthread.so.0(+0x113b0)[0x7f0dd47303b0]

/usr/local/bin/../lib/squeak/5.0-202110010850-64bit/squeak(remember+0x1b1)[0x42b1e1]

/usr/local/bin/../lib/squeak/5.0-202110010850-64bit/squeak[0x47863b]

/usr/local/bin/../lib/squeak/5.0-202110010850-64bit/squeak[0x4549af]

/usr/local/bin/../lib/squeak/5.0-202110010850-64bit/squeak[0x4780aa]

/usr/local/bin/../lib/squeak/5.0-202110010850-64bit/squeak[0x44b448]

/usr/local/bin/../lib/squeak/5.0-202110010850-64bit/squeak[0x454560]

/usr/local/bin/../lib/squeak/5.0-202110010850-64bit/squeak[0x42ea3b]

/usr/local/bin/../lib/squeak/5.0-202110010850-64bit/squeak(ceStackOverflow+0xaf)[0x43464f]

[0x14874c4]

[0x0]





Smalltalk stack dump:

0x7fffe767d968 M Set class(HashedCollection class)>new 0x21b1bf10: a(n) Set

0x7fffe767d9b0 M WikitextSAXTemplate>initializeMetaData 0x34a7b90: a(n) WikitextSAXTemplate

0x7fffe767d9e0 M WikitextSAXTemplate>initialize 0x34a7b90: a(n) WikitextSAXTemplate

0x7fffe767da10 M WikitextSAXTemplate class(GRObject class)>new 0x2be69fb8: a(n) WikitextSAXTemplate

0x7fffe767da50 M [] in WikitextParserProxyBuilder class>scrapeSAXTemplatesToWikitextSAXTemplatesData 0x2aeb7178: a(n) WikitextParserProxyBuilder

0x7fffe767da90 M OrderedCollection>do: 0x2fcf5a50: a(n) OrderedCollection

0x7fffe767dae8 I WikitextParserProxyBuilder class>scrapeSAXTemplatesToWikitextSAXTemplatesData 0x2aeb7178: a(n) WikitextParserProxyBuilder

0x7fffe767db18 M [] in UndefinedObject>DoIt 0x217898e0: a(n) UndefinedObject

0x7fffe767db58 M FullBlockClosure(BlockClosure)>on:do: 0x51d5ed38: a(n) FullBlockClosure

0x7fffe767db98 M FullBlockClosure(BlockClosure)>ifError: 0x51d5ed38: a(n) FullBlockClosure

0x7fffe767dbd0 M UndefinedObject>DoIt 0x217898e0: a(n) UndefinedObject

0x7fffe767dc28 I Compiler>evaluateCue:ifFail: 0x4e014020: a(n) Compiler

0x7fffe767dc80 I Compiler>evaluateCue:ifFail:logged: 0x4e014020: a(n) Compiler

0x7fffe767dcd8 I Compiler>evaluate:in:to:environment:notifying:ifFail:logged: 0x4e014020: a(n) Compiler

0x7fffe767dd50 M [] in SmalltalkEditor>evaluateSelectionAndDo: 0x2bf9d0f0: a(n) SmalltalkEditor

0x7fffe767dd90 M FullBlockClosure(BlockClosure)>on:do: 0x51d5c4b0: a(n) FullBlockClosure

0x7fffe7677820 I SmalltalkEditor(TextEditor)>evaluateSelectionAndDo: 0x2bf9d0f0: a(n) SmalltalkEditor

0x7fffe7677868 I SmalltalkEditor(TextEditor)>evaluateSelection 0x2bf9d0f0: a(n) SmalltalkEditor

0x7fffe76778a8 I SmalltalkEditor(TextEditor)>doIt 0x2bf9d0f0: a(n) SmalltalkEditor

0x7fffe76778e8 I SmalltalkEditor(TextEditor)>doIt: 0x2bf9d0f0: a(n) SmalltalkEditor

0x7fffe7677940 I SmalltalkEditor(TextEditor)>dispatchOnKeyboardEvent: 0x2bf9d0f0: a(n) SmalltalkEditor

0x7fffe7677988 I SmalltalkEditor(TextEditor)>keyStroke: 0x2bf9d0f0: a(n) SmalltalkEditor

0x7fffe76779c8 M [] in TextMorphForEditView>keyStroke: 0x2b2f4930: a(n) TextMorphForEditView

0x7fffe7677a18 M TextMorphForEditView(TextMorph)>handleInteraction:fromEvent: 0x2b2f4930: a(n) TextMorphForEditView

0x7fffe7677a58 M TextMorphForEditView>handleInteraction:fromEvent: 0x2b2f4930: a(n) TextMorphForEditView

0x7fffe7677ab8 I [] in TextMorphForEditView>keyStroke: 0x2b2f4930: a(n) TextMorphForEditView

0x7fffe7677af8 I StandardToolSet class>codeCompletionAround:textMorph:keyStroke: 0x21b2f3c8: a(n) StandardToolSet

0x7fffe7677b50 I ToolSet class>codeCompletionAround:textMorph:keyStroke: 0x21b282d0: a(n) ToolSet

0x7fffe7677ba8 I TextMorphForEditView(TextMorph)>keyStroke: 0x2b2f4930: a(n) TextMorphForEditView

0x7fffe7677bf8 I TextMorphForEditView>keyStroke: 0x2b2f4930: a(n) TextMorphForEditView

0x7fffe7677c48 I TextMorphForEditView(Morph)>handleKeystroke: 0x2b2f4930: a(n) TextMorphForEditView

0x7fffe7677c98 I TextMorphForEditView(TextMorph)>handleKeystroke: 0x2b2f4930: a(n) TextMorphForEditView

0x7fffe7677cd0 M KeyboardEvent>sentTo: 0x51d5e418: a(n) KeyboardEvent

0x7fffe7677d10 M TextMorphForEditView(Morph)>handleEvent: 0x2b2f4930: a(n) TextMorphForEditView

0x7fffe7677d48 M TextMorphForEditView(Morph)>handleFocusEvent: 0x2b2f4930: a(n) TextMorphForEditView

0x7fffe7677d90 M MorphicEventDispatcher>doHandlingForFocusEvent:with: 0x51d5dc78: a(n) MorphicEventDispatcher

0x7fffe7675860 M MorphicEventDispatcher>dispatchFocusEvent:with: 0x51d5dc78: a(n) MorphicEventDispatcher

0x7fffe76758a0 M TextMorphForEditView(Morph)>processFocusEvent:using: 0x2b2f4930: a(n) TextMorphForEditView

0x7fffe76758e0 M TextMorphForEditView(Morph)>processFocusEvent: 0x2b2f4930: a(n) TextMorphForEditView

0x7fffe7675930 M [] in HandMorph>sendFocusEvent:to:clear: 0x22579bd8: a(n) HandMorph

0x7fffe7675978 M [] in ActiveEventVariable class>value:during: 0x22392740: a(n) ActiveEventVariable

0x7fffe76759b8 M FullBlockClosure(BlockClosure)>ensure: 0x51d5dd88: a(n) FullBlockClosure

0x7fffe7675a08 M ActiveEventVariable class(DynamicVariable class)>value:during: 0x22392740: a(n) ActiveEventVariable

0x7fffe7675a58 M [] in ActiveEventVariable class>value:during: 0x22392740: a(n) ActiveEventVariable

0x7fffe7675a98 M FullBlockClosure(BlockClosure)>ensure: 0x51d5ded0: a(n) FullBlockClosure

0x7fffe7675ad8 M ActiveEventVariable class>value:during: 0x22392740: a(n) ActiveEventVariable

0x7fffe7675b18 M KeyboardEvent(MorphicEvent)>becomeActiveDuring: 0x4d4d30f0: a(n) KeyboardEvent

0x7fffe7675b68 M [] in HandMorph>sendFocusEvent:to:clear: 0x22579bd8: a(n) HandMorph

0x7fffe7675bb0 M [] in ActiveHandVariable class>value:during: 0x223927e0: a(n) ActiveHandVariable

0x7fffe7675bf0 M FullBlockClosure(BlockClosure)>ensure: 0x51d5e0f0: a(n) FullBlockClosure

0x7fffe7675c40 M ActiveHandVariable class(DynamicVariable class)>value:during: 0x223927e0: a(n) ActiveHandVariable

0x7fffe7675c90 M [] in ActiveHandVariable class>value:during: 0x223927e0: a(n) ActiveHandVariable

0x7fffe7675cd0 M FullBlockClosure(BlockClosure)>ensure: 0x51d5e238: a(n) FullBlockClosure

0x7fffe7675d10 M ActiveHandVariable class>value:during: 0x223927e0: a(n) ActiveHandVariable

0x7fffe7675d50 M HandMorph>becomeActiveDuring: 0x22579bd8: a(n) HandMorph

0x7fffe7675da0 M [] in HandMorph>sendFocusEvent:to:clear: 0x22579bd8: a(n) HandMorph

0x7fffe76676c0 M [] in ActiveWorldVariable class>value:during: 0x22392848: a(n) ActiveWorldVariable

0x7fffe7667700 M FullBlockClosure(BlockClosure)>ensure: 0x51d5cdd8: a(n) FullBlockClosure

0x7fffe7667750 M ActiveWorldVariable class(DynamicVariable class)>value:during: 0x22392848: a(n) ActiveWorldVariable

0x7fffe76677a0 M [] in ActiveWorldVariable class>value:during: 0x22392848: a(n) ActiveWorldVariable

0x7fffe76677e0 M FullBlockClosure(BlockClosure)>ensure: 0x51d5cf20: a(n) FullBlockClosure

0x7fffe7667820 M ActiveWorldVariable class>value:during: 0x22392848: a(n) ActiveWorldVariable

0x7fffe7667860 M PasteUpMorph>becomeActiveDuring: 0x223eece0: a(n) PasteUpMorph

0x7fffe76678a8 M HandMorph>sendFocusEvent:to:clear: 0x22579bd8: a(n) HandMorph

0x7fffe7667900 M HandMorph>sendEvent:focus:clear: 0x22579bd8: a(n) HandMorph

0x7fffe7667948 M HandMorph>sendKeyboardEvent: 0x22579bd8: a(n) HandMorph

0x7fffe7667988 M HandMorph>handleEvent: 0x22579bd8: a(n) HandMorph

0x7fffe76679d8 M HandMorph>processEvents 0x22579bd8: a(n) HandMorph

0x7fffe7667a18 M [] in WorldState>doOneCycleNowFor: 0x223d3340: a(n) WorldState

0x7fffe7667a60 M [] in ActiveHandVariable class>value:during: 0x223927e0: a(n) ActiveHandVariable

0x7fffe7667aa0 M FullBlockClosure(BlockClosure)>ensure: 0x51d5d290: a(n) FullBlockClosure

0x7fffe7667af0 M ActiveHandVariable class(DynamicVariable class)>value:during: 0x223927e0: a(n) ActiveHandVariable

0x7fffe7667b40 M [] in ActiveHandVariable class>value:during: 0x223927e0: a(n) ActiveHandVariable

0x7fffe7667b80 M FullBlockClosure(BlockClosure)>ensure: 0x51d5d3d8: a(n) FullBlockClosure

0x7fffe7667bc0 M ActiveHandVariable class>value:during: 0x223927e0: a(n) ActiveHandVariable

0x7fffe7667c00 M HandMorph>becomeActiveDuring: 0x22579bd8: a(n) HandMorph

0x7fffe7667c40 M [] in WorldState>doOneCycleNowFor: 0x223d3340: a(n) WorldState

0x7fffe7667c88 M Array(SequenceableCollection)>do: 0x217ae380: a(n) Array

0x7fffe7667cc0 M WorldState>handsDo: 0x223d3340: a(n) WorldState

0x7fffe7667d00 M WorldState>doOneCycleNowFor: 0x223d3340: a(n) WorldState

0x7fffe7667d38 M WorldState>doOneCycleFor: 0x223d3340: a(n) WorldState

0x7fffe7667d70 M PasteUpMorph>doOneCycle 0x223eece0: a(n) PasteUpMorph

0x7fffe7667da0 M [] in MorphicProject>spawnNewProcess 0x21ebf2a8: a(n) MorphicProject

        0x2becabe8 s [] in FullBlockClosure(BlockClosure)>newProcess



Most recent primitives

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

compareWith:collated:

new:

**IncrementalGC**



stack page bytes 8192 available headroom 5576 minimum unused headroom 5360



(Segmentation fault)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211114/67593ea6/attachment.html>


More information about the Squeak-dev mailing list