Building: Access violation at address 00000000

Got a problem you cannot solve? Try here.
NielsUll
Posts: 3
Joined: Thu Oct 18, 2012 12:31 am

Building: Access violation at address 00000000

Postby NielsUll » Mon Oct 22, 2012 12:50 am

I am trying to evaluate the product, but not having much luck.
At first install, I selected the developer version, and everything was fine. However, I discovered that we would probably need dialog
editing and a build server license, so I wanted to switch to the Studio version. I uninstalled everything and reinstalled, selecting "Studio".
But now I'm getting access violations, whenever I try to build.
Below is the error when trying to compile the sample project "User Registration and Feedback"

If I can't get around this issue, I will unfortunately not be able to evaluate the product further.
I'm using a Window 7 64 bit machine.

Code: Select all

Building Project: User Registration and Feedback
Output Folder: C:\Users\nharremoes\Documents\My Project\Release\UncompressedDeployment Type: Uncompressed Directory Layout
Code Signing: Disabled
Compression: Best
Compiler Variables: BUILDMODE=CD,LANGUAGE=English,"TITLE=User Registration and Feedback",TARGETDIR=$TARGETDIR$,IADIR=C:\PROGRA~1\INSTAL~1\INSTAL~1,PROJDIR=C:\Users\NHARRE~1\DOCUME~1\MYPROJ~1,IAVER=14.00
###
Cleared output folder C:\Users\nharremoes\Documents\My Project\Release\UncompressedError during build: Access violation at address 00000000. Read of address 00000000

bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: Building: Access violation at address 00000000

Postby bokkie » Mon Oct 22, 2012 2:43 am

I don't have Win 7 64-bit but could I ask you to try a few things?

1. In the Project tab select the Project Settings menu button and under Build select Compression and slide it to the left to None. Then try the build again. Any luck?

2. Try building the project using the miabuild command line utility. Does that throw an access violation as well? I guess it might but I don't know for sure what resources it and the IDE have in common.

3. Does running the IDE with administrator privileges change the outcome?

There have been some 0-based address access violations in the past but those were typically in older releases. For sure, you got one which makes it more puzzling. Anyway, try what I've suggested when you have time.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Building: Access violation at address 00000000

Postby FrancescoT » Mon Oct 22, 2012 7:48 am

Dear User,

It is very very strange and in addition to what Bokkie has suggested ... please try to switch off your antivirus application ( ... if any).

Regards.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

NielsUll
Posts: 3
Joined: Thu Oct 18, 2012 12:31 am

Re: Building: Access violation at address 00000000

Postby NielsUll » Tue Oct 23, 2012 1:15 am

Setting compression to none did not change anything:

Code: Select all

Building Project: User Registration and Feedback
Output Folder: C:\Users\nharremoes\Documents\My Project\Release\UncompressedDeployment Type: Uncompressed Directory Layout
Code Signing: Disabled
Compression: None
Compiler Variables: BUILDMODE=CD,LANGUAGE=English,"TITLE=User Registration and Feedback",TARGETDIR=$TARGETDIR$,IADIR=C:\PROGRA~1\INSTAL~1\INSTAL~1,PROJDIR=C:\Users\NHARRE~1\DOCUME~1\MYPROJ~1,IAVER=14.00
###
Cleared output folder C:\Users\nharremoes\Documents\My Project\Release\UncompressedError during build: Access violation at address 00000000. Read of address 0000000


I am already running as administrator - otherwise I get an error about being unable to access mruf.txt.

Running from an elevated command line gives the same error:

Code: Select all

C:\Users\nharremoes\Documents\My Project>"\Program Files (x86)\InstallAware\InstallAware NX\miabuild.exe" "My Project.mpr" /o="Release\Uncompressed" /b=0

 M     M  SSSSSS  IIIIII
 MM   MM  SS        II
 M M M M  SSSSSS    II    InstallAware MSIcode Compiler (Mooooya)
 M  M  M      SS    II
 M     M  SSSSSS  IIIIII

