termux-user-repository / tur

A place for all types of Termux packages.
Other
362 stars 73 forks source link

[Bug]: "hangover-wine" program installation failed #1009

Open hansm629 opened 1 month ago

hansm629 commented 1 month ago

Problem description

Screenshot_2024-05-10_00-43-49

After installing hangover-wine through tur-multilib

When installing an x86/x64 program, the installation fails with the following error.

What steps will reproduce the bug?

Take notepad++ 64bit as an example.

~ $ wine npp.7.Installer.x64.exe

If you try to install using the above command, it seems to proceed well as shown below.

Screenshot_2024-05-10_01-07-46

but When you select the [OK] button, the installation window closes and the following error message appears, preventing further progress.

~ $ wine npp.7.Installer.x64.exe
00d4:err:nsi:poll_netlink bind failed, errno 13.
0054:err:dnsapi:DllMain No libresolv support, expect problems
0024:err:environ:init_peb starting L"Z:\\data\\data\\com.termux\\files\\home\\Downloads\\npp.7.Installer.x64.exe" in experimental wow64 mode
starting Box64 based box64cpu.dll
0024:err:shell:SHGetFileInfoW pidl is null!
0024:err:wow:BTCpuResetToConsistentState db ExceptionAddress 0000000000000000

The following is a situation where an attempt to install an x86 program as wow64 fails.

~$ wine Install.exe
00d4:err:nsi:poll_netlink bind failed, errno 13.
0054:err:dnsapi:DllMain No libresolv support, expect problems
0024:err:environ:init_peb starting L"Z:\\storage\\emulated\\0\\Download\\Quick Share\\Hangeul 2010\\Install.exe" in experimental wow64 mode
starting Box64 based box64cpu.dll
0110:err:environ:init_peb starting L"Z:\\storage\\emulated\\0\\Download\\Quick Share\\Hangeul 2010\\install\\setup.exe" in experimental wow64 mode
~$ starting Box64 based box64cpu.dll
Hangover currently has issues with some ACM modules, disabling
0110:fixme:shell:InitNetworkAddressControl stub
0118:err:environ:init_peb starting L"C:\\windows\\syswow64\\msiexec.exe" in experimental wow64 mode

Is there anything I'm missing?

※ Both programs had no problem installing on box64+wine64 in a proot Debian Linux environment.

What is the expected behavior?

No response

System information

termux-info:

Termux Variables:
TERMUX_API_VERSION=0.50.1
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=26590
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://packages-cf.termux.dev/apt/termux-main stable main
# tur-repo (sources.list.d/tur.list)
deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous tur-multilib
# x11-repo (sources.list.d/x11.list)
deb https://packages-cf.termux.dev/apt/termux-x11 x11 main
Updatable packages:
All packages up to date
termux-tools version:
1.42.1
Android version:
14
Kernel build information:
Linux localhost 6.1.43-android14-11-abS926NKSU1AXCA #1 SMP PREEMPT Sun Mar 17 10:24:49 UTC 2024 aarch64 Android
Device manufacturer:
samsung
Device model:
SM-S926N
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.widget versionCode:13
com.termux.x11 versionCode:14
com.termux.api versionCode:51
Saikatsaha1996 commented 1 month ago

64bit app will not work.. hangover only for i686

hansm629 commented 1 month ago

@Saikatsaha1996

32bit programs are also not installed. It seems that wine-mono is not installed either.

I don't know what the problem is....

The same symptom occurs on both host devices, S24+ and S20U.

Saikatsaha1996 commented 1 month ago

@Saikatsaha1996

32bit programs are also not installed. It seems that wine-mono is not installed either.

I don't know what the problem is....

The same symptom occurs on both host devices, S24+ and S20U.

But I don't have any issues with it

hansm629 commented 1 month ago

@Saikatsaha1996 Are you using hangover-wine9.7 distributed by tur-multilib?

Or are you using it by compiling and building it yourself?

I am using hangover-wine9.7 distributed by tur-multilib. The above symptoms occur.

※ The host devices, GalaxyS20 Ultra (Snapdragon 865) and GalaxyS24+ (Exynos 2400), both have the same symptoms.

What is strange is that even manual installation of wine-mono is failing.

~$ wineboot -u
00dc:err:nsi:poll_netlink bind failed, errno 13.
0054:err:dnsapi:DllMain No libresolv support, expect problems
0128:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@C:\\windows\\system32\\drivers\\wineusb.sys,-1" -> L"C:\\windows\\inf\\wineusb.inf"
0148:err:environ:init_peb starting L"C:\\windows\\syswow64\\rundll32.exe" in experimental wow64 mode
starting Box64 based box64cpu.dll
Hangover currently has issues with some ACM modules, disabling
0150:err:environ:init_peb starting L"C:\\windows\\syswow64\\iexplore.exe" in experimental wow64 mode
starting Box64 based box64cpu.dll
wine: configuration in L"/data/data/com.termux/files/home/.wine" has been updated.
~$ wine msiexec /i wine-mono-9.1.0-x86.msi
00e0:err:nsi:poll_netlink bind failed, errno 13.
0054:err:dnsapi:DllMain No libresolv support, expect problems
0118:fixme:file:NtLockFile I/O completion on lock not implemented yet
0118:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0118:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
0118:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)

@licy183 Unless it is a problem with the hangover-wine9.7 package exclusively for Termux that is currently being distributed, is there something I missed?

Even the simple npp.8.6.7.Installer.exe(32bit) is not installing.

or not Can I test it with a version older than 9.7 or with hangover-libfexcore?

Screenshot_2024-05-21_00-25-26

~$ wine npp.8.6.7.Installer.exe
0120:err:environ:init_peb starting L"Z:\\data\\data\\com.termux\\files\\home\\Downloads\\npp.8.6.7.Installer.exe" in experimental wow64 mode
starting Box64 based box64cpu.dll
0120:err:shell:SHGetFileInfoW pidl is null!
0120:err:wow:BTCpuResetToConsistentState db ExceptionAddress 0000000002E6D5E0
0120:err:wow:BTCpuResetToConsistentState db block 0000000003DF66A8
0120:err:wow:BTCpuResetToConsistentState db actual_block 0000000003DF66A0
0120:err:wow:BTCpuResetToConsistentState db x64_addr 000000000240DEC0
0120:err:wow:BTCpuResetToConsistentState db dirty 0
wine: Unhandled page fault on read access to 00000004 at address 03DF66A8 (thread 0120), starting debugger...
0128:err:environ:init_peb starting L"C:\\windows\\syswow64\\winedbg.exe" in experimental wow64 mode
0128:err:virtual:virtual_setup_exception stack overflow 944 bytes addr 0x0 stack 0x100100c50 (0x100100000-0x100101000-0x1001ffd20)