https://bugs.winehq.org/show_bug.cgi?id=56506
Bug ID: 56506 Summary: strmbase TRACEs occasionally fail to print floats Product: Wine Version: 9.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: quartz Assignee: wine-bugs@winehq.org Reporter: blubban@gmail.com Distribution: ---
$ WINEDEBUG=trace+quartz ./wine dlls/quartz/tests/x86_64-windows/quartz_test.exe mpegvideo 2>&1 | grep NewSegment | head -n2 0024:trace:quartz:sink_NewSegment pin 00007FFFFF225C50 L"MPEG video decoder":L"Input", start 0.001, stop 0.002, rate e. 0024:trace:quartz:sink_NewSegment pin 00007FFFFE2FF8C0 L"sink":L"sink", start 0.001, stop 0.002, rate 1.0000000000000000e+000.
The strmbase copy in quartz_test.exe calls msvcrt printf and correctly prints 1.0000000000000000e+000.
The strmbase copy in winegstreamer.dll calls ntdll's printf, which does not support float operands and just prints 'e'.
I think that can be fixed by adding msvcrt as a dep of winegstreamer (without changing anything else), but I'm not sure, and I'm even less sure if that has any side effects.
https://bugs.winehq.org/show_bug.cgi?id=56506
--- Comment #1 from blubban@gmail.com --- <zf_> strmbase is built against msvcrt rather than ucrtbase, which we actually specifically want, but modules that use it build against ucrtbase <zf_> and because vsnprintf is an export from msvcrt but not ucrtbase [for the latter it's inline and links to __stdio_common_vsprintf()], it then picks it up from ntdll, which it's also exported from
https://bugs.winehq.org/show_bug.cgi?id=56506
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED CC| |z.figura12@gmail.com Fixed by SHA1| |3f5640609bc1de7dc381af816a8 | |c612c1d75bab3
--- Comment #2 from Zeb Figura z.figura12@gmail.com --- Fixed by the series ending in https://source.winehq.org/git/wine.git/commitdiff/3f5640609bc1de7dc381af816a8c612c1d75bab3.
https://bugs.winehq.org/show_bug.cgi?id=56506
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.9.