Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007866 [Squeak] OS-Linux crash always 04-25-17 10:54 04-25-17 10:54
Reporter usr345 View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 5.0
Summary 0007866: crash during object initialization
Description Calling Object>>error: during object initialization and together having two
instance variable defined (var2 Size) - results to crash

"|tst|
tst:=TestCrash new: 1."

When removing instance variable "var2" and than call "TestCrash(Object)>>error:" inside "TestCrash>>init:" by standard object initialization, it pass correct with standard error message "testerror".

Object thats result to crash is in attached file TestCrash.st

Crashes on Linux in versions Squeak-5.0-All-in-One.zip, Squeak5.1-16548-32bit-All-in-One.zip, Squeak5.1-16549-32bit-All-in-One.zip
Working correct on Squeak-4.6-All-in-One.zip
Additional Information avid@localhost ~/TestCrash $ ./squeak.sh
Using /home/david/TestCrash/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/bin/squeak...

Segmentation fault Tue Apr 25 12:25:46 2017


/home/david/TestCrash/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/lib/squeak/5.0-201608171728/squeak
Squeak VM version: 5.0-201608171728 Wed Aug 17 18:36:04 UTC 2016 gcc 4.6.3 [Production Spur VM]
Built from: CoInterpreter VMMaker.oscog-cb.1919 uuid: 00a8dd2a-bc8d-4552-b400-be781c8aabec Aug 17 2016
With: StackToRegisterMappingCogit VMMaker.oscog-cb.1919 uuid: 00a8dd2a-bc8d-4552-b400-be781c8aabec Aug 17 2016
Revision: VM: 201608171728 https://github.com/OpenSmalltalk/opensmalltalk-vm.git [^] $ Date: Wed Aug 17 10:28:01 2016 -0700 $
Plugins: 201608171728 https://github.com/OpenSmalltalk/opensmalltalk-vm.git [^] $
Build host: Linux testing-worker-linux-docker-7e600486-3433-linux-13 3.13.0-40-generic 0000069-Ubuntu SMP Thu Nov 13 17:53:56 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
plugin path: /home/david/TestCrash/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/bin/../lib/squeak/5.0-201608171728 [default: /home/david/TestCrash/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/lib/squeak/5.0-201608171728/]


C stack backtrace & registers:
        eax 0xbf832e64 ebx 0xbf832d80 ecx 0xbf832e18 edx 0xbf832dcc
        edi 0xbf832c50 esi 0xbf832c50 ebp 0xbf832ce8 esp 0xbf832d34
        eip 0xbf832f48
*[0xbf832f48]
/home/david/TestCrash/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/bin/../lib/squeak/5.0-201608171728/squeak[0x8060240]
/home/david/TestCrash/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/bin/../lib/squeak/5.0-201608171728/squeak[0x80605a6]
linux-gate.so.1(__kernel_rt_sigreturn+0x0)[0xb77a6b98]
/home/david/TestCrash/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/bin/../lib/squeak/5.0-201608171728/squeak(ceSendsupertonumArgs+0x118)[0x80937a8]
[0xa10008d]
[0xa1b86aa]
[0xa1b905e]
[0xa100b70]
[0xa1a6af7]
[0xa101de5]
[0xa144016]
[0xa100b70]
[0xb37bb3e]
[0xba71f09]
[0xb6b571a]
[0xa100b40]
[0x1b6]


