Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #16  
Old 02-15-2008, 03:50 PM
score score is online now
Registered User
 
Join Date: 02-15-2008
Location: austin,tx
Posts: 14
Thanks, I'll see if I can get it. I have version 4.0c version 5.1, and 6.6... no luck so far..
Reply With Quote
  #17  
Old 02-15-2008, 04:14 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
You indicated that you're accessing the build box via Remote Desktop. Is the RD connection remaining open, or does this occur after disconnecting and reconnecting? Are the builds launched manually, from a Scheduled Task, or something else? Does the problem occur when using the console app rather than GUI app? Please ZIP and send to support@kinook.com:
1) The info from Help | About | Install Info
2) The .bld file
3) A build log file from a hanging build

Thanks.
Reply With Quote
  #18  
Old 02-15-2008, 05:24 PM
score score is online now
Registered User
 
Join Date: 02-15-2008
Location: austin,tx
Posts: 14
Ok, thanks for the location of the previous versions. As for you other questions:

I have only used this version thru the gui app. I can run it from the command line if you think that would help. Isn't it just the same .exe but giving the bld file as an argument?

The remote desktop stays longed in, however the screen saver puts me into the userid/password page. So when I log in it refreshes the screen and that is when I see the white screen UI hung.

I'll get you the other info on the next hang..zip it up and send it to you.

thanks
Reply With Quote
  #19  
Old 02-28-2008, 01:32 PM
Zoid Zoid is online now
Registered User
 
Join Date: 02-28-2008
Location: Aliso Viejo, CA
Posts: 1
I've been seeing this for a couple weeks. It consistently hung during our nightly build that we ran from the task scheduler. We downgraded to 6.4 and it no longer hangs.

We run builds from the command line.

The odd thing is I've seen the hang when VisBuildPro was executing a compile through devenv and also when executing one of our own tools. It just stops responding and seems hung just as it excuted the command. Terminating the command VisBulidPro spawned does not resume VisBuildPro, it remains hung. I end up having to terminate VisBuildPro itself.

We'll be sticking with 6.4 for now until this problem has been addressed in newer builds. Fortunately we are not dependent on new features of the later versions.
Reply With Quote
  #20  
Old 02-28-2008, 05:56 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
We have implemented a change that may resolve this issue. Please download the latest from http://www.kinook.com/Download/VisBuildProEval.exe to try it.

Also try launching all VisBuildPro.exe/VisBuildCmd.exe instances with the /mta flag.

And something that apparently helped one other user was to add a Run Script (VBScript) step like this to the project:

Application.Options.RunProgramOutputWaitTimeout = 1000
Application.Options.RunProgramInputWaitTimeout = 1000
Application.Options.EnableEventErrorLogging = False
Reply With Quote
  #21  
Old 04-03-2008, 05:23 PM
score score is online now
Registered User
 
Join Date: 02-15-2008
Location: austin,tx
Posts: 14
Ok, I downloaded version 6.4 and it consitently hangs after the same step. I was about to post the information, but then saw this new "test" fix. So I installed it and ran it. The first time it ran in the UI it hung on an earlier step
Reply With Quote
  #22  
Old 04-03-2008, 05:49 PM
score score is online now
Registered User
 
Join Date: 02-15-2008
Location: austin,tx
Posts: 14
Ok, I sent you the .bld file and info files. Hopefully we can see why it is hanging.
Reply With Quote
  #23  
Old 04-09-2008, 01:47 PM
score score is online now
Registered User
 
Join Date: 02-15-2008
Location: austin,tx
Posts: 14
/mta

Well I installed version 6.7 and running VisBuildPro.exe with the /mta option seems to do the trick. At least in the last 3 tries it did not hang. It was hanging every time at the same step. It was interesting that it only hung whan I ran it thru the UI and not while running it from the command line (with the /s /b switch).

I don't know what the /mta switch does though. You might want to try it.
Reply With Quote
  #24  
Old 09-26-2008, 12:32 PM
score score is online now
Registered User
 
Join Date: 02-15-2008
Location: austin,tx
Posts: 14
I'm unfortunately still seeing hangs running this tool. I was wondering if any progress has been made on identifying the cause and fixing this freeze.
Reply With Quote
  #25  
Old 09-26-2008, 01:22 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
We have not been able to reproduce the problem (and not for a lack of trying), but as far as we know, one or more of the following resolved the problem for others who have reported it:

1) Updating to v6.7a

2) Adding a Run Script (VBScript) step like this at the beginning of with this code:

Application.Options.RunProgramOutputWaitTimeout = 1000
Application.Options.RunProgramInputWaitTimeout = 1000

3) Removing the VBP DEP exclusions (Control Panel -> System -> Advanced -> Data Execution Prevention -> Turn on DEP for all programs and services except those I select, Remove Visual Build Professional and Visual Build Professional 6 Console App from the list, OK, and restart Windows) and then configuring Windows to 'Turn on DEP for essential Windows programs and services only' (in that same dialog) and restart again.

4) Adding a Wait step (5 seconds) at the end of a chained (child) build or before and/or after a step that hangs.

If none of those help, please provide the following information:

Are you building from a Scheduled Task, starting manually, or? Any ideas on anything that may have changed when the problem returned? Please ZIP and send:
1) The info from Help | About | Install Info (after updating to v6.7a)
2) A screen shot of System properties (Windows+Break)
3) A reproducible test case, including VBP project(s) that demonstrate the problem.

Thanks.
Reply With Quote
  #26  
Old 09-26-2008, 01:48 PM
score score is online now
Registered User
 
