Why do I get Polyspace Unable to rename file error during analysis?

During analysis with Polyspace Bug Finder, I get very often an error as below:
Error: Unable to rename C:\Temp\Polyspace\1214_1459319558\A32F3F_7135_1714.expanded as C:\Temp\Polyspace\1214_1459319558\A32F3F_7135_1714.
The analysis is then stopped.

2 Commenti

Ping?
I get the same errors (but with code prover) on a couple of different jobs since a couple of days on different machines with different code being tested. I am running the command line version and as an administrator.
Any help as to where to find the likely cause would be greatly appreciated.
Afaik, there could be several root causes of this kind of behaviour. Could you please check for any “Zombie”-processes and stop them. Another root cause I've seen several times, could be anti-virus checkers, such as McAfee, which are locking the tmp files during their analysis.

Accedi per commentare.

Risposte (2)

After an update to McAfee this issues have "magically" dissapeared making McAfee the most likely cause of the errors.
There are another way to fix this problem.
1) goto control panel, system properties > Environment Variables..
2) On the user variable, look for "TEMP" orr "TMP" path, edit it to another path "C:\Temp"
Then polyspace will able to run again.

Richiesto:

il 30 Mar 2016

Risposto:

il 11 Apr 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by