Ticket #40862

writelog mix up when multiple files are open

Open Date: 2020-10-15 09:22 Last Update: 2020-10-15 09:22

Reporter:
(Anonymous)
Owner:
(None)
Type:
Status:
Open
Component:
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

I run similar scripts that write to a log file from 2 terminals. I tried different string related commands, like int2str, sprintf2, I also made sure the the variable names are different. I can see that the output is getting mixed up into both files. Fragments of the original string could appear in any file. Using different delays within the scripts to avoid writing at the same time (starting the scripts around the same time) reduces the problem. It looks like all the open consoles are sharing the same memory and overwrite each other. I had the problem in version 4.89, but 4.105 made it much worse.

Ticket History (1/1 Histories)

2020-10-15 09:22 Updated by: None
  • New Ticket "writelog mix up when multiple files are open" created

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login