Winetricks / winetricks

Winetricks is an easy way to work around problems in Wine
GNU Lesser General Public License v2.1
2.66k stars 389 forks source link

`winetricks nocrashdialog` cannot completely disable the wechat wine debugger window. #2213

Closed hongyi-zhao closed 2 months ago

hongyi-zhao commented 2 months ago

My OS and related software versions are show below:

werner@MZ73-LM1-000:~$ winetricks --version
20240105-next - sha256sum: b186d6626625db828b0c442100acff2284ec318828bd78c6aafb19179bc0832d
werner@MZ73-LM1-000:~$ wine --version
wine-9.0
werner@MZ73-LM1-000:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:        22.04
Codename:       jammy

I've run the winetricks nocrashdialog, but the wechat wine debugger window still appear several times when I start it, as shown below:

https://github.com/Winetricks/winetricks/assets/11155854/13c01911-a683-47e1-ba74-53944c6bee6a

Regards, Zhao

hongyi-zhao commented 2 months ago

After further inspection and verification, I found that the above problem occurred on the machine with AMD 9554 CPU, and the machine equipped with Intel Xeon E5-2699 V4 doesn't have this problem.

But on the Intel Xeon E5-2699 V4 machine, when I run winetricks nocrashdialog, the following information appears:

werner@X10DAi:~$ winetricks --version
20240105-next - sha256sum: b186d6626625db828b0c442100acff2284ec318828bd78c6aafb19179bc0832d
werner@X10DAi:~$ winetricks nocrashdialog
------------------------------------------------------
warning: Github down? version '' doesn't appear to be a valid version
------------------------------------------------------
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20240105-next - sha256sum: b186d6626625db828b0c442100acff2284ec318828bd78c6aafb19179bc0832d with wine-9.6 (Staging) and WINEARCH=win64
Executing w_do_call nocrashdialog
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_nocrashdialog 
Disabling graphical crash dialog
Executing cd /home/werner/.wine/dosdevices/c:/windows/temp
Executing wine C:\windows\syswow64\regedit.exe crashdialog.reg
026c:fixme:ntdll:create_logical_proc_info Improve CPU info reporting: system supports 88 logical cores, but only 32 supported!
Executing wine64 C:\windows\regedit.exe crashdialog.reg
0274:fixme:ntdll:create_logical_proc_info Improve CPU info reporting: system supports 88 logical cores, but only 64 supported!
0274:err:seh:install_bpf Native libs are being loaded in low addresses, sc_seccomp 0x14f2902d3f80, syscall 0x14f29011e870, not installing seccomp.
0274:err:seh:install_bpf The known reasons are /proc/sys/vm/legacy_va_layout set to 1 or 'ulimit -s' being 'unlimited'.
werner@X10DAi:~$ cat /proc/sys/vm/legacy_va_layout
0

So, I still don't know how to fix the related err shown above.

Regards, Zhao

austin987 commented 2 months ago

winetricks nocrashdialog only disables the GUI crash dialog, not the command line output from winedbg. This is expected behavior.

As for your second issue, the error is when running 'regedit'. That's a Wine issue, you should report it upstream.