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
Lenwin
Level 10

Could you let us know the Operating system and the edition of InstallShield which you are using. (Ultimate, Professional, Premium)
0 Kudos
sikka
Level 3

Lenwin wrote:
Could you let us know the Operating system and the edition of InstallShield which you are using. (Ultimate, Professional, Premium)


OS is Windows XP Professional

InstallShield edition is InstallShield Limited Edition. This is the edition that is available for free to Visual Studio 2010 users.

---------
Microsoft Visual Studio 2010
Version 10.0.30319.1 RTMRel
Microsoft .NET Framework
Version 4.0.30319 RTMRel

Installed Version: Professional

Microsoft Office Developer Tools 01018-532-2002102-70030
Microsoft Office Developer Tools

Microsoft Visual Basic 2010 01018-532-2002102-70030
Microsoft Visual Basic 2010

Microsoft Visual C# 2010 01018-532-2002102-70030
Microsoft Visual C# 2010

Microsoft Visual C++ 2010 01018-532-2002102-70030
Microsoft Visual C++ 2010

Microsoft Visual F# 2010 01018-532-2002102-70030
Microsoft Visual F# 2010

Microsoft Visual Studio 2010 Team Explorer 01018-532-2002102-70030
Microsoft Visual Studio 2010 Team Explorer

Microsoft Visual Web Developer 2010 01018-532-2002102-70030
Microsoft Visual Web Developer 2010

Crystal Reports Templates for Microsoft Visual Studio 2010
Crystal Reports Templates for Microsoft Visual Studio 2010

InstallShield Limited Edition
InstallShield. For more information visit the Flexera Software website at <>. Copyright © 1997–2010 Flexera Software, Inc. and/or InstallShield Co. Inc. All Rights Reserved.

Microsoft Visual Studio 2010 SharePoint Developer Tools 10.0.30319
Microsoft Visual Studio 2010 SharePoint Developer Tools
------------
0 Kudos
Lenwin
Level 10

I am currently working with my engineering team on this issue and as soon as I have any further information, I will contact you.
0 Kudos
mashkov_dmitry
Level 4

Let me join this thread. I also encountered that issue and have two crash dumps available.
0 Kudos
CChong
Flexera
Flexera

Please see the hotfix that was posted today at the top of this forum. This may resolve your issues.

Regards,
Josh
0 Kudos
mashkov_dmitry
Level 4

It does not resolve the issue.
0 Kudos
Lenwin
Level 10

Hi Sikka,

Could you apply the new Hotfix and let us know if it fixes the crashing issue.

Hi Mashkov,

Kindly let us know when you encounter the crashing issue. We also request you to provide us the exact steps so that we can reproduce this issue at our end.

Thanks,
Lenwin
0 Kudos
mashkov_dmitry
Level 4

Lenwin,

The exact steps won't give you much - I don't think clicking on _any_ button on the form will cause a crash. Anyway:
- Double-click the .cs file of a Windows Form
- Double-click on the button in the form to open the Code for OnClick handle
- Crash.

Instead, I think that analyzing crash dump would be much more useful. I can upload two of them for you (or I can put them on my FTP so that you will download).
0 Kudos
Lenwin
Level 10

Hi Mashkov,

We were unable to reproduce the issue at our end.
As you had mentioned it would be helpful if you could upload the crash dump and the project files so that we can investigate further.

Thanks,
Lenwin
0 Kudos
mashkov_dmitry
Level 4

Regarding the project files, they are really complex and large. You won't be able to easily compile them without a lot of dependency including full set of Intel Performance Libraries.

On the dumps:
The webpage at http://community.flexerasoftware.com/newattachment.php?do=manageattach&p= might be temporarily down or it may have moved permanently to a new web address.

More information on this error
Below is the original error message

Error 101 (net::ERR_CONNECTION_RESET): Unknown error.
0 Kudos
mashkov_dmitry
Level 4

Can you try to download the files from: ftp://ftp.mashkov.me/IS
0 Kudos
sikka
Level 3

Lenwin wrote:
Hi Sikka,

Could you apply the new Hotfix and let us know if it fixes the crashing issue.

Thanks,
Lenwin


Hi Lenwin, Joshua, Just installed the hotfix by updating the IsLimPkg.dll. My problem has gone away. Before the update, opening my project would repeatedly crash the IDE. After the fix, I'm able to open the project, edit the project, and build. No more crashes. Thanks!
0 Kudos
Lenwin
Level 10

Hi Mashkov,

Thank you for getting back to us with the crash dump.

We are analyzing the crash dump. It would also help If you could get back to us with the sample project which replicates the crashing behavior and the exact steps to reproduce the crash. This would help us to narrow down the issue and address it as soon as possible.

Thanks,
Lenwin
0 Kudos
mashkov_dmitry
Level 4

Hello Lenwin

Thank you for letting me know that you've got the crash dump. Regarding the project, I will attach this, but, as I warned you, there are little chance you'll succeed to build it.
Also, when I attach the file, can you make it invisible to other visitors? It contains intellectual property.
0 Kudos
Lenwin
Level 10

Hi Mashkov,

We request you to send us the link to your project via a private message.

Thanks,
Lenwin
0 Kudos
mashkov_dmitry
Level 4

Hello Lenwin

Is there any progress with the crash issue?
0 Kudos
Lenwin
Level 10

Hi Mashkov,

We are currently working on your project.

We are trying to identify if the issue is related to the InstallShield Limited Edition (.isl) projects or with the Visual studio projects present in your project file.

We have stripped down your project file to contain only 4 projects (2 visual studio projects + 2 InstallShield Limited Edition Projects). With only 4 projects we are not encountering the crashing issue.

As the behavior is inconsistent we are still working on it to find the root cause of the issue.

As soon as I have any further information I would get back to you.

Thanks,
Lenwin.
0 Kudos
Lenwin
Level 10

Hi Mashkov,

Could you kindly test the stripped down project on your machine and let us know if you still encounter the crashing issue.The stripped down project works at our end. As the crashing behavior was very inconsistent we were unable to find the exact cause of the issue. If the stripped down project file works fine on your system then kindly add one project at a time, build the project and check for the crashing issue.

If you still come across the crashing behavior with the stripped down project then kindly provide us a small sample project which consists of only 3 - 4 projects which replicates the crashing behavior so that we can investigate further.

Thanks,
Lenwin
0 Kudos
am
Level 3

This issue happened to me too. After adding a setup project to my solution, I cannot open it again. VS crashes when I try to open.

Thank you,

Anatoly Molotkov, MCPD
www.a2zconsulting.net
0 Kudos
Lenwin
Level 10

Hi Anatoly,

Since you have created a new thread regarding this issue I have posted the reply on the same.

Thanks,
Lenwin
0 Kudos