What's going on with wine?

Questions about Wine on Linux
Locked
amera_09
Level 3
Level 3
Posts: 88
Joined: Mon Dec 09, 2019 6:47 pm

What's going on with wine?

Post by amera_09 »

Code: Select all

root@localhost:~# ./winetricks -q dotnet40
------------------------------------------------------
warning: Running Wine/winetricks as root is highly discouraged. See https://wiki.winehq.org/FAQ#Should_I_run_Wine_as_root.3F
------------------------------------------------------
Executing mkdir -p /root
Using winetricks 20210206-next - sha256sum: 7ec9c3e9140e592ef575140417f27e75e16ccebfeee9816cdbab21aa3d5c0841 with wine-7.0-rc5 (Staging) and WINEARCH=win32
Executing w_do_call dotnet40
Executing mkdir -p /root
Executing load_dotnet40
------------------------------------------------------
warning: dotnet40 does not yet fully work or install on wine.  Caveat emptor.
------------------------------------------------------
Executing w_do_call remove_mono
Executing mkdir -p /root
Executing load_remove_mono
0190:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x440000), expect trouble
0198:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x6a0000), expect trouble
01a0:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x6c0000), expect trouble
01a0:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
01a0:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
01a0:err:systray:initialize_systray Could not create tray window
01a4:err:seh:segv_handler Got unexpected trap -1
01a4:err:seh:NtRaiseException Unhandled exception code c000001d flags 0 addr 0x719be0
01ac:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x650000), expect trouble
------------------------------------------------------
warning: Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call winxp
Executing mkdir -p /root
Executing load_winxp
Executing wine winecfg -v winxp
0268:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x440000), expect trouble
0270:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x6a0000), expect trouble
0278:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x6c0000), expect trouble
0278:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0278:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0278:err:systray:initialize_systray Could not create tray window
027c:err:seh:segv_handler Got unexpected trap -1
027c:err:seh:NtRaiseException Unhandled exception code c000001d flags 0 addr 0x719be0
0284:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x780000), expect trouble
------------------------------------------------------
warning: Running /usr/bin/wineserver -w. This will hang until all wine processes in prefix=/root/.wine terminate
------------------------------------------------------
Executing cd /root/.cache/winetricks/dotnet40
Executing wine dotNetFx40_Full_x86_x64.exe /q /c:install.exe /q
002c:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x680000), expect trouble
002c:fixme:winediag:LdrInitializeThunk wine-staging 7.0-rc5 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0034:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x6a0000), expect trouble
003c:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x6a0000), expect trouble
0048:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x640000), expect trouble
0050:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x6c0000), expect trouble
006c:err:seh:segv_handler Got unexpected trap -1
006c:err:seh:segv_handler Got unexpected trap -1
006c:err:seh:segv_handler Got unexpected trap -1
006c:err:seh:segv_handler Got unexpected trap -1
006c:err:seh:segv_handler Got unexpected trap -1
006c:err:seh:segv_handler Got unexpected trap -1
006c:err:seh:segv_handler Got unexpected trap -1
006c:err:seh:segv_handler Got unexpected trap -1
006c:err:seh:segv_handler Got unexpected trap -1
006c:err:seh:segv_handler Got unexpected trap -1
006c:err:seh:segv_handler Got unexpected trap -1
006c:err:seh:segv_handler Got unexpected trap -1
006c:err:seh:segv_handler Got unexpected trap -1
006c:err:seh:segv_handler Got unexpected trap -1
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
003c:err:service:process_send_command service protocol error - failed to read pipe r = 0  count = 0!
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" failed to start: 1053
0074:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x640000), expect trouble
0080:err:wineusb:DriverEntry Failed to initialize libusb: Other error
0080:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000001
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 31
wine client error:84: 0084:err:seh:segv_handler Got unexpected trap -1
0084:err:seh:segv_handler Got unexpected trap -1
0084:err:seh:segv_handler Got unexpected trap -1
0084:err:seh:segv_handler Got unexpected trap -1
0084:err:seh:segv_handler Got unexpected trap -1
0084:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.
0084:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.
proot warning: can't set tracee registers in workaround: No such process
007c:err:service:process_send_command service protocol error - failed to read pipe r = 0  count = 0!
0050:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0050:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0050:err:systray:initialize_systray Could not create tray window
0094:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x640000), expect trouble
0098:err:seh:segv_handler Got unexpected trap -1
0098:err:seh:NtRaiseException Unhandled exception code c000001d flags 0 addr 0x719be0
0098:err:seh:segv_handler Got unexpected trap -1
0098:err:seh:segv_handler Got unexpected trap -1
Got unexpected trap -1
0098:err:seh:segv_handler Got unexpected trap -1
0098:err:seh:segv_handler Got unexpected trap -1
0098:err:seh:NtRaiseException Unhandled exception code c000001d flags 0 addr (nil)
0098:err:seh:NtRaiseException Unhandled exception code c000001d flags 0 addr (nil)
wine client error:98: write: Bad file descriptor
00a4:err:seh:segv_handler Got unexpected trap -1
00a4:err:seh:NtRaiseException Unhandled exception code c000001d flags 0 addr 0x699be0
003c:err:service:process_send_command service protocol error - failed to read pipe r = 0  count = 0!
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"winebus" failed to start: 1053
00ac:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x640000), expect trouble
00c4:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x640000), expect trouble
00d8:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x640000), expect trouble
00f0:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x6c0000), expect trouble
00f0:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00f0:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
00f0:err:systray:initialize_systray Could not create tray window
00f4:err:seh:segv_handler Got unexpected trap -1
00f4:err:seh:NtRaiseException Unhandled exception code c000001d flags 0 addr 0x719be0
0024:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x440000), expect trouble
00fc:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x6a0000), expect trouble
0104:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x6c0000), expect trouble
0104:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0104:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0104:err:systray:initialize_systray Could not create tray window
0108:err:seh:segv_handler Got unexpected trap -1
0108:err:seh:NtRaiseException Unhandled exception code c000001d flags 0 addr 0x719be0
0024:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x3e50000-0x6e6d000, unix_prot 0x1.
0024:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x3e50000-0x6e6d000, unix_prot 0x1.
0110:err:module:relocate_ntdll ntdll could not be mapped at preferred address (0x560000), expect trouble
0110:fixme:heap:RtlSetHeapInformation 00000000 1 00000000 0 stub
0110:fixme:clusapi:OpenCluster ((null)) stub!
0110:fixme:clusapi:ClusterOpenEnum (DEADBEEF, 4) stub!
0110:fixme:clusapi:ClusterEnum (DEADBEEF, 0, 0053F920, 007A4300, 261) stub!
0110:fixme:clusapi:ClusterCloseEnum (DEADBEEF) stub!
0110:fixme:clusapi:CloseCluster (DEADBEEF) stub!
0110:fixme:advapi:DecryptFileW (L"C:\\2880e4bdc5ad248feb\\", 00000000): stub
Preparing: C:\2880e4bdc5ad248feb\netfx_Core_x64.msi...
Preparing: C:\2880e4bdc5ad248feb\netfx_Core_x86.msi...
Preparing: C:\2880e4bdc5ad248feb\netfx_Extended_x64.msi...
Preparing: C:\2880e4bdc5ad248feb\netfx_Extended_x86.msi...
Preparing: C:\2880e4bdc5ad248feb\RGB9RAST_x64.msi...
Preparing: C:\2880e4bdc5ad248feb\RGB9Rast_x86.msi...
Preparing: C:\2880e4bdc5ad248feb\header.bmp...
Preparing: C:\2880e4bdc5ad248feb\SplashScreen.bmp...
011c:err:seh:segv_handler Got unexpected trap -1
011c:err:seh:segv_handler Got unexpected trap -1
011c:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.
011c:err:seh:segv_handler Got unexpected trap -1
011c:err:seh:segv_handler Got unexpected trap -1
011c:err:seh:segv_handler Got unexpected trap -1
011c:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.
011c:err:seh:segv_handler Got unexpected trap -1
011c:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.
wine client error:11c: write: Bad file descriptor
------------------------------------------------------
warning: Note: command wine dotNetFx40_Full_x86_x64.exe /q /c:install.exe /q returned status 99. Aborting.
------------------------------------------------------
root@localhost:~# proot warning: can't set tracee registers in workaround: No such process
0128:err:seh:segv_handler Got unexpected trap -1
0128:err:seh:segv_handler Got unexpected trap -1
Got unexpected trap -1
munmap_chunk(): invalid pointer
Fatal error: glibc detected an invalid stdio handle
0128:err:seh:NtRaiseException Unhandled exception code 80000101 flags 1 addr 0x781cc52
0128:err:seh:NtRaiseException Unhandled exception code 80000101 flags 1 addr 0x781cc52
Unhandled exception code 80000101 flags 1 addr 0x781cc52
0128:err:seh:segv_handler Got unexpected trap -1
0128:err:seh:segv_handler Got unexpected trap -1
Got unexpected trap -1
Got unexpected trap -1
Got unexpected trap -1
Got unexpected trap -1
Got unexpected trap -1
0128:err:seh:segv_handler Got unexpected trap -1
0128:err:seh:segv_handler Got unexpected trap -1
0128:err:seh:segv_handler Got unexpected trap -1
0128:err:seh:segv_handler Got unexpected trap -1
0128:err:seh:segv_handler Got unexpected trap -1
0128:err:seh:segv_handler Got unexpected trap -1
Got unexpected trap -1
0128:err:seh:segv_handler Got unexpected trap -1
0128:err:seh:segv_handler Got unexpected trap -1
Got unexpected trap -1
0128:err:seh:segv_handler Got unexpected trap -1
0128:err:seh:segv_handler Got unexpected trap -1
0128:err:seh:NtRaiseException Unhandled exception code c000001d flags 0 addr 0x75b2a37
root@localhost:~#
If I run anything on latest version of wine staging wine crash with bunch of errors and winehq-stable is not working at all , I'm using qemu emulator on an Android
User avatar
JoseskVolpe
Level 4
Level 4
Posts: 103
Joined: Sat Sep 04, 2021 9:35 pm