Copyright(C) 1996-2012 InstallAware Software. All rights reserved.

Building Project: User Registration and Feedback
Output Folder: C:\Users\nharremoes\Documents\My Project\Release\Uncompressed\Release\Uncompressed
Deployment Type: Uncompressed Directory Layout
Code Signing: Disabled
Compression: Best
Compiler Variables: BUILDMODE=CD,LANGUAGE=English,"TITLE=User Registration and Feedback",TARGETDIR=$TARGETDIR$,IADIR=C:\PROGRA~1\INSTAL~1\INSTAL~1,PROJDIR=C:\Users\NHARRE~1\DOCUME~1\MYPROJ~1,IAVER=14.00
###
Cleared output folder C:\Users\nharremoes\Documents\My Project\Release\Uncompressed\Release\Uncompressed
Error during build: Access violation at address 00000000. Read of address 00000000

Build failed


Disabling my antivirus (McAfee VirusScan Enterprise 8.7.0i) did not change anything.

bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: Building: Access violation at address 00000000

Postby bokkie » Tue Oct 23, 2012 5:03 am

That's really odd. I'm clutching at straws now but can you change your MSIcode and comment out portions of code you've added?

Are you using any plugins that might not be fully installed?

Are you using/calling any external DLLs in your code? Anything that might break the build because of an address fault elsewhere?

Can you create a new project using the same template you used to create the project that's causing yours to crash? Perhaps a template project might build fine without anything else added to it?

Do you have any projects you can build? I mention that if only to see if it's a problem with one project or others as well.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Building: Access violation at address 00000000

Postby FrancescoT » Tue Oct 23, 2012 7:53 am

Dear NielsUll,

Please can you try to verify what happens if you completely unistall your anti-virus application?

I fully understand that what I'm saying may seem excessive, but believe me, I found a similar issue with my VS 2010 installation.
This has unexpectedly stopped to compile successfully part of my projects and I have spent two weeks to release what was causing the issue.
Finally I found that the problem was caused by the anti-virus application ( ... exactly the same you are using) and the only way to have VS 2010 working, it was to complete uninstall the anti-virus. Just switching off it was not enough at all.

Please note that sometimes disabling an anti-virus does not disable its underlying file system driver, which is the real cause of the problem. These low level file system (mini) filter drivers are very difficult to build and often interfere with InstallAware's low level optimizations.

Let me know.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

NielsUll
Posts: 3
Joined: Thu Oct 18, 2012 12:31 am

Re: Building: Access violation at address 00000000

Postby NielsUll » Wed Oct 24, 2012 1:10 am

Hi!

bbokie: This is a build of a fresh project from the "User Registration and Feedback" sample template - I have not modified the project in any way. I am not aware of having installed any plugins and have not modified the MSICode.

I get the same problem with all projects - not that I have that many, since I'm still only evaluating.

FransescoT:
I'll see if I can get time to fiddle with the McAfee VirusScan software. However, that will require a good deal of bureaucracy, since corporate standards dictate that we must have this installed and active. If it turns out that InstallAware and McAfee VirusScan cannot coexist, that may unfortunately cause us to select another installation tool.

bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: Building: Access violation at address 00000000

Postby bokkie » Wed Oct 24, 2012 3:26 am

If you get it with a brand new project then it seems to suggest there's something spooked on your machine. You can install IA on another machine without a problem as you can install evaluation copies wherever you want. Could you try installing it on another machine at work and see what happens then? Can you install it in a VM? Possibly on a home machine?
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Building: Access violation at address 00000000

Postby FrancescoT » Wed Oct 24, 2012 5:29 am

Dear NielsUll,

I did not say that Installaware and your anti-virus can't coexist and as well as, I did not say that VS 2010 and my anti-virus ( the same as yours) can't coexist.

In my case, I have reinstalled my anti-virus after a complete uninstall and actually my VS 2010 works fine ... but due to the nature of the problem, it could happen again and of course the cause can't be related to VS 2010.

By the way, first try if this is really your case.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 109 guests