[Pharo-dev] segfault fresh Pharo5.0 download w/pharo VM version: 5.0 #1 Wed May 4 11:54:28 CEST 2016 gcc 4.6.3 [Production Spur ITHB VM]

Dale Henrichs dale.henrichs at gemtalksystems.com
Fri Jul 29 14:04:00 EDT 2016


Attached crash.dmp file ... running Ubuntu14.04 and here's a bit of 
Smalltalk stack:

0xffb7d03c I FreeTypeFace(FT2Face)>newFaceFromExternalMemory:index: 
0xbc98a58: a(n) FreeTypeFace
0xffb7d064 I FreeTypeFace>create 0xbc98a58: a(n) FreeTypeFace
0xffb7d084 I FreeTypeFace>validate 0xbc98a58: a(n) FreeTypeFace
0xffb7d0a4 I FreeTypeFont>face 0xb86ade0: a(n) FreeTypeFont
0xffb7d0fc I 
FreeTypeSubPixelAntiAliasedGlyphRenderer>renderStretchedGlyph:depth:subpixelPosition:font: 
0x9e2b218: a(n) FreeTypeSubPixelAntiAliasedGlyphRenderer
0xffb7d130 I 
FreeTypeSubPixelAntiAliasedGlyphRenderer>subGlyphOf:colorValue:mono:subpixelPosition:font: 
0x9e2b218: a(n) FreeTypeSubPixelAntiAliasedGlyphRenderer
....snip....
  0xbceb0b8 s WorldMorph>displayWorld
  0xbceb118 s [] in WorldState>displayWorldSafely:
  0xbceb178 s BlockClosure>on:do:
  0xbceb1d8 s BlockClosure>ifError:
  0xbceb238 s WorldState>displayWorldSafely:
  0xbceb298 s WorldState>doOneCycleNowFor:
  0xbceb2f8 s WorldState>doOneCycleFor:
  0xbceb358 s WorldMorph>doOneCycle
  0xb95ca30 s [] in MorphicUIManager>spawnNewProcess
  0xb767510 s [] in BlockClosure>newProcess


vm/image combo dowloaded yesterday launches without errors, so I don't 
think it's my environment that is the source of the segfault ...

I was doing a fresh build from a bash script and from the looks of the 
last couple of lines it looks like that there are new changes in this 
image from yesterday:

"Postscript:
Leave the line above, and replace the rest of this comment by a useful one.
Executable statements should follow this comment, and should
be separated by periods, with no exclamation points (!!).
Be sure to put any further comments in double-quotes, like this one."

|repository|
repository := MCHttpRepository
                 location: 'http://smalltalkhub.com/mc/Pharo/Pharo50/main'
                 user: ''
                 password: ''.
(repository 
loadVersionFromFileNamed:'ScriptLoader50-EstebanLorenzano.975.mcz') load.
ScriptLoader new update50761.
!

----End fileIn----!

----QUIT----2016-07-29T12:18:23.980837+02:00 Pharo.image priorSource: 
215270!

----QUIT----2016-07-29T12:18:29.473484+02:00 Pharo.image priorSource: 
234661!

If you look at the bottom of the stack you will notice that 
WorldState>doOneCycle is being called and that's suspiciously similar to 
the issue I reported yesterday[1] ... but a segfault this time instead 
of an MNU..

I will go through the drill of trying to see which part of the script is 
hitting this problem and provide more info ...

It would be nice to get a clean build sooner rather than later :)

Dale

[1] https://pharo.fogbugz.com/f/cases/18706#BugEvent.170987
-------------- next part --------------

Segmentation fault Fri Jul 29 10:39:51 2016


/export/foos1/users/dhenrich/dev/_home/dev/clients/test/pharo-vm/pharo
pharo VM version: 5.0 #1 Wed May  4 11:54:28 CEST 2016 gcc 4.6.3 [Production Spur ITHB VM]
Built from: CoInterpreter VMMaker.oscog-eem.1855 uuid: d8e4a3c2-a3bf-4adc-b224-8012903a1ef4 May  4 2016
With: StackToRegisterMappingCogit VMMaker.oscog-eem.1855 uuid: d8e4a3c2-a3bf-4adc-b224-8012903a1ef4 May  4 2016
Revision: https://github.com/pharo-project/pharo-vm.git Commit: b8ec25a570d7539653e1d793e97609adb509aaed Date: 2016-05-04 11:14:22 +0200 By: Esteban Lorenzano <estebanlm at gmail.com> Jenkins build #589
Build host: Linux pharo-linux 3.2.0-31-generic-pae #50-Ubuntu SMP Fri Sep 7 16:39:45 UTC 2012 i686 i686 i386 GNU/Linux
plugin path: /export/foos1/users/dhenrich/dev/_home/dev/clients/test/pharo-vm/ [default: /export/foos1/users/dhenrich/dev/_home/dev/clients/test/pharo-vm/]