Re: What's going on with wine?

Post by JoseskVolpe »

May not be that, but you're running Wine as root, avoid doing that. it is a security flaw and also leads to major issues
amera_09
Level 3
Level 3
Posts: 88
Joined: Mon Dec 09, 2019 6:47 pm

Re: What's going on with wine?

Post by amera_09 »

JoseskVolpe wrote: Sat Jan 15, 2022 1:38 am May not be that, but you're running Wine as root, avoid doing that. it is a security flaw and also leads to major issues
It's a fake root
Now what is that

Code: Select all

bash-5.1# wine autorun.exe
0050:err:seh:segv_handler Got unexpected trap -1
0050:err:seh:NtRaiseException Unhandled exception code c000001d flags 0 addr 0x7534e36
0034:err:service:process_send_command service protocol error - failed to read pipe r = 0  count = 0!
0034:fixme:service:scmdatabase_autostart_services Auto-start service L"winebus" failed to start: 1053
0034:err:service:process_send_start_message pipe connect failed
0034:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1053
008c:err:seh:segv_handler Got unexpected trap -1
008c:err:seh:NtRaiseException Unhandled exception code c000001d flags 0 addr 0x751be36
.^C^C^C0090:err:ntdll:RtlpWaitForCriticalSection section 07592260 "dlls/ntdll/loader.c: loader_section" wait timed out in thread 0090, blocked by 0024, retrying (60 sec)
0098:err:ntdll:RtlpWaitForCriticalSection section 07592260 "dlls/ntdll/loader.c: loader_section" wait timed out in thread 0098, blocked by 0024, retrying (60 sec)
^C
009c:err:ntdll:RtlpWaitForCriticalSection section 07592260 "dlls/ntdll/loader.c: loader_section" wait timed out in thread 009c, blocked by 0024, retrying (60 sec)
00a0:err:ntdll:RtlpWaitForCriticalSection section 07592260 "dlls/ntdll/loader.c: loader_section" wait timed out in thread 00a0, blocked by 0024, retrying (60 sec)
section 07592260 "dlls/ntdll/loader.c: loader_section" wait timed out in thread 00a0, blocked by 0024, retrying (60 sec)
^C00a4:err:ntdll:RtlpWaitForCriticalSection section 07592260 "dlls/ntdll/loader.c: loader_section" wait timed out in thread 00a4, blocked by 0024, retrying (60 sec)
^C00a8:err:ntdll:RtlpWaitForCriticalSection section 07592260 "dlls/ntdll/loader.c: loader_section" wait timed out in thread 00a8, blocked by 0024, retrying (60 sec)
Program is not launching
Locked