PDA

View Full Version : SB install crashes when it loads



NewsArchive
11-04-2011, 01:20 AM
Hi Friedrich,

Weirdest thing!

I've been building several new builds of Build Automator in the past 2-3
days for testing. No problems. No changes to the install. Think I've got
about 7 builds in the past 2-3 days that I have installed on my test machine
with no problems.

Did some work in my Clarion app, rebuilt everything. Now when I run the
install it crashes immediately after I accept the UAC prompt! Just says
"Build Automator has stopped working"

I've rebuilt it with BA and in the SB IDE and get the same results. I'm on
7.5.3378. Going to check for updates.

Any ideas?

Best regards,

--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
11-04-2011, 01:21 AM
Hi Friedrich,

> I've rebuilt it with BA and in the SB IDE and get the same results. I'm on
> 7.5.3378. Going to check for updates.

It says I have the latest.

I tried the "Test" button in the SB toolbar. Same results! The exception
code is 0xc0000005 - note "C000..." and it tells me that the ModName is
lsb2b6.tmp, appname buildautomatorinstall.exe, offset 0002d765.

I'm uploading the install to:

http://www.icetips.com/betas/BuildAutomatorInstall_crash.exe

if you want to try to run it... Note that I build on XP but I'm running the
install on vista - doing documentation.

Best regards,

--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
11-04-2011, 01:22 AM
Your install also crashes here. I executed it in event logging mode and it
crashed before the "InitScriptBegin" event entry in the sbevents.txt log
file.

What you can try is to check what changed between the last good compile and
the new one. I don't think that it is caused by the script code itself
because it crashes before the script engine is initialized. BTW, make sure
that your bitmap files are not set to read-only.

Please keep us posted.

Friedrich

NewsArchive
11-04-2011, 01:22 AM
Hi Arnór,

Sorry, I have no idea. Must be your machine <g>.

A "check for updates" will not help here because nothing changed in
SetupBuilder. Perhaps your latest virus definition update?

Friedrich

NewsArchive
11-04-2011, 01:22 AM
Hi Friedrich,

> Sorry, I have no idea. Must be your machine <g>.
>
> A "check for updates" will not help here because nothing changed in
> SetupBuilder. Perhaps your latest virus definition update?

No, no updates of anything. Crashes on all 4 machines I've tried it on:(
Nothing changed in the SB script, only in the files in the install, but only
executables that I have been changing for the past several days. Built two
installs yesterday, no problem. Now I cannot build this one install at
all:( Other installs work fine...

This is what the VS 2008 debugger shows:

Unhandled exception at 0x1002d765 in BuildAutomatorInstall.exe: 0xC0000005:
Access violation reading location 0x20524f20.

Best regards,

--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
11-04-2011, 01:23 AM
Hi Arnór,

I would suggest to make a copy of this project, then remove all the files,
registry entries, etc. and recompile. Don't remove the pre-processor logic!
It should still crash because the crash happens before the script engine is
initialized. IMO, it is caused by something in the General Properties.

Friedrich

NewsArchive
11-04-2011, 01:24 AM
Hi Friedrich,

> Sorry, I have no idea. Must be your machine <g>.

FOUND IT!

Weirdest thing! It was the EULA RTF!!! I opened it last night and made two
very small changes and saved it (Wordpad). Somehow the file went from 24K
to 9K. Replaced it with the one from previous version and everything is
good!

I am so glad I do those builds with Build Automator and copy each deployment
folder to a version folder before I do a build:) I just copied the older
projects to my "latest" folder until I found one that worked and started
tracking down what had changed. I didn't even think of that silly change I
made to the RTF - last file I thought might impact it!

If you want to take a peek at the file that caused the corruption, just let
me know and I'll email it to you:)

Best regards,

--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
11-04-2011, 01:25 AM
Hi Friedrich,

> Weirdest thing! It was the EULA RTF!!! I opened it last night and made two
> very small changes and saved it (Wordpad). Somehow the file went from 24K
> to 9K. Replaced it with the one from previous version and everything is
> good!

Funny thing is that I see NO difference in the text in the RTF, apart from
the changes I made! The text all seems to be there, but there are big
differences in the RTF code. Anyway - if you want the file just let me
know:)

Best regards,

--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
11-05-2011, 05:05 AM
Hi Arnór,

It would be great if you could send me the old and the new RTF.

Unfortunately, there will be nothing that I can do to avoid this GPF. The
installer makes use of the core Windows RTF control and this seems to crash
in your case.

Friedrich

NewsArchive
11-05-2011, 05:06 AM
Hi Friedrich,

> It would be great if you could send me the old and the new RTF.
>
> Unfortunately, there will be nothing that I can do to avoid this GPF. The
> installer makes use of the core Windows RTF control and this seems to crash
> in your case.

I'll email it to you later today:)

Maybe there is a pattern in the corrupt RTF that could indicate it's bad and
you could detect that - not very hopeful of such a pattern;)

Irony is that I'm replacing this file today<g>

Best regards,

--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
11-05-2011, 05:06 AM
> I'll email it to you later today:)
>
> Maybe there is a pattern in the corrupt RTF that could indicate it's bad
> and you could detect that - not very hopeful of such a pattern;)
>
> Irony is that I'm replacing this file today<g>

<G> :) Thank you, Arnór!

Friedrich

NewsArchive
11-05-2011, 05:07 AM
Hi Friedrich,

> It would be great if you could send me the old and the new RTF.

Just sent it to you:)

Best regards,

--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
11-06-2011, 03:03 AM
Hi Arnór,

>
> Just sent it to you:)
>

Received, thank you. I can be wrong, but I think it is not caused by the
core Windows RTF control. This happens before the RTF file is loaded. I
have opened a ticket to investigate it.

Thanks,
Friedrich

NewsArchive
11-06-2011, 03:04 AM
Hi Friedrich,

> Received, thank you. I can be wrong, but I think it is not caused by the
> core Windows RTF control. This happens before the RTF file is loaded. I
> have opened a ticket to investigate it.

Maybe the RTF creates somehow a corrupt resource when it is linked in and
when the exe loads and loads the resources it crashes. It is definitely
linked to the RTF - replace it and everything works perfectly. I've done a
few builds with SB over the years<g> and I have never seen an install crash
like this, unless the install file was corrupt, i.e. corrupt download etc.
All my installs have been using the install verification for years so even
that doesn't happen any more:)

Best regards

--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php