任务单 #40862

writelog mix up when multiple files are open

开放日期: 2020-10-15 09:22 最后更新: 2020-10-15 09:22

报告人:
(匿名)
属主:
(无)
类型:
状态:
开启
组件:
里程碑:
(无)
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
文件:
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.

任务单历史 (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. » 登录名