C stack backtrace & registers:
	eax 0xffb78d24 ebx 0xffb78c40 ecx 0xffb78cd8 edx 0xffb78c8c
	edi 0xffb78b10 esi 0xffb78b10 ebp 0xffb78ba8 esp 0xffb78bf4
	eip 0xffb78e08
*[0xffb78e08]
/export/foos1/users/dhenrich/dev/_home/dev/clients/test/pharo-vm/pharo[0x80c0912]
/export/foos1/users/dhenrich/dev/_home/dev/clients/test/pharo-vm/pharo[0x80c0c63]
[0xf7709420]
/usr/lib/i386-linux-gnu/libfreetype.so.6(FT_Stream_ReadULong+0x76)[0xf70d85b6]
/usr/lib/i386-linux-gnu/libfreetype.so.6(+0x4eb2a)[0xf7118b2a]
/usr/lib/i386-linux-gnu/libfreetype.so.6(+0x222b0)[0xf70ec2b0]
/usr/lib/i386-linux-gnu/libfreetype.so.6(+0x1069e)[0xf70da69e]
/usr/lib/i386-linux-gnu/libfreetype.so.6(FT_Open_Face+0x2ef)[0xf70dc6df]
/usr/lib/i386-linux-gnu/libfreetype.so.6(FT_New_Memory_Face+0x5c)[0xf70dccdc]
/export/foos1/users/dhenrich/dev/_home/dev/clients/test/pharo-vm/libFT2Plugin.so(primitiveNewMemoryFaceFromExternalMemoryAndIndex+0xfa)[0xf729115a]
/export/foos1/users/dhenrich/dev/_home/dev/clients/test/pharo-vm/pharo[0x80906a0]
/export/foos1/users/dhenrich/dev/_home/dev/clients/test/pharo-vm/pharo(interpret+0x51c6)[0x80b5886]
/export/foos1/users/dhenrich/dev/_home/dev/clients/test/pharo-vm/pharo[0x80b5e09]
/export/foos1/users/dhenrich/dev/_home/dev/clients/test/pharo-vm/pharo(interpret+0x1f6)[0x80b08b6]
/export/foos1/users/dhenrich/dev/_home/dev/clients/test/pharo-vm/pharo(main+0x2b2)[0x805cb92]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xf74efa83]
/export/foos1/users/dhenrich/dev/_home/dev/clients/test/pharo-vm/pharo[0x805ceb1]
/export/foos1/users/dhenrich/dev/_home/dev/clients/test/pharo-vm/pharo[0x812c328]


