privateDirectoryContents

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

privateDirectoryContents

OCIT
'c:\\System Volume Information' asFilename privateDirectoryContents

in VW 7.4 on Windows XP Professional

the above statement returns "true" which does not make sense to me. Can  
somebody pls experiment to see if this is occuring in another world but  
mine?

thanks in advance,

-Charles
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Reply | Threaded
Open this post in threaded view
|

RE: privateDirectoryContents

Boris Popov, DeepCove Labs (SNN)
VisualWorks 7.4.1 / Windows XP Professional SP2 / Local Administrator,

Unhandled exception: ERROR_ACCESS_DENIED ("c:\\System Volume Information")
FileErrorHolder class(OSErrorHolder class)>>reportProceedingOn:
FileErrorHolder(OSErrorHolder)>>reportErrorProceeding
optimized [] in OSErrorHolder class>>initializeErrorActions
SystemError>>handleErrorFor:
NTFSFilename(Filename)>>privateDirectoryContents

Cheers!

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

-----Original Message-----
From: Charles A. Monteiro [mailto:[hidden email]]
Sent: Friday, August 18, 2006 9:28 AM
To: [hidden email]
Subject: privateDirectoryContents

'c:\\System Volume Information' asFilename privateDirectoryContents

in VW 7.4 on Windows XP Professional

the above statement returns "true" which does not make sense to me. Can  
somebody pls experiment to see if this is occuring in another world but  
mine?

thanks in advance,

-Charles
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: privateDirectoryContents

OCIT
maybe I should move to 7.4.1 although that socket issue that made the vm  
"run hot" as posted by Martin kinda freaked me out i.e. where Bruce  
pointed out that it was not just a connection to Postgres thing.

Anyhow, as I have related to Dave in my reply to him the error/issue  
occurs here:


ObjectMemory class >>>
initializeErrorActions
        "Initialize the default action for failed object allocations."

        SystemError
                errorNamed: #'allocation failed'
                action:
                        [:err :arg|
                        | bytes spaceType |
                        "grow by at least 100k bytes"
                        bytes := 100000.
                        err parameter == nil ifFalse:
                                [bytes := bytes max: err parameter].
                        "arg may be name of space to grow or may be requestor.
                         Compute space type appropriately, defaulting to OldSpace."
                        spaceType := (#oldSpace == arg
                                                or: [#fixedSpace == arg
                                                or: [#largeSpace == arg]])
                                                        ifTrue: [arg]
                                                        ifFalse: [#oldSpace].
                        ObjectMemory makeSpaceFor: bytes ofType: spaceType.
                        true]

-------------------------------

the issue is in the evaluation of the action block which occurs here:

SystemError>>>
handleErrorFor: contextInformation

        | errorBlock |
        errorBlock := ErrorActions at: name ifAbsent: [nil].
        ^errorBlock == nil
                ifTrue: [nil]
                ifFalse: [errorBlock value: self value: contextInformation]

-----------------

doing a "debug it" on the statement previously provided will walk one into  
all of this.

thanks

-Charles




On Fri, 18 Aug 2006 12:34:35 -0400, Boris Popov <[hidden email]>  
wrote:

> VisualWorks 7.4.1 / Windows XP Professional SP2 / Local Administrator,
>
> Unhandled exception: ERROR_ACCESS_DENIED ("c:\\System Volume  
> Information")
> FileErrorHolder class(OSErrorHolder class)>>reportProceedingOn:
> FileErrorHolder(OSErrorHolder)>>reportErrorProceeding
> optimized [] in OSErrorHolder class>>initializeErrorActions
> SystemError>>handleErrorFor:
> NTFSFilename(Filename)>>privateDirectoryContents
>
> Cheers!
>
> -Boris
>



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/