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
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to