cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sikka
Level 3

InstallShield LE repeatedly crashes Visual Studio 2010

I recent tried using InstallShield LE for building a setup module for a Visual Studio 10.0 C++ application. My initial attempts worked fine but the Visual Studio IDE started crashing repeatedly when I tried to setup some upgrade paths for my application. I contacted Microsoft about the problem. They investigated and localized the problem to an access violation in the InstallShield module.

Dump report provided by Microsoft:

0:020> kpL

ChildEBP RetAddr

07ef374c 62831b3b msvbvm60!__vbaOnError(int iState = 0n1)+0x10

WARNING: Stack unwind information not available. Following frames may be wrong.

07ef37b0 63b7c662 ISMain!DllCanUnloadNow+0x387c5

07ef37f4 63b87f91 IsUiServices!CReleaseCloner::CloneRelease+0x18032

07ef3888 6270540e IsUiServices!CUIServices::IsValidSchema+0x1531

07ef38d8 368ed91e IsLimPkg!DllUnregisterServer+0x14fde

07ef3930 3f407036 msenv!CVsUIShellOpenDocument::IsDocumentInAProject(wchar_t * pszMkDocument = 0x6272cd8c "蛃䫸瞖䲁璡蝊ഈ壮ᅮᰑ俲䪀???", struct IVsUIHierarchy ** ppUIH = 0x00000048, unsigned long * pvsid = 0x00000001, struct IServiceProvider ** ppSP = 0x6272cd9c, int * pDocInProj = 0x00000048)+0xca

07ef3bc4 3f4531dd vcpkg!GetFileCodeModel(class ATL::CComBSTR bstrFileName = class ATL::CComBSTR "c:\documents and settings\sikka\desktop\visual studio\projects\akattagent\akattagent\akattagent.cpp", class CSharedPtr > spStore = class CSharedPtr >, struct VxDTE::FileCodeModel ** ppFileCodeModel = 0x07ef3bec)+0xa8

07ef7c78 3f41266e vcpkg!CVCHItemCE::get_Parent(struct IDispatch ** ppIDispatch = 0x0d2fd190)+0x144

07effd8c 3f415db8 vcpkg!CVCCodeFunction::get_FunctionKind(VxDTE::vsCMFunction * ppFunctionKind = 0x7c9100b8)+0x1af

07effda0 3f412248 vcpkg!CVCCodeFunction::GetFunctionKind(void)+0x17

07effdf0 3f32dc24 vcpkg!CVCCodeFunction::IsPropertyReadOnly(long dispid = 0n0, int * pfReadOnly = 0x07effe70)+0x135

07effe84 3f521313 vcpkg!CPropertyProxy::Init(struct IDispatch * pDispatch = )+0x208

07effe98 3f5262b8 vcpkg!CPropertyProxy::CreateProxyAndCache(struct IDispatch * pDispatch = 0x01276d50, struct IDispatch ** ppDispatch = 0x01276728)+0x35

07effef8 3f338f1f vcpkg!CCreateProxyWorkItem::Work(void)+0x14a

07efff28 3f339002 vcpkg!CWorkItem::InvokeWork(unsigned int iQueue = 3)+0x81

07efff9c 3f34bc39 vcpkg!CWorkQueue::Work(unsigned int iStartQueue = 3, unsigned int iEndQueue = 0xb)+0x9a

07efffb4 7c80b729 vcpkg!CWorkerThread::Work(void * pVoid = 0x3f5b2258)+0x41

07efffec 00000000 kernel32!BaseThreadStart( * lpStartAddress = 0x3f34bbf8, void * lpParameter = 0x3f5b2258)+0x37

0:020> r

eax=00000000 ebx=00000000 ecx=0000004f edx=07ef37d0 esi=05b2cbe8 edi=00000000

eip=735047f2 esp=07ef3748 ebp=07ef374c iopl=0 nv up ei pl nz na pe nc

cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000206

msvbvm60!__vbaOnError+0x10:

735047f2 83a09800000000 and dword ptr [eax+98h],0 ds:0023:00000098=????????

0:020> uf msvbvm60!__vbaOnError

msvbvm60!__vbaOnError :

889 735047e2 55 push ebp

889 735047e3 8bec mov ebp,esp

889 735047e5 51 push ecx

891 735047e6 ff3594ef5273 push dword ptr [msvbvm60!__small_block_heap+0x19a4 (7352ef94)]

891 735047ec ff1578124273 call dword ptr [msvbvm60!_imp__TlsGetValue (73421278)]

894 735047f2 83a09800000000 and dword ptr [eax+98h],0

895 735047f9 83c078 add eax,78h

895 735047fc 50 push eax

895 735047fd e8809cf2ff call msvbvm60!EbClearException (7342e482)

898 73504802 64a100000000 mov eax,dword ptr fs:[00000000h]

898 73504808 8945fc mov dword ptr [ebp-4],eax

901 7350480b 8b4508 mov eax,dword ptr [ebp+8]

901 7350480e 83f8fd cmp eax,0FFFFFFFDh

901 73504811 750b jne msvbvm60!__vbaOnError+0x3a (7350481e)



msvbvm60!__vbaOnError+0x31 :

904 73504813 8b45fc mov eax,dword ptr [ebp-4]

904 73504816 836010fd and dword ptr [eax+10h],0FFFFFFFDh



msvbvm60!__vbaOnError+0x3a :

909 7350481e 8b4dfc mov ecx,dword ptr [ebp-4]

909 73504821 894114 mov dword ptr [ecx+14h],eax

911 73504824 ebf4 jmp msvbvm60!__vbaOnError+0x40 (7350481a)



msvbvm60!__vbaOnError+0x40 :

911 7350481a c9 leave

911 7350481b c20400 ret 4

0:020> dd 7352ef94

7352ef94 0000004f 00000000 05a239d0 00000001

7352efa4 00000001 00000001 00000001 00000001

7352efb4 00000001 00000000 00000000 00000000

7352efc4 00000000 00000000 00000000 00000000

7352efd4 00000000 00000000 00000000 00000000
0 Kudos
(23) Replies
mike_kiefer
Level 2

Try installing VS2010 SP1. This fixed a repeatable VS crash I experienced when using WinForms designers in a solution where there was an Install Shield LE project.
0 Kudos
lakegastonlife
Level 3

Hi:

I have a problem with VS 2010 crashing on trying to edit source files.

I believe I installed InstallSheild-2011 LE (out side of VS 2010, I may be wrong on this).


I only have the crashing problem with a solution that has a Setup project in it.

VS 2010 crashes on ANY attempt to Edit a source filed (C or CPP or H or HPP)


WORK AROUND:
if I UNLOAD the Setup project then VS 2010 works fine.

if I RELOAD the Setup project then VS 2010 starts crashing on editing.

I have Microsoft looking at the problem (I producted some dumps for them) but they cannot figure it out and suggested I look here.

So the only time I have the Setup project loaded is when I need to work on it or have it build. Otherwsie I work with it UNLOADED (right click on the setup project name and select Unload Project).

Hope this helps someone or getting this fixed.

Bob
0 Kudos
Madusree
Level 7

Hello Bob,

I am glad to know installing Hotfix resolved the Issue

Thanks,
Madusree
0 Kudos