After Advanced Installer upgrade the AIP no longer loading- [SEH_AV_READ_BADPTR] ACCESS_VIOLATION (0xc0000005) at addres - Advanced Installer Community
ipollock
Posts: 137
Joined: Wed Aug 31, 2016 10:46 am

After Advanced Installer upgrade the AIP no longer loading- [SEH_AV_READ_BADPTR] ACCESS_VIOLATION (0xc0000005) at addres

I have an AIP that has been used over the last few years and further developed over time.

Today I updated the AI version through the inbuilt help page and that AIP no longer loads. Other simpler
install AIP's load normally and have no issues. I have uninstalled the AI and reinstalled an older version,
13.7 and although i've not edited the AIP (as it hasn't loaded), i am receiving the message that it can no
longer be loaded because it was edited by a newer version (not a good place to be...) . Here is a copy of
the error message when version 13.8.1 is installed:

[SEH_AV_READ_BADPTR] ACCESS_VIOLATION (0xc0000005) at address [0x0168ff7c]

Advanced Installer 13.8.1 build 77369
*** Stack Trace (x86) ***

[0x0168ff7c] -----

I get this message now when trying to open the same file with 13.7 (which was working ok) which was developed
using AI version 12.7.2. I'm guessing that this is an application installation issue?

[0x011a0000] MODULE_BASE_ADDRESS
AI-13.8.1.PNG
AI-13.8.1.PNG (8.77 KiB) Viewed 8656 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: After Advanced Installer upgrade the AIP no longer loading- [SEH_AV_READ_BADPTR] ACCESS_VIOLATION (0xc0000005) at ad

Hello Ian,

This usually happens when you save/rebuild the project with a newer version of the application and then try to open it into an earlier version. When this happens a .backup copy of the AIP file is created (nearby the AIp file) by Advanced Installer before converting the project to the new AI version. Can you search to see if there is any backup created on your disk?

Can you please send us the related AIP (project file) to support at advancedinstaller dot com so we can investigate it? Also, please let us know if you could replicate the behavior using a new project too?

It will be really useful if you could isolate the issue in a pattern or test case scenario which we could follow to replicate the error using a new project created with an older version of Advanced Installer.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ipollock
Posts: 137
Joined: Wed Aug 31, 2016 10:46 am

Re: After Advanced Installer upgrade the AIP no longer loading- [SEH_AV_READ_BADPTR] ACCESS_VIOLATION (0xc0000005) at ad

Hi Daniel,

Thanks very much for your reply.

So I have two machines, a test machine where I am finding this problem and a production machine that is currently
running version 12.7.2 (this is where the real work is done and is unaffected).

On my test machine I upgraded last month from 12.7.2 to 13.7 and tested all of our AIP applications successfully.
The production machine has not been updated.

Yesterday I took the update from 13.7 to 13.8.1 on the test machine and began testing our AIP applications again
in order to build a report and later a plan to migrate production. Unfortunately half way through the testing I then
experienced the error. Our main AIP application produces the error every time. Simple AIP test applications do not
product the error and applications built from scratch on this version do not produce the error.

Please note that there have been a few errors and we're now challenged with this:
Error 3:

[SEH_AV_READ_BADPTR] ACCESS_VIOLATION (0xc0000005) at address [0x0192f87c]
Advanced Installer 13.7 build 75982
*** Stack Trace (x86) ***
[0x0192f87c] -----
[0x0177a8be] -----
[0x013e0000] MODULE_BASE_ADDRESS

For information:
Error 1: Could not find the 'NewDialog.aip' not available - is resolved now
Error 2: This project (fragment) was edited with a newer version of Advanced Installer (xyz) and cannot be loaded - is resolved now.
Last edited by ipollock on Thu Apr 06, 2017 4:10 pm, edited 1 time in total.
ipollock
Posts: 137
Joined: Wed Aug 31, 2016 10:46 am

Re: After Advanced Installer upgrade the AIP no longer loading- [SEH_AV_READ_BADPTR] ACCESS_VIOLATION (0xc0000005) at ad

Ok, i have been able to replicate this on another fresh install.
I installed version 13.7 fresh on Windows 8.1, 64-bit.
The same test was performed on Windows server 2012 R2 with the same result.