Smalltalk stack dump:
0xbf83bd38 M [] in TestCrash(Object)>longPrintOn:limitedTo:indent: 0xa514340: a(n) TestCrash
0xbf83bd60 M Array(SequenceableCollection)>withIndexDo: 0xa52f028: a(n) Array
0xbf83bd7c M Array(SequenceableCollection)>doWithIndex: 0xa52f028: a(n) Array
0xbf83bda0 I TestCrash(Object)>longPrintOn:limitedTo:indent: 0xa514340: a(n) TestCrash
0xbf83bdc8 M [] in MethodContext>printDetails: 0xa5145d0: a(n) MethodContext
0xbf83bde4 M BlockClosure>on:do: 0xa52ef58: a(n) BlockClosure
0xbf83be04 M BlockClosure>ifError: 0xa52ef58: a(n) BlockClosure
0xbf83be34 I MethodContext>printDetails: 0xa5145d0: a(n) MethodContext
0xbf83be64 I MethodContext(ContextPart)>errorReportOn: 0xa5145d0: a(n) MethodContext
0xbf83be8c I SmalltalkImage>logError:inContext:to: 0xabfcc50: a(n) SmalltalkImage
0xbf83beb8 I SmalltalkImage>logSqueakError:inContext: 0xabfcc50: a(n) SmalltalkImage
0xbf83eb74 M [] in Debugger class>morphicOpenOn:context:label:contents:fullView: 0xadb88d8: a(n) Debugger class
0xbf83eb90 M BlockClosure>on:do: 0xa514cd0: a(n) BlockClosure
0xbf83ebb8 M Debugger class>morphicOpenOn:context:label:contents:fullView: 0xadb88d8: a(n) Debugger class
0xbf83ebf0 I MorphicProject(Project)>dispatchTo:addPrefixAndSend:withArguments: 0xb88a268: a(n) MorphicProject
0xbf83ec1c I Debugger class>openOn:context:label:contents:fullView: 0xadb88d8: a(n) Debugger class
0xbf83ec50 I StandardToolSet class>debug:context:label:contents:fullView: 0xabd4200: a(n) StandardToolSet class
0xbf83ec84 I ToolSet class>debug:context:label:contents:fullView: 0xabcf7f8: a(n) ToolSet class
0xbf83ecbc I Process>debug:title:full: 0xaaddd98: a(n) Process
0xbf83ece8 I Process>debug:title: 0xaaddd98: a(n) Process
0xbf83ed10 I StandardToolSet class>debugError: 0xabd4200: a(n) StandardToolSet class
0xbf83ed38 I ToolSet class>debugError: 0xabcf7f8: a(n) ToolSet class
0xbf83ed5c I UnhandledError>defaultAction 0xa514490: a(n) UnhandledError
0xbf83ed78 M UndefinedObject>handleSignal: 0xa875b00: a(n) UndefinedObject
0xbf83ed9c M MethodContext(ContextPart)>handleSignal: 0xa514430: a(n) MethodContext
0xbf83edc0 I UnhandledError(Exception)>signal 0xa514490: a(n) UnhandledError
0xbf83ede0 I UnhandledError class>signalForException: 0xabd0950: a(n) UnhandledError class
0xbf83ee04 I Error>defaultAction 0xa514350: a(n) Error
0xbf83ee28 I UndefinedObject>handleSignal: 0xa875b00: a(n) UndefinedObject
0xbf83ee54 I MethodContext(ContextPart)>handleSignal: 0xa514430: a(n) MethodContext
0xbf83ee78 I Error(Exception)>signal 0xa514350: a(n) Error
0xbf83ee98 I Error(Exception)>signal: 0xa514350: a(n) Error
0xbf83eebc I TestCrash(Object)>error: 0xa514340: a(n) TestCrash
0xbf83dc88 I TestCrash>init: 0xa514340: a(n) TestCrash
0xbf83dcac I TestCrash class>new: 0xa2096d8: a(n) TestCrash class
0xbf83dccc M UndefinedObject>(nil) 0xa875b00: a(n) UndefinedObject
0xbf83dcf8 I Compiler>evaluateCue:ifFail: 0xa48cc30: a(n) Compiler
0xbf83dd24 I Compiler>evaluateCue:ifFail:logged: 0xa48cc30: a(n) Compiler
0xbf83dd54 I Compiler>evaluate:in:to:notifying:ifFail:logged: 0xa48cc30: a(n) Compiler
0xbf83dd8c M [] in SmalltalkEditor(TextEditor)>evaluateSelectionAndDo: 0xa20a3d0: a(n) SmalltalkEditor
0xbf83dda8 M BlockClosure>on:do: 0xa48cbf8: a(n) BlockClosure
0xbf83dddc I SmalltalkEditor(TextEditor)>evaluateSelectionAndDo: 0xa20a3d0: a(n) SmalltalkEditor
0xbf83de00 I SmalltalkEditor(TextEditor)>evaluateSelection 0xa20a3d0: a(n) SmalltalkEditor
0xbf83de18 M [] in PluggableTextMorphPlus(PluggableTextMorph)>doIt 0xa2092d0: a(n) PluggableTextMorphPlus
0xbf83de3c I TextMorphForEditView(TextMorph)>handleEdit: 0xa209238: a(n) TextMorphForEditView
0xbf83de64 I PluggableTextMorphPlus(PluggableTextMorph)>handleEdit: 0xa2092d0: a(n) PluggableTextMorphPlus
0xbf83de80 M PluggableTextMorphPlus(PluggableTextMorph)>doIt 0xa2092d0: a(n) PluggableTextMorphPlus
0xbf83de98 M Workspace(StringHolder)>perform:orSendTo: 0xa208ff8: a(n) Workspace
0xbf83dec0 M [] in MenuItemMorph>invokeWithEvent: 0xa233848: a(n) MenuItemMorph
0xbf839b5c M BlockClosure>ensure: 0xa48ae30: a(n) BlockClosure
0xbf839b7c M CursorWithMask(Cursor)>showWhile: 0xab671e8: a(n) CursorWithMask
0xbf839b9c M MenuItemMorph>invokeWithEvent: 0xa233848: a(n) MenuItemMorph
0xbf839bc0 I MenuItemMorph>mouseUp: 0xa233848: a(n) MenuItemMorph
0xbf839be4 I MenuItemMorph>handleMouseUp: 0xa233848: a(n) MenuItemMorph
0xbf839c00 M MouseButtonEvent>sentTo: 0xa481310: a(n) MouseButtonEvent
0xbf839c20 M MenuItemMorph(Morph)>handleEvent: 0xa233848: a(n) MenuItemMorph
0xbf839c44 M MorphicEventDispatcher>dispatchEvent:withHandler:withMorph: 0xa480840: a(n) MorphicEventDispatcher
0xbf839c68 M MorphicEventDispatcher>dispatchDefault:with: 0xa480840: a(n) MorphicEventDispatcher
0xbf839c88 M MorphicEventDispatcher>dispatchEvent:with: 0xa480840: a(n) MorphicEventDispatcher
0xbf839cac M MenuItemMorph(Morph)>processEvent:using: 0xa233848: a(n) MenuItemMorph
0xbf839cd8 M [] in MorphicEventDispatcher>dispatchEvent:toSubmorphsOf: 0xa480840: a(n) MorphicEventDispatcher
0xbf839cfc M Array(SequenceableCollection)>do: 0xa209ba8: a(n) Array
0xbf839d18 M MenuMorph(Morph)>submorphsDo: 0xa204948: a(n) MenuMorph
0xbf839d38 M MorphicEventDispatcher>dispatchEvent:toSubmorphsOf: 0xa480840: a(n) MorphicEventDispatcher
0xbf839d60 M MorphicEventDispatcher>dispatchEvent:withHandler:withMorph: 0xa480840: a(n) MorphicEventDispatcher
0xbf839d84 M MorphicEventDispatcher>dispatchDefault:with: 0xa480840: a(n) MorphicEventDispatcher
0xbf839da4 M MorphicEventDispatcher>dispatchEvent:with: 0xa480840: a(n) MorphicEventDispatcher
0xbf839dc8 M MenuMorph(Morph)>processEvent:using: 0xa204948: a(n) MenuMorph
0xbf839df0 M MorphicEventDispatcher>doProcessingForFocusEvent:with: 0xa480840: a(n) MorphicEventDispatcher
0xbf839e14 M MorphicEventDispatcher>dispatchFocusEventFully:with: 0xa480840: a(n) MorphicEventDispatcher
0xbf839e34 M MenuMorph>processFocusEvent:using: 0xa204948: a(n) MenuMorph
0xbf839e54 M MenuMorph(Morph)>processFocusEvent: 0xa204948: a(n) MenuMorph
0xbf839e7c M [] in HandMorph>sendFocusEvent:to:clear: 0xb9ebe68: a(n) HandMorph
0xbf839e9c M BlockClosure>ensure: 0xa4807a8: a(n) BlockClosure
0xbf839ebc M MouseButtonEvent(MorphicEvent)>becomeActiveDuring: 0xa4803e0: a(n) MouseButtonEvent
0xbf83ac8c M [] in HandMorph>sendFocusEvent:to:clear: 0xb9ebe68: a(n) HandMorph
0xbf83acac M BlockClosure>ensure: 0xa4806b0: a(n) BlockClosure
0xbf83accc M HandMorph>becomeActiveDuring: 0xb9ebe68: a(n) HandMorph
0xbf83acf4 M [] in HandMorph>sendFocusEvent:to:clear: 0xb9ebe68: a(n) HandMorph
0xbf83ad14 M BlockClosure>ensure: 0xa4805b8: a(n) BlockClosure
0xbf83ad34 M PasteUpMorph>becomeActiveDuring: 0xacf8780: a(n) PasteUpMorph
0xbf83ad58 M HandMorph>sendFocusEvent:to:clear: 0xb9ebe68: a(n) HandMorph
0xbf83ad84 M HandMorph>sendEvent:focus:clear: 0xb9ebe68: a(n) HandMorph
0xbf83ada8 M HandMorph>sendMouseEvent: 0xb9ebe68: a(n) HandMorph
0xbf83adc8 M HandMorph>handleEvent: 0xb9ebe68: a(n) HandMorph
0xbf83adf4 M HandMorph>processEvents 0xb9ebe68: a(n) HandMorph
0xbf83ae10 M [] in WorldState>doOneCycleNowFor: 0xb73ba70: a(n) WorldState
0xbf83ae34 M Array(SequenceableCollection)>do: 0xa88fa10: a(n) Array
0xbf83ae50 M WorldState>handsDo: 0xb73ba70: a(n) WorldState
0xbf83ae70 M WorldState>doOneCycleNowFor: 0xb73ba70: a(n) WorldState
0xbf83ae8c M WorldState>doOneCycleFor: 0xb73ba70: a(n) WorldState
0xbf83aea8 M PasteUpMorph>doOneCycle 0xacf8780: a(n) PasteUpMorph
0xbf83aec0 M [] in MorphicProject>spawnNewProcess 0xb88a268: a(n) MorphicProject
 0xac86208 s [] in BlockClosure>newProcess

