https://bugs.winehq.org/show_bug.cgi?id=43949
Bug ID: 43949 Summary: WINEDEBUG=+relay does not work on armv7l (and/or when CWD is a symlink) Product: Wine Version: 2.19 Hardware: arm OS: Linux Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: ---
While getting logs for bug 43945, I Noticed that WINEDEBUG=relay does not work (+tid,+seh were fine):
../../../tools/runtest -q -P wine -T ../../.. -M d3dx9_36.dll -p d3dx9_36_test.exe.so mesh && touch mesh.ok 0047:trace:relay:load_list L"RelayExclude" = L"ntdll.RtlEnterCriticalSection;ntdll.RtlTryEnterCriticalSection;ntdll.RtlLeaveCriticalSection;kernel32.48;kernel32.49;kernel32.94;kernel32.95;kernel32.96;kernel32.97;kernel32.98;kernel32.TlsGetValue;kernel32.TlsSetValue;kernel32.FlsGetValue;kernel32.FlsSetValue;kernel32.SetLastError" 0047:trace:relay:load_list L"RelayFromExclude" = L"winex11.drv;winemac.drv;user32;gdi32;advapi32;kernel32" 0047:Call KERNEL32.__wine_kernel_init() ret=af0ff758 Warning: could not find DOS drive for current working directory '/var/host/media/removable/SD Card/wine-git/dlls/d3dx9_36/tests', starting in the Windows directory. wine client error:47: write: Invalid argument Makefile:369: recipe for target 'mesh.ok' failed make: *** [mesh.ok] Error 1
If I remove +relay, it's fine.
Possibly relevant, CWD is $HOME/wine-git/dlls/d3dx9_36/tests, while $HOME/wine-git is a symlink to /var/host/media/removable/SD Card/.
https://bugs.winehq.org/show_bug.cgi?id=43949
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|WINEDEBUG=+relay does not |WINEDEBUG=+relay does not |work on armv7l (and/or when |work on armv7l |CWD is a symlink) |
--- Comment #1 from Austin English austinenglish@gmail.com --- Testing with CWD=/var/host/media/removable/SD Card/wine-git/dlls/d3dx9_36/tests shows the same behavior, so it's not the symlink.
https://bugs.winehq.org/show_bug.cgi?id=43949
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
--- Comment #2 from André H. nerv@dawncrow.de --- Can't reproduce here ( gcc 4.9.2 ) is it a clang compile? (which also should work)
https://bugs.winehq.org/show_bug.cgi?id=43949
--- Comment #3 from Austin English austinenglish@gmail.com --- (In reply to André H. from comment #2)
Can't reproduce here ( gcc 4.9.2 ) is it a clang compile? (which also should work)
Nope, this was GCC (clang for ntdll, otherwise bug 43579 appears). With a pure clang (3.8) build, I see:
(stretch)austin@localhost:~/wine-git-clang$ WINEDEBUG=relay ./wine wineboot trace:relay:load_list L"RelayExclude" = L"ntdll.RtlEnterCriticalSection;ntdll.RtlTryEnterCriticalSection;ntdll.RtlLeaveCriticalSection;kernel32.48;kernel32.49;kernel32.94;kernel32.95;kernel32.96;kernel32.97;kernel32.98;kernel32.TlsGetValue;kernel32.TlsSetValue;kernel32.FlsGetValue;kernel32.FlsSetValue;kernel32.SetLastError" trace:relay:load_list L"RelayFromExclude" = L"winex11.drv;winemac.drv;user32;gdi32;advapi32;kernel32" 0043:Call KERNEL32.__wine_kernel_init() ret=7bc5ff18 Warning: could not find DOS drive for current working directory '/var/host/media/removable/SD Card/wine-git-clang', starting in the Windows directory. wine client error:43: partial write 80
Note: different wine client error, same result.
https://bugs.winehq.org/show_bug.cgi?id=43949
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello Austin,
can you retest? I've not seen problems with relay tracing of armv7 builtins for a long time.
Regards
https://bugs.winehq.org/show_bug.cgi?id=43949
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Austin English austinenglish@gmail.com --- (In reply to Anastasius Focht from comment #4)
Hello Austin,
can you retest? I've not seen problems with relay tracing of armv7 builtins for a long time.
Regards
Yeah, works here in wine-5.8-2024-g0d42388095.
https://bugs.winehq.org/show_bug.cgi?id=43949
--- Comment #6 from Austin English austinenglish@gmail.com --- (In reply to Austin English from comment #5)
(In reply to Anastasius Focht from comment #4)
Hello Austin,
can you retest? I've not seen problems with relay tracing of armv7 builtins for a long time.
Regards
Yeah, works here in wine-5.8-2024-g0d42388095.
That should be wine-5.13-195-g0d42388095.
https://bugs.winehq.org/show_bug.cgi?id=43949
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.14.