[Bug 48265] New: Regression: some background service crashes on start of every app
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(a)winehq.org Reporter: damjan.jov(a)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(a)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(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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(-) -- 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=48265 Damjan Jovanovic <damjan.jov(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr(a)codeweavers.com -- 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=48265 Damjan Jovanovic <damjan.jov(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |cc395391ed51e55a8f13150a4eb | |62f50417d1436 -- 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=48265 Damjan Jovanovic <damjan.jov(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression -- 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=48265 Alex S <iwtcex(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iwtcex(a)gmail.com --- Comment #1 from Alex S <iwtcex(a)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"? -- 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=48265 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12(a)gmail.com --- Comment #2 from Zebediah Figura <z.figura12(a)gmail.com> --- It's probably in the HID layer. Can you attach a log with WINEDEBUG=+pid,+seh,+ntoskrnl,+plugplay,+hid,+hid_report,+hidp? -- 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=48265 --- Comment #3 from Damjan Jovanovic <damjan.jov(a)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 -- 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=48265 --- Comment #4 from Damjan Jovanovic <damjan.jov(a)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. -- 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=48265 --- Comment #5 from Zebediah Figura <z.figura12(a)gmail.com> --- How is your Wine being compiled? It seems likely the fastcall thunk isn't working correctly. -- 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=48265 --- Comment #6 from Damjan Jovanovic <damjan.jov(a)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. -- 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=48265 --- Comment #7 from Alex S <iwtcex(a)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. -- 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=48265 Damjan Jovanovic <damjan.jov(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |NOTOURBUG Status|NEW |RESOLVED --- Comment #8 from Damjan Jovanovic <damjan.jov(a)gmail.com> --- Does not occur when Wine is compiled with GCC 9. Resolving NOTOURBUG. -- 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)
-
WineHQ Bugzilla