Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Vista installation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ghoort
New Member

3 Posts

Posted - Jan 02 2007 :  04:04:03 AM  Show Profile  Reply with Quote
I cannot install VA to Vista64 and VS2005. Setup application copied all files and generates exception 'privileged instruction' during registration VA_X.dll. Installer calls LoadLibrary("VA_X.dll") and error happens. I created small Win32 application

int main()
{
HMODULE hModule = LoadLibrary("va_x.dll"); //<- error here!
printf("Loaded!\\n");
FreeLibrary(hModule);
}

It produced following output to debug window

'DllRegistrator.exe': Loaded 'C:\\Users\\Ghoort\\Documents\\Visual Studio 2005\\Projects\\DllRegistrator\\Debug\\DllRegistrator.exe', Symbols loaded.
'DllRegistrator.exe': Loaded 'C:\\Windows\\System32\\ntdll.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\kernel32.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\winsxs\\x86_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.762_none_24c8a196583ff03b\\msvcr80d.dll', Symbols loaded.
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\msvcrt.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Users\\Ghoort\\Documents\\Visual Studio 2005\\Projects\\DllRegistrator\\VA_X.dll', Binary was not built with debug information.
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\user32.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\gdi32.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\advapi32.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\rpcrt4.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\secur32.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\shlwapi.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\comdlg32.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\winsxs\\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.6000.16386_none_87e0cb09378714f1\\comctl32.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\shell32.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\winspool.drv', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\oledlg.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\ole32.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\oleaut32.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\version.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\ws2_32.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\nsi.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\winmm.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\oleacc.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\imm32.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\msctf.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\lpk.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\usp10.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\winsxs\\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6000.16386_none_5d07289e07e1d100\\comctl32.dll', Symbols loaded (source information stripped).
%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\inetmib1.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\IPHLPAPI.DLL', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\dhcpcsvc.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\dnsapi.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\winnsi.dll', Symbols loaded (source information stripped).
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\dhcpcsvc6.dll', No symbols loaded.
'DllRegistrator.exe': Loaded 'C:\\Windows\\SysWOW64\\snmpapi.dll', Symbols loaded (source information stripped).
First-chance exception at 0x002039ec in DllRegistrator.exe: 0xC0000096: Privileged instruction.
Unhandled exception at 0x002039ec in DllRegistrator.exe: 0xC0000096: Privileged instruction.


Callstack

> 002039ec()
ntdll.dll!__SEH_epilog4_GS() + 0xa bytes
ntdll.dll!_RtlGetFullPathName_Ustr@24() + 0x121 bytes
ntdll.dll!_RtlpInsertFreeBlock@12() + 0x258dd bytes

and disassemble

002039D8 mov eax,564D5868h
002039DD mov ebx,0
002039E2 mov ecx,0Ah
002039E7 mov edx,5658h
002039EC in eax,dx ; <- error!
002039ED cmp ebx,564D5868h
002039F3 jne 002039F9
002039F5 mov byte ptr [ebp-1],1
002039F9 mov al,byte ptr [ebp-1]

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jan 02 2007 :  10:31:49 AM  Show Profile  Reply with Quote
Are you logged in as the administrator? The VA installer should have run with Admin rights, based on my testing under the 32bit version of Vista. Do you know if the installer ran with admin rights for you?

Are you running this test program with admin rights?

zen is the art of being at one with the two'ness
Go to Top of Page

Ghoort
New Member

3 Posts

Posted - Jan 02 2007 :  2:46:21 PM  Show Profile  Reply with Quote
quote:
Originally posted by feline

Are you logged in as the administrator?
Yes, I'm admin at my PC.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jan 02 2007 :  3:05:41 PM  Show Profile  Reply with Quote
What build of VA X? If not the latest, please try that build.

Into what directory did you install VA X? Default is C:\\Program Files\\Visual Assist X
Go to Top of Page

Ghoort
New Member

3 Posts

Posted - Jan 02 2007 :  3:14:30 PM  Show Profile  Reply with Quote
quote:
Originally posted by support

What build of VA X? If not the latest, please try that build.

Into what directory did you install VA X? Default is C:\\Program Files\\Visual Assist X

I tried 1540, 1541 and 1543. Problem is not depends to installation folder, I tried 'C:\\Program Files\\Visual Assist X', 'C:\\Program Files (x86)\\Visual Assist X' (it is default in Win64) and 'C:\\VAX'.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jan 02 2007 :  5:33:31 PM  Show Profile  Reply with Quote
Do either of these FAQ's look helpful?

http://docs.wholetomato.com?W297

http://docs.wholetomato.com?W290

I will start Vista 64bit installing into a VMWare machine here, but it will be a little while before I have any results.

zen is the art of being at one with the two'ness
Go to Top of Page

Erik Olofsson
Tomato Guru

111 Posts

Posted - Jan 02 2007 :  8:57:45 PM  Show Profile  Reply with Quote
I'm running VA on x64 Vista without problem. I have User Account Control turned off.

This crash is probably the copy protection that will not let you run with the debugger attached. I always get this when I'm debugging Visual Studio autoexpand plugins, and if you continue it pops up a dialog telling you that it will not run with a debugger attached.

Cutting Edge Project Management
http://www.hansoft.se
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jan 03 2007 :  09:11:19 AM  Show Profile  Reply with Quote
Ghoort do you have UAC turned on or off?

I have just finished getting a Vista 64bit machine up and running. This is simply a default install of Vista Buisness edition 64bit. I then installed VS2005. I only made a few changes from the default settings, mainly not installing J# or install shield.

Then I installed VA 1543, accepting the defaults. I did not get any errors or other problems, and VA is working quite happily for me when I run VS2005 as administrator.

zen is the art of being at one with the two'ness

Edited by - feline on Jan 03 2007 12:58:04 PM
Go to Top of Page

DDD
Starting Member

1 Posts

Posted - Jan 17 2007 :  9:05:50 PM  Show Profile  Reply with Quote
Do you have Data Execution Prevention (DEP) enabled?

I've found that if I have DEP active, all attempts to install VAX builds 1540,1541,or 1543 will fail (I've not tried any other builds).

If I disable DEP, install VAX, and then re-enable DEP, then launching VS2005/VAX will result in a fault. I can add devenv.exe to the DEP exception list, and then VS2005/VAX will run without problems. VS2005 by itself runs fine with DEP active and not being on the DEP exception list.

Additional information about DEP can be found here: http://msdn2.microsoft.com/en-us/library/aa366553.aspx

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jan 18 2007 :  12:35:04 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.
The installer crashing is:

case=4604

The IDE its self crashing is:

case=4605

Neither problem shows up under winXP SP2 with DEP enabled, so it seems to be a Vista specific problem.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000