Loading an image crashes the VM

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

Loading an image crashes the VM

Jan Kurš-2
Hi,

I am trying to open an image I saved a few days ago and I am getting this message (the whole log is attached):

stack page bytes 4096 available headroom 2788 minimum unused headroom 3020

(Segmentation fault)

Anyone experiencing something similar? I am running the latest pharo5 VM on Linux.

Cheers,
Jan

log.txt (19K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Loading an image crashes the VM

Max Leske
How large is your image? There’s a bug in the VM where it can’t open large images.

> On 14 Mar 2016, at 18:25, Jan Kurš <[hidden email]> wrote:
>
> Hi,
>
> I am trying to open an image I saved a few days ago and I am getting this message (the whole log is attached):
>
> stack page bytes 4096 available headroom 2788 minimum unused headroom 3020
>
> (Segmentation fault)
>
> Anyone experiencing something similar? I am running the latest pharo5 VM on Linux.
>
> Cheers,
> Jan
> <log.txt>


Reply | Threaded
Open this post in threaded view
|

Re: Loading an image crashes the VM

Ben Coman
In reply to this post by Jan Kurš-2
On Tue, Mar 15, 2016 at 1:25 AM, Jan Kurš <[hidden email]> wrote:

> Hi,
>
> I am trying to open an image I saved a few days ago and I am getting this
> message (the whole log is attached):
>
> stack page bytes 4096 available headroom 2788 minimum unused headroom 3020
>
> (Segmentation fault)
>
> Anyone experiencing something similar? I am running the latest pharo5 VM on
> Linux.
>
> Cheers,
> Jan

Something similar happened to me for the first time last night, about
three times in quick succession.  Seemed to be when I started an Image
from a shell and later killed it with control-C.  Incidentally, these
was with a recent Tracker image only an hour old for me, which had
locked while I was doing risky changes to DelayScheduler, but I was
surprised that it affected the Image on disk.  I was doing temporary
checkpoint saves just prior to Accepting risky code changes. Then upon
restart I got the error.  But I could not reliably reproduce the
problem.

Certainly it was not a large Image.

VM: http://files.pharo.org/vm/pharo-spur32/linux/463.zip
Image: https://ci.inria.fr/pharo/view/5.0-Analysis/job/Pharo-5.0-Issue-Tracker-Image/
Platform: Debian 8 Jessie 32-bit

cheers -ben

Reply | Threaded
Open this post in threaded view
|

Re: Loading an image crashes the VM

Max Leske
I should have looked at the attachment… What you’re seeing is a problem with UFFI, Esteban is trying to hunt down the cause. For some reason the font loading mechanism uses an FFI call that doesn’t always do what it’s supposed to. Usually this will lead to a playground or browser displaying a red “square for death” after boot but I’ve also seen segfaults myself.

This (very likely) has nothing to do with image size, as I suggested earlier.

Unfortunately, I don’t think there is a fix at the moment other than trying save a new copy of the image.

Cheers,
Max


> On 15 Mar 2016, at 01:54, Ben Coman <[hidden email]> wrote:
>
> On Tue, Mar 15, 2016 at 1:25 AM, Jan Kurš <[hidden email]> wrote:
>> Hi,
>>
>> I am trying to open an image I saved a few days ago and I am getting this
>> message (the whole log is attached):
>>
>> stack page bytes 4096 available headroom 2788 minimum unused headroom 3020
>>
>> (Segmentation fault)
>>
>> Anyone experiencing something similar? I am running the latest pharo5 VM on
>> Linux.
>>
>> Cheers,
>> Jan
>
> Something similar happened to me for the first time last night, about
> three times in quick succession.  Seemed to be when I started an Image
> from a shell and later killed it with control-C.  Incidentally, these
> was with a recent Tracker image only an hour old for me, which had
> locked while I was doing risky changes to DelayScheduler, but I was
> surprised that it affected the Image on disk.  I was doing temporary
> checkpoint saves just prior to Accepting risky code changes. Then upon
> restart I got the error.  But I could not reliably reproduce the
> problem.
>
> Certainly it was not a large Image.
>
> VM: http://files.pharo.org/vm/pharo-spur32/linux/463.zip
> Image: https://ci.inria.fr/pharo/view/5.0-Analysis/job/Pharo-5.0-Issue-Tracker-Image/
> Platform: Debian 8 Jessie 32-bit
>
> cheers -ben
>


Reply | Threaded
Open this post in threaded view
|

Re: Loading an image crashes the VM

Damien Pollet
Any idea what version of the image should be relatively stable ?

On 15 March 2016 at 07:31, Max Leske <[hidden email]> wrote:
I should have looked at the attachment… What you’re seeing is a problem with UFFI, Esteban is trying to hunt down the cause. For some reason the font loading mechanism uses an FFI call that doesn’t always do what it’s supposed to. Usually this will lead to a playground or browser displaying a red “square for death” after boot but I’ve also seen segfaults myself.

This (very likely) has nothing to do with image size, as I suggested earlier.

Unfortunately, I don’t think there is a fix at the moment other than trying save a new copy of the image.

Cheers,
Max


> On 15 Mar 2016, at 01:54, Ben Coman <[hidden email]> wrote:
>
> On Tue, Mar 15, 2016 at 1:25 AM, Jan Kurš <[hidden email]> wrote:
>> Hi,
>>
>> I am trying to open an image I saved a few days ago and I am getting this
>> message (the whole log is attached):
>>
>> stack page bytes 4096 available headroom 2788 minimum unused headroom 3020
>>
>> (Segmentation fault)
>>
>> Anyone experiencing something similar? I am running the latest pharo5 VM on
>> Linux.
>>
>> Cheers,
>> Jan
>
> Something similar happened to me for the first time last night, about
> three times in quick succession.  Seemed to be when I started an Image
> from a shell and later killed it with control-C.  Incidentally, these
> was with a recent Tracker image only an hour old for me, which had
> locked while I was doing risky changes to DelayScheduler, but I was
> surprised that it affected the Image on disk.  I was doing temporary
> checkpoint saves just prior to Accepting risky code changes. Then upon
> restart I got the error.  But I could not reliably reproduce the
> problem.
>
> Certainly it was not a large Image.
>
> VM: http://files.pharo.org/vm/pharo-spur32/linux/463.zip
> Image: https://ci.inria.fr/pharo/view/5.0-Analysis/job/Pharo-5.0-Issue-Tracker-Image/
> Platform: Debian 8 Jessie 32-bit
>
> cheers -ben
>





--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet
Reply | Threaded
Open this post in threaded view
|

Re: Loading an image crashes the VM

Jan Kurš-2
Hi,
 
Looks like I know this bug. The problem is when you save the image on a big screen (with external monitor) and try to open it on a small one (without the external monitor). The same behaviour (for me) as in this case:


Cheers,
Jan

On Tue, Mar 15, 2016 at 10:48 PM Damien Pollet <[hidden email]> wrote:
Any idea what version of the image should be relatively stable ?

On 15 March 2016 at 07:31, Max Leske <[hidden email]> wrote:
I should have looked at the attachment… What you’re seeing is a problem with UFFI, Esteban is trying to hunt down the cause. For some reason the font loading mechanism uses an FFI call that doesn’t always do what it’s supposed to. Usually this will lead to a playground or browser displaying a red “square for death” after boot but I’ve also seen segfaults myself.

This (very likely) has nothing to do with image size, as I suggested earlier.

Unfortunately, I don’t think there is a fix at the moment other than trying save a new copy of the image.

Cheers,
Max


> On 15 Mar 2016, at 01:54, Ben Coman <[hidden email]> wrote:
>
> On Tue, Mar 15, 2016 at 1:25 AM, Jan Kurš <[hidden email]> wrote:
>> Hi,
>>
>> I am trying to open an image I saved a few days ago and I am getting this
>> message (the whole log is attached):
>>
>> stack page bytes 4096 available headroom 2788 minimum unused headroom 3020
>>
>> (Segmentation fault)
>>
>> Anyone experiencing something similar? I am running the latest pharo5 VM on
>> Linux.
>>
>> Cheers,
>> Jan
>
> Something similar happened to me for the first time last night, about
> three times in quick succession.  Seemed to be when I started an Image
> from a shell and later killed it with control-C.  Incidentally, these
> was with a recent Tracker image only an hour old for me, which had
> locked while I was doing risky changes to DelayScheduler, but I was
> surprised that it affected the Image on disk.  I was doing temporary
> checkpoint saves just prior to Accepting risky code changes. Then upon
> restart I got the error.  But I could not reliably reproduce the
> problem.
>
> Certainly it was not a large Image.
>
> VM: http://files.pharo.org/vm/pharo-spur32/linux/463.zip
> Image: https://ci.inria.fr/pharo/view/5.0-Analysis/job/Pharo-5.0-Issue-Tracker-Image/
> Platform: Debian 8 Jessie 32-bit
>
> cheers -ben
>





--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet
Reply | Threaded
Open this post in threaded view
|

Re: Loading an image crashes the VM

stepharo
Jan

I'm always switching monitor and I did not get it.
Are you on mac?
The bug I got is when I change manually the display extent:
There it crashes from time to time.

Stef

Le 17/3/16 18:14, Jan Kurš a écrit :
Hi,
 
Looks like I know this bug. The problem is when you save the image on a big screen (with external monitor) and try to open it on a small one (without the external monitor). The same behaviour (for me) as in this case:


Cheers,
Jan

On Tue, Mar 15, 2016 at 10:48 PM Damien Pollet <[hidden email]> wrote:
Any idea what version of the image should be relatively stable ?

On 15 March 2016 at 07:31, Max Leske <[hidden email]> wrote:
I should have looked at the attachment… What you’re seeing is a problem with UFFI, Esteban is trying to hunt down the cause. For some reason the font loading mechanism uses an FFI call that doesn’t always do what it’s supposed to. Usually this will lead to a playground or browser displaying a red “square for death” after boot but I’ve also seen segfaults myself.

This (very likely) has nothing to do with image size, as I suggested earlier.

Unfortunately, I don’t think there is a fix at the moment other than trying save a new copy of the image.

Cheers,
Max


> On 15 Mar 2016, at 01:54, Ben Coman [hidden email] wrote:
>
> On Tue, Mar 15, 2016 at 1:25 AM, Jan Kurš <[hidden email]> wrote:
>> Hi,
>>
>> I am trying to open an image I saved a few days ago and I am getting this
>> message (the whole log is attached):
>>
>> stack page bytes 4096 available headroom 2788 minimum unused headroom 3020
>>
>> (Segmentation fault)
>>
>> Anyone experiencing something similar? I am running the latest pharo5 VM on
>> Linux.
>>
>> Cheers,
>> Jan
>
> Something similar happened to me for the first time last night, about
> three times in quick succession.  Seemed to be when I started an Image
> from a shell and later killed it with control-C.  Incidentally, these
> was with a recent Tracker image only an hour old for me, which had
> locked while I was doing risky changes to DelayScheduler, but I was
> surprised that it affected the Image on disk.  I was doing temporary
> checkpoint saves just prior to Accepting risky code changes. Then upon
> restart I got the error.  But I could not reliably reproduce the
> problem.
>
> Certainly it was not a large Image.
>
> VM: http://files.pharo.org/vm/pharo-spur32/linux/463.zip
> Image: https://ci.inria.fr/pharo/view/5.0-Analysis/job/Pharo-5.0-Issue-Tracker-Image/
> Platform: Debian 8 Jessie 32-bit
>
> cheers -ben
>





--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet

Reply | Threaded
Open this post in threaded view
|

Re: Loading an image crashes the VM

Peter Uhnak
I got this error maybe once or twice maybe a year ago on linux, but I had a lot of windows opened (like 20 or 30), and when I got back to big screen it was ok again.

Peter

On Thu, Mar 17, 2016 at 8:51 PM, stepharo <[hidden email]> wrote:
Jan

I'm always switching monitor and I did not get it.
Are you on mac?
The bug I got is when I change manually the display extent:
There it crashes from time to time.

Stef

Le 17/3/16 18:14, Jan Kurš a écrit :
Hi,
 
Looks like I know this bug. The problem is when you save the image on a big screen (with external monitor) and try to open it on a small one (without the external monitor). The same behaviour (for me) as in this case:


Cheers,
Jan

On Tue, Mar 15, 2016 at 10:48 PM Damien Pollet <[hidden email]> wrote:
Any idea what version of the image should be relatively stable ?

On 15 March 2016 at 07:31, Max Leske <[hidden email]> wrote:
I should have looked at the attachment… What you’re seeing is a problem with UFFI, Esteban is trying to hunt down the cause. For some reason the font loading mechanism uses an FFI call that doesn’t always do what it’s supposed to. Usually this will lead to a playground or browser displaying a red “square for death” after boot but I’ve also seen segfaults myself.

This (very likely) has nothing to do with image size, as I suggested earlier.

Unfortunately, I don’t think there is a fix at the moment other than trying save a new copy of the image.

Cheers,
Max


> On 15 Mar 2016, at 01:54, Ben Coman [hidden email] wrote:
>
> On Tue, Mar 15, 2016 at 1:25 AM, Jan Kurš <[hidden email]> wrote:
>> Hi,
>>
>> I am trying to open an image I saved a few days ago and I am getting this
>> message (the whole log is attached):
>>
>> stack page bytes 4096 available headroom 2788 minimum unused headroom 3020
>>
>> (Segmentation fault)
>>
>> Anyone experiencing something similar? I am running the latest pharo5 VM on
>> Linux.
>>
>> Cheers,
>> Jan
>
> Something similar happened to me for the first time last night, about
> three times in quick succession.  Seemed to be when I started an Image
> from a shell and later killed it with control-C.  Incidentally, these
> was with a recent Tracker image only an hour old for me, which had
> locked while I was doing risky changes to DelayScheduler, but I was
> surprised that it affected the Image on disk.  I was doing temporary
> checkpoint saves just prior to Accepting risky code changes. Then upon
> restart I got the error.  But I could not reliably reproduce the
> problem.
>
> Certainly it was not a large Image.
>
> VM: http://files.pharo.org/vm/pharo-spur32/linux/463.zip
> Image: https://ci.inria.fr/pharo/view/5.0-Analysis/job/Pharo-5.0-Issue-Tracker-Image/
> Platform: Debian 8 Jessie 32-bit
>
> cheers -ben
>





--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet


Reply | Threaded
Open this post in threaded view
|

Re: Loading an image crashes the VM

Holger Freyther

> On 17 Mar 2016, at 22:16, Peter Uhnák <[hidden email]> wrote:

Hi!


> I got this error maybe once or twice maybe a year ago on linux, but I had a lot of windows opened (like 20 or 30), and when I got back to big screen it was ok again.

I am now seeing this with a Pharo50 build on a Jenkins setup.


+ unzip pharo.zip
Archive:  pharo.zip
  inflating: Pharo-50761.image      
  inflating: Pharo-50761.changes    
+ mv Pharo-50761.image App.image
+ mv Pharo-50761.changes App.changes
+ create_symlinks
+ export LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu/:/build/build
+ LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu/:/build/build
+ ln -sf /usr/lib/i386-linux-gnu/libcrypto.so.1.0.0 libcrypto.so
+ /build/build/vm/pharo --nodisplay App.image eval --save '(NonInteractiveTranscript onFileNamed: #stdout)' install
Transcript
+ /build/build/vm/pharo --nodisplay App.image clean --save

Segmentation fault Fri Jul 29 19:34:57 2016


/build/build/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 <[hidden email]> 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: /build/build/vm/ [default: /build/build/vm/]


C stack backtrace & registers:
        eax 0xff969e64 ebx 0xff969d80 ecx 0xff969e18 edx 0xff969dcc
        edi 0xff969c50 esi 0xff969c50 ebp 0xff969ce8 esp 0xff969d34
        eip 0xff969f48
*[0xff969f48]
/build/build/vm/pharo[0x80c0912]
/build/build/vm/pharo[0x80c0c76]
linux-gate.so.1(__kernel_rt_sigreturn+0x0)[0xf770bd50]
/usr/lib/i386-linux-gnu/libfreetype.so.6(FT_Stream_ReadULong+0x6e)[0xf743342e]
/usr/lib/i386-linux-gnu/libfreetype.so.6(+0x524b7)[0xf74764b7]
/usr/lib/i386-linux-gnu/libfreetype.so.6(+0x23daa)[0xf7447daa]
/usr/lib/i386-linux-gnu/libfreetype.so.6(+0x10ecb)[0xf7434ecb]
/usr/lib/i386-linux-gnu/libfreetype.so.6(FT_Open_Face+0x2d9)[0xf7437bd9]
/usr/lib/i386-linux-gnu/libfreetype.so.6(FT_New_Memory_Face+0x5a)[0xf74381ea]
/build/build/vm/libFT2Plugin.so(primitiveNewMemoryFaceFromExternalMemoryAndIndex+0xfa)[0xf74da15a]
/build/build/vm/pharo[0x80906a0]
/build/build/vm/pharo(interpret+0x51c6)[0x80b5886]
/build/build/vm/pharo[0x80b5e09]
/build/build/vm/pharo(interpret+0x1f6)[0x80b08b6]
/build/build/vm/pharo(main+0x2b2)[0x805cb92]
/lib/i386-linux-gnu/i686/cmov/libc.so.6(__libc_start_main+0xf3)[0xf7504a63]
/build/build/vm/pharo[0x805ceb1]
/build/build/vm/pharo[0x812c328]


Smalltalk stack dump:
0xff96f21c I FreeTypeFace(FT2Face)>newFaceFromExternalMemory:index: 0xc6dc808: a(n) FreeTypeFace
0xff96f244 I FreeTypeFace>create 0xc6dc808: a(n) FreeTypeFace
0xff96f264 I FreeTypeFace>validate 0xc6dc808: a(n) FreeTypeFace
0xff96f284 I FreeTypeFont>face 0xa3ed1b0: a(n) FreeTypeFont
0xff96f2c0 I FreeTypeFontProvider>fontFor:familyName: 0xae5a1d0: a(n) FreeTypeFontProvider
0xff96f2ec M [] in LogicalFontManager>bestFontFor:whenFindingAlternativeIgnoreAll: 0xaf65a10: a(n) LogicalFontManager
0xff96f310 M OrderedCollection>do: 0xaf65a20: a(n) OrderedCollection
0xff96f33c I [] in LogicalFontManager>bestFontFor:whenFindingAlternativeIgnoreAll: 0xaf65a10: a(n) LogicalFontManager
0xff96f360 M Array(SequenceableCollection)>do: 0xa3ec340: a(n) Array
0xff96f388 I LogicalFontManager>bestFontFor:whenFindingAlternativeIgnoreAll: 0xaf65a10: a(n) LogicalFontManager
0xff96f3b0 I LogicalFontManager>bestFontFor: 0xaf65a10: a(n) LogicalFontManager
0xff96f3d4 I LogicalFont>findRealFont 0xaf659d8: a(n) LogicalFont
0xff96f3f4 I LogicalFont>realFont 0xaf659d8: a(n) LogicalFont
0xff96f414 I LogicalFont>height 0xaf659d8: a(n) LogicalFont
0xff96f434 I TextStyle>newFontArray: 0xa3ec2c8: a(n) TextStyle
0xff96f458 I TextStyle class>fontArray: 0xaccf538: a(n) TextStyle class
0xff96f474 M [] in LogicalFont(AbstractFont)>textStyle 0xaf659d8: a(n) LogicalFont
0xff96f48c M Dictionary(Collection)>detect:ifFound:ifNone: 0xa3ebce0: a(n) Dictionary
0xff96f4b0 M Dictionary(Collection)>detect:ifNone: 0xa3ebce0: a(n) Dictionary
0xff96f4d8 I LogicalFont(AbstractFont)>textStyle 0xaf659d8: a(n) LogicalFont
0xff96f4fc I TextMorphForFieldView(TextMorph)>font: 0xa3e6ee0: a(n) TextMorphForFieldView
0xff96f520 I PluggableTextFieldMorph>beDecrypted 0xc66bfb0: a(n) PluggableTextFieldMorph
0xff96f540 I PluggableTextFieldMorph>initialize 0xc66bfb0: a(n) PluggableTextFieldMorph
 0xc6d95e8 s PluggableTextFieldMorph class(Behavior)>new
 0xc6d96a8 s Pharo3Theme(UITheme)>newAutoAcceptTextEntryIn:for:get:set:class:getEnabled:font:help:entryCompletion:
 0xc6d9868 s Pharo3Theme(UITheme)>newAutoAcceptTextEntryIn:for:get:set:class:getEnabled:help:entryCompletion:
 0xc6d9a48 s RubFindReplaceDialogWindow(StandardWindow)>newAutoAcceptTextEntryFor:get:set:class:getEnabled:help:entryCompletion:
 0xc6d9b08 s RubFindReplaceDialogWindow>newFindTextEntryMorph
 0xc6d9b68 s RubFindReplaceDialogWindow>newContentMorph
 0xc6d9bc8 s RubFindReplaceDialogWindow(DialogWindow)>newMainPanel
 0xc6d9c28 s RubFindReplaceDialogWindow(DialogWindow)>addMainPanel
 0xc6d9c88 s RubFindReplaceDialogWindow(DialogWindow)>addInitialPanel
 0xc6d9ce8 s RubFindReplaceDialogWindow(DialogWindow)>initialize
 0xc6d9d48 s RubFindReplaceDialogWindow class(Behavior)>new
 0xc6d9da8 s RubFindReplaceService>newDialog
 0xc6d9e08 s RubFindReplaceService>dialog
 0xc6d9e68 s RubFindReplaceService>dialogIsActiveFor:
 0xc6d9ec8 s RubEditingArea(RubAbstractTextArea)>hasFindReplaceFocus
 0xc6d9f28 s RubTextScrollPane>drawSubmorphsOn:
 0xc6d9f88 s [] in RubTextScrollPane(Morph)>fullDrawOn:
 0xc6d9fe8 s FormCanvas>roundCornersOf:in:during:
 0xc6da048 s FormCanvas(Canvas)>roundCornersOf:during:
 0xc6da0a8 s [] in RubTextScrollPane(Morph)>fullDrawOn:
 0xc6da108 s BlockClosure>on:do:
 0xc6da168 s RubTextScrollPane(Morph)>fullDrawOn:
 0xc6da1c8 s FormCanvas(Canvas)>fullDraw:
 0xc6da228 s FormCanvas(Canvas)>fullDrawMorph:
 0xc6da288 s [] in RubScrolledTextMorph>drawSubmorphsOn:
 0xc6da2e8 s Array(SequenceableCollection)>reverseDo:
 0xc6da348 s [] in RubScrolledTextMorph>drawSubmorphsOn:
 0xc6da3a8 s FormCanvas>clipBy:during:
 0xc6da408 s RubScrolledTextMorph>drawSubmorphsOn:
 0xc6da468 s [] in RubScrolledTextMorph(Morph)>fullDrawOn:
 0xc6da4c8 s FormCanvas>roundCornersOf:in:during:
 0xc6da528 s FormCanvas(Canvas)>roundCornersOf:during:
 0xc6da588 s [] in RubScrolledTextMorph(Morph)>fullDrawOn:
 0xc6da5e8 s BlockClosure>on:do:
 0xc6da648 s RubScrolledTextMorph(Morph)>fullDrawOn:
 0xc6da6a8 s FormCanvas(Canvas)>fullDraw:
 0xc6da708 s FormCanvas(Canvas)>fullDrawMorph:
 0xc6da768 s [] in StandardWindow(Morph)>drawSubmorphsOn:
 0xc6da7c8 s Array(SequenceableCollection)>reverseDo:
 0xc6da828 s [] in StandardWindow(Morph)>drawSubmorphsOn:
 0xc6da888 s FormCanvas>clipBy:during:
 0xc6da8e8 s StandardWindow(Morph)>drawSubmorphsOn:
 0xc6da948 s [] in StandardWindow(Morph)>fullDrawOn:
 0xc6da9a8 s FormCanvas>roundCornersOf:in:during:
 0xc6daa08 s FormCanvas(Canvas)>roundCornersOf:during:
 0xc6daa68 s [] in StandardWindow(Morph)>fullDrawOn:
 0xc6daac8 s BlockClosure>on:do:
 0xc6dab28 s StandardWindow(Morph)>fullDrawOn:
 0xc6dab88 s FormCanvas(Canvas)>fullDraw:
 0xc6dabe8 s FormCanvas(Canvas)>fullDrawMorph:
 0xc6dac48 s [] in PanelMorph(Morph)>drawSubmorphsOn:
 0xc6daca8 s Array(SequenceableCollection)>reverseDo:
 0xc6dad08 s [] in PanelMorph(Morph)>drawSubmorphsOn:
 0xc6dad68 s FormCanvas>clipBy:during:
 0xc6dadc8 s PanelMorph(Morph)>drawSubmorphsOn:
 0xc6dae28 s [] in PanelMorph(Morph)>fullDrawOn:
 0xc6dae88 s FormCanvas>roundCornersOf:in:during:
 0xc6daee8 s FormCanvas(Canvas)>roundCornersOf:during:
 0xc6daf48 s [] in PanelMorph(Morph)>fullDrawOn:
 0xc6dafa8 s BlockClosure>on:do:
 0xc6db008 s PanelMorph(Morph)>fullDrawOn:
 0xc6db068 s FormCanvas(Canvas)>fullDraw:
 0xc6db0c8 s FormCanvas(Canvas)>fullDrawMorph:
 0xc6db128 s [] in TabGroupMorph(Morph)>drawSubmorphsOn:
 0xc6db188 s Array(SequenceableCollection)>reverseDo:
 0xc6db1e8 s [] in TabGroupMorph(Morph)>drawSubmorphsOn:
 0xc6db248 s TabGroupMorph(Morph)>drawSubmorphsOn:
 0xc6db2a8 s [] in TabGroupMorph(Morph)>fullDrawOn:
 0xc6db308 s FormCanvas>roundCornersOf:in:during:
 0xc6db368 s FormCanvas(Canvas)>roundCornersOf:during:
 0xc6db3c8 s [] in TabGroupMorph(Morph)>fullDrawOn:
 0xc6db428 s BlockClosure>on:do:
 0xc6db488 s TabGroupMorph(Morph)>fullDrawOn:
 0xc6db4e8 s TabGroupMorph>fullDrawOn:
 0xc6db548 s FormCanvas(Canvas)>fullDraw:
 0xc6db5a8 s FormCanvas(Canvas)>fullDrawMorph:
 0xc6db608 s [] in GroupWindowMorph(Morph)>drawSubmorphsOn:
 0xc6db668 s Array(SequenceableCollection)>reverseDo:
 0xc6db6c8 s [] in GroupWindowMorph(Morph)>drawSubmorphsOn:
 0xc6db728 s GroupWindowMorph(Morph)>drawSubmorphsOn:
 0xc6db788 s [] in GroupWindowMorph(Morph)>fullDrawOn:
 0xc6db7e8 s FormCanvas>roundCornersOf:in:during:
 0xc6db848 s FormCanvas(Canvas)>roundCornersOf:during:
 0xc6db8a8 s [] in GroupWindowMorph(Morph)>fullDrawOn:
 0xc6db908 s BlockClosure>on:do:
 0xc6db968 s GroupWindowMorph(Morph)>fullDrawOn:
 0xc6db9c8 s FormCanvas(Canvas)>fullDraw:
 0xc6dba28 s FormCanvas(Canvas)>fullDrawMorph:
 0xc6dba88 s [] in SystemWindow(Morph)>drawSubmorphsOn:
 0xc6dbae8 s Array(SequenceableCollection)>reverseDo:
 0xc6dbb48 s [] in SystemWindow(Morph)>drawSubmorphsOn:
 0xc6dbba8 s FormCanvas>clipBy:during:
 0xc6dbc08 s SystemWindow(Morph)>drawSubmorphsOn:
 0xc6dbc68 s [] in SystemWindow(Morph)>fullDrawOn:
 0xc6dbcc8 s FormCanvas>roundCornersOf:in:during:
 0xc6dbd28 s FormCanvas(Canvas)>roundCornersOf:during:
 0xc6dbd88 s [] in SystemWindow(Morph)>fullDrawOn:
 0xc6dbde8 s BlockClosure>on:do:
 0xc6dbe48 s SystemWindow(Morph)>fullDrawOn:
 0xc6dbea8 s FormCanvas(Canvas)>fullDraw:
 0xc6dbf08 s FormCanvas(Canvas)>fullDrawMorph:
 0xc6dbf68 s [] in WorldState>drawWorld:submorphs:invalidAreasOn:
 0xc6dc068 s Rectangle>allAreasOutsideList:startingAt:do:
 0xc6dc0c8 s Rectangle>allAreasOutsideList:do:
 0xc6dc128 s [] in WorldState>drawWorld:submorphs:invalidAreasOn:
 0xc6dc228 s Array(SequenceableCollection)>do:
 0xc6dc288 s WorldState>drawWorld:submorphs:invalidAreasOn:
 0xc6dc388 s [] in WorldState>displayWorld:submorphs:
 0xc6dc3e8 s FormCanvas>roundCornersOf:in:during:
 0xc6dc448 s FormCanvas(Canvas)>roundCornersOf:during:
 0xc6dc4a8 s WorldState>displayWorld:submorphs:
 0xc6dc508 s WorldMorph>displayWorld
 0xc6dc568 s [] in WorldState>displayWorldSafely:
 0xc6dc5c8 s BlockClosure>on:do:
 0xc6dc628 s BlockClosure>ifError:
 0xc6dc688 s WorldState>displayWorldSafely:
 0xc6dc6e8 s WorldState>doOneCycleNowFor:
 0xc6dc748 s WorldState>doOneCycleFor:
 0xc6dc7a8 s WorldMorph>doOneCycle
 0xc35ca30 s [] in MorphicUIManager>spawnNewProcess
 0xc167510 s [] in BlockClosure>newProcess

Most recent primitives
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
replaceFrom:to:with:startingAt:
at:
objectAt:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
basicSize
new:
basicSize
basicAt:
replaceFrom:to:with:startingAt:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
stringHash:initialHash:
basicNew
basicIdentityHash
grow
grow
atLeast:
at:put:
at:put:
stringHash:initialHash:
at:
species
value:
value:
shallowCopy
stringHash:initialHash:
at:
value:
shallowCopy
stringHash:initialHash:
add:
value:
value:
value:
value:
shallowCopy
stringHash:initialHash:
value:
value:
class
value:
class
value:
class
class
value:
shallowCopy
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
value:
stringHash:initialHash:
at:
at:put:
at:
stringHash:initialHash:
at:
at:
at:put:
at:put:
at:
stringHash:initialHash:
at:
stringHash:initialHash:
value
value
value
\\
\\
stringHash:initialHash:
=
stringHash:initialHash:
at:
value:
at:
at:
at:
at:
at:
basicNew
at:
basicNew
value:
value:
value
basicNew
value
primCurrentLibrary
stringHash:initialHash:
compare:with:collated:
value:
value:
at:
at:
value:value:
**StackOverflow**
closenessVectorForStretch:slant:weight:
closenessVectorForStretch:slant:weight:
closenessVectorForStretch:slant:weight:
closenessVectorForStretch:slant:weight:
closenessVectorForStretch:slant:weight:
closenessVectorForStretch:slant:weight:
class
raisedTo:
raisedTo:
bitAnd:
*
*
*
asFloat
sqrt
truncated
sqrt
sqrt
sqrt
sqrt
sqrt
bitShift:
**PrimitiveFailure**
bitShiftMagnitude:
timesTwoPower:
>=
at:
value:value:
first
first
+
+
+
truncated
sqrt
sqrt
sqrt
sqrt
sqrt
truncated
value:value:
truncated
truncated
value:value:
**PrimitiveFailure**
bitShiftMagnitude:
timesTwoPower:
value:value:
**PrimitiveFailure**
basicAt:
bitShiftMagnitude:
basicAt:
bitAnd:
bitShiftMagnitude:
basicAt:
+
bitOr:
digitCompare:
bitShiftMagnitude:
bitShiftMagnitude:
digitCompare:
<
perform:with:
digitMultiply:neg:
*
<
at:
value:value:
truncated
truncated
at:
value:value:
truncated
truncated
value:value:
value:value:
value:value:
value:value:
value:value:
value:value:
value:value:
value:value:
value:value:
value:value:
at:
at:
at:put:
at:put:
at:
value:value:
truncated
truncated
sort:to:
sort:to:
sort:to:
sort:to:
truncated
truncated
truncated
truncated
bitShiftMagnitude:
timesTwoPower:
basicNew
allInstancesOrNil
value:
value:
**StackOverflow**
size
primNewFaceFromExternalMemory:size:index:

stack page bytes 4096 available headroom 2788 minimum unused headroom 3020

        (Segmentation fault)
Reply | Threaded
Open this post in threaded view
|

Re: Loading an image crashes the VM

EstebanLM
hi Holger,

do you have a reproducible way for this error? it happens always?

cheers,
Esteban

> On 30 Jul 2016, at 08:45, Holger Freyther <[hidden email]> wrote:
>
>
>> On 17 Mar 2016, at 22:16, Peter Uhnák <[hidden email]> wrote:
>
> Hi!
>
>
>> I got this error maybe once or twice maybe a year ago on linux, but I had a lot of windows opened (like 20 or 30), and when I got back to big screen it was ok again.
>
> I am now seeing this with a Pharo50 build on a Jenkins setup.
>
>
> + unzip pharo.zip
> Archive:  pharo.zip
>  inflating: Pharo-50761.image      
>  inflating: Pharo-50761.changes    
> + mv Pharo-50761.image App.image
> + mv Pharo-50761.changes App.changes
> + create_symlinks
> + export LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu/:/build/build
> + LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu/:/build/build
> + ln -sf /usr/lib/i386-linux-gnu/libcrypto.so.1.0.0 libcrypto.so
> + /build/build/vm/pharo --nodisplay App.image eval --save '(NonInteractiveTranscript onFileNamed: #stdout)' install
> Transcript
> + /build/build/vm/pharo --nodisplay App.image clean --save
>
> Segmentation fault Fri Jul 29 19:34:57 2016
>
>
> /build/build/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 <[hidden email]> 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: /build/build/vm/ [default: /build/build/vm/]
>
>
> C stack backtrace & registers:
> eax 0xff969e64 ebx 0xff969d80 ecx 0xff969e18 edx 0xff969dcc
> edi 0xff969c50 esi 0xff969c50 ebp 0xff969ce8 esp 0xff969d34
> eip 0xff969f48
> *[0xff969f48]
> /build/build/vm/pharo[0x80c0912]
> /build/build/vm/pharo[0x80c0c76]
> linux-gate.so.1(__kernel_rt_sigreturn+0x0)[0xf770bd50]
> /usr/lib/i386-linux-gnu/libfreetype.so.6(FT_Stream_ReadULong+0x6e)[0xf743342e]
> /usr/lib/i386-linux-gnu/libfreetype.so.6(+0x524b7)[0xf74764b7]
> /usr/lib/i386-linux-gnu/libfreetype.so.6(+0x23daa)[0xf7447daa]
> /usr/lib/i386-linux-gnu/libfreetype.so.6(+0x10ecb)[0xf7434ecb]
> /usr/lib/i386-linux-gnu/libfreetype.so.6(FT_Open_Face+0x2d9)[0xf7437bd9]
> /usr/lib/i386-linux-gnu/libfreetype.so.6(FT_New_Memory_Face+0x5a)[0xf74381ea]
> /build/build/vm/libFT2Plugin.so(primitiveNewMemoryFaceFromExternalMemoryAndIndex+0xfa)[0xf74da15a]
> /build/build/vm/pharo[0x80906a0]
> /build/build/vm/pharo(interpret+0x51c6)[0x80b5886]
> /build/build/vm/pharo[0x80b5e09]
> /build/build/vm/pharo(interpret+0x1f6)[0x80b08b6]
> /build/build/vm/pharo(main+0x2b2)[0x805cb92]
> /lib/i386-linux-gnu/i686/cmov/libc.so.6(__libc_start_main+0xf3)[0xf7504a63]
> /build/build/vm/pharo[0x805ceb1]
> /build/build/vm/pharo[0x812c328]
>
>
> Smalltalk stack dump:
> 0xff96f21c I FreeTypeFace(FT2Face)>newFaceFromExternalMemory:index: 0xc6dc808: a(n) FreeTypeFace
> 0xff96f244 I FreeTypeFace>create 0xc6dc808: a(n) FreeTypeFace
> 0xff96f264 I FreeTypeFace>validate 0xc6dc808: a(n) FreeTypeFace
> 0xff96f284 I FreeTypeFont>face 0xa3ed1b0: a(n) FreeTypeFont
> 0xff96f2c0 I FreeTypeFontProvider>fontFor:familyName: 0xae5a1d0: a(n) FreeTypeFontProvider
> 0xff96f2ec M [] in LogicalFontManager>bestFontFor:whenFindingAlternativeIgnoreAll: 0xaf65a10: a(n) LogicalFontManager
> 0xff96f310 M OrderedCollection>do: 0xaf65a20: a(n) OrderedCollection
> 0xff96f33c I [] in LogicalFontManager>bestFontFor:whenFindingAlternativeIgnoreAll: 0xaf65a10: a(n) LogicalFontManager
> 0xff96f360 M Array(SequenceableCollection)>do: 0xa3ec340: a(n) Array
> 0xff96f388 I LogicalFontManager>bestFontFor:whenFindingAlternativeIgnoreAll: 0xaf65a10: a(n) LogicalFontManager
> 0xff96f3b0 I LogicalFontManager>bestFontFor: 0xaf65a10: a(n) LogicalFontManager
> 0xff96f3d4 I LogicalFont>findRealFont 0xaf659d8: a(n) LogicalFont
> 0xff96f3f4 I LogicalFont>realFont 0xaf659d8: a(n) LogicalFont
> 0xff96f414 I LogicalFont>height 0xaf659d8: a(n) LogicalFont
> 0xff96f434 I TextStyle>newFontArray: 0xa3ec2c8: a(n) TextStyle
> 0xff96f458 I TextStyle class>fontArray: 0xaccf538: a(n) TextStyle class
> 0xff96f474 M [] in LogicalFont(AbstractFont)>textStyle 0xaf659d8: a(n) LogicalFont
> 0xff96f48c M Dictionary(Collection)>detect:ifFound:ifNone: 0xa3ebce0: a(n) Dictionary
> 0xff96f4b0 M Dictionary(Collection)>detect:ifNone: 0xa3ebce0: a(n) Dictionary
> 0xff96f4d8 I LogicalFont(AbstractFont)>textStyle 0xaf659d8: a(n) LogicalFont
> 0xff96f4fc I TextMorphForFieldView(TextMorph)>font: 0xa3e6ee0: a(n) TextMorphForFieldView
> 0xff96f520 I PluggableTextFieldMorph>beDecrypted 0xc66bfb0: a(n) PluggableTextFieldMorph
> 0xff96f540 I PluggableTextFieldMorph>initialize 0xc66bfb0: a(n) PluggableTextFieldMorph
> 0xc6d95e8 s PluggableTextFieldMorph class(Behavior)>new
> 0xc6d96a8 s Pharo3Theme(UITheme)>newAutoAcceptTextEntryIn:for:get:set:class:getEnabled:font:help:entryCompletion:
> 0xc6d9868 s Pharo3Theme(UITheme)>newAutoAcceptTextEntryIn:for:get:set:class:getEnabled:help:entryCompletion:
> 0xc6d9a48 s RubFindReplaceDialogWindow(StandardWindow)>newAutoAcceptTextEntryFor:get:set:class:getEnabled:help:entryCompletion:
> 0xc6d9b08 s RubFindReplaceDialogWindow>newFindTextEntryMorph
> 0xc6d9b68 s RubFindReplaceDialogWindow>newContentMorph
> 0xc6d9bc8 s RubFindReplaceDialogWindow(DialogWindow)>newMainPanel
> 0xc6d9c28 s RubFindReplaceDialogWindow(DialogWindow)>addMainPanel
> 0xc6d9c88 s RubFindReplaceDialogWindow(DialogWindow)>addInitialPanel
> 0xc6d9ce8 s RubFindReplaceDialogWindow(DialogWindow)>initialize
> 0xc6d9d48 s RubFindReplaceDialogWindow class(Behavior)>new
> 0xc6d9da8 s RubFindReplaceService>newDialog
> 0xc6d9e08 s RubFindReplaceService>dialog
> 0xc6d9e68 s RubFindReplaceService>dialogIsActiveFor:
> 0xc6d9ec8 s RubEditingArea(RubAbstractTextArea)>hasFindReplaceFocus
> 0xc6d9f28 s RubTextScrollPane>drawSubmorphsOn:
> 0xc6d9f88 s [] in RubTextScrollPane(Morph)>fullDrawOn:
> 0xc6d9fe8 s FormCanvas>roundCornersOf:in:during:
> 0xc6da048 s FormCanvas(Canvas)>roundCornersOf:during:
> 0xc6da0a8 s [] in RubTextScrollPane(Morph)>fullDrawOn:
> 0xc6da108 s BlockClosure>on:do:
> 0xc6da168 s RubTextScrollPane(Morph)>fullDrawOn:
> 0xc6da1c8 s FormCanvas(Canvas)>fullDraw:
> 0xc6da228 s FormCanvas(Canvas)>fullDrawMorph:
> 0xc6da288 s [] in RubScrolledTextMorph>drawSubmorphsOn:
> 0xc6da2e8 s Array(SequenceableCollection)>reverseDo:
> 0xc6da348 s [] in RubScrolledTextMorph>drawSubmorphsOn:
> 0xc6da3a8 s FormCanvas>clipBy:during:
> 0xc6da408 s RubScrolledTextMorph>drawSubmorphsOn:
> 0xc6da468 s [] in RubScrolledTextMorph(Morph)>fullDrawOn:
> 0xc6da4c8 s FormCanvas>roundCornersOf:in:during:
> 0xc6da528 s FormCanvas(Canvas)>roundCornersOf:during:
> 0xc6da588 s [] in RubScrolledTextMorph(Morph)>fullDrawOn:
> 0xc6da5e8 s BlockClosure>on:do:
> 0xc6da648 s RubScrolledTextMorph(Morph)>fullDrawOn:
> 0xc6da6a8 s FormCanvas(Canvas)>fullDraw:
> 0xc6da708 s FormCanvas(Canvas)>fullDrawMorph:
> 0xc6da768 s [] in StandardWindow(Morph)>drawSubmorphsOn:
> 0xc6da7c8 s Array(SequenceableCollection)>reverseDo:
> 0xc6da828 s [] in StandardWindow(Morph)>drawSubmorphsOn:
> 0xc6da888 s FormCanvas>clipBy:during:
> 0xc6da8e8 s StandardWindow(Morph)>drawSubmorphsOn:
> 0xc6da948 s [] in StandardWindow(Morph)>fullDrawOn:
> 0xc6da9a8 s FormCanvas>roundCornersOf:in:during:
> 0xc6daa08 s FormCanvas(Canvas)>roundCornersOf:during:
> 0xc6daa68 s [] in StandardWindow(Morph)>fullDrawOn:
> 0xc6daac8 s BlockClosure>on:do:
> 0xc6dab28 s StandardWindow(Morph)>fullDrawOn:
> 0xc6dab88 s FormCanvas(Canvas)>fullDraw:
> 0xc6dabe8 s FormCanvas(Canvas)>fullDrawMorph:
> 0xc6dac48 s [] in PanelMorph(Morph)>drawSubmorphsOn:
> 0xc6daca8 s Array(SequenceableCollection)>reverseDo:
> 0xc6dad08 s [] in PanelMorph(Morph)>drawSubmorphsOn:
> 0xc6dad68 s FormCanvas>clipBy:during:
> 0xc6dadc8 s PanelMorph(Morph)>drawSubmorphsOn:
> 0xc6dae28 s [] in PanelMorph(Morph)>fullDrawOn:
> 0xc6dae88 s FormCanvas>roundCornersOf:in:during:
> 0xc6daee8 s FormCanvas(Canvas)>roundCornersOf:during:
> 0xc6daf48 s [] in PanelMorph(Morph)>fullDrawOn:
> 0xc6dafa8 s BlockClosure>on:do:
> 0xc6db008 s PanelMorph(Morph)>fullDrawOn:
> 0xc6db068 s FormCanvas(Canvas)>fullDraw:
> 0xc6db0c8 s FormCanvas(Canvas)>fullDrawMorph:
> 0xc6db128 s [] in TabGroupMorph(Morph)>drawSubmorphsOn:
> 0xc6db188 s Array(SequenceableCollection)>reverseDo:
> 0xc6db1e8 s [] in TabGroupMorph(Morph)>drawSubmorphsOn:
> 0xc6db248 s TabGroupMorph(Morph)>drawSubmorphsOn:
> 0xc6db2a8 s [] in TabGroupMorph(Morph)>fullDrawOn:
> 0xc6db308 s FormCanvas>roundCornersOf:in:during:
> 0xc6db368 s FormCanvas(Canvas)>roundCornersOf:during:
> 0xc6db3c8 s [] in TabGroupMorph(Morph)>fullDrawOn:
> 0xc6db428 s BlockClosure>on:do:
> 0xc6db488 s TabGroupMorph(Morph)>fullDrawOn:
> 0xc6db4e8 s TabGroupMorph>fullDrawOn:
> 0xc6db548 s FormCanvas(Canvas)>fullDraw:
> 0xc6db5a8 s FormCanvas(Canvas)>fullDrawMorph:
> 0xc6db608 s [] in GroupWindowMorph(Morph)>drawSubmorphsOn:
> 0xc6db668 s Array(SequenceableCollection)>reverseDo:
> 0xc6db6c8 s [] in GroupWindowMorph(Morph)>drawSubmorphsOn:
> 0xc6db728 s GroupWindowMorph(Morph)>drawSubmorphsOn:
> 0xc6db788 s [] in GroupWindowMorph(Morph)>fullDrawOn:
> 0xc6db7e8 s FormCanvas>roundCornersOf:in:during:
> 0xc6db848 s FormCanvas(Canvas)>roundCornersOf:during:
> 0xc6db8a8 s [] in GroupWindowMorph(Morph)>fullDrawOn:
> 0xc6db908 s BlockClosure>on:do:
> 0xc6db968 s GroupWindowMorph(Morph)>fullDrawOn:
> 0xc6db9c8 s FormCanvas(Canvas)>fullDraw:
> 0xc6dba28 s FormCanvas(Canvas)>fullDrawMorph:
> 0xc6dba88 s [] in SystemWindow(Morph)>drawSubmorphsOn:
> 0xc6dbae8 s Array(SequenceableCollection)>reverseDo:
> 0xc6dbb48 s [] in SystemWindow(Morph)>drawSubmorphsOn:
> 0xc6dbba8 s FormCanvas>clipBy:during:
> 0xc6dbc08 s SystemWindow(Morph)>drawSubmorphsOn:
> 0xc6dbc68 s [] in SystemWindow(Morph)>fullDrawOn:
> 0xc6dbcc8 s FormCanvas>roundCornersOf:in:during:
> 0xc6dbd28 s FormCanvas(Canvas)>roundCornersOf:during:
> 0xc6dbd88 s [] in SystemWindow(Morph)>fullDrawOn:
> 0xc6dbde8 s BlockClosure>on:do:
> 0xc6dbe48 s SystemWindow(Morph)>fullDrawOn:
> 0xc6dbea8 s FormCanvas(Canvas)>fullDraw:
> 0xc6dbf08 s FormCanvas(Canvas)>fullDrawMorph:
> 0xc6dbf68 s [] in WorldState>drawWorld:submorphs:invalidAreasOn:
> 0xc6dc068 s Rectangle>allAreasOutsideList:startingAt:do:
> 0xc6dc0c8 s Rectangle>allAreasOutsideList:do:
> 0xc6dc128 s [] in WorldState>drawWorld:submorphs:invalidAreasOn:
> 0xc6dc228 s Array(SequenceableCollection)>do:
> 0xc6dc288 s WorldState>drawWorld:submorphs:invalidAreasOn:
> 0xc6dc388 s [] in WorldState>displayWorld:submorphs:
> 0xc6dc3e8 s FormCanvas>roundCornersOf:in:during:
> 0xc6dc448 s FormCanvas(Canvas)>roundCornersOf:during:
> 0xc6dc4a8 s WorldState>displayWorld:submorphs:
> 0xc6dc508 s WorldMorph>displayWorld
> 0xc6dc568 s [] in WorldState>displayWorldSafely:
> 0xc6dc5c8 s BlockClosure>on:do:
> 0xc6dc628 s BlockClosure>ifError:
> 0xc6dc688 s WorldState>displayWorldSafely:
> 0xc6dc6e8 s WorldState>doOneCycleNowFor:
> 0xc6dc748 s WorldState>doOneCycleFor:
> 0xc6dc7a8 s WorldMorph>doOneCycle
> 0xc35ca30 s [] in MorphicUIManager>spawnNewProcess
> 0xc167510 s [] in BlockClosure>newProcess
>
> Most recent primitives
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> replaceFrom:to:with:startingAt:
> at:
> objectAt:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> basicSize
> new:
> basicSize
> basicAt:
> replaceFrom:to:with:startingAt:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> at:
> stringHash:initialHash:
> basicNew
> basicIdentityHash
> grow
> grow
> atLeast:
> at:put:
> at:put:
> stringHash:initialHash:
> at:
> species
> value:
> value:
> shallowCopy
> stringHash:initialHash:
> at:
> value:
> shallowCopy
> stringHash:initialHash:
> add:
> value:
> value:
> value:
> value:
> shallowCopy
> stringHash:initialHash:
> value:
> value:
> class
> value:
> class
> value:
> class
> class
> value:
> shallowCopy
> stringHash:initialHash:
> stringHash:initialHash:
> stringHash:initialHash:
> stringHash:initialHash:
> value:
> stringHash:initialHash:
> at:
> at:put:
> at:
> stringHash:initialHash:
> at:
> at:
> at:put:
> at:put:
> at:
> stringHash:initialHash:
> at:
> stringHash:initialHash:
> value
> value
> value
> \\
> \\
> stringHash:initialHash:
> =
> stringHash:initialHash:
> at:
> value:
> at:
> at:
> at:
> at:
> at:
> basicNew
> at:
> basicNew
> value:
> value:
> value
> basicNew
> value
> primCurrentLibrary
> stringHash:initialHash:
> compare:with:collated:
> value:
> value:
> at:
> at:
> value:value:
> **StackOverflow**
> closenessVectorForStretch:slant:weight:
> closenessVectorForStretch:slant:weight:
> closenessVectorForStretch:slant:weight:
> closenessVectorForStretch:slant:weight:
> closenessVectorForStretch:slant:weight:
> closenessVectorForStretch:slant:weight:
> class
> raisedTo:
> raisedTo:
> bitAnd:
> *
> *
> *
> asFloat
> sqrt
> truncated
> sqrt
> sqrt
> sqrt
> sqrt
> sqrt
> bitShift:
> **PrimitiveFailure**
> bitShiftMagnitude:
> timesTwoPower:
>> =
> at:
> value:value:
> first
> first
> +
> +
> +
> truncated
> sqrt
> sqrt
> sqrt
> sqrt
> sqrt
> truncated
> value:value:
> truncated
> truncated
> value:value:
> **PrimitiveFailure**
> bitShiftMagnitude:
> timesTwoPower:
> value:value:
> **PrimitiveFailure**
> basicAt:
> bitShiftMagnitude:
> basicAt:
> bitAnd:
> bitShiftMagnitude:
> basicAt:
> +
> bitOr:
> digitCompare:
> bitShiftMagnitude:
> bitShiftMagnitude:
> digitCompare:
> <
> perform:with:
> digitMultiply:neg:
> *
> <
> at:
> value:value:
> truncated
> truncated
> at:
> value:value:
> truncated
> truncated
> value:value:
> value:value:
> value:value:
> value:value:
> value:value:
> value:value:
> value:value:
> value:value:
> value:value:
> value:value:
> at:
> at:
> at:put:
> at:put:
> at:
> value:value:
> truncated
> truncated
> sort:to:
> sort:to:
> sort:to:
> sort:to:
> truncated
> truncated
> truncated
> truncated
> bitShiftMagnitude:
> timesTwoPower:
> basicNew
> allInstancesOrNil
> value:
> value:
> **StackOverflow**
> size
> primNewFaceFromExternalMemory:size:index:
>
> stack page bytes 4096 available headroom 2788 minimum unused headroom 3020
>
> (Segmentation fault)


Reply | Threaded
Open this post in threaded view
|

Re: Loading an image crashes the VM

Sven Van Caekenberghe-2

> On 30 Jul 2016, at 13:14, Esteban Lorenzano <[hidden email]> wrote:
>
> hi Holger,
>
> do you have a reproducible way for this error? it happens always?

I have the impression that most derived 5.0 builds fail now, for example:

https://ci.inria.fr/pharo-contribution/job/ZincHTTPComponents/
https://ci.inria.fr/pharo-contribution/job/NeoJSON/

> cheers,
> Esteban
>
>> On 30 Jul 2016, at 08:45, Holger Freyther <[hidden email]> wrote:
>>
>>
>>> On 17 Mar 2016, at 22:16, Peter Uhnák <[hidden email]> wrote:
>>
>> Hi!
>>
>>
>>> I got this error maybe once or twice maybe a year ago on linux, but I had a lot of windows opened (like 20 or 30), and when I got back to big screen it was ok again.
>>
>> I am now seeing this with a Pharo50 build on a Jenkins setup.
>>
>>
>> + unzip pharo.zip
>> Archive:  pharo.zip
>> inflating: Pharo-50761.image      
>> inflating: Pharo-50761.changes    
>> + mv Pharo-50761.image App.image
>> + mv Pharo-50761.changes App.changes
>> + create_symlinks
>> + export LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu/:/build/build
>> + LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu/:/build/build
>> + ln -sf /usr/lib/i386-linux-gnu/libcrypto.so.1.0.0 libcrypto.so
>> + /build/build/vm/pharo --nodisplay App.image eval --save '(NonInteractiveTranscript onFileNamed: #stdout)' install
>> Transcript
>> + /build/build/vm/pharo --nodisplay App.image clean --save
>>
>> Segmentation fault Fri Jul 29 19:34:57 2016
>>
>>
>> /build/build/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 <[hidden email]> 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: /build/build/vm/ [default: /build/build/vm/]
>>
>>
>> C stack backtrace & registers:
>> eax 0xff969e64 ebx 0xff969d80 ecx 0xff969e18 edx 0xff969dcc
>> edi 0xff969c50 esi 0xff969c50 ebp 0xff969ce8 esp 0xff969d34
>> eip 0xff969f48
>> *[0xff969f48]
>> /build/build/vm/pharo[0x80c0912]
>> /build/build/vm/pharo[0x80c0c76]
>> linux-gate.so.1(__kernel_rt_sigreturn+0x0)[0xf770bd50]
>> /usr/lib/i386-linux-gnu/libfreetype.so.6(FT_Stream_ReadULong+0x6e)[0xf743342e]
>> /usr/lib/i386-linux-gnu/libfreetype.so.6(+0x524b7)[0xf74764b7]
>> /usr/lib/i386-linux-gnu/libfreetype.so.6(+0x23daa)[0xf7447daa]
>> /usr/lib/i386-linux-gnu/libfreetype.so.6(+0x10ecb)[0xf7434ecb]
>> /usr/lib/i386-linux-gnu/libfreetype.so.6(FT_Open_Face+0x2d9)[0xf7437bd9]
>> /usr/lib/i386-linux-gnu/libfreetype.so.6(FT_New_Memory_Face+0x5a)[0xf74381ea]
>> /build/build/vm/libFT2Plugin.so(primitiveNewMemoryFaceFromExternalMemoryAndIndex+0xfa)[0xf74da15a]
>> /build/build/vm/pharo[0x80906a0]
>> /build/build/vm/pharo(interpret+0x51c6)[0x80b5886]
>> /build/build/vm/pharo[0x80b5e09]
>> /build/build/vm/pharo(interpret+0x1f6)[0x80b08b6]
>> /build/build/vm/pharo(main+0x2b2)[0x805cb92]
>> /lib/i386-linux-gnu/i686/cmov/libc.so.6(__libc_start_main+0xf3)[0xf7504a63]
>> /build/build/vm/pharo[0x805ceb1]
>> /build/build/vm/pharo[0x812c328]
>>
>>
>> Smalltalk stack dump:
>> 0xff96f21c I FreeTypeFace(FT2Face)>newFaceFromExternalMemory:index: 0xc6dc808: a(n) FreeTypeFace
>> 0xff96f244 I FreeTypeFace>create 0xc6dc808: a(n) FreeTypeFace
>> 0xff96f264 I FreeTypeFace>validate 0xc6dc808: a(n) FreeTypeFace
>> 0xff96f284 I FreeTypeFont>face 0xa3ed1b0: a(n) FreeTypeFont
>> 0xff96f2c0 I FreeTypeFontProvider>fontFor:familyName: 0xae5a1d0: a(n) FreeTypeFontProvider
>> 0xff96f2ec M [] in LogicalFontManager>bestFontFor:whenFindingAlternativeIgnoreAll: 0xaf65a10: a(n) LogicalFontManager
>> 0xff96f310 M OrderedCollection>do: 0xaf65a20: a(n) OrderedCollection
>> 0xff96f33c I [] in LogicalFontManager>bestFontFor:whenFindingAlternativeIgnoreAll: 0xaf65a10: a(n) LogicalFontManager
>> 0xff96f360 M Array(SequenceableCollection)>do: 0xa3ec340: a(n) Array
>> 0xff96f388 I LogicalFontManager>bestFontFor:whenFindingAlternativeIgnoreAll: 0xaf65a10: a(n) LogicalFontManager
>> 0xff96f3b0 I LogicalFontManager>bestFontFor: 0xaf65a10: a(n) LogicalFontManager
>> 0xff96f3d4 I LogicalFont>findRealFont 0xaf659d8: a(n) LogicalFont
>> 0xff96f3f4 I LogicalFont>realFont 0xaf659d8: a(n) LogicalFont
>> 0xff96f414 I LogicalFont>height 0xaf659d8: a(n) LogicalFont
>> 0xff96f434 I TextStyle>newFontArray: 0xa3ec2c8: a(n) TextStyle
>> 0xff96f458 I TextStyle class>fontArray: 0xaccf538: a(n) TextStyle class
>> 0xff96f474 M [] in LogicalFont(AbstractFont)>textStyle 0xaf659d8: a(n) LogicalFont
>> 0xff96f48c M Dictionary(Collection)>detect:ifFound:ifNone: 0xa3ebce0: a(n) Dictionary
>> 0xff96f4b0 M Dictionary(Collection)>detect:ifNone: 0xa3ebce0: a(n) Dictionary
>> 0xff96f4d8 I LogicalFont(AbstractFont)>textStyle 0xaf659d8: a(n) LogicalFont
>> 0xff96f4fc I TextMorphForFieldView(TextMorph)>font: 0xa3e6ee0: a(n) TextMorphForFieldView
>> 0xff96f520 I PluggableTextFieldMorph>beDecrypted 0xc66bfb0: a(n) PluggableTextFieldMorph
>> 0xff96f540 I PluggableTextFieldMorph>initialize 0xc66bfb0: a(n) PluggableTextFieldMorph
>> 0xc6d95e8 s PluggableTextFieldMorph class(Behavior)>new
>> 0xc6d96a8 s Pharo3Theme(UITheme)>newAutoAcceptTextEntryIn:for:get:set:class:getEnabled:font:help:entryCompletion:
>> 0xc6d9868 s Pharo3Theme(UITheme)>newAutoAcceptTextEntryIn:for:get:set:class:getEnabled:help:entryCompletion:
>> 0xc6d9a48 s RubFindReplaceDialogWindow(StandardWindow)>newAutoAcceptTextEntryFor:get:set:class:getEnabled:help:entryCompletion:
>> 0xc6d9b08 s RubFindReplaceDialogWindow>newFindTextEntryMorph
>> 0xc6d9b68 s RubFindReplaceDialogWindow>newContentMorph
>> 0xc6d9bc8 s RubFindReplaceDialogWindow(DialogWindow)>newMainPanel
>> 0xc6d9c28 s RubFindReplaceDialogWindow(DialogWindow)>addMainPanel
>> 0xc6d9c88 s RubFindReplaceDialogWindow(DialogWindow)>addInitialPanel
>> 0xc6d9ce8 s RubFindReplaceDialogWindow(DialogWindow)>initialize
>> 0xc6d9d48 s RubFindReplaceDialogWindow class(Behavior)>new
>> 0xc6d9da8 s RubFindReplaceService>newDialog
>> 0xc6d9e08 s RubFindReplaceService>dialog
>> 0xc6d9e68 s RubFindReplaceService>dialogIsActiveFor:
>> 0xc6d9ec8 s RubEditingArea(RubAbstractTextArea)>hasFindReplaceFocus
>> 0xc6d9f28 s RubTextScrollPane>drawSubmorphsOn:
>> 0xc6d9f88 s [] in RubTextScrollPane(Morph)>fullDrawOn:
>> 0xc6d9fe8 s FormCanvas>roundCornersOf:in:during:
>> 0xc6da048 s FormCanvas(Canvas)>roundCornersOf:during:
>> 0xc6da0a8 s [] in RubTextScrollPane(Morph)>fullDrawOn:
>> 0xc6da108 s BlockClosure>on:do:
>> 0xc6da168 s RubTextScrollPane(Morph)>fullDrawOn:
>> 0xc6da1c8 s FormCanvas(Canvas)>fullDraw:
>> 0xc6da228 s FormCanvas(Canvas)>fullDrawMorph:
>> 0xc6da288 s [] in RubScrolledTextMorph>drawSubmorphsOn:
>> 0xc6da2e8 s Array(SequenceableCollection)>reverseDo:
>> 0xc6da348 s [] in RubScrolledTextMorph>drawSubmorphsOn:
>> 0xc6da3a8 s FormCanvas>clipBy:during:
>> 0xc6da408 s RubScrolledTextMorph>drawSubmorphsOn:
>> 0xc6da468 s [] in RubScrolledTextMorph(Morph)>fullDrawOn:
>> 0xc6da4c8 s FormCanvas>roundCornersOf:in:during:
>> 0xc6da528 s FormCanvas(Canvas)>roundCornersOf:during:
>> 0xc6da588 s [] in RubScrolledTextMorph(Morph)>fullDrawOn:
>> 0xc6da5e8 s BlockClosure>on:do:
>> 0xc6da648 s RubScrolledTextMorph(Morph)>fullDrawOn:
>> 0xc6da6a8 s FormCanvas(Canvas)>fullDraw:
>> 0xc6da708 s FormCanvas(Canvas)>fullDrawMorph:
>> 0xc6da768 s [] in StandardWindow(Morph)>drawSubmorphsOn:
>> 0xc6da7c8 s Array(SequenceableCollection)>reverseDo:
>> 0xc6da828 s [] in StandardWindow(Morph)>drawSubmorphsOn:
>> 0xc6da888 s FormCanvas>clipBy:during:
>> 0xc6da8e8 s StandardWindow(Morph)>drawSubmorphsOn:
>> 0xc6da948 s [] in StandardWindow(Morph)>fullDrawOn:
>> 0xc6da9a8 s FormCanvas>roundCornersOf:in:during:
>> 0xc6daa08 s FormCanvas(Canvas)>roundCornersOf:during:
>> 0xc6daa68 s [] in StandardWindow(Morph)>fullDrawOn:
>> 0xc6daac8 s BlockClosure>on:do:
>> 0xc6dab28 s StandardWindow(Morph)>fullDrawOn:
>> 0xc6dab88 s FormCanvas(Canvas)>fullDraw:
>> 0xc6dabe8 s FormCanvas(Canvas)>fullDrawMorph:
>> 0xc6dac48 s [] in PanelMorph(Morph)>drawSubmorphsOn:
>> 0xc6daca8 s Array(SequenceableCollection)>reverseDo:
>> 0xc6dad08 s [] in PanelMorph(Morph)>drawSubmorphsOn:
>> 0xc6dad68 s FormCanvas>clipBy:during:
>> 0xc6dadc8 s PanelMorph(Morph)>drawSubmorphsOn:
>> 0xc6dae28 s [] in PanelMorph(Morph)>fullDrawOn:
>> 0xc6dae88 s FormCanvas>roundCornersOf:in:during:
>> 0xc6daee8 s FormCanvas(Canvas)>roundCornersOf:during:
>> 0xc6daf48 s [] in PanelMorph(Morph)>fullDrawOn:
>> 0xc6dafa8 s BlockClosure>on:do:
>> 0xc6db008 s PanelMorph(Morph)>fullDrawOn:
>> 0xc6db068 s FormCanvas(Canvas)>fullDraw:
>> 0xc6db0c8 s FormCanvas(Canvas)>fullDrawMorph:
>> 0xc6db128 s [] in TabGroupMorph(Morph)>drawSubmorphsOn:
>> 0xc6db188 s Array(SequenceableCollection)>reverseDo:
>> 0xc6db1e8 s [] in TabGroupMorph(Morph)>drawSubmorphsOn:
>> 0xc6db248 s TabGroupMorph(Morph)>drawSubmorphsOn:
>> 0xc6db2a8 s [] in TabGroupMorph(Morph)>fullDrawOn:
>> 0xc6db308 s FormCanvas>roundCornersOf:in:during:
>> 0xc6db368 s FormCanvas(Canvas)>roundCornersOf:during:
>> 0xc6db3c8 s [] in TabGroupMorph(Morph)>fullDrawOn:
>> 0xc6db428 s BlockClosure>on:do:
>> 0xc6db488 s TabGroupMorph(Morph)>fullDrawOn:
>> 0xc6db4e8 s TabGroupMorph>fullDrawOn:
>> 0xc6db548 s FormCanvas(Canvas)>fullDraw:
>> 0xc6db5a8 s FormCanvas(Canvas)>fullDrawMorph:
>> 0xc6db608 s [] in GroupWindowMorph(Morph)>drawSubmorphsOn:
>> 0xc6db668 s Array(SequenceableCollection)>reverseDo:
>> 0xc6db6c8 s [] in GroupWindowMorph(Morph)>drawSubmorphsOn:
>> 0xc6db728 s GroupWindowMorph(Morph)>drawSubmorphsOn:
>> 0xc6db788 s [] in GroupWindowMorph(Morph)>fullDrawOn:
>> 0xc6db7e8 s FormCanvas>roundCornersOf:in:during:
>> 0xc6db848 s FormCanvas(Canvas)>roundCornersOf:during:
>> 0xc6db8a8 s [] in GroupWindowMorph(Morph)>fullDrawOn:
>> 0xc6db908 s BlockClosure>on:do:
>> 0xc6db968 s GroupWindowMorph(Morph)>fullDrawOn:
>> 0xc6db9c8 s FormCanvas(Canvas)>fullDraw:
>> 0xc6dba28 s FormCanvas(Canvas)>fullDrawMorph:
>> 0xc6dba88 s [] in SystemWindow(Morph)>drawSubmorphsOn:
>> 0xc6dbae8 s Array(SequenceableCollection)>reverseDo:
>> 0xc6dbb48 s [] in SystemWindow(Morph)>drawSubmorphsOn:
>> 0xc6dbba8 s FormCanvas>clipBy:during:
>> 0xc6dbc08 s SystemWindow(Morph)>drawSubmorphsOn:
>> 0xc6dbc68 s [] in SystemWindow(Morph)>fullDrawOn:
>> 0xc6dbcc8 s FormCanvas>roundCornersOf:in:during:
>> 0xc6dbd28 s FormCanvas(Canvas)>roundCornersOf:during:
>> 0xc6dbd88 s [] in SystemWindow(Morph)>fullDrawOn:
>> 0xc6dbde8 s BlockClosure>on:do:
>> 0xc6dbe48 s SystemWindow(Morph)>fullDrawOn:
>> 0xc6dbea8 s FormCanvas(Canvas)>fullDraw:
>> 0xc6dbf08 s FormCanvas(Canvas)>fullDrawMorph:
>> 0xc6dbf68 s [] in WorldState>drawWorld:submorphs:invalidAreasOn:
>> 0xc6dc068 s Rectangle>allAreasOutsideList:startingAt:do:
>> 0xc6dc0c8 s Rectangle>allAreasOutsideList:do:
>> 0xc6dc128 s [] in WorldState>drawWorld:submorphs:invalidAreasOn:
>> 0xc6dc228 s Array(SequenceableCollection)>do:
>> 0xc6dc288 s WorldState>drawWorld:submorphs:invalidAreasOn:
>> 0xc6dc388 s [] in WorldState>displayWorld:submorphs:
>> 0xc6dc3e8 s FormCanvas>roundCornersOf:in:during:
>> 0xc6dc448 s FormCanvas(Canvas)>roundCornersOf:during:
>> 0xc6dc4a8 s WorldState>displayWorld:submorphs:
>> 0xc6dc508 s WorldMorph>displayWorld
>> 0xc6dc568 s [] in WorldState>displayWorldSafely:
>> 0xc6dc5c8 s BlockClosure>on:do:
>> 0xc6dc628 s BlockClosure>ifError:
>> 0xc6dc688 s WorldState>displayWorldSafely:
>> 0xc6dc6e8 s WorldState>doOneCycleNowFor:
>> 0xc6dc748 s WorldState>doOneCycleFor:
>> 0xc6dc7a8 s WorldMorph>doOneCycle
>> 0xc35ca30 s [] in MorphicUIManager>spawnNewProcess
>> 0xc167510 s [] in BlockClosure>newProcess
>>
>> Most recent primitives
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> replaceFrom:to:with:startingAt:
>> at:
>> objectAt:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> basicSize
>> new:
>> basicSize
>> basicAt:
>> replaceFrom:to:with:startingAt:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> stringHash:initialHash:
>> basicNew
>> basicIdentityHash
>> grow
>> grow
>> atLeast:
>> at:put:
>> at:put:
>> stringHash:initialHash:
>> at:
>> species
>> value:
>> value:
>> shallowCopy
>> stringHash:initialHash:
>> at:
>> value:
>> shallowCopy
>> stringHash:initialHash:
>> add:
>> value:
>> value:
>> value:
>> value:
>> shallowCopy
>> stringHash:initialHash:
>> value:
>> value:
>> class
>> value:
>> class
>> value:
>> class
>> class
>> value:
>> shallowCopy
>> stringHash:initialHash:
>> stringHash:initialHash:
>> stringHash:initialHash:
>> stringHash:initialHash:
>> value:
>> stringHash:initialHash:
>> at:
>> at:put:
>> at:
>> stringHash:initialHash:
>> at:
>> at:
>> at:put:
>> at:put:
>> at:
>> stringHash:initialHash:
>> at:
>> stringHash:initialHash:
>> value
>> value
>> value
>> \\
>> \\
>> stringHash:initialHash:
>> =
>> stringHash:initialHash:
>> at:
>> value:
>> at:
>> at:
>> at:
>> at:
>> at:
>> basicNew
>> at:
>> basicNew
>> value:
>> value:
>> value
>> basicNew
>> value
>> primCurrentLibrary
>> stringHash:initialHash:
>> compare:with:collated:
>> value:
>> value:
>> at:
>> at:
>> value:value:
>> **StackOverflow**
>> closenessVectorForStretch:slant:weight:
>> closenessVectorForStretch:slant:weight:
>> closenessVectorForStretch:slant:weight:
>> closenessVectorForStretch:slant:weight:
>> closenessVectorForStretch:slant:weight:
>> closenessVectorForStretch:slant:weight:
>> class
>> raisedTo:
>> raisedTo:
>> bitAnd:
>> *
>> *
>> *
>> asFloat
>> sqrt
>> truncated
>> sqrt
>> sqrt
>> sqrt
>> sqrt
>> sqrt
>> bitShift:
>> **PrimitiveFailure**
>> bitShiftMagnitude:
>> timesTwoPower:
>>> =
>> at:
>> value:value:
>> first
>> first
>> +
>> +
>> +
>> truncated
>> sqrt
>> sqrt
>> sqrt
>> sqrt
>> sqrt
>> truncated
>> value:value:
>> truncated
>> truncated
>> value:value:
>> **PrimitiveFailure**
>> bitShiftMagnitude:
>> timesTwoPower:
>> value:value:
>> **PrimitiveFailure**
>> basicAt:
>> bitShiftMagnitude:
>> basicAt:
>> bitAnd:
>> bitShiftMagnitude:
>> basicAt:
>> +
>> bitOr:
>> digitCompare:
>> bitShiftMagnitude:
>> bitShiftMagnitude:
>> digitCompare:
>> <
>> perform:with:
>> digitMultiply:neg:
>> *
>> <
>> at:
>> value:value:
>> truncated
>> truncated
>> at:
>> value:value:
>> truncated
>> truncated
>> value:value:
>> value:value:
>> value:value:
>> value:value:
>> value:value:
>> value:value:
>> value:value:
>> value:value:
>> value:value:
>> value:value:
>> at:
>> at:
>> at:put:
>> at:put:
>> at:
>> value:value:
>> truncated
>> truncated
>> sort:to:
>> sort:to:
>> sort:to:
>> sort:to:
>> truncated
>> truncated
>> truncated
>> truncated
>> bitShiftMagnitude:
>> timesTwoPower:
>> basicNew
>> allInstancesOrNil
>> value:
>> value:
>> **StackOverflow**
>> size
>> primNewFaceFromExternalMemory:size:index:
>>
>> stack page bytes 4096 available headroom 2788 minimum unused headroom 3020
>>
>> (Segmentation fault)
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Loading an image crashes the VM

Holger Freyther
In reply to this post by EstebanLM

> On 30 Jul 2016, at 13:14, Esteban Lorenzano <[hidden email]> wrote:
>
> hi Holger,
>
> do you have a reproducible way for this error? it happens always?

three times in a row, with the latest image. 50759 seems to be fine or I was lucky. The difference is small/odd. Let me try the intermediate images systematically now.

holger
Reply | Threaded
Open this post in threaded view
|

Re: Loading an image crashes the VM

Dale Henrichs-3
In reply to this post by EstebanLM
Esteban,

The segfault is in the same method that I reported yesterday (with a
very reproducible test case)[1] ... also part of big 18706[2]

[1]
http://forum.world.st/segfault-fresh-Pharo5-0-download-w-pharo-VM-version-5-0-1-Wed-May-4-11-54-28-CEST-2016-gcc-4-6-3-Pro-tt4908706.html

[2] https://pharo.fogbugz.com/f/cases/18706#BugEvent.171062

Dale

On 7/30/16 4:14 AM, Esteban Lorenzano wrote:

> hi Holger,
>
> do you have a reproducible way for this error? it happens always?
>
> cheers,
> Esteban
>
>> On 30 Jul 2016, at 08:45, Holger Freyther <[hidden email]> wrote:
>>
>>
>>> On 17 Mar 2016, at 22:16, Peter Uhnák <[hidden email]> wrote:
>> Hi!
>>
>>
>>> I got this error maybe once or twice maybe a year ago on linux, but I had a lot of windows opened (like 20 or 30), and when I got back to big screen it was ok again.
>> I am now seeing this with a Pharo50 build on a Jenkins setup.
>>
>>
>> + unzip pharo.zip
>> Archive:  pharo.zip
>>   inflating: Pharo-50761.image
>>   inflating: Pharo-50761.changes
>> + mv Pharo-50761.image App.image
>> + mv Pharo-50761.changes App.changes
>> + create_symlinks
>> + export LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu/:/build/build
>> + LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu/:/build/build
>> + ln -sf /usr/lib/i386-linux-gnu/libcrypto.so.1.0.0 libcrypto.so
>> + /build/build/vm/pharo --nodisplay App.image eval --save '(NonInteractiveTranscript onFileNamed: #stdout)' install
>> Transcript
>> + /build/build/vm/pharo --nodisplay App.image clean --save
>>
>> Segmentation fault Fri Jul 29 19:34:57 2016
>>
>>
>> /build/build/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 <[hidden email]> 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: /build/build/vm/ [default: /build/build/vm/]
>>
>>
>> C stack backtrace & registers:
>> eax 0xff969e64 ebx 0xff969d80 ecx 0xff969e18 edx 0xff969dcc
>> edi 0xff969c50 esi 0xff969c50 ebp 0xff969ce8 esp 0xff969d34
>> eip 0xff969f48
>> *[0xff969f48]
>> /build/build/vm/pharo[0x80c0912]
>> /build/build/vm/pharo[0x80c0c76]
>> linux-gate.so.1(__kernel_rt_sigreturn+0x0)[0xf770bd50]
>> /usr/lib/i386-linux-gnu/libfreetype.so.6(FT_Stream_ReadULong+0x6e)[0xf743342e]
>> /usr/lib/i386-linux-gnu/libfreetype.so.6(+0x524b7)[0xf74764b7]
>> /usr/lib/i386-linux-gnu/libfreetype.so.6(+0x23daa)[0xf7447daa]
>> /usr/lib/i386-linux-gnu/libfreetype.so.6(+0x10ecb)[0xf7434ecb]
>> /usr/lib/i386-linux-gnu/libfreetype.so.6(FT_Open_Face+0x2d9)[0xf7437bd9]
>> /usr/lib/i386-linux-gnu/libfreetype.so.6(FT_New_Memory_Face+0x5a)[0xf74381ea]
>> /build/build/vm/libFT2Plugin.so(primitiveNewMemoryFaceFromExternalMemoryAndIndex+0xfa)[0xf74da15a]
>> /build/build/vm/pharo[0x80906a0]
>> /build/build/vm/pharo(interpret+0x51c6)[0x80b5886]
>> /build/build/vm/pharo[0x80b5e09]
>> /build/build/vm/pharo(interpret+0x1f6)[0x80b08b6]
>> /build/build/vm/pharo(main+0x2b2)[0x805cb92]
>> /lib/i386-linux-gnu/i686/cmov/libc.so.6(__libc_start_main+0xf3)[0xf7504a63]
>> /build/build/vm/pharo[0x805ceb1]
>> /build/build/vm/pharo[0x812c328]
>>
>>
>> Smalltalk stack dump:
>> 0xff96f21c I FreeTypeFace(FT2Face)>newFaceFromExternalMemory:index: 0xc6dc808: a(n) FreeTypeFace
>> 0xff96f244 I FreeTypeFace>create 0xc6dc808: a(n) FreeTypeFace
>> 0xff96f264 I FreeTypeFace>validate 0xc6dc808: a(n) FreeTypeFace
>> 0xff96f284 I FreeTypeFont>face 0xa3ed1b0: a(n) FreeTypeFont
>> 0xff96f2c0 I FreeTypeFontProvider>fontFor:familyName: 0xae5a1d0: a(n) FreeTypeFontProvider
>> 0xff96f2ec M [] in LogicalFontManager>bestFontFor:whenFindingAlternativeIgnoreAll: 0xaf65a10: a(n) LogicalFontManager
>> 0xff96f310 M OrderedCollection>do: 0xaf65a20: a(n) OrderedCollection
>> 0xff96f33c I [] in LogicalFontManager>bestFontFor:whenFindingAlternativeIgnoreAll: 0xaf65a10: a(n) LogicalFontManager
>> 0xff96f360 M Array(SequenceableCollection)>do: 0xa3ec340: a(n) Array
>> 0xff96f388 I LogicalFontManager>bestFontFor:whenFindingAlternativeIgnoreAll: 0xaf65a10: a(n) LogicalFontManager
>> 0xff96f3b0 I LogicalFontManager>bestFontFor: 0xaf65a10: a(n) LogicalFontManager
>> 0xff96f3d4 I LogicalFont>findRealFont 0xaf659d8: a(n) LogicalFont
>> 0xff96f3f4 I LogicalFont>realFont 0xaf659d8: a(n) LogicalFont
>> 0xff96f414 I LogicalFont>height 0xaf659d8: a(n) LogicalFont
>> 0xff96f434 I TextStyle>newFontArray: 0xa3ec2c8: a(n) TextStyle
>> 0xff96f458 I TextStyle class>fontArray: 0xaccf538: a(n) TextStyle class
>> 0xff96f474 M [] in LogicalFont(AbstractFont)>textStyle 0xaf659d8: a(n) LogicalFont
>> 0xff96f48c M Dictionary(Collection)>detect:ifFound:ifNone: 0xa3ebce0: a(n) Dictionary
>> 0xff96f4b0 M Dictionary(Collection)>detect:ifNone: 0xa3ebce0: a(n) Dictionary
>> 0xff96f4d8 I LogicalFont(AbstractFont)>textStyle 0xaf659d8: a(n) LogicalFont
>> 0xff96f4fc I TextMorphForFieldView(TextMorph)>font: 0xa3e6ee0: a(n) TextMorphForFieldView
>> 0xff96f520 I PluggableTextFieldMorph>beDecrypted 0xc66bfb0: a(n) PluggableTextFieldMorph
>> 0xff96f540 I PluggableTextFieldMorph>initialize 0xc66bfb0: a(n) PluggableTextFieldMorph
>> 0xc6d95e8 s PluggableTextFieldMorph class(Behavior)>new
>> 0xc6d96a8 s Pharo3Theme(UITheme)>newAutoAcceptTextEntryIn:for:get:set:class:getEnabled:font:help:entryCompletion:
>> 0xc6d9868 s Pharo3Theme(UITheme)>newAutoAcceptTextEntryIn:for:get:set:class:getEnabled:help:entryCompletion:
>> 0xc6d9a48 s RubFindReplaceDialogWindow(StandardWindow)>newAutoAcceptTextEntryFor:get:set:class:getEnabled:help:entryCompletion:
>> 0xc6d9b08 s RubFindReplaceDialogWindow>newFindTextEntryMorph
>> 0xc6d9b68 s RubFindReplaceDialogWindow>newContentMorph
>> 0xc6d9bc8 s RubFindReplaceDialogWindow(DialogWindow)>newMainPanel
>> 0xc6d9c28 s RubFindReplaceDialogWindow(DialogWindow)>addMainPanel
>> 0xc6d9c88 s RubFindReplaceDialogWindow(DialogWindow)>addInitialPanel
>> 0xc6d9ce8 s RubFindReplaceDialogWindow(DialogWindow)>initialize
>> 0xc6d9d48 s RubFindReplaceDialogWindow class(Behavior)>new
>> 0xc6d9da8 s RubFindReplaceService>newDialog
>> 0xc6d9e08 s RubFindReplaceService>dialog
>> 0xc6d9e68 s RubFindReplaceService>dialogIsActiveFor:
>> 0xc6d9ec8 s RubEditingArea(RubAbstractTextArea)>hasFindReplaceFocus
>> 0xc6d9f28 s RubTextScrollPane>drawSubmorphsOn:
>> 0xc6d9f88 s [] in RubTextScrollPane(Morph)>fullDrawOn:
>> 0xc6d9fe8 s FormCanvas>roundCornersOf:in:during:
>> 0xc6da048 s FormCanvas(Canvas)>roundCornersOf:during:
>> 0xc6da0a8 s [] in RubTextScrollPane(Morph)>fullDrawOn:
>> 0xc6da108 s BlockClosure>on:do:
>> 0xc6da168 s RubTextScrollPane(Morph)>fullDrawOn:
>> 0xc6da1c8 s FormCanvas(Canvas)>fullDraw:
>> 0xc6da228 s FormCanvas(Canvas)>fullDrawMorph:
>> 0xc6da288 s [] in RubScrolledTextMorph>drawSubmorphsOn:
>> 0xc6da2e8 s Array(SequenceableCollection)>reverseDo:
>> 0xc6da348 s [] in RubScrolledTextMorph>drawSubmorphsOn:
>> 0xc6da3a8 s FormCanvas>clipBy:during:
>> 0xc6da408 s RubScrolledTextMorph>drawSubmorphsOn:
>> 0xc6da468 s [] in RubScrolledTextMorph(Morph)>fullDrawOn:
>> 0xc6da4c8 s FormCanvas>roundCornersOf:in:during:
>> 0xc6da528 s FormCanvas(Canvas)>roundCornersOf:during:
>> 0xc6da588 s [] in RubScrolledTextMorph(Morph)>fullDrawOn:
>> 0xc6da5e8 s BlockClosure>on:do:
>> 0xc6da648 s RubScrolledTextMorph(Morph)>fullDrawOn:
>> 0xc6da6a8 s FormCanvas(Canvas)>fullDraw:
>> 0xc6da708 s FormCanvas(Canvas)>fullDrawMorph:
>> 0xc6da768 s [] in StandardWindow(Morph)>drawSubmorphsOn:
>> 0xc6da7c8 s Array(SequenceableCollection)>reverseDo:
>> 0xc6da828 s [] in StandardWindow(Morph)>drawSubmorphsOn:
>> 0xc6da888 s FormCanvas>clipBy:during:
>> 0xc6da8e8 s StandardWindow(Morph)>drawSubmorphsOn:
>> 0xc6da948 s [] in StandardWindow(Morph)>fullDrawOn:
>> 0xc6da9a8 s FormCanvas>roundCornersOf:in:during:
>> 0xc6daa08 s FormCanvas(Canvas)>roundCornersOf:during:
>> 0xc6daa68 s [] in StandardWindow(Morph)>fullDrawOn:
>> 0xc6daac8 s BlockClosure>on:do:
>> 0xc6dab28 s StandardWindow(Morph)>fullDrawOn:
>> 0xc6dab88 s FormCanvas(Canvas)>fullDraw:
>> 0xc6dabe8 s FormCanvas(Canvas)>fullDrawMorph:
>> 0xc6dac48 s [] in PanelMorph(Morph)>drawSubmorphsOn:
>> 0xc6daca8 s Array(SequenceableCollection)>reverseDo:
>> 0xc6dad08 s [] in PanelMorph(Morph)>drawSubmorphsOn:
>> 0xc6dad68 s FormCanvas>clipBy:during:
>> 0xc6dadc8 s PanelMorph(Morph)>drawSubmorphsOn:
>> 0xc6dae28 s [] in PanelMorph(Morph)>fullDrawOn:
>> 0xc6dae88 s FormCanvas>roundCornersOf:in:during:
>> 0xc6daee8 s FormCanvas(Canvas)>roundCornersOf:during:
>> 0xc6daf48 s [] in PanelMorph(Morph)>fullDrawOn:
>> 0xc6dafa8 s BlockClosure>on:do:
>> 0xc6db008 s PanelMorph(Morph)>fullDrawOn:
>> 0xc6db068 s FormCanvas(Canvas)>fullDraw:
>> 0xc6db0c8 s FormCanvas(Canvas)>fullDrawMorph:
>> 0xc6db128 s [] in TabGroupMorph(Morph)>drawSubmorphsOn:
>> 0xc6db188 s Array(SequenceableCollection)>reverseDo:
>> 0xc6db1e8 s [] in TabGroupMorph(Morph)>drawSubmorphsOn:
>> 0xc6db248 s TabGroupMorph(Morph)>drawSubmorphsOn:
>> 0xc6db2a8 s [] in TabGroupMorph(Morph)>fullDrawOn:
>> 0xc6db308 s FormCanvas>roundCornersOf:in:during:
>> 0xc6db368 s FormCanvas(Canvas)>roundCornersOf:during:
>> 0xc6db3c8 s [] in TabGroupMorph(Morph)>fullDrawOn:
>> 0xc6db428 s BlockClosure>on:do:
>> 0xc6db488 s TabGroupMorph(Morph)>fullDrawOn:
>> 0xc6db4e8 s TabGroupMorph>fullDrawOn:
>> 0xc6db548 s FormCanvas(Canvas)>fullDraw:
>> 0xc6db5a8 s FormCanvas(Canvas)>fullDrawMorph:
>> 0xc6db608 s [] in GroupWindowMorph(Morph)>drawSubmorphsOn:
>> 0xc6db668 s Array(SequenceableCollection)>reverseDo:
>> 0xc6db6c8 s [] in GroupWindowMorph(Morph)>drawSubmorphsOn:
>> 0xc6db728 s GroupWindowMorph(Morph)>drawSubmorphsOn:
>> 0xc6db788 s [] in GroupWindowMorph(Morph)>fullDrawOn:
>> 0xc6db7e8 s FormCanvas>roundCornersOf:in:during:
>> 0xc6db848 s FormCanvas(Canvas)>roundCornersOf:during:
>> 0xc6db8a8 s [] in GroupWindowMorph(Morph)>fullDrawOn:
>> 0xc6db908 s BlockClosure>on:do:
>> 0xc6db968 s GroupWindowMorph(Morph)>fullDrawOn:
>> 0xc6db9c8 s FormCanvas(Canvas)>fullDraw:
>> 0xc6dba28 s FormCanvas(Canvas)>fullDrawMorph:
>> 0xc6dba88 s [] in SystemWindow(Morph)>drawSubmorphsOn:
>> 0xc6dbae8 s Array(SequenceableCollection)>reverseDo:
>> 0xc6dbb48 s [] in SystemWindow(Morph)>drawSubmorphsOn:
>> 0xc6dbba8 s FormCanvas>clipBy:during:
>> 0xc6dbc08 s SystemWindow(Morph)>drawSubmorphsOn:
>> 0xc6dbc68 s [] in SystemWindow(Morph)>fullDrawOn:
>> 0xc6dbcc8 s FormCanvas>roundCornersOf:in:during:
>> 0xc6dbd28 s FormCanvas(Canvas)>roundCornersOf:during:
>> 0xc6dbd88 s [] in SystemWindow(Morph)>fullDrawOn:
>> 0xc6dbde8 s BlockClosure>on:do:
>> 0xc6dbe48 s SystemWindow(Morph)>fullDrawOn:
>> 0xc6dbea8 s FormCanvas(Canvas)>fullDraw:
>> 0xc6dbf08 s FormCanvas(Canvas)>fullDrawMorph:
>> 0xc6dbf68 s [] in WorldState>drawWorld:submorphs:invalidAreasOn:
>> 0xc6dc068 s Rectangle>allAreasOutsideList:startingAt:do:
>> 0xc6dc0c8 s Rectangle>allAreasOutsideList:do:
>> 0xc6dc128 s [] in WorldState>drawWorld:submorphs:invalidAreasOn:
>> 0xc6dc228 s Array(SequenceableCollection)>do:
>> 0xc6dc288 s WorldState>drawWorld:submorphs:invalidAreasOn:
>> 0xc6dc388 s [] in WorldState>displayWorld:submorphs:
>> 0xc6dc3e8 s FormCanvas>roundCornersOf:in:during:
>> 0xc6dc448 s FormCanvas(Canvas)>roundCornersOf:during:
>> 0xc6dc4a8 s WorldState>displayWorld:submorphs:
>> 0xc6dc508 s WorldMorph>displayWorld
>> 0xc6dc568 s [] in WorldState>displayWorldSafely:
>> 0xc6dc5c8 s BlockClosure>on:do:
>> 0xc6dc628 s BlockClosure>ifError:
>> 0xc6dc688 s WorldState>displayWorldSafely:
>> 0xc6dc6e8 s WorldState>doOneCycleNowFor:
>> 0xc6dc748 s WorldState>doOneCycleFor:
>> 0xc6dc7a8 s WorldMorph>doOneCycle
>> 0xc35ca30 s [] in MorphicUIManager>spawnNewProcess
>> 0xc167510 s [] in BlockClosure>newProcess
>>
>> Most recent primitives
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> replaceFrom:to:with:startingAt:
>> at:
>> objectAt:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> basicSize
>> new:
>> basicSize
>> basicAt:
>> replaceFrom:to:with:startingAt:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> at:
>> stringHash:initialHash:
>> basicNew
>> basicIdentityHash
>> grow
>> grow
>> atLeast:
>> at:put:
>> at:put:
>> stringHash:initialHash:
>> at:
>> species
>> value:
>> value:
>> shallowCopy
>> stringHash:initialHash:
>> at:
>> value:
>> shallowCopy
>> stringHash:initialHash:
>> add:
>> value:
>> value:
>> value:
>> value:
>> shallowCopy
>> stringHash:initialHash:
>> value:
>> value:
>> class
>> value:
>> class
>> value:
>> class
>> class
>> value:
>> shallowCopy
>> stringHash:initialHash:
>> stringHash:initialHash:
>> stringHash:initialHash:
>> stringHash:initialHash:
>> value:
>> stringHash:initialHash:
>> at:
>> at:put:
>> at:
>> stringHash:initialHash:
>> at:
>> at:
>> at:put:
>> at:put:
>> at:
>> stringHash:initialHash:
>> at:
>> stringHash:initialHash:
>> value
>> value
>> value
>> \\
>> \\
>> stringHash:initialHash:
>> =
>> stringHash:initialHash:
>> at:
>> value:
>> at:
>> at:
>> at:
>> at:
>> at:
>> basicNew
>> at:
>> basicNew
>> value:
>> value:
>> value
>> basicNew
>> value
>> primCurrentLibrary
>> stringHash:initialHash:
>> compare:with:collated:
>> value:
>> value:
>> at:
>> at:
>> value:value:
>> **StackOverflow**
>> closenessVectorForStretch:slant:weight:
>> closenessVectorForStretch:slant:weight:
>> closenessVectorForStretch:slant:weight:
>> closenessVectorForStretch:slant:weight:
>> closenessVectorForStretch:slant:weight:
>> closenessVectorForStretch:slant:weight:
>> class
>> raisedTo:
>> raisedTo:
>> bitAnd:
>> *
>> *
>> *
>> asFloat
>> sqrt
>> truncated
>> sqrt
>> sqrt
>> sqrt
>> sqrt
>> sqrt
>> bitShift:
>> **PrimitiveFailure**
>> bitShiftMagnitude:
>> timesTwoPower:
>>> =
>> at:
>> value:value:
>> first
>> first
>> +
>> +
>> +
>> truncated
>> sqrt
>> sqrt
>> sqrt
>> sqrt
>> sqrt
>> truncated
>> value:value:
>> truncated
>> truncated
>> value:value:
>> **PrimitiveFailure**
>> bitShiftMagnitude:
>> timesTwoPower:
>> value:value:
>> **PrimitiveFailure**
>> basicAt:
>> bitShiftMagnitude:
>> basicAt:
>> bitAnd:
>> bitShiftMagnitude:
>> basicAt:
>> +
>> bitOr:
>> digitCompare:
>> bitShiftMagnitude:
>> bitShiftMagnitude:
>> digitCompare:
>> <
>> perform:with:
>> digitMultiply:neg:
>> *
>> <
>> at:
>> value:value:
>> truncated
>> truncated
>> at:
>> value:value:
>> truncated
>> truncated
>> value:value:
>> value:value:
>> value:value:
>> value:value:
>> value:value:
>> value:value:
>> value:value:
>> value:value:
>> value:value:
>> value:value:
>> at:
>> at:
>> at:put:
>> at:put:
>> at:
>> value:value:
>> truncated
>> truncated
>> sort:to:
>> sort:to:
>> sort:to:
>> sort:to:
>> truncated
>> truncated
>> truncated
>> truncated
>> bitShiftMagnitude:
>> timesTwoPower:
>> basicNew
>> allInstancesOrNil
>> value:
>> value:
>> **StackOverflow**
>> size
>> primNewFaceFromExternalMemory:size:index:
>>
>> stack page bytes 4096 available headroom 2788 minimum unused headroom 3020
>>
>> (Segmentation fault)
>


Reply | Threaded
Open this post in threaded view
|

Re: Loading an image crashes the VM

Holger Freyther
In reply to this post by Holger Freyther

> On 30 Jul 2016, at 14:19, Holger Freyther <[hidden email]> wrote:
>
>
>> On 30 Jul 2016, at 13:14, Esteban Lorenzano <[hidden email]> wrote:
>>
>> hi Holger,
>>
>> do you have a reproducible way for this error? it happens always?
>
> three times in a row, with the latest image. 50759 seems to be fine or I was lucky. The difference is small/odd. Let me try the intermediate images systematically now.

50759 fine
50760 fine
50761 broken


rm Pharo-50761.* && unzip 50761.zip && ./build/vm/pharo --nodisplay ./Pharo-50761.image eval --save "3+3" && ./build/vm/pharo --nodisplay ./Pharo-50761.image eval "3+3"

running with gdb makes it go away :}

holger