Author |
Message |
BluCode
|
Posted: Tue Jul 31, 2018 4:34 pm |
|
 |
Level 1 |
 |
|
Joined: Tue Jul 31, 2018 4:12 pm Posts: 8
|
I am trying to run code connection for minecraft (download: https://education.minecraft.net/get-started/download/) in wine under arch. It installed (via .msi) fine in both 32 and 64 bit wineprefixes. When I run the command, nothing happens for a second and then an error dialogue pops up saying the program has encountered a serious problem and needs to close.. This is the console output when trying to run it under a 32 bit wineprefix (with me making it more concise in places): https://hastebin.com/ojakegafur.txt. I have tried under both a 32 and 64 bit wineprefix, with similar results, although the program itself is 32 bit (It installs to Program Files (x86)). Both wineprefixes are almost clean, with just one other (working) program installed in each. I tried installing allfonts via winetricks to fix the CoGetClassObject errors, but it didn't seem to have any effect. Any help is appreciated.
|
|
 |
|
 |
dimesio
|
Posted: Tue Jul 31, 2018 5:04 pm |
|
Joined: Tue Mar 25, 2008 10:30 pm Posts: 12465
|
I downloaded the .msi and installed it to a clean 32 bit wineprefix. It installed and started without any problem; it shows a window that says "Please enter the following command in Minecraft Education Edition" and "/connect 10.0.0.28:19131". There's a button to copy the latter part to the clipboard, and that works, too. I did leave the Windows version set at 7, despite the website saying it was for Windows 10, so you might try that. I also noticed that the command you used to run the app is incorrect. Either cd to the program directory first, or use wine start to run it. https://wiki.winehq.org/Wine_User%27s_G ... mmand_line
|
|
 |
|
 |
Bob Wya
|
Posted: Tue Jul 31, 2018 5:17 pm |
|
Joined: Sat Oct 16, 2010 7:40 pm Posts: 2419 Location: Cambridge
|
@ BluCodeThis issue will break all SSL/ TLS support in Wine: Code: 0009:err:winediag:gnutls_initialize failed to load libgnutls, no support for encryption Which probably is not a good thing... Ensure you have native Linux libgnutls installed and that multilib/lib32-gnutls matches the core/gnutls version. Bob
|
|
 |
|
 |
BluCode
|
Posted: Tue Jul 31, 2018 5:32 pm |
|
 |
Level 1 |
 |
|
Joined: Tue Jul 31, 2018 4:12 pm Posts: 8
|
@dimesio Well, its great to know that it can be done. Good catch on the wine start, although it doesn't seem to have made a difference. I will try again on a clean wineprefix and report back.
@Bob Wya Thanks for that, that error has been fixed. It still doesnt work though, and crashes in the same place.
|
|
 |
|
 |
BluCode
|
Posted: Tue Jul 31, 2018 5:40 pm |
|
 |
Level 1 |
 |
|
Joined: Tue Jul 31, 2018 4:12 pm Posts: 8
|
Running in a clean 32 bit wineprefix I get a blank window open titled Code Connection, but then it crashes as normal, although this time I have to close the window and wine doesnt print the crash dump. The new relevant start of the log is at https://hastebin.com/bimivubesa.txt.
|
|
 |
|
 |
dimesio
|
Posted: Wed Aug 01, 2018 7:49 am |
|
Joined: Tue Mar 25, 2008 10:30 pm Posts: 12465
|
One thing is this: Quote: Code: 0042:err:module:load_builtin_dll failed to load .so lib for builtin L"winepulse.drv": libpulse.so.0: cannot open shared object file: No such file or directory That doesn't really seem like a likely cause of a crash with an app that doesn't have any sound, but you should fix that.
|
|
 |
|
 |
BluCode
|
Posted: Wed Aug 01, 2018 7:58 am |
|
 |
Level 1 |
 |
|
Joined: Tue Jul 31, 2018 4:12 pm Posts: 8
|
Yes, I just needed to install the pulse audio drivers and that went away. I should mention that this is a fresh install of arch, so I am missing many common packages. I would guess that the reason it worked immediately for you @dimesio is that you just happened to have the correct packages installed. Could you post your log output as a comparison?
|
|
 |
|
 |
dimesio
|
Posted: Wed Aug 01, 2018 11:26 am |
|
Joined: Tue Mar 25, 2008 10:30 pm Posts: 12465
|
This is on openSUSE Leap 15, Wine 3.13. Code: dimesio@linux-c2sv:~> WINEPREFIX=/wine/test wine start /unix '/wine/test/drive_c/Program Files/Minecraft Code Connection/Code Connection for Minecraft.exe' wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe" 000b:err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2) dimesio@linux-c2sv:~> 002a:fixme:msvcrt:_configure_wide_argv (1) stub 002a:fixme:msvcrt:_initialize_wide_environment stub 002a:fixme:console:AttachConsole stub ffffffff 002a:fixme:process:SetProcessDEPPolicy (3): stub 002a:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub 002a:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33f9a8 1 C) semi-stub 002a:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x6e50b0, 0x37c8840, 0x38102c8) stub. 002a:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000> 002a:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000> 002a:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33f668 1 C) semi-stub 002a:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33f478 1 C) semi-stub 002a:fixme:ntdll:NtQueryVolumeInformationFile 0xe0: volume info not supported 002a:fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot 002a:fixme:toolhelp:Heap32ListFirst : stub 002a:fixme:msg:ChangeWindowMessageFilterEx 0x1004e 4a 1 (nil) 002a:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x33fba0, (nil) 0x33fba4 002a:fixme:nls:get_dummy_preferred_ui_language (0x38 0x33fba0 (nil) 0x33fba4) returning a dummy value (current locale) 002a:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x33fba0, 0xc64ae58 0x33fba4 002a:fixme:nls:get_dummy_preferred_ui_language (0x38 0x33fba0 0xc64ae58 0x33fba4) returning a dummy value (current locale) 002a:fixme:winsock:WSALookupServiceBeginW (0x33f894 0x00000ff0 0x33f8d4) Stub! 002a:fixme:iphlpapi:NotifyAddrChange (Handle 0x33fa14, overlapped 0xc66decc): stub 002a:fixme:win:EnumDisplayDevicesW ((null),0,0x33f4e8,0x00000000), stub! 002a:fixme:win:RegisterDeviceNotificationW (hwnd=0x1005e, filter=0x33fa88,flags=0x00000000) returns a fake device notification handle! 002a:fixme:win:RegisterDeviceNotificationW (hwnd=0x1005e, filter=0x33fa88,flags=0x00000000) returns a fake device notification handle! 0041:fixme:wlanapi:WlanEnumInterfaces (0x1, (nil), 0xefbf1c8) semi-stub 002a:fixme:dwmapi:DwmIsCompositionEnabled 0x33e33c 002a:fixme:win:RegisterTouchWindow (0x10064 00000002): stub 002a:fixme:wtsapi:WTSRegisterSessionNotification Stub 0x10056 0x00000000 002a:fixme:shell:GetCurrentProcessExplicitAppUserModelID 0x33dff4: stub 002a:fixme:win:RegisterTouchWindow (0x1006a 00000002): stub 004f:fixme:msvcrt:_configure_wide_argv (1) stub 004f:fixme:msvcrt:_initialize_wide_environment stub 004f:fixme:console:AttachConsole stub ffffffff 004f:fixme:process:SetProcessDEPPolicy (3): stub 004f:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub 004f:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000> 004f:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000> 004f:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x6e50b0, 0x37c8840, 0x38102c8) stub. 004f:fixme:console:AttachConsole stub ffffffff 004f:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33fae8 1 C) semi-stub 004f:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33f8d8 1 C) semi-stub 004f:fixme:gdi:GdiInitializeLanguagePack stub 004f:fixme:ntdll:NtQueryVolumeInformationFile 0x1f0: volume info not supported 002a:fixme:win:UnregisterDeviceNotification (handle=0xcafeaffe), STUB! 002a:fixme:win:UnregisterDeviceNotification (handle=0xcafeaffe), STUB! 002a:fixme:iphlpapi:CancelIPChangeNotify (overlapped 0xc66decc): stub 002a:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 0x10056 002a:fixme:ntdll:EtwEventUnregister (deadbeef) stub. The winemenubuilder errors are because I have winemenubuilder disabled in my .bashrc. I doubt that matters, but it's easy enough to test. The sole purpose of this app seems to be to retrieve the host's local IP address; maybe your firewall, or something like SELinux or AppArmor, is interfering? SELinux has definitely been known to crash Wine.
|
|
 |
|
 |
BluCode
|
Posted: Wed Aug 01, 2018 11:44 am |
|
 |
Level 1 |
 |
|
Joined: Tue Jul 31, 2018 4:12 pm Posts: 8
|
I tried disabling winemenubuilder, but it had no effect apart from the few initial lines. As this is a fresh install I don't have anything like SELinux or AppArmor installed. If it makes any difference, the application connects to minecraft via a websocket (which is why it provides the ip address for you to tell minecraft to connect to), and then opens a REST api on localhost and translates different api calls there into actions in-game.
Our two logs look almost identical, except for that mine has an extra `fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33f8d8 1 C) semi-stub` before devolving into the elf_search_auxv can't find symbol in module. This makes me think that this is the root cause of the error, but I have yet to find a solution to it.
|
|
 |
|
 |
pga256
|
Posted: Sun Aug 05, 2018 3:43 pm |
|
 |
Level 2 |
 |
|
Joined: Mon Aug 24, 2015 10:36 am Posts: 23
|
Have you tried: Code: cd "~/.wineCC/drive_c/Program Files/Minecraft Code Connection" wine "~/.wineCC/drive_c/Program Files/Minecraft Code Connection/Code Connection for Minecraft.exe"
when running it in a terminal?
|
|
 |
|
 |
Bob Wya
|
Posted: Sun Aug 05, 2018 4:55 pm |
|
Joined: Sat Oct 16, 2010 7:40 pm Posts: 2419 Location: Cambridge
|
pga256 wrote: Have you tried: Code: cd "~/.wineCC/drive_c/Program Files/Minecraft Code Connection" wine "~/.wineCC/drive_c/Program Files/Minecraft Code Connection/Code Connection for Minecraft.exe"
when running it in a terminal? @ pga256OP'd actually want to try: Code: export WINEPREFIX="${HOME}/.wineCC" cd "${WINEPREFIX}/drive_c/Program Files/Minecraft Code Connection" wine "Code Connection for Minecraft.exe" or: Code: export WINEPREFIX="${HOME}/.wineCC" wine start /unix "${WINEPREFIX}/drive_c/Program Files/Code Connection for Minecraft.exe" as dimesio has already posted... Bob
|
|
 |
|
 |
pga256
|
Posted: Sun Aug 05, 2018 5:18 pm |
|
 |
Level 2 |
 |
|
Joined: Mon Aug 24, 2015 10:36 am Posts: 23
|
Cheers Bob. Silly error from me.
|
|
 |
|
 |
BluCode
|
Posted: Sat Aug 11, 2018 5:01 pm |
|
 |
Level 1 |
 |
|
Joined: Tue Jul 31, 2018 4:12 pm Posts: 8
|
Sorry for my absence, I have been away from my main computer for a week. cding into the install directory seems to have changed things somewhat, I now get two logs from Code Connection saying that the websocket and rest servers are listening. Unfortunately the crash and elf_search_auxv can't find symbol in module are still present.
|
|
 |
|
 |
Bob Wya
|
Posted: Sat Aug 11, 2018 5:27 pm |
|
Joined: Sat Oct 16, 2010 7:40 pm Posts: 2419 Location: Cambridge
|
BluCode wrote: Sorry for my absence, I have been away from my main computer for a week. cding into the install directory seems to have changed things somewhat, I now get two logs from Code Connection saying that the websocket and rest servers are listening. Unfortunately the crash and elf_search_auxv can't find symbol in module are still present. I don't disbelieve what you are saying... But we'd need an updated terminal log, with the previously missing (native Linux) winepulse and gnutls library errors fixed. Using a valid syntax for the launch command (e.g. cd'ing to the main application directory should usually be OK). Bob
|
|
 |