Join Date: 02-15-2008
Location: austin,tx
Posts: 14
Thanks, i will try those steps. I am at 6.2a right now. I will upgrade. I tried the 7a before, with worse luck last time. But I'll start again. The 7a version i have is a different size then the one on the download site now. I'll let you know.
Reply With Quote
  #27  
Old 09-26-2008, 02:10 PM
jameskoch jameskoch is online now
Registered User
 
Join Date: 09-26-2008
Posts: 1
We've been experiencing something along these lines too. The exact behavior is best described at this site, which I found while Googling for a solution:

http://jira.public.thoughtworks.org/...s:all-tabpanel

Others in this thread had builds freezing on steps, whereas our builds complete, but the EXE never closes. This seems to have only become an issue in the last few weeks... Unfortunately I can't track down any specific changes in our build environment (Windows Updates could be the culprit).

Last edited by jameskoch; 09-29-2008 at 08:26 AM.
Reply With Quote
  #28  
Old 09-30-2008, 03:48 PM
score score is online now
Registered User
 
Join Date: 02-15-2008
Location: austin,tx
Posts: 14
Ok, I upgraded to v6.7a and it has hung twice in two runs. So know I will do the other steps. I got to step 2 which is adding the
Application.Options.RunProgramOutputWaitTimeout = 1000
Application.Options.RunProgramInputWaitTimeout = 1000

Is this setting how long to wait for a process to end? is it in minutes or seconds? Some of the processes take over an hour to run. Could that be it?

It does seem to always hang after a long running step.

thanks



Quote:
Originally posted by kinook
We have not been able to reproduce the problem (and not for a lack of trying), but as far as we know, one or more of the following resolved the problem for others who have reported it:

1) Updating to v6.7a

2) Adding a Run Script (VBScript) step like this at the beginning of with this code:

Application.Options.RunProgramOutputWaitTimeout = 1000
Application.Options.RunProgramInputWaitTimeout = 1000

3) Removing the VBP DEP exclusions (Control Panel -> System -> Advanced -> Data Execution Prevention -> Turn on DEP for all programs and services except those I select, Remove Visual Build Professional and Visual Build Professional 6 Console App from the list, OK, and restart Windows) and then configuring Windows to 'Turn on DEP for essential Windows programs and services only' (in that same dialog) and restart again.

4) Adding a Wait step (5 seconds) at the end of a chained (child) build.

If none of those help, please provide the following information:

Are you building from a Scheduled Task, starting manually, or? Any ideas on anything that may have changed when the problem returned? Please ZIP and send:
1) The info from Help | About | Install Info (after updating to v6.7a)
2) A screen shot of System properties (Windows+Break)
3) A reproducible test case, including VBP project(s) that demonstrate the problem.

Thanks.
Reply With Quote
  #29  
Old 09-30-2008, 04:22 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Quote:
Originally posted by score
I got to step 2 which is adding the
Application.Options.RunProgramOutputWaitTimeout = 1000
Application.Options.RunProgramInputWaitTimeout = 1000

Is this setting how long to wait for a process to end? is it in minutes or seconds? Some of the processes take over an hour to run. Could that be it?

It does seem to always hang after a long running step.
It is the time, in milliseconds, to wait for output from a called process's standard output pipe. This wait occurs in a loop until the process completes (or the build is canceled). The setting just changes how long to wait within each loop iteration, but one user indicated that it may have made a difference for them.

Looking at the files you submitted in April, it appears the problem occurs when invoking devenv (VS2008) from a Run Program action. Some other things to try if the previous suggestions don't help:

1) Change the Run Program action command to:

%DOSCMD% original cmd here >%TEMP%\out.txt

and Read program output from 'A file' of %TEMP%\out.txt

2) Replace the Run Program action with a Make VS 2008 action (which calls MSBuild instead of devenv by default).

Any information on what might have changed from when it was working and then stopped working (you indicated in April that using the /mta switch w/ v6.7 resolved the problem) or details on how to reproduce the problem (we've run numerous tests with long-running Run Program steps on Windows 2003 SP2 virtual machine guests without any problems) could be helpful.

Also, yesterday we made one tweak to VBP v6.7a which could conceivably make a difference. If Help | About | Install Info does not show

VisBuildPro.exe version 6.7.1.1

try re-downloading and installing http://www.kinook.com/Download/VisBuildProEval.exe to get this update.

Also, back in April you indicated:

VisBuildPro.exe" /mta /s /b coleto.bld (no hang)
VisBuildPro.exe" /s /b coleto.bld (no hang)
VisBuildPro.exe" /mta coleto.bld (no hang)
VisBuildPro.exe" coleto.bld (hangs)

Is that still the case, or under what conditions does it now hang?

Thanks.
Reply With Quote
  #30  
Old 09-30-2008, 04:49 PM
score score is online now
Registered User
 
Join Date: 02-15-2008
Location: austin,tx
Posts: 14
The step that consistantly fails is after all the devenv/msbuild lines are built. One thing we build is a database tool and we execute that which takes about 1.5 hours. The process seems to run to completion. I say this because built tool outputs "BuildPublishBOs completed" to the log and the process is no longer show using ps. But the next step in the .bld file is never run. I'm rerunning the build with the added

Application.Options.RunProgramOutputWaitTimeout = 1000
Application.Options.RunProgramInputWaitTimeout = 1000


lines, but after your explaination, i don't hold out much hope. I can upgrade to your latest tweek and run again. Turn around for me is about 4 hours to get to this point.

I'll let you know what happens.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 02:45 AM.


Copyright © 1999-2023 Kinook Software, Inc.