Changing project name -> ACCESS_VIOLATION (0xc0000005) - Advanced Installer Community
maxonico
Posts: 7
Joined: Tue Dec 27, 2016 8:59 pm

Changing project name -> ACCESS_VIOLATION (0xc0000005)

Hello all,

Recently, I tried to change the name of the project adding an underscore:

myproject.aip to _myproject.aip

The result when trying to open the renamed project is:
[SEH_AV_READ_BADPTR] ACCESS_VIOLATION (0xc0000005) at address [0x005f5acc]

Advanced Installer 13.5 build 74683
*** Stack Trace (x86) ***

[0x005f5acc] -----
[0x0044003e] -----
[0x01632088] -----
[0x01632088] -----
[0x00289518] -----
[0x0100b104] -----
[0xffeeffee] -----
[0x001c0000] MODULE_BASE_ADDRESS
I renamed back the file, but the issue persists.

Does somebody know, what the issue could be?

Thanks,
Maxi
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Changing project name -> ACCESS_VIOLATION (0xc0000005)

Hello Maxi,

I've tested your scenario but I cannot replicate it.

Can you please tell us if you used the File > Save as... menu item to save the project under another name?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
maxonico
Posts: 7
Joined: Tue Dec 27, 2016 8:59 pm

Re: Changing project name -> ACCESS_VIOLATION (0xc0000005)

Hi Dan, it was just a coincidence (renaming the file).

You can replicate it by doing:

1) Open AI (latest version 13.5.74683)
2) Custom Actions->Add Resources->Right Click
3) Show Standard Actions->Add Resources->Install Files
4) Add a condition
5) Save
6) Close
7) Try to reopen the project

There is no workaround, except by modifying the aip project by hand using some editing tool.

Regards,
Maxi

BTW: this forum has a really really short timeout for login, I had to rewrite this twice after being kicked out for session timeout.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Changing project name -> ACCESS_VIOLATION (0xc0000005)

Hello Maxi,

Thank you for the sent test case. We tested this test case several times in a row, but we are unable to replicate the error.

Can you consistently replicate this error in a new project? If so, can you send us a working project which become corrupted after following the above test case?

Please do not hesitate to share with us any additional details you may found so we can try to isolate this error on our side too.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
maxonico
Posts: 7
Joined: Tue Dec 27, 2016 8:59 pm

Re: Changing project name -> ACCESS_VIOLATION (0xc0000005)

Sadly I can't send you the aip.

Attached is an image, btw, with some changes the problem was gone, but I kept the offending aip.

Thanks.
aierror.png
aierror.png (17.94 KiB) Viewed 4342 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Changing project name -> ACCESS_VIOLATION (0xc0000005)

Hello Maxi,

Unfortunately, the attached stack trace was to no help to us. We cannot find any trace which could lead to the error root cause.

If you could consistently replicate this error in a new test project, this will be great.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”