[Vm-dev] FilePlugin bug?

Sean P. DeNigris sean at clipperadams.com
Sat Jun 9 15:54:19 UTC 2012


Have any of the primitives changed recently?

In Pharo 2.0 [1]:
(1 to: 100) do: [ :e |
	subdir := ('directory', e asString) asFileReference.
	subdir ensureDirectory.
	self assert: subdir isDirectory ].

The above snippet:
* usually creates 2-3 out of the 100 directories requested
* doesn't fail until usually ~70-80th iteration (i.e. isDirectory is
returning true when there is no directory)!!

I followed the #ensureDirectory above until it hit the primitive and
everything seemed okay, but I can't debug the vm this second...

Sean

[1] Image
-----
Pharo2.0a
Latest update: #20118

Virtual Machine
---------------
/Applications/JitCocoaVM.app/Contents/MacOS/CogVM
CoInterpreter VMMaker-oscog-EstebanLorenzano.155 uuid:
c53d1f34-009e-425c-9f88-398f8d39c5e8 Apr 15 2012,
StackToRegisterMappingCogit VMMaker-oscog-EstebanLorenzano.155 uuid:
c53d1f34-009e-425c-9f88-398f8d39c5e8 Apr 15 2012,
https://git.gitorious.org/cogvm/blessed.git Commit:
043d256c0d39b78e04db8608c0ebfbf096223a3f Date: Sun Apr 15 14:18:12 2012
+0200 By: Guille <guillermopolito at gmail.com>
Mac Cocoa Cog 5.8b12 21-Sep-10 >1B0534FA-246C-47C5-AB29-7A76C81CCDCB<
CoInterpreter VMMaker-oscog-EstebanLorenzano.155 uuid:
c53d1f34-009e-425c-9f88-398f8d39c5e8 Apr 15 2012
StackToRegisterMappingCogit VMMaker-oscog-EstebanLorenzano.155 uuid:
c53d1f34-009e-425c-9f88-398f8d39c5e8 Apr 15 2012

--
View this message in context: http://forum.world.st/FilePlugin-bug-tp4634074.html
Sent from the Squeak VM mailing list archive at Nabble.com.


More information about the Vm-dev mailing list