Smalltalk stack dump:
0xffb7d03c I FreeTypeFace(FT2Face)>newFaceFromExternalMemory:index: 0xbc98a58: a(n) FreeTypeFace
0xffb7d064 I FreeTypeFace>create 0xbc98a58: a(n) FreeTypeFace
0xffb7d084 I FreeTypeFace>validate 0xbc98a58: a(n) FreeTypeFace
0xffb7d0a4 I FreeTypeFont>face 0xb86ade0: a(n) FreeTypeFont
0xffb7d0fc I FreeTypeSubPixelAntiAliasedGlyphRenderer>renderStretchedGlyph:depth:subpixelPosition:font: 0x9e2b218: a(n) FreeTypeSubPixelAntiAliasedGlyphRenderer
0xffb7d130 I FreeTypeSubPixelAntiAliasedGlyphRenderer>subGlyphOf:colorValue:mono:subpixelPosition:font: 0x9e2b218: a(n) FreeTypeSubPixelAntiAliasedGlyphRenderer
0xffb7d174 I [] in FreeTypeFont>subGlyphOf:colorValue:mono:subpixelPosition: 0xb86ade0: a(n) FreeTypeFont
0xffb7d1a8 I FreeTypeCache>atFont:charCode:type:ifAbsentPut: 0xb8082a8: a(n) FreeTypeCache
0xffb7d1d8 I FreeTypeFont>subGlyphOf:colorValue:mono:subpixelPosition: 0xb86ade0: a(n) FreeTypeFont
0xffb7d20c I FreeTypeFont>glyphOf:destDepth:colorValue:subpixelPosition: 0xb86ade0: a(n) FreeTypeFont
0xffb7d284 I FreeTypeFont>displayString:on:from:to:at:kern:baselineY: 0xb86ade0: a(n) FreeTypeFont
 0xb5575a8 s LogicalFont>displayString:on:from:to:at:kern:baselineY:
 0xb49c0a8 s GrafPort(BitBlt)>displayString:from:to:at:kern:baselineY:font:
 0xb41f1f0 s RubDisplayScanner>displayLine:offset:leftInRun:
 0xb32b618 s RubParagraph>drawOn:using:at:
 0xb3122b0 s RubOpeningClosingDelimiterDecorator(RubParagraphDecorator)>drawOn:using:at:
 0xb2e4a98 s RubExtraSelectionDecorator(RubParagraphDecorator)>drawOn:using:at:
 0xb2cfbf0 s RubCurrentLineBarDecorator(RubParagraphDecorator)>drawOn:using:at:
 0xb0f94c0 s RubShoutStylerDecorator(RubParagraphDecorator)>drawOn:using:at:
 0xb557900 s FormCanvas>rubParagraph:bounds:color:
 0xbce6130 s RubEditingArea(RubAbstractTextArea)>drawSubmorphsOn:
 0xb0b7f28 s [] in RubEditingArea(Morph)>fullDrawOn:
 0xb0e0d98 s FormCanvas>roundCornersOf:in:during:
 0xb0ea2d0 s FormCanvas(Canvas)>roundCornersOf:during:
 0xb0fc538 s [] in RubEditingArea(Morph)>fullDrawOn:
 0xb2a2d08 s BlockClosure>on:do:
 0xb557c58 s RubEditingArea(Morph)>fullDrawOn:
 0xbc36900 s FormCanvas(Canvas)>fullDraw:
 0xbce8058 s FormCanvas(Canvas)>fullDrawMorph:
 0xbce8118 s [] in TransformWithLayoutMorph(TransformMorph)>drawSubmorphsOn:
 0xbce81d8 s Array(SequenceableCollection)>reverseDo:
 0xbce8298 s [] in TransformWithLayoutMorph(TransformMorph)>drawSubmorphsOn:
 0xbce8358 s FormCanvas>transformBy:clippingTo:during:smoothing:
 0xbce8418 s TransformWithLayoutMorph(TransformMorph)>drawSubmorphsOn:
 0xbce84d8 s [] in TransformWithLayoutMorph(Morph)>fullDrawOn:
 0xbce85f8 s FormCanvas>roundCornersOf:in:during:
 0xbce86b8 s FormCanvas(Canvas)>roundCornersOf:during:
 0xbce8718 s [] in TransformWithLayoutMorph(Morph)>fullDrawOn:
 0xbce87d8 s BlockClosure>on:do:
 0xbce8838 s TransformWithLayoutMorph(Morph)>fullDrawOn:
 0xbce8898 s FormCanvas(Canvas)>fullDraw:
 0xbce88f8 s FormCanvas(Canvas)>fullDrawMorph:
 0xbce8958 s [] in RubTextScrollPane(Morph)>drawSubmorphsOn:
 0xbce89b8 s Array(SequenceableCollection)>reverseDo:
 0xbce8a18 s [] in RubTextScrollPane(Morph)>drawSubmorphsOn:
 0xbce8a78 s RubTextScrollPane(Morph)>drawSubmorphsOn:
 0xbce8ad8 s RubTextScrollPane>drawSubmorphsOn:
 0xbce8b38 s [] in RubTextScrollPane(Morph)>fullDrawOn:
 0xbce8b98 s FormCanvas>roundCornersOf:in:during:
 0xbce8bf8 s FormCanvas(Canvas)>roundCornersOf:during:
 0xbce8c58 s [] in RubTextScrollPane(Morph)>fullDrawOn:
 0xbce8cb8 s BlockClosure>on:do:
 0xbce8d18 s RubTextScrollPane(Morph)>fullDrawOn:
 0xbce8d78 s FormCanvas(Canvas)>fullDraw:
 0xbce8dd8 s FormCanvas(Canvas)>fullDrawMorph:
 0xbce8e38 s [] in RubScrolledTextMorph>drawSubmorphsOn:
 0xbce8e98 s Array(SequenceableCollection)>reverseDo:
 0xbce8ef8 s [] in RubScrolledTextMorph>drawSubmorphsOn:
 0xbce8f58 s FormCanvas>clipBy:during:
 0xbce8fb8 s RubScrolledTextMorph>drawSubmorphsOn:
 0xbce9018 s [] in RubScrolledTextMorph(Morph)>fullDrawOn:
 0xbce9078 s FormCanvas>roundCornersOf:in:during:
 0xbce90d8 s FormCanvas(Canvas)>roundCornersOf:during:
 0xbce9138 s [] in RubScrolledTextMorph(Morph)>fullDrawOn:
 0xbce9198 s BlockClosure>on:do:
 0xbce91f8 s RubScrolledTextMorph(Morph)>fullDrawOn:
 0xbce9258 s FormCanvas(Canvas)>fullDraw:
 0xbce92b8 s FormCanvas(Canvas)>fullDrawMorph:
 0xbce9318 s [] in StandardWindow(Morph)>drawSubmorphsOn:
 0xbce9378 s Array(SequenceableCollection)>reverseDo:
 0xbce93d8 s [] in StandardWindow(Morph)>drawSubmorphsOn:
 0xbce9438 s FormCanvas>clipBy:during:
 0xbce9498 s StandardWindow(Morph)>drawSubmorphsOn:
 0xbce94f8 s [] in StandardWindow(Morph)>fullDrawOn:
 0xbce9558 s FormCanvas>roundCornersOf:in:during:
 0xbce95b8 s FormCanvas(Canvas)>roundCornersOf:during:
 0xbce9618 s [] in StandardWindow(Morph)>fullDrawOn:
 0xbce9678 s BlockClosure>on:do:
 0xbce96d8 s StandardWindow(Morph)>fullDrawOn:
 0xbce9738 s FormCanvas(Canvas)>fullDraw:
 0xbce9798 s FormCanvas(Canvas)>fullDrawMorph:
 0xbce97f8 s [] in PanelMorph(Morph)>drawSubmorphsOn:
 0xbce9858 s Array(SequenceableCollection)>reverseDo:
 0xbce98b8 s [] in PanelMorph(Morph)>drawSubmorphsOn:
 0xbce9918 s FormCanvas>clipBy:during:
 0xbce9978 s PanelMorph(Morph)>drawSubmorphsOn:
 0xbce99d8 s [] in PanelMorph(Morph)>fullDrawOn:
 0xbce9a38 s FormCanvas>roundCornersOf:in:during:
 0xbce9a98 s FormCanvas(Canvas)>roundCornersOf:during:
 0xbce9af8 s [] in PanelMorph(Morph)>fullDrawOn:
 0xbce9b58 s BlockClosure>on:do:
 0xbce9bb8 s PanelMorph(Morph)>fullDrawOn:
 0xbce9c18 s FormCanvas(Canvas)>fullDraw:
 0xbce9c78 s FormCanvas(Canvas)>fullDrawMorph:
 0xbce9cd8 s [] in TabGroupMorph(Morph)>drawSubmorphsOn:
 0xbce9d38 s Array(SequenceableCollection)>reverseDo:
 0xbce9d98 s [] in TabGroupMorph(Morph)>drawSubmorphsOn:
 0xbce9df8 s TabGroupMorph(Morph)>drawSubmorphsOn:
 0xbce9e58 s [] in TabGroupMorph(Morph)>fullDrawOn:
 0xbce9eb8 s FormCanvas>roundCornersOf:in:during:
 0xbce9f18 s FormCanvas(Canvas)>roundCornersOf:during:
 0xbce9f78 s [] in TabGroupMorph(Morph)>fullDrawOn:
 0xbce9fd8 s BlockClosure>on:do:
 0xbcea038 s TabGroupMorph(Morph)>fullDrawOn:
 0xbcea098 s TabGroupMorph>fullDrawOn:
 0xbcea0f8 s FormCanvas(Canvas)>fullDraw:
 0xbcea158 s FormCanvas(Canvas)>fullDrawMorph:
 0xbcea1b8 s [] in GroupWindowMorph(Morph)>drawSubmorphsOn:
 0xbcea218 s Array(SequenceableCollection)>reverseDo:
 0xbcea278 s [] in GroupWindowMorph(Morph)>drawSubmorphsOn:
 0xbcea2d8 s GroupWindowMorph(Morph)>drawSubmorphsOn:
 0xbcea338 s [] in GroupWindowMorph(Morph)>fullDrawOn:
 0xbcea398 s FormCanvas>roundCornersOf:in:during:
 0xbcea3f8 s FormCanvas(Canvas)>roundCornersOf:during:
 0xbcea458 s [] in GroupWindowMorph(Morph)>fullDrawOn:
 0xbcea4b8 s BlockClosure>on:do:
 0xbcea518 s GroupWindowMorph(Morph)>fullDrawOn:
 0xbcea578 s FormCanvas(Canvas)>fullDraw:
 0xbcea5d8 s FormCanvas(Canvas)>fullDrawMorph:
 0xbcea638 s [] in SystemWindow(Morph)>drawSubmorphsOn:
 0xbcea698 s Array(SequenceableCollection)>reverseDo:
 0xbcea6f8 s [] in SystemWindow(Morph)>drawSubmorphsOn:
 0xbcea758 s FormCanvas>clipBy:during:
 0xbcea7b8 s SystemWindow(Morph)>drawSubmorphsOn:
 0xbcea818 s [] in SystemWindow(Morph)>fullDrawOn:
 0xbcea878 s FormCanvas>roundCornersOf:in:during:
 0xbcea8d8 s FormCanvas(Canvas)>roundCornersOf:during:
 0xbcea938 s [] in SystemWindow(Morph)>fullDrawOn:
 0xbcea998 s BlockClosure>on:do:
 0xbcea9f8 s SystemWindow(Morph)>fullDrawOn:
 0xbceaa58 s FormCanvas(Canvas)>fullDraw:
 0xbceaab8 s FormCanvas(Canvas)>fullDrawMorph:
 0xbceab18 s [] in WorldState>drawWorld:submorphs:invalidAreasOn:
 0xbceac18 s Rectangle>allAreasOutsideList:startingAt:do:
 0xbceac78 s Rectangle>allAreasOutsideList:do:
 0xbceacd8 s [] in WorldState>drawWorld:submorphs:invalidAreasOn:
 0xbceadd8 s Array(SequenceableCollection)>do:
 0xbceae38 s WorldState>drawWorld:submorphs:invalidAreasOn:
 0xbceaf38 s [] in WorldState>displayWorld:submorphs:
 0xbceaf98 s FormCanvas>roundCornersOf:in:during:
 0xbceaff8 s FormCanvas(Canvas)>roundCornersOf:during:
 0xbceb058 s WorldState>displayWorld:submorphs:
 0xbceb0b8 s WorldMorph>displayWorld
 0xbceb118 s [] in WorldState>displayWorldSafely:
 0xbceb178 s BlockClosure>on:do:
 0xbceb1d8 s BlockClosure>ifError:
 0xbceb238 s WorldState>displayWorldSafely:
 0xbceb298 s WorldState>doOneCycleNowFor:
 0xbceb2f8 s WorldState>doOneCycleFor:
 0xbceb358 s WorldMorph>doOneCycle
 0xb95ca30 s [] in MorphicUIManager>spawnNewProcess
 0xb767510 s [] in BlockClosure>newProcess

