Squeak crash

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

Squeak crash

MrGwen
 
Hi,

I've built my own version of Squeak (with a personal plugin) and when I've
launched it, I can see the environment but after 5 sec Squeak crashes.

Segmentation fault

26962964 >seconds:nanoSeconds:
26962872 >seconds:
26962780 >fromSeconds:
26962680 >dateAndTimeFromSeconds:
26962588 >dateAndTimeNow
26962312 SmalltalkImage>recordStartupStamp
19198472 SmalltalkImage>snapshot:andQuit:embedded:
19198380 SmalltalkImage>snapshot:andQuit:
19198288 SmalltalkImage>saveSession
19198104 TheWorldMenu>doMenuItem:with:
19198012 [] in MenuItemMorph>invokeWithEvent:
19197920 BlockContext>ensure:
19197828 Cursor>showWhile:
19197736 MenuItemMorph>invokeWithEvent:
19197644 MenuItemMorph>mouseUp:
19197552 MenuItemMorph>handleMouseUp:
19197416 MouseButtonEvent>sentTo:
19197324 Morph>handleEvent:
19197232 MorphicEventDispatcher>dispatchDefault:with:
19197140 MorphicEventDispatcher>dispatchEvent:with:
19197048 Morph>processEvent:using:
19196956 MorphicEventDispatcher>dispatchDefault:with:
19196848 MorphicEventDispatcher>dispatchEvent:with:
19196712 Morph>processEvent:using:
19196620 Morph>processEvent:
19196528 MenuMorph>handleFocusEvent:
19196252 [] in HandMorph>sendFocusEvent:to:clear:
19196344 [] in PasteUpMorph>becomeActiveDuring:
19196160 BlockContext>on:do:
19196068 PasteUpMorph>becomeActiveDuring:
19195884 HandMorph>sendFocusEvent:to:clear:
19195792 HandMorph>sendEvent:focus:clear:
19195700 HandMorph>sendMouseEvent:
19195552 HandMorph>handleEvent:
19195292 HandMorph>processEvents
19195384 [] in WorldState>doOneCycleNowFor:
19195200 SequenceableCollection>do:
19195108 WorldState>handsDo:
19195016 WorldState>doOneCycleNowFor:
19194924 WorldState>doOneCycleFor:
19194832 PasteUpMorph>doOneCycle
18965928 [] in >spawnNewProcess
18966020 [] in BlockContext>newProcess

Cheers,
Gwenael Casaccio

--

GtkLauncher for GNU Smalltalk : http://gtklauncher.bioskop.fr/
Reply | Threaded
Open this post in threaded view
|

Re: Squeak crash

johnmci
 
You'll need to supply a bit more information. mac, windows, unix?
what steps (detailed) did you take to build the VM

On 13-May-09, at 7:36 AM, Gwenael Casaccio wrote:

>
> Hi,
>
> I've built my own version of Squeak (with a personal plugin) and  
> when I've
> launched it, I can see the environment but after 5 sec Squeak crashes.
>
> Segmentation fault

--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>   Twitter:  
squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================




Reply | Threaded
Open this post in threaded view
|

Re: Squeak crash

MrGwen
 
On Wednesday 13 May 2009 19:47:19 John M McIntosh wrote:

> You'll need to supply a bit more information. mac, windows, unix?
> what steps (detailed) did you take to build the VM
>
> On 13-May-09, at 7:36 AM, Gwenael Casaccio wrote:
> > Hi,
> >
> > I've built my own version of Squeak (with a personal plugin) and
> > when I've
> > launched it, I can see the environment but after 5 sec Squeak crashes.
> >
> > Segmentation fault
>
> --
> =
> =
> =
> ========================================================================
> John M. McIntosh <[hidden email]>   Twitter:
> squeaker68882
> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
> =
> =
> =
> ========================================================================

Yes sorry, I use the lastest unix vm. And I use the classical way to build
I've created a src dir with the vmmaker (the lastest version).
I've generated a few numbers of plugins and do the classical ./configure; make.
Oh yes I've forget I use a pharo image the pharo0.1-10250dev09.03.2

Cheers,
Gwenael
--

GtkLauncher for GNU Smalltalk : http://gtklauncher.bioskop.fr/
Reply | Threaded
Open this post in threaded view
|

Re: Squeak crash

johnmci
 
Well assuming you have build a closure based VM, then you should turn  
on the balance checks.
change in the  interp.c  also ensure the gunified interp.c has the  
change

#define DoBalanceChecks 0
to
#define DoBalanceChecks 1

If you see in sysout

"Stack unbalanced after"

The you are guaranteed a VM crash with the closure VMs

On 14-May-09, at 12:58 AM, Gwenael Casaccio wrote:

> On Wednesday 13 May 2009 19:47:19 John M McIntosh wrote:
>> You'll need to supply a bit more information. mac, windows, unix?
>> what steps (detailed) did you take to build the VM
>>
>> On 13-May-09, at 7:36 AM, Gwenael Casaccio wrote:
>>> Hi,
>>>
>>> I've built my own version of Squeak (with a personal plugin) and
>>> when I've
>>> launched it, I can see the environment but after 5 sec Squeak  
>>> crashes.
>>>
>>> Segmentation fault
>>
>> --
>> =
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>> John M. McIntosh <[hidden email]>   Twitter:
>> squeaker68882
>> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
>> =
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>
> Yes sorry, I use the lastest unix vm. And I use the classical way to  
> build
> I've created a src dir with the vmmaker (the lastest version).
> I've generated a few numbers of plugins and do the classical ./
> configure; make.
> Oh yes I've forget I use a pharo image the pharo0.1-10250dev09.03.2
>
> Cheers,
> Gwenael
> --
>
> GtkLauncher for GNU Smalltalk : http://gtklauncher.bioskop.fr/

--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>   Twitter:  
squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================