Silverfrost Forums

Welcome to our forums

Error 45

18 Oct 2019 4:35 #24540

After the last Microsoft Update, I'm getting an Error 45 during the compile. Since my process stops on this kind of fatal error, I can't tell if I would have gotten more of these. Sometimes, after I restart the process, I'll get another one, sometimes on the same file, sometimes not.

Any ideas?

18 Oct 2019 5:27 #24541

Is this a normal FTN95 error with a description?

18 Oct 2019 2:50 #24542

Yes, it is. It matches the syntax of error 45 in the message descriptions, identifying a listing being created for the compilation.

I am trying something; it might be that a file being created/updated during the MAKE is still 'open' and being written when the compile of a using file starts. Could this cause the error? I have not been diligent in identifying the files that seem to cause the error, but my remembrance is that they all include this one file.

I have a couple of CMD processes that require a delay to be placed in the CMD file to allow closing a file before it gets opened a step or two later in the CMD file.

It is suspicious that this began only after the Windows update.

While I am interested in why this error presents itself, let me see if this short delay stops it from happening. Normally, it happens every 5th or 6th compile, sometimes, everyone! I'll let it go for a few days, and if it does not present itself again, I'll call it good and let you know!

20 Oct 2019 2:17 #24543

In a Command window, type:

FTN95 -config

You will be presented with a window containing three tabs.

Click on the tab labeled 'Error and Warning Messages' to see the full list, with error number, that you can get when compiling.

Bill

21 Oct 2019 7:44 #24547

I have done a large number of re-compiles (more than 30), and have had only one re-compile that had this particular error.

So, maybe on the right track (?). I have a delay of 5 seconds, and am increasing it to 6, JIC.

22 Oct 2019 1:16 #24549

No better at 6 than 5, so will continue to poke at this as time permits to discover the root cause and a fix (if possible).

22 Oct 2019 12:49 #24551

By the way about 'FTN95 -config'

I recommend all who do not use IMPLICIT NONE to use '/set_error_level error 298' while compiling (variables has been used without being given an initial value). This still a warning but should be 100% error

24 Oct 2019 1:53 #24555

After experiencing several more of these, and not associated with the suspect file, there are few choices as to root cause. It is possible it has something to do with McAfee virus software, but I'm only guessing.

Since the actual reason for the failure is unknown (i.e. is it that the file is in use?), it's hard to try to pinpoint.

Is it possible to get the actual error code from the 'open' to see what the problem is? This might help.

24 Oct 2019 2:23 #24557

I (rarely) get .exe file not able to be opened during a rebuild. Repeating the rebuild usually works. ( Much more often the no .exe error is due to me so not a major problem ) There has been problems with frequent open/close of files in Windows so your delay sounds like the likely fix. As these are hard to reproduce, repeating the rebuild has always worked for me.

24 Oct 2019 4:16 #24558

John, the delay did not work. Indeed, a delay of over 30 seconds in addition to the 6 seconds I'd already added to the build still resulted in the .LIS file having an error being opened for writing.

I've rarely had the .EXE file error you mentioned. I can't remember the last time it occurred, actually.

With this error, I restart the build. Sometimes, it'll stop again on the same file, sometimes a different file, most times, no errors at all....

24 Oct 2019 5:16 #24560

Was this infamous Windows 10 update No 1903? I was scared by reviews about it breaking a lot of things even taskbar and ethernet, but all went ok on all my PCs.

25 Oct 2019 3:54 #24564

Dan, yes, I am running 1903, installed 4 October 2019. There may be a connection, or poor interaction with anti-virus, or.....

So far, this is the ONLY application that has a problem.

Ages ago, I had a problem with Quicken. When I would request a backup to be performed, DropBox would detect that the file was closed and begin to back it up. Almost simultaneously (but a bit later), Quicken would attempt to open the file again to perform the backup. And, Quicken would crash. Every. Time.

If FTN95 does something like DropBox/Quicken, then maybe there is a smoking gun here. But I would imagine that opening/closing/opening a listing file would not be done. And, the folder that contains the listing file is not one monitored by DropBox.

Will still look for a solution.

28 Oct 2019 10:16 #24577

The fatal error 45 occurs when FTN95 fails to create the listing file.

As part of the investigation I would check if the listing file already exists before running FTN95. If it exists, can it be deleted or does the operating system think that it is already in use elsewhere?

Or is there something unusual about the name of the listing file that is upsetting a virus checker? Try switching any virus type checker off or maybe tell the virus checker to ignore this particular file.

Or run the Windows Update checker to make sure that your OS is completely up to date.

28 Oct 2019 2:34 #24582

Paul, I've had the error when the files existed, but not after I had done a 'clean' (at least, I don't think so). I will work on adding a delete for the listing file prior to the compile in the MAKE file.

As far as excluding a file, McAfee allows that, but only until you change the file, then it turns back on checking. Anyway, you have to specify each file to be excluded individually. It's not a good thing.

Nor can you exclude a file folder. That would be ideal.

31 Oct 2019 3:00 #24602

Just an FYI. I have a delete of the listing file before each compile. In all, I have run a couple hundred individual compiles with no issues. Until tonight. And I had one.

At least the inconvenience of all this is at a manageable level.

Having the reason would indeed be helpful.

Bill

Please login to reply.