|
 |
BluCode
|
Posted: Sat Aug 11, 2018 5:42 pm |
|
 |
Level 1 |
 |
|
Joined: Tue Jul 31, 2018 4:12 pm Posts: 8
|
I was trying to install .NET 4.6 on my wineprefix but that went wrong, so I made a new clean one (at the same path). The new log is at https://hastebin.com/dugiveboko.txt. The elf_search_auxv warnings seem to have disappeared though, so my latest suspicion is that the crash is due to the fontcache error (line 46 of the log).
|
|
 |
|
 |
BluCode
|
Posted: Sun Aug 12, 2018 8:15 am |
|
 |
Level 1 |
 |
|
Joined: Tue Jul 31, 2018 4:12 pm Posts: 8
|
Installing allfonts via winetricks did it! I'm not sure which font it needed, but it works now. Thanks for all the help!
|
|
 |
|
 |
Bob Wya
|
Posted: Sun Aug 12, 2018 4:45 pm |
|
Joined: Sat Oct 16, 2010 7:40 pm Posts: 2419 Location: Cambridge
|
BluCode wrote: Installing allfonts via winetricks did it! I'm not sure which font it needed, but it works now. Thanks for all the help! Glad you figured out the issue! I generally import all the TT fonts from my Windows partition system wide. Which is a good "belt-n-braces" approach (if you dual-boot)! Bob
|
|
 |
|
 |
|