Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1528: Installer locking database

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Erik Olofsson Posted - Jul 08 2006 : 10:28:39 AM

This happened again when installing 1528:
http://forum.wholetomato.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=3972

I looked in ProcessExplorer and some .db files were opened by a hung cl.exe and cmd.exe process. Why would cl.exe have files in the VA vc8 directory open?


Visual Studio 2005, Windows XP x64 Edition, no other plugins
4   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Aug 31 2006 : 01:30:33 AM
case=2304 (CFile defaults to inherit - thanks for the tip!)
Erik Olofsson Posted - Aug 30 2006 : 08:22:23 AM

Happened again for 1533. I forgot to check if the files were locked before I ran the installer. This time it was only a cmd.exe that had the handles opened. I tried launching a cmd.exe from within devenv.exe (Tools->Visual Studio 2005 Command Prompt) and noticed that it had several handles from Visual Assist open. When I think about it it could be a Post Link event in my project that launch a cmd.exe. I have no idea why it would hang though. I think you could fix this problem if you don't open your file handles with the inherit flag set in the SECRURITY_ATTRIBUTES parameter to CreateFile.

This is the dump from Process Explorer of opened handles:

Type Name Handle Access Object Address
Mutant \\BaseNamedObjects\\__DDrawCheckExclMode__ 0x714 0x001F0001 0x99532F20
Mutant \\BaseNamedObjects\\__DDrawExclMode__ 0x7A8 0x001F0001 0x99532FC0
File \\Device\\Afd\\Endpoint 0xBE0 0x0016019F 0x98DD1490
File \\Device\\NamedPipe\\$Directory\\Win32Pipes.00000734.00000017 0xDF4 0x00120189 0x98FD1D30
File \\Device\\NamedPipe\\$Directory\\Win32Pipes.00000734.00000018 0xE08 0x00120189 0x98B185A0
File \\Device\\Null 0xE70 0x00120089 0x98AC5190
File C:\\Program Files (x86)\\Visual Assist X\\vc8\\CPP\\Db0Ds.db 0x9BC 0x00120089 0x9952F050
File C:\\Program Files (x86)\\Visual Assist X\\vc8\\CPP\\Db1Ds.db 0x9C0 0x00120089 0x98E49F40
File C:\\Program Files (x86)\\Visual Assist X\\vc8\\CPP\\Db2Ds.db 0x9C4 0x00120089 0x99092500
File C:\\Program Files (x86)\\Visual Assist X\\vc8\\CPP\\Db3Ds.db 0x9C8 0x00120089 0x995862C0
File C:\\Program Files (x86)\\Visual Assist X\\vc8\\CPP\\Db4Ds.db 0x9CC 0x00120089 0x98C24AD0
File C:\\Program Files (x86)\\Visual Assist X\\vc8\\Proj_1045759654\\Db0Ds.db 0x878 0x00120089 0x98B58F40
File C:\\Program Files (x86)\\Visual Assist X\\vc8\\Proj_1045759654\\Db1Ds.db 0x884 0x00120089 0x989715F0
File C:\\Program Files (x86)\\Visual Assist X\\vc8\\Proj_1045759654\\Db2Ds.db 0x87C 0x00120089 0x98CB1A10
File C:\\Program Files (x86)\\Visual Assist X\\vc8\\Proj_1045759654\\Db3Ds.db 0x9D8 0x00120089 0x98B4A2C0
File C:\\Program Files (x86)\\Visual Assist X\\vc8\\Proj_1045759654\\Db4Ds.db 0x9DC 0x00120089 0x98ABC940
File C:\\Program Files (x86)\\Visual Assist X\\vc8\\Proj_1045759654\\Temp\\Db3Ds.db 0xA0C 0x00120089 0x9939C4F0
File C:\\Program Files (x86)\\Visual Assist X\\vc8\\Proj_1045759654\\Temp\\Db3Idx.db 0xA08 0x00120089 0x99D72DA0
File J:\\Junctions\\Work\\Source\\Main 0x24 0x00100020 0x98DD2BA0
File J:\\Junctions\\Work\\Source\\Main 0x14 0x00100020 0x990580B0

Admin Posted - Jul 10 2006 : 12:09:12 PM
Strange one. Obviously, more clues help. We'll look through our code for ideas.

Install build 1530 when you get a chance.
feline Posted - Jul 08 2006 : 4:49:25 PM
i will ask support about this one

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000