Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista Tutorial - Access Violation after dock / undock?

Reply
 
Old 01-31-2007   #1 (permalink)
Mark Ingalls
Guest


 
 

Access Violation after dock / undock?

Has anyone else experienced an Access Violation in powershell.exe after docking
/ undocking a laptop? I don't have an exact repro, but here are some of
the things I have configured that others may not have (I haven't determined
whether or not these items have a direct impact on the problem at hand):

1. Redirected 'My Documents' folder to a network drive
2. 'My Documents' folder made available offline
3. When docked, my laptop has both a wired and wireless connection to the
same subnet (wired connection is higher in binding order)
4. When I launch powershell, I'm placed in my u:\ (redirected mydocs) by
default.
5. Powershell Community Extensions installed
6. MoW's TabCompletion installed

If the current directory is a network drive and I undock my laptop, nearly
any action (even 'cd c:\temp') results in an Access Violation and powershell
needs to be shutdown. The same thing happens if a network drive is the current
directory and I dock my laptop. I haven't completely tested this with all
network drives, but since I'm placed in U:\ at powershell startup and I spend
most of my time there, I'm often see this problem.

I've hesitated to post this, as my company has some pretty strange desktop
/ laptop configurations (including ZenWorks from Novell) and I don't know
what all they have excluded from the standard Windows XP installation.

If anyone else has noticed (or specifically NOT noticed) this, please let
me know and I'll post this to connect as necessary.

Thanks,
Mark



My System SpecsSystem Spec
Old 02-01-2007   #2 (permalink)
Abhishek Agrawal [MSFT]
Guest


 
 

Re: Access Violation after dock / undock?

Hi Mark,
I will get this checked out internally and post back.

--
Abhishek Agrawal [MSFT]
Windows PowerShell Team
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.

"Mark Ingalls" <mark@nospam.nospam> wrote in message
news:c3aa33fb2c0358c9138f1b5deafa@msnews.microsoft.com...
> Has anyone else experienced an Access Violation in powershell.exe after
> docking / undocking a laptop? I don't have an exact repro, but here are
> some of the things I have configured that others may not have (I haven't
> determined whether or not these items have a direct impact on the problem
> at hand):
>
> 1. Redirected 'My Documents' folder to a network drive
> 2. 'My Documents' folder made available offline
> 3. When docked, my laptop has both a wired and wireless connection to the
> same subnet (wired connection is higher in binding order)
> 4. When I launch powershell, I'm placed in my u:\ (redirected mydocs) by
> default.
> 5. Powershell Community Extensions installed
> 6. MoW's TabCompletion installed
>
> If the current directory is a network drive and I undock my laptop, nearly
> any action (even 'cd c:\temp') results in an Access Violation and
> powershell needs to be shutdown. The same thing happens if a network
> drive is the current directory and I dock my laptop. I haven't completely
> tested this with all network drives, but since I'm placed in U:\ at
> powershell startup and I spend most of my time there, I'm often see this
> problem.
>
> I've hesitated to post this, as my company has some pretty strange desktop
> / laptop configurations (including ZenWorks from Novell) and I don't know
> what all they have excluded from the standard Windows XP installation.
>
> If anyone else has noticed (or specifically NOT noticed) this, please let
> me know and I'll post this to connect as necessary.
>
> Thanks,
> Mark
>
>



My System SpecsSystem Spec
Old 02-01-2007   #3 (permalink)
Mark Ingalls
Guest


 
 

Re: Access Violation after dock / undock?

Hello Abhishek Agrawal [MSFT],

> Hi Mark,
> I will get this checked out internally and post back.
> "Mark Ingalls" <mark@nospam.nospam> wrote in message
> news:c3aa33fb2c0358c9138f1b5deafa@msnews.microsoft.com...
>


I reproduced this error again today. More information:

Setting the working directory to c:\ prior to undocking allowed me to use
'dir' on c:\ after undock

U:\ went into offline status and I was able to 'dir' in u:\ seeing those
files marked for offline access

the windows sync manager came up (after detecting the wireless network) and
u:\ came back online

U:\ went into online status and a 'dir' in u:\ prouced the access violation.

I clicked on the "debug" button, holding out hope that I'd be able to get
something usable from the debug session. Alas, this was not true. Are the
powershell symbols on the msdl symbol server?

the exception thrown was:

System.ExecutionEngineException was unhandled
Message="Exception of type 'System.ExecutionEngineException' was thrown."

which is not too helpful, but I can only post the data I can collect.

thanks,
mark


My System SpecsSystem Spec
Old 02-02-2007   #4 (permalink)
Abhishek Agrawal [MSFT]
Guest


 
 

Re: Access Violation after dock / undock?

Hi mark,
Thanks for the information. This is a known bug. We have received other
reports on this issue and it is being investigated further.

--
Abhishek Agrawal [MSFT]
Windows PowerShell Team
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.

"Mark Ingalls" <mark@nospam.nospam> wrote in message
news:c3aa33fb2c7898c914012515b182@msnews.microsoft.com...
> Hello Abhishek Agrawal [MSFT],
>
>> Hi Mark,
>> I will get this checked out internally and post back.
>> "Mark Ingalls" <mark@nospam.nospam> wrote in message
>> news:c3aa33fb2c0358c9138f1b5deafa@msnews.microsoft.com...
>>

>
> I reproduced this error again today. More information:
>
> Setting the working directory to c:\ prior to undocking allowed me to use
> 'dir' on c:\ after undock
>
> U:\ went into offline status and I was able to 'dir' in u:\ seeing those
> files marked for offline access
>
> the windows sync manager came up (after detecting the wireless network)
> and u:\ came back online
>
> U:\ went into online status and a 'dir' in u:\ prouced the access
> violation.
>
> I clicked on the "debug" button, holding out hope that I'd be able to get
> something usable from the debug session. Alas, this was not true. Are
> the powershell symbols on the msdl symbol server?
>
> the exception thrown was:
>
> System.ExecutionEngineException was unhandled
> Message="Exception of type 'System.ExecutionEngineException' was thrown."
>
> which is not too helpful, but I can only post the data I can collect.
>
> thanks,
> mark
>
>



My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Dock/Undock profile Vista hardware & devices
Docked profile changing every time I undock and dock again Vista General
Access Violation Vista General
Access Violation Vista General
Access Violation Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46