[Pharo-project] Exupery VM crashed with SegFault
Hi, try to evaluate the following code in any Pharo image using the Exupery Unix VM and you will get a Segmentation Fault. Preferences setMenuFontTo: (LogicalFont familyName: 'DejaVu Serif' pointSize: 10). $ squeak -version 3.10-3 #29 Fri Feb 27 22:09:30 GMT 2009 gcc 4.1.2 Pharo0.1 of 16 May 2008 [latest update: #10074] Linux localhost 2.6.24.4 #9 SMP Sat Jul 19 21:31:15 BST 2008 i686 Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz GenuineIntel GNU/Linux default plugin location: /usr/local/lib/squeak/3.10-3/*.so Segmentation fault 2025578964 UUID>initialize 2025578848 Behavior>new: 2025578756 >new 2025578664 >setTimeStamp 2025578480 >updateInstances 2025560892 >setMenuFontTo: [...] The code which crashes: UUID>>initialize self primMakeUUID. UUID>>primMakeUUID <primitive: 'primitiveMakeUUID' module: 'UUIDPlugin'> UUIDGenerator default generateBytes: self forVersion: 4. If I remove the call to the primitive, things works and the font is changed. -- Damien Cassou http://damiencassou.seasidehosting.st
On Mon, 2009-03-30 at 16:32 +0200, Damien Cassou wrote:
Hi,
try to evaluate the following code in any Pharo image using the Exupery Unix VM and you will get a Segmentation Fault.
Preferences setMenuFontTo: (LogicalFont familyName: 'DejaVu Serif' pointSize: 10).
That works here using both my rather old Pharo development image and pharo0.1-10259dev09.03.3.zip. Any chance you could run it under gdb with a breakpoint on error to get the C backtrace? Looking at the source to the primitive it's very simple, I'm not sure how it could fail so long as the UUID generated is 16 bytes long. Bryce
On Mon, Mar 30, 2009 at 11:32 AM, Damien Cassou <damien.cassou@gmail.com>wrote:
Hi,
try to evaluate the following code in any Pharo image using the Exupery Unix VM and you will get a Segmentation Fault.
Preferences setMenuFontTo: (LogicalFont familyName: 'DejaVu Serif' pointSize: 10).
$ squeak -version 3.10-3 #29 Fri Feb 27 22:09:30 GMT 2009 gcc 4.1.2 Pharo0.1 of 16 May 2008 [latest update: #10074] Linux localhost 2.6.24.4 #9 SMP Sat Jul 19 21:31:15 BST 2008 i686 Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz GenuineIntel GNU/Linux default plugin location: /usr/local/lib/squeak/3.10-3/*.so
Segmentation fault
2025578964 UUID>initialize 2025578848 Behavior>new: 2025578756 >new 2025578664 >setTimeStamp 2025578480 >updateInstances 2025560892 >setMenuFontTo: [...]
The code which crashes:
UUID>>initialize self primMakeUUID.
UUID>>primMakeUUID <primitive: 'primitiveMakeUUID' module: 'UUIDPlugin'> UUIDGenerator default generateBytes: self forVersion: 4.
If I remove the call to the primitive, things works and the font is changed.
It works for me on Ubuntu hardy, exupery and pharo 262. Cheers, Mariano
-- Damien Cassou http://damiencassou.seasidehosting.st
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
works here also on ubuntu 8.10: squeak -version 3.10-3 #29 Fri Feb 27 22:09:30 GMT 2009 gcc 4.1.2 Pharo0.1 of 16 May 2008 [latest update: #10074] Linux localhost 2.6.24.4 #9 SMP Sat Jul 19 21:31:15 BST 2008 i686 Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz GenuineIntel GNU/Linux default plugin location: /usr/local/lib/squeak/3.10-3/*.so Cheers Alain Mariano Martinez Peck a écrit :
On Mon, Mar 30, 2009 at 11:32 AM, Damien Cassou <damien.cassou@gmail.com <mailto:damien.cassou@gmail.com>> wrote:
Hi,
try to evaluate the following code in any Pharo image using the Exupery Unix VM and you will get a Segmentation Fault.
Preferences setMenuFontTo: (LogicalFont familyName: 'DejaVu Serif' pointSize: 10).
$ squeak -version 3.10-3 #29 Fri Feb 27 22:09:30 GMT 2009 gcc 4.1.2 Pharo0.1 of 16 May 2008 [latest update: #10074] Linux localhost 2.6.24.4 #9 SMP Sat Jul 19 21:31:15 BST 2008 i686 Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz GenuineIntel GNU/Linux default plugin location: /usr/local/lib/squeak/3.10-3/*.so
Segmentation fault
2025578964 UUID>initialize 2025578848 Behavior>new: 2025578756 >new 2025578664 >setTimeStamp 2025578480 >updateInstances 2025560892 >setMenuFontTo: [...]
The code which crashes:
UUID>>initialize self primMakeUUID.
UUID>>primMakeUUID <primitive: 'primitiveMakeUUID' module: 'UUIDPlugin'> UUIDGenerator default generateBytes: self forVersion: 4.
If I remove the call to the primitive, things works and the font is changed.
It works for me on Ubuntu hardy, exupery and pharo 262.
Cheers,
Mariano
-- Damien Cassou http://damiencassou.seasidehosting.st
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr <mailto:Pharo-project@lists.gforge.inria.fr> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
------------------------------------------------------------------------
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Hi, I'm getting this error on Linux Mint 7 (Ubuntu 9.04). Calling of: UUID>>new ^(self new: 16) crashes Pharo on: UUID>>initialize self primMakeUUID. I've changed to: UUID>>new ^(self new: 17) and it stops crashing. 2009/3/30 Damien Cassou <damien.cassou@gmail.com>:
Hi,
try to evaluate the following code in any Pharo image using the Exupery Unix VM and you will get a Segmentation Fault.
Preferences setMenuFontTo: (LogicalFont familyName: 'DejaVu Serif' pointSize: 10).
$ squeak -version 3.10-3 #29 Fri Feb 27 22:09:30 GMT 2009 gcc 4.1.2 Pharo0.1 of 16 May 2008 [latest update: #10074] Linux localhost 2.6.24.4 #9 SMP Sat Jul 19 21:31:15 BST 2008 i686 Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz GenuineIntel GNU/Linux default plugin location: /usr/local/lib/squeak/3.10-3/*.so
Segmentation fault
2025578964 UUID>initialize 2025578848 Behavior>new: 2025578756 >new 2025578664 >setTimeStamp 2025578480 >updateInstances 2025560892 >setMenuFontTo: [...]
The code which crashes:
UUID>>initialize     self primMakeUUID.
UUID>>primMakeUUID Â Â Â Â <primitive: 'primitiveMakeUUID' module: 'UUIDPlugin'> Â Â Â Â UUIDGenerator default generateBytes: self forVersion: 4.
If I remove the call to the primitive, things works and the font is changed.
-- Damien Cassou http://damiencassou.seasidehosting.st
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
This bug appeared before for many of us Ubuntu 9.04 users. The solution I use is to rename the directory UUIDPlugin to UUIDPlugin.bak. ---------- Forwarded message ---------- From: Baskakov Daniel <gdaniq@gmail.com> Date: Fri, Jun 5, 2009 at 9:11 AM Subject: Re: [Pharo-project] Exupery VM crashed with SegFault To: Pharo-project@lists.gforge.inria.fr Hi, I'm getting this error on Linux Mint 7 (Ubuntu 9.04). Calling of: UUID>>new     ^(self new: 16) crashes Pharo on: UUID>>initialize     self primMakeUUID. I've changed to: UUID>>new     ^(self new: 17) and it stops crashing. 2009/3/30 Damien Cassou <damien.cassou@gmail.com>:
Hi,
try to evaluate the following code in any Pharo image using the Exupery Unix VM and you will get a Segmentation Fault.
Preferences setMenuFontTo: (LogicalFont familyName: 'DejaVu Serif' pointSize: 10).
$ squeak -version 3.10-3 #29 Fri Feb 27 22:09:30 GMT 2009 gcc 4.1.2 Pharo0.1 of 16 May 2008 [latest update: #10074] Linux localhost 2.6.24.4 #9 SMP Sat Jul 19 21:31:15 BST 2008 i686 Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz GenuineIntel GNU/Linux default plugin location: /usr/local/lib/squeak/3.10-3/*.so
Segmentation fault
2025578964 UUID>initialize 2025578848 Behavior>new: 2025578756 >new 2025578664 >setTimeStamp 2025578480 >updateInstances 2025560892 >setMenuFontTo: [...]
The code which crashes:
UUID>>initialize     self primMakeUUID.
UUID>>primMakeUUID Â Â Â Â <primitive: 'primitiveMakeUUID' module: 'UUIDPlugin'> Â Â Â Â UUIDGenerator default generateBytes: self forVersion: 4.
If I remove the call to the primitive, things works and the font is changed.
-- Damien Cassou http://damiencassou.seasidehosting.st
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry
This is issue http://code.google.com/p/pharo/issues/detail?id=855 Is there a fix (i.e., new VM) in sight? Adrian On Jun 5, 2009, at 09:21 , Damien Cassou wrote:
This bug appeared before for many of us Ubuntu 9.04 users. The solution I use is to rename the directory UUIDPlugin to UUIDPlugin.bak.
---------- Forwarded message ---------- From: Baskakov Daniel <gdaniq@gmail.com> Date: Fri, Jun 5, 2009 at 9:11 AM Subject: Re: [Pharo-project] Exupery VM crashed with SegFault To: Pharo-project@lists.gforge.inria.fr
Hi,
I'm getting this error on Linux Mint 7 (Ubuntu 9.04). Calling of:
UUID>>new ^(self new: 16)
crashes Pharo on:
UUID>>initialize self primMakeUUID.
I've changed to:
UUID>>new ^(self new: 17)
and it stops crashing.
2009/3/30 Damien Cassou <damien.cassou@gmail.com>:
Hi,
try to evaluate the following code in any Pharo image using the Exupery Unix VM and you will get a Segmentation Fault.
Preferences setMenuFontTo: (LogicalFont familyName: 'DejaVu Serif' pointSize: 10).
$ squeak -version 3.10-3 #29 Fri Feb 27 22:09:30 GMT 2009 gcc 4.1.2 Pharo0.1 of 16 May 2008 [latest update: #10074] Linux localhost 2.6.24.4 #9 SMP Sat Jul 19 21:31:15 BST 2008 i686 Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz GenuineIntel GNU/Linux default plugin location: /usr/local/lib/squeak/3.10-3/*.so
Segmentation fault
2025578964 UUID>initialize 2025578848 Behavior>new: 2025578756 >new 2025578664 >setTimeStamp 2025578480 >updateInstances 2025560892 >setMenuFontTo: [...]
The code which crashes:
UUID>>initialize self primMakeUUID.
UUID>>primMakeUUID <primitive: 'primitiveMakeUUID' module: 'UUIDPlugin'> UUIDGenerator default generateBytes: self forVersion: 4.
If I remove the call to the primitive, things works and the font is changed.
-- Damien Cassou http://damiencassou.seasidehosting.st
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Damien Cassou http://damiencassou.seasidehosting.st
"Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Fri, 2009-06-05 at 09:39 +0200, Adrian Lienhard wrote:
This is issue http://code.google.com/p/pharo/issues/detail?id=855
Is there a fix (i.e., new VM) in sight?
It's on my list of things to look at but I'm unlikely to have a great deal of time for the next few months. Bryce
participants (6)
-
Adrian Lienhard -
Alain Plantec -
Baskakov Daniel -
Bryce Kampjes -
Damien Cassou -
Mariano Martinez Peck