Most recent primitives
stringHash:initialHash:
compare:with:collated:
basicNew
identityHash
basicNew
basicNew
shallowCopy
shallowCopy
shallowCopy
stringHash:initialHash:
shallowCopy
basicNew
stringHash:initialHash:
initialize
initialize
initialize
<
<
digitCompare:
<
<
arrayType
arrayType
stringHash:initialHash:
arrayType
arrayType
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
arrayType
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
arrayType
basicNew
identityHash
asArray
replaceFrom:to:with:startingAt:
basicNew
basicNew
basicNew
new
at:
**StackOverflow**
identityHash
value
scanFor:
shallowCopy
noteBlockExit:
basicNew
identityHash
identityHash
identityHash
identityHash
asArray
at:
litIndex:
perform:withArguments:
genSend:numArgs:
genSend:numArgs:
genSend:numArgs:
perform:withArguments:
specialObjectsArray
genSendSpecial:numArgs:
<=
specialObjectsArray
perform:withArguments:
genPushLiteralVar:
species
species
species
~~
perform:withArguments:
perform:withArguments:
genReturnTop
genReturnTop
genReturnTop
,
,
,
,
replaceFrom:to:with:startingAt:
bitShift:
bitOr:
bitOr:
bitOr:
bitOr:
bitOr:
basicNew
species
identityHash
identityHash
at:
contents
replaceFrom:to:with:startingAt:
contents
headerFlagForEncoder:
headerFlagForEncoder:
headerFlagForEncoder:
headerFlagForEncoder:
headerFlagForEncoder:
headerFlagForEncoder:
asString
asString
copyReplaceFrom:to:with:
copyReplaceFrom:to:with:
copyReplaceFrom:to:with:
copyReplaceFrom:to:with:
copyReplaceFrom:to:with:
stringHash:initialHash:
stringHash:initialHash:
compare:with:collated:
perform:
=
basicNew:
at:put:
newMethod:header:
newMethod:header:
at:put:
newMethod:header:
objectAt:put:
objectAt:put:
objectAt:put:
objectAt:put:
basicNew
on:
size
position:
basicNew
numTemps
emitCodeForValue:encoder:
at:put:
methodStreamPosition
specialObjectsArray
genSendSpecial:numArgs:
specialObjectsArray
at:put:
~~
at:put:
pop:
at:put:
at:put:
=
~=
~=
size
size
size
size
objectAt:
bitAnd:
bitAnd:
primitive
primitive
primitive
basicSize
basicSize
objectAt:put:
value:
value:value:
new:
at:
value:value:
replaceFrom:to:with:startingAt:
contents
contents
value
last
\\
\\
collect:
value:
first
at:put:
withIndexDo:
withIndexDo:
withIndexDo:
timesRepeat:
at:put:
value:
tempAt:
tempAt:
tempAt:
at:
=
at:
=
at:
=
at:
=
at:
=
at:
=
at:
=
at:
=
at:
=
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
findFirstInString:inSet:startingAt:
nextPutAll:
primWrite:from:startingAt:count:
asInteger
primWrite:from:startingAt:count:
tab
primWrite:from:startingAt:count:
findFirstInString:inSet:startingAt:
primWrite:from:startingAt:count:
primWrite:from:startingAt:count:
primGetPosition:
shallowCopy
replaceFrom:to:with:startingAt:
value:value:
primWrite:from:startingAt:count:
primWrite:from:startingAt:count:
findFirstInString:inSet:startingAt:
primWrite:from:startingAt:count:
primWrite:from:startingAt:count:
nextPut:
primWrite:from:startingAt:count:
primWrite:from:startingAt:count:
instVarAt:
instVarAt:
instVarAt:

stack page bytes 4096 available headroom 2788 minimum unused headroom 3012

        (Segmentation fault)
Nespěně ukončen (SIGABRT)
Attached Files  TestCrash.st [^] (712 bytes) 04-25-17 10:54

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
04-25-17 10:54 usr345 New Issue
04-25-17 10:54 usr345 File Added: TestCrash.st


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
30 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker