The cause of this crash would probably be easy to detect using message
send tracing in the VM. See "VM for Squeak with message sent
instrumentation" on http://www.smalltalkconsulting.com/squeak.html (I
once used it to debug an issue on linux but had to modify and compile
my own VM because this feature is not in the VM by default).
Adrian
On Sep 5, 2008, at 13:32 , Stéphane Ducasse wrote:
I will try to find out more.
Indeed this is strange and worth reporting that to squeak-dev.
stef
On Sep 5, 2008, at 12:24 PM, Gary Chambers wrote:
Hi Stef.
Do you have a related crash.dmp or SqueakDebug.log file after the
crash?
I've tried with a 3.9 image and also get a VM crash.
As a workaround, close all unnecessary windows/morphs then, in a
class browser selecfte the ScrollPane class, use the halos to grab
the code pane and place in the World desktop. Then close the class
browser (code pane remains), make the change to the class template,
select all and do-it. Seems ok then.
I have occasionally noticed that the VM will crash when recompiling
some morph classes while they are in use.
Regards, Gary.
----- Original Message ----- From: "Stéphane Ducasse" <[EMAIL PROTECTED]
>
To: "An open mailing list to discuss any topics related to an open-
sourceSmalltalk" <[email protected]>
Sent: Thursday, September 04, 2008 8:05 PM
Subject: [Pharo-project] Crashing the image with polymorph in one
line :)
Hi gary
I wanted to remove the class ComponentLikeMorph from the system.
So I redefined ScrollPane to be a subclass of the superclass of
ComponentLikeMorph
MorphicModel subclass: #ScrollPane
instanceVariableNames: 'scrollBar scroller retractableScrollBar
scrollBarOnLeft getMenuSelector getMenuTitleSelector
scrollBarHidden hasFocus hScrollBar'
classVariableNames: ''
poolDictionaries: ''
category: 'Morphic-Windows'
it works in pharo 64
but it crashes systematically the vm when polymorph is loaded.
Stef
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project