[Bug 41138] New: `apitrace wine` can't save traces
https://bugs.winehq.org/show_bug.cgi?id=41138 Bug ID: 41138 Summary: `apitrace wine` can't save traces Product: Wine Version: 1.9.16 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs(a)winehq.org Reporter: b7.10110111(a)gmail.com Distribution: --- Due to NtTerminateProcess() now calling _exit() instead of exit(), apitrace has no opportunity to save its traces to file. Could wine provide some recompilation-free way to enable apitrace to work — maybe an environment variable, or a registry key? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=41138 Ruslan Kabatsayev <b7.10110111(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Regression SHA1| |4a1629c4117fda9eca63b6f56ea | |45771dc9734ac -- 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.
https://bugs.winehq.org/show_bug.cgi?id=41138 Ruslan Kabatsayev <b7.10110111(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://github.com/apitrace | |/apitrace/issues/479 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=41138 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de -- 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.
https://bugs.winehq.org/show_bug.cgi?id=41138 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian(a)fds-team.de --- Comment #1 from Sebastian Lackner <sebastian(a)fds-team.de> --- (In reply to Ruslan Kabatsayev from comment #0)
Due to NtTerminateProcess() now calling _exit() instead of exit(), apitrace has no opportunity to save its traces to file.
Could wine provide some recompilation-free way to enable apitrace to work — maybe an environment variable, or a registry key?
Just by accident I saw that this regression is related to one of my commits. Please always add the author(s) in the future to make sure they can analyze their bugs as quickly as possible.
From the description and the apitrace bug report it is not clear to me what exactly calls NtTerminateProcess. If it is the application itself it is expected that exit handlers are skipped. If you have any additional information / analysis what exactly is going wrong, feel free to attach it to the bug report.
I will take a closer look and try to reproduce it in the meantime. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=41138 --- Comment #2 from Ruslan Kabatsayev <b7.10110111(a)gmail.com> --- (In reply to Sebastian Lackner from comment #1)
From the description and the apitrace bug report it is not clear to me what exactly calls NtTerminateProcess. If it is the application itself it is expected that exit handlers are skipped. If you have any additional information / analysis what exactly is going wrong, feel free to attach it to the bug report. Yes, it's the application itself, which returns from WinMain.
-- 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.
https://bugs.winehq.org/show_bug.cgi?id=41138 --- Comment #3 from Ruslan Kabatsayev <b7.10110111(a)gmail.com> --- OK, so now apitrace intercepts _exit too [1]. I guess this can be closed for Wine... not sure with what resolution though. [1]: https://github.com/apitrace/apitrace/commit/886e2aeefb352550831aa04643b81792... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=41138 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv(a)dawncrow.de Status|UNCONFIRMED |RESOLVED Resolution|--- |NOTOURBUG --- Comment #4 from André H. <nerv(a)dawncrow.de> --- I think "resolved not our bug" seems appropriate -- 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.
https://bugs.winehq.org/show_bug.cgi?id=41138 Matteo Bruni <matteo.mystral(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression | URL| |https://github.com/apitrace | |/apitrace/issues/479 Status|RESOLVED |CLOSED Regression SHA1|4a1629c4117fda9eca63b6f56ea | |45771dc9734ac | --- Comment #5 from Matteo Bruni <matteo.mystral(a)gmail.com> --- (In reply to André H. from comment #4)
I think "resolved not our bug" seems appropriate
Okay, then let's close it since it was fixed in apitrace. -- 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.
participants (1)
-
wine-bugs@winehq.org