[Bug 46271] New: Metatrader 5 Log Filearen't flushed, kill <pid> lose all log data

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Dec 10 17:21:30 CST 2018


https://bugs.winehq.org/show_bug.cgi?id=46271

            Bug ID: 46271
           Summary: Metatrader 5 Log Filearen't flushed, kill <pid> lose
                    all log data
           Product: Wine
           Version: 3.0.3
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: wineserver
          Assignee: wine-bugs at winehq.org
          Reporter: roberto at spadim.com.br
      Distribution: ---

this bug is a second problem found in 46269, the original bug was just to
FileFlush MQL5 function, but it works, the problem now is the logs/<date>.log
files saved by terminal64.exe
when killing terminal64.exe the logs are lost, that's a critical bug since
brokers need logs to help clients solving problem with trading strategies and
sometimes paying the money losed in a broker side problem

---
grep output of: #"strace wine terminal64.exe /portable &> wine.strace.txt"



root at rspadim-Latitude-E5450:/home/rspadim/.wine/drive_c/mt5/1# grep "logs/"
wine.strace.txt 
stat("/root/.wine/dosdevices/z:/home/rspadim/.wine/drive_c/mt5/1/MQL5/logs/",
0x22c0a0) = -1 ENOENT (No such file or directory)
stat("/root/.wine/dosdevices/z:/home/rspadim/.wine/drive_c/mt5/1/tester/logs/",
0x22be30) = -1 ENOENT (No such file or directory)
stat("/root/.wine/dosdevices/z:/home/rspadim/.wine/drive_c/mt5/1/logs/20181210.log",
{st_mode=S_IFREG|0664, st_size=18784, ...}) = 0
stat("/root/.wine/dosdevices/z:/home/rspadim/.wine/drive_c/mt5/1/tester/logs/20181210.log",
0x2270c0) = -1 ENOENT (No such file or directory)
stat("/root/.wine/dosdevices/z:/home/rspadim/.wine/drive_c/mt5/1/Tester/logs/20181210.log",
0x227150) = -1 ENOENT (No such file or directory)
stat("/root/.wine/dosdevices/z:/home/rspadim/.wine/drive_c/mt5/1/tester/logs/20181210.log",
0x2270c0) = -1 ENOENT (No such file or directory)
stat("/root/.wine/dosdevices/z:/home/rspadim/.wine/drive_c/mt5/1/Tester/logs/20181210.log",
0x227150) = -1 ENOENT (No such file or directory)


i will start strace of wineserver

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list