https://bugs.winehq.org/show_bug.cgi?id=48265
Bug ID: 48265 Summary: Regression: some background service crashes on start of every app Product: Wine Version: 4.21 Hardware: x86 OS: FreeBSD Status: NEW Severity: normal Priority: P2 Component: ntoskrnl Assignee: wine-bugs@winehq.org Reporter: damjan.jov@gmail.com
Recently on FreeBSD, no matter which application is run (even something internal like winecfg or regedit), an unknown application first crashes, then the intended application runs. "info process" seems to point to winedevice but I can't tell much more than that, as the crashed process's memory cannot be read.
A Git bisect gives this as the result:
cc395391ed51e55a8f13150a4eb62f50417d1436 is the first bad commit commit cc395391ed51e55a8f13150a4eb62f50417d1436 Author: Piotr Caban piotr@codeweavers.com Date: Tue Nov 12 19:02:20 2019 +0100
winebus: Reference PDOs added to DEVICE_RELATIONS structure.
Fixes crash caused by 81cda52d153.
Signed-off-by: Piotr Caban piotr@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
dlls/ntoskrnl.exe/tests/driver.c | 2 -- dlls/winebus.sys/main.c | 19 +++++++++++++++++++ include/ddk/wdm.h | 1 + 3 files changed, 20 insertions(+), 2 deletions(-)
https://bugs.winehq.org/show_bug.cgi?id=48265
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=48265
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |cc395391ed51e55a8f13150a4eb | |62f50417d1436
https://bugs.winehq.org/show_bug.cgi?id=48265
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=48265
Alex S iwtcex@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |iwtcex@gmail.com
--- Comment #1 from Alex S iwtcex@gmail.com --- (In reply to Damjan Jovanovic from comment #0)
Recently on FreeBSD, no matter which application is run (even something internal like winecfg or regedit), an unknown application first crashes, then the intended application runs.
I don't see any crashes... Are you running Wine on i386 FreeBSD?
"info process" seems to point to winedevice
What exactly is "info process"?
https://bugs.winehq.org/show_bug.cgi?id=48265
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #2 from Zebediah Figura z.figura12@gmail.com --- It's probably in the HID layer. Can you attach a log with WINEDEBUG=+pid,+seh,+ntoskrnl,+plugplay,+hid,+hid_report,+hidp?
https://bugs.winehq.org/show_bug.cgi?id=48265
--- Comment #3 from Damjan Jovanovic damjan.jov@gmail.com --- Created attachment 65984 --> https://bugs.winehq.org/attachment.cgi?id=65984 WINEDEBUG="+pid,+seh,+ntoskrnl,+plugplay,+hid,+hid_report,+hidp" winecfg
Output of WINEDEBUG="+pid,+seh,+ntoskrnl,+plugplay,+hid,+hid_report,+hidp" winecfg
https://bugs.winehq.org/show_bug.cgi?id=48265
--- Comment #4 from Damjan Jovanovic damjan.jov@gmail.com --- (In reply to Alex S from comment #1)
(In reply to Damjan Jovanovic from comment #0)
Recently on FreeBSD, no matter which application is run (even something internal like winecfg or regedit), an unknown application first crashes, then the intended application runs.
I don't see any crashes... Are you running Wine on i386 FreeBSD?
amd64 FreeBSD with 32 bit Wine built in a 32 bit chroot.
"info process" seems to point to winedevice
What exactly is "info process"?
A winedbg command to list processes.
https://bugs.winehq.org/show_bug.cgi?id=48265
--- Comment #5 from Zebediah Figura z.figura12@gmail.com --- How is your Wine being compiled? It seems likely the fastcall thunk isn't working correctly.
https://bugs.winehq.org/show_bug.cgi?id=48265
--- Comment #6 from Damjan Jovanovic damjan.jov@gmail.com --- (In reply to Zebediah Figura from comment #5)
How is your Wine being compiled? It seems likely the fastcall thunk isn't working correctly.
./configure --prefix=/home/user/.local CFLAGS=-I/usr/local/include -O0 -g3 LDFLAGS=-L/usr/local/lib
I am pretty sure the same happens even with the default optimize/debug flags.
Clang 4.2.1 is being used.
https://bugs.winehq.org/show_bug.cgi?id=48265
--- Comment #7 from Alex S iwtcex@gmail.com --- (In reply to Damjan Jovanovic from comment #6)
Clang 4.2.1 is being used.
Oh, clang is really not advised unless you want to debug it: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231010.
https://bugs.winehq.org/show_bug.cgi?id=48265
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |NOTOURBUG Status|NEW |RESOLVED
--- Comment #8 from Damjan Jovanovic damjan.jov@gmail.com --- Does not occur when Wine is compiled with GCC 9.
Resolving NOTOURBUG.