FilePlugin bug?

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

FilePlugin bug?

Sean P. DeNigris
Administrator
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@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
Cheers,
Sean