Final Builder Close Suddenly Without an Error

Hi;

When we work on final builder suddenly it is closing without an error.  I look at project log file but there is no error. Are there any other log files or do you have any idea about this sudden closing.

Regards.

Which version/build of FinalBuilder are you using?

Version is 6.3.0.2239

I compare log files and last 3 steps in the log files are like that, maybe it give a clue.


---------------|--------------------------|---------------------------------------------------------------------------------|------------|----------|----------|
Completed      | Edit XML File            | Edit XML File [XML Doc: 1nccInput XPath: /.../Commands/Command/Code]  | 09:41:32   | 09:41:32 | 00:00:00 |
---------------|--------------------------|---------------------------------------------------------------------------------|------------|----------|----------|
Using XML Document Object: 1nccInput
XPath "/.../Commands/Command/Code" found
Text node updated

---------------|--------------------------|---------------------------------------------------------------------------------|------------|----------|----------|
Completed      | XML Save Document        | Save XML Document [EmptyXML]                                                    | 09:41:32   | 09:41:32 | 00:00:00 |
---------------|--------------------------|---------------------------------------------------------------------------------|------------|----------|----------|
XML Document saved to: C:\...\TestResults\XML\nccInput.xml

---------------|--------------------------|---------------------------------------------------------------------------------|------------|----------|----------|
Completed      | Execute Program          | Execute Program [ C:\..\NCC.exe]                                            | 09:41:32   | 14:47:49 | 05:06:16 |
---------------|--------------------------|---------------------------------------------------------------------------------|------------|----------|----------|
Executing external process: C:\...\NCC.exe
Parameters: C:\...\TestResults\XML\nccInput.xml
Program returned code  : 0

---------------|--------------------------|---------------------------------------------------------------------------------|------------|----------|----------|

End Log.



----------------------------------
Posted By Vincent Parrett on 27 May 2011 08:17 AM
Which version/build of FinalBuilder are you using?

 

 

Hi;

While the final builder suddenly close, do I have any chance to log the problem or stop the final builder before closing? If I have chance to sotp final builder without closing I want to look live logging. but when the program close I can not look the live logging. Maybe at the last sentences live logging explain the problem.

Regards.

The only suggestion I have is to disable the actions from half way on and run the build, and then progressively enable them until it happens. Also send us the project file so we can take a look. Generally programs only disappear when a stack overflow occurs, so I’m wondering if you have some form of recursion in your project? We used to disallow recursion and tried to detect it in earlier versions, but relaxed the rules a bit for FB6.

Hi;

At the attacment there is a project file. For example I run the "same" project 10 times, 8 of them are succesful 2 of them are unsuccesful. I can not determine the problem.

Regards.

OTF_GEN_LINETYPEGRID.fbz6 (16.584 KB)

“2 of them are unsuccesful” I mean that final builder crashes at two of them or three of them.

Also do you have any idea about these crashes when final builder run on virtual machine? Does virtual machine affect final builder and make it crashes?

I don’t see anything in your build script that might be the cause. Running on virtual machines should not be a problem. What operating system version/service pack level are you running on?

Here’s a couple of ideas :

Run FinalBuilder with the -LOGEXCEPTIONS command line option. This will cause it to run slowly as every exception (even ones that are handled) will be logged to your users %temp% folder - there should be a file named exceptions.txt - next time the crash occurs send us the file.

Also, make sure your temp folder is not full… it’s not common but some windows api calls will fail when this happens and the failures are very difficult to handle.

Hi;

At the attachement there is a bug report. Do you have any idea about that bug report?

Regards.