The first error I was able to clear up by creating the sub folders in the Advance Installer Path and then creating the NewDialog.aip
The second error did not manifest itself.
The third error, the Access violation occured as before in my test machine.
ipollock
Posts: 137
Joined: Wed Aug 31, 2016 10:46 am

Re: After Advanced Installer upgrade the AIP no longer loading- [SEH_AV_READ_BADPTR] ACCESS_VIOLATION (0xc0000005) at ad

Daniel,

It seems i may have exposed a few errors that may also reach other long term customers.

On a fresh install, as long as you have never used AI before and don't have any old projects then you may get away with no errors.
Customers who install the latest version - ie latest update and who also have older projects may be affected as I was.

In this case the project file was initialised (and developed from there) in version 7.7 (2010?).
It was not possible to open the project in a fresh install of 13.8.1, 13.7 or 12.7.2 (I haven't checked any further back).

RESOLUTION
After a day's analysis and scrutinisation, I simply copied the folder structure from the production platform as shown here:
C:\Program Data\Caphyon (and all subdirectories from 'Advanced Installer 11.2' to the last version in use, '12.7.2')
Once I had that in place I simply double clicked on the AIP file and hey presto - the project opened normally!

On looking at the folder structure, i could not see anything significant in there except that the original NewDialog.aip
was there from six years ago. Maybe there was a dependancy for this file to be in place for the longer term project.
Simply creating a new one (and it's folder structure) after a fresh install wasn't the solution. I also tried opening the
NewDialog.aip and found it reporting that it was a program fragment - a similar error that i had seen before - and
that it could not be opened as it was part of a bigger project. So i'm guessing that on a fresh install, when you try
to open an older ongoing AIP project, unless you have the original (in this case) NewDialog.aip then this is what
is producing the error and thus closing the project before it can open.

Please could you change the title of this Post to '[SEH_AV_READ_BADPTR] ACCESS_VIOLATION (0xc0000005) at address'
or something similar as this might be easier to search for. It might also be worth sending out a note to longer term
customers with either this information or to inform them.

Best regards,

Ian
Attachments
AI.Program.Fragment.PNG
AI.Program.Fragment.PNG (8.21 KiB) Viewed 8630 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: After Advanced Installer upgrade the AIP no longer loading- [SEH_AV_READ_BADPTR] ACCESS_VIOLATION (0xc0000005) at ad

Hello Ian,

Thank you for your follow up. I'm glad you managed to get this resolved.

Indeed, when you open a setup project in Advanced Installer you should make sure all of its repository dependencies (dialogs, prerequisites, etc) exist on local machine.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Murshida
Posts: 1
Joined: Thu Feb 21, 2019 11:47 am

Re: After Advanced Installer upgrade the AIP no longer loading- [SEH_AV_READ_BADPTR] ACCESS_VIOLATION (0xc0000005) at ad

hi support team,
i faced the same error

[SEH_AV_READ_BADPTR] ACCESS_VIOLATION (0xc0000005) at address [0x001e7338]

Advanced Installer 15.7 build 2d26ed577d
*** Stack Trace (x86) ***

[0x001e7338] -----
[0x005a1593] -----
[0x00bc3eb8] -----
[0x00bc375f] -----
[0x008af7cc] -----
[0x002c428b] -----
[0x774d5e2a] RtlAllocateHeap()
[0x008ab66c] -----
[0x008ab66c] -----
[0x001e7ddd] -----
[0x008c5046] -----
[0x008c5474] -----
[0x00803d6b] -----
[0x0080c24c] -----
[0x00800de0] -----
[0x004c25aa] -----
[0x00409831] -----
[0x0041244e] -----
[0x0101c540] -----
[0x003f0b71] -----
[0x774f41c8] RtlAreBitsSet()
[0x774f4198] RtlAreBitsSet()
[0x00030000] MODULE_BASE_ADDRESS


when i rebuild my project

can u help me please

i work with enterprise
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: After Advanced Installer upgrade the AIP no longer loading- [SEH_AV_READ_BADPTR] ACCESS_VIOLATION (0xc0000005) at ad

Hello and welcome to our forums,

Can you please send us the .aip (project file) to support at advancedinstaller dot com so we can investigate its settings?

Also if you could replicate the same issue in a new project or into a sample and send it us alongside a test case this will be very useful for us.

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

Return to “Common Problems”