Hi All,
I have been trying to port wine-4.4 to amd64 on NetBSD. I have managed to compile and install it on i386. However, I get black windows when trying to run graphical programs. I have tried running CLI programs and found them working fine. I tried debugging it using debug channels and found the following errors:
wine: Unhandled page fault on write access to 0x00443ff0 at 0x0017:0xbb748059 (thread 000f), starting debugger.. err:process:__wine_kernel_init boot event wait timed out
I am not sure how I might proceed with troubleshooting the issue. I am able to successfully run wine-1.9.18 on my current setup which is: - i386 kernel and userland, -current
I am not sure if there is something that changed between 1.9.18 and 4.4 which could cause this.
I would really appreciate if someone could tell me what I should look into to solve this.
Am 15.05.19 um 10:29 schrieb zerous:
Hi All,
I have been trying to port wine-4.4 to amd64 on NetBSD. I have managed to compile and install it on i386. However, I get black windows when trying to run graphical programs. I have tried running CLI programs and found them working fine. I tried debugging it using debug channels and found the following errors:
wine: Unhandled page fault on write access to 0x00443ff0 at 0x0017:0xbb748059 (thread 000f), starting debugger.. err:process:__wine_kernel_init boot event wait timed out
I am not sure how I might proceed with troubleshooting the issue. I am able to successfully run wine-1.9.18 on my current setup which is:
- i386 kernel and userland, -current
I am not sure if there is something that changed between 1.9.18 and 4.4 which could cause this.
I would really appreciate if someone could tell me what I should look into to solve this.
Hi,
Is that part of NetBSDs GSoC? Was your wine-1.9.18 patched for netbsd in some way? Could you do a regression test? Or at least a "cheap" one with releases only (e.g. start with wine-2.21)?
On Thu, May 16, 2019 at 02:24:33PM +0200, André Hentschel wrote:
Am 15.05.19 um 10:29 schrieb zerous:
Hi All,
I am not sure if there is something that changed between 1.9.18 and 4.4 which could cause this.
I would really appreciate if someone could tell me what I should look into to solve this.
Hi,
Is that part of NetBSDs GSoC? Was your wine-1.9.18 patched for netbsd in some way? Could you do a regression test? Or at least a "cheap" one with releases only (e.g. start with wine-2.21)?
Yes, it is part of the NetBSD GSoC. Yes, wine-1.9.18 was patched for NetBSD. I applied the same patches to the newer releases too. And I did git bisect and found that this commit is the first commit which caused the black window issue. commit hash: a52d09198d3264c9c712a70de57446e6183957dd winex11: Run a single clipboard manager thread per window station, inside the explorer process
Do you think there could be something in the commit that particularly caused this?
On Fri, May 17, 2019 at 11:07:23PM +0200, zerous wrote:
On Thu, May 16, 2019 at 02:24:33PM +0200, André Hentschel wrote:
Am 15.05.19 um 10:29 schrieb zerous:
And I did git bisect and found that this commit is the first commit which caused the black window issue. commit hash: a52d09198d3264c9c712a70de57446e6183957dd winex11: Run a single clipboard manager thread per window station, inside the explorer process
Do you think there could be something in the commit that particularly caused this?
I tried to backtrace the issue and found that pthread_create in dlls/ntdll/thread.c is blocking. Additionally, I tried disabling the clipboard and recompiling wine which worked fine. I no longer get the black window with clipboard disabled. However, I am not able to use winedbg to debug the issue as it seems to get stuck when I attach the thread.
On a different note, Christos has written a patch for heimdal support on wine. He would like to know if upstream would be interested in this.