date/time : 2011-05-30, 16:14:24, 972ms
computer name :
user name :
registered owner :
operating system : Windows 7 build 7600
system language : Turkish
system up time : 2 hours 34 minutes
program up time : 48 seconds
processors : 2x Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
physical memory : 1856/3071 MB (free/total)
free disk space : (C: segment deleted (644) [$3C85/15493] SQL : Delete FROM "OTF_CollectionTest" WHERE BuildID = Guid'{16146972-71A7-4BBC-B149-006F931E8E9B}'.

LogSubScriber ($f4c):
00e32c10 fbcoreapi.bpl FBLogArchiveDBImpl 464 TFBLogArchiveDBImpl.RunSQL

[Edited : Please don't post stack traces in the forums, send them to support at finalbuilder dot com ]

This looks like a corrupt log file issue. Please try renaming OTF_CollectionTest.fbl6 and then running the project again.

Is there any chance to avoid this corrupt log file problem without renaming log file or deleting the log file manually? Because this log file problem usuaaly occurs when log file size is big.

Also I try to write -LOGEXCEPTIONS can you look at below command is it true?

C:\Users\omer.akyuz\Desktop>“C:\Program Files\FinalBuilder 6\FinalBuilder6.exe” /r “C:\FinalBuilder\Test Projects\CloseActiveProjectTest\CloseActiveProjectTest.fbz6” -LOGEXCEPTIONS

And I do not find the exceptions.txt, can you give an whole path please.

Still I have not log file but I think the problem is about memory problem. Because when final builder crashes suddenly internet explorer and outlook express crashes also. and if I want to run outlook express windows gives an “not enough memory” message. And when final builders crashes sometimes windows resart. My computer properties well enough but how can I resolve this memory problem? for example if I delete log files otomaticaly in final builder can it be solution about memory problem? do you have any suggestion?

My computer ram is 4 GB and Intel core 2 Duo 3.00 GHz

Posted By oakyuz83 on 31 May 2011 02:21 AM
Is there any chance to avoid this corrupt log file problem without renaming log file or deleting the log file manually? Because this log file problem usuaaly occurs when log file size is big.


On the build history view there is a Pack Log File button. However, if the log file is corrupt this probably won't help. Corruption has nothing to do with the size, it's more likely a side effect of the earlier crashes which left the log file in an invalid state.

Posted By oakyuz83 on 31 May 2011 07:49 AM
Also I try to write -LOGEXCEPTIONS can you look at below command is it true?

C:\Users\omer.akyuz\Desktop>"C:\Program Files\FinalBuilder 6\FinalBuilder6.exe" /r "C:\FinalBuilder\Test Projects\CloseActiveProjectTest\CloseActiveProjectTest.fbz6" -LOGEXCEPTIONS

And I do not find the exceptions.txt, can you give an whole path please.


I can't give you the whole path as it is dependant on your machine. If you open an explorer window, type %TEMP% in the address bar then it should open your users temp folder, which is where the exceptions.txt is written to. 

Posted By oakyuz83 on 31 May 2011 09:08 AM
Still I have not log file but I think the problem is about memory problem. Because when final builder crashes suddenly internet explorer and outlook express crashes also. and if I want to run outlook express windows gives an "not enough memory" message. And when final builders crashes sometimes windows resart. My computer properties well enough but how can I resolve this memory problem? for example if I delete log files otomaticaly in final builder can it be solution about memory problem? do you have any suggestion?

My computer ram is 4 GB and Intel core 2 Duo 3.00 GHz

The out of memory issue is more likely a lack of GDI resources or handles. Either FinalBuilder is leaking a lot of handles (possible but not likely, as that's something we keep a close watch on) or something else is. What else is running on the pc. Also, make sure you have the latest video drivers. The next thing to do is watch what is happening with the task manager and see if the handles allocated by FinalBuilder go up dramatically.

 

 Hi;

I am looking the TEMP file but there is no exceptions.txt file. I run project file again and final builder crashes but there is again no exceptions.txt file. My script is like that, is there anything wrong about the script? If there is nothing wrong about script what can be the problem crashing final builder?

Also my project file is at the attachement.


"C:\Program Files\FinalBuilder 7\FinalBuilder7.exe" -LOGEXCEPTIONS /r "C:\FinalBuilder\Test Projects\AnaModül\OTF_CLOSE ACTIVEPROJECT.fbz7"

OTF_CLOSE_ACTIVEPROJECT.fbp7 (407.764 KB)

Hi;

I think the exact problem is like that, I run one action at final builder 1000 times which runs my product .exe file. After 1000 times running I can not open any programs like paint, outlook etc. I think there is stack overflow but I have to run same .exe file many times. Do you have any question to avoid this problem. My project file is at the attachement.

//PS: Quick response is very important to me.

Regards.

New_Project_4.fbz7 (2.629 KB)