待辦事項 #40862

writelog mix up when multiple files are open

啟用日期: 2020-10-15 09:22 最後更新: 2020-10-15 09:22

回報者:
(匿名)
負責人:
(無)
類型:
狀態:
開啟
元件:
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
檔案:
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

細節

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

編輯

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