Most recent primitives
valueNoContextSwitch
**StackOverflow**
at:
objectAt:
class
header
basicNew:
stackp:
at:
at:put:
valueNoContextSwitch
value
stackp:
at:put:
at:
stackp:
valueNoContextSwitch
jump
jump
jump
jump
stackp:
at:put:
at:
stackp:
findNextUnwindContextUpTo:
terminateTo:
value
stackp:
at:put:
at:
stackp:
at:
value
at:
stackp:
findNextUnwindContextUpTo:
at:put:
at:put:
stackp:
at:put:
<
<
<
<
at:
stackp:
at:
stackp:
at:put:
at:
stackp:
return:from:
return:from:
at:put:
at:put:
stackp:
at:put:
at:
class
noMask:
numCopiedValues
stackp:
numCopiedValues
basicNew
priority:
primitiveResume
garbageCollectMost
**IncrementalGC**
at:put:
new
primLowSpaceSemaphore:
primSignalAtBytesLeft:
wait
at:
at:
at:
at:
at:
at:
at:
at:
truncated
truncated
truncated
+
**PrimitiveFailure**
digitAdd:
normalize
integerAt:put:
**PrimitiveFailure**
<
basicAt:put:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
truncated
truncated
truncated
+
**PrimitiveFailure**
digitAdd:
normalize
integerAt:put:
**PrimitiveFailure**
integerAt:put:
integerAt:put:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
truncated
truncated
truncated
+
**PrimitiveFailure**
digitAdd:
normalize
integerAt:put:
**PrimitiveFailure**
<
basicAt:put:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
truncated
truncated
truncated
integerAt:put:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
truncated
truncated
truncated
integerAt:put:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
truncated
truncated
truncated
integerAt:put:
class
class
basicNew
at:
basicNew
at:put:
copyBitsColor:alpha:gammaTable:ungammaTable:
at:
at:
at:put:
at:
at:put:
at:
\\
truncated
truncated
truncated
fractionPart
<=
truncated
at:
truncated
asInteger
asInteger
value
asUnicode
asUnicode
asUnicode
value:
size
primNewFaceFromExternalMemory:size:index:

stack page bytes 4096 available headroom 2788 minimum unused headroom 3036

	(Segmentation fault)


More information about the Pharo-dev mailing list