Bug #973

VM_Create on UI FAILED

Added by William about 2 years ago. Updated about 1 year ago.

Status:Fixed% Done:

100%

Priority:Immediate
Assignee:-
Category:Client
Target version:2.76
OS: Arch:

Description

I have a problem that if i want to join a server, and when im connecting with it ,it says that "Vm_Create on UI failed".
I have googled it and seen this problem a lot but i never have got a clear answer.
Any suggestions or help how to remove the error???

crashlog.txt Magnifier - silent crash (14 KB) Spyhawk, 01.02.2017 17:43


Related issues

Related to ET: Legacy Development - Bug #1039: Crashing after map selection on Windows 10 Fixed 30.05.2017

Associated revisions

Revision eacfec34
Added by Spyhawk about 5 years ago

general: obsolete mp_bin.pk3 requirement cleanup

Revision b2cd7bb9
Added by Spyhawk about 1 year ago

Revert "sys: check for invalid char on etl server only, refs #53"

This reverts commit 0598e7b6598a6c2eca47285e75547fb34815a524.

Revision b43ae4a0
Added by Spyhawk about 1 year ago

general: readded fallback on Legacy mod to avoid VM_Create issue, refs #973

Revision c009eb5a
Added by Spyhawk about 1 year ago

general: restrict fallback to non Mac platforms, refs #973

Revision 457d94c6
Added by IR4T4 about 1 year ago

sys: ui fallback for all systems

note: if there are issues with incompatible mod binaries CGAME will fail

History

#1 Updated by Spyhawk about 2 years ago

Which OS are you using, which version of ET:L are you using, which server are you trying to connect to, and which mod is running on that server?

#2 Updated by Dragonji about 2 years ago

  • Subject changed from VM_Create no UI FAILED!!! to VM_Create on UI FAILED
  • Category changed from Server to Client

#3 Updated by Spyhawk about 2 years ago

  • Target version changed from ALL to 2.76

I can reproduce on some server, using linux client. The mod pak isn’t extracted correctly.

#4 Updated by IR4T4 about 2 years ago

Any logs available?

#5 Updated by Spyhawk about 2 years ago

Log attached. Crash happened on F|A Beginners #2 (144.76.100.131), running Silent mod.

#7 Updated by Spyhawk about 2 years ago

  • Priority changed from Normal to Immediate

#8 Updated by Spyhawk about 2 years ago

  • Status changed from New to Confirmed

#9 Updated by Spyhawk about 2 years ago

The issue is due to the pak not being completely downloaded. This happens on some servers only.
This seems to be related to a specific server setting, maybe in combination with some client settings?

I’ve tried locally with all combination of the following variables, but I couldn’t reproduce locally.

  • set sv_allowDownload "" (0/1)
  • set sv_wwwDownload "" (0/1)
  • set sv_wwwDlDisconnected "" (0/1)
  • set sv_wwwBaseURL "" (set or empty)
  • set sv_wwwFallbackURL "" (set or empty)

#10 Updated by Spyhawk almost 2 years ago

Interestingly, the official server had some DNS issues resulting in http://game.etlegacy.com/ being unavailable.
So sv_wwwBaseURL "http://game.etlegacy.com/" failed but the pk3 downloads still tried to get through (www fallback?)... and restarts once it’s finished (maybe because it was corrupted) in a loop.

Server config when the issue arise was:

set sv_maxRate "25000" // 10000 standard but poor for ET (0: unlimited)
set sv_dl_maxRate "42000" // increase/decrease if you have plenty/little spare bandwidth
set sv_allowDownload "1" // global toggle for both legacy download and web download
set sv_wwwDownload "1" // toggle to enable web download
set sv_wwwBaseURL "http://game.etlegacy.com/" // base URL for redirection
set sv_wwwDlDisconnected "0" // tell clients to perform their downloads while disconnected from the server
set sv_wwwFallbackURL "" // URL to send to if an http/ftp fails or is refused client side
set sv_fullmsg "Server is full."

We need to check what happens when sv_wwwBaseURL fails.

#11 Updated by IR4T4 almost 2 years ago

We need to check what happens when sv_wwwBaseURL fails.

Keep in mind to check this in combination with sv_wwwDlDisconnected 0/1 and with sv_wwwFallbackURL (which is not set on our server).

#12 Updated by Timothy almost 2 years ago

Involved versions:

ET Legacy v2.75 win-x86 Sep 13 2016

Involved mods:

Jaymod 2.2.0
silEnT 0.9.0

Involved servers:

F|A RECRUITING (et://8.9.4.227:27960)
F|A BEGINNERS #2 (et://144.76.100.131:27960)
<{BBA}>1 XP SAVER (et://173.230.141.36:27960)

#13 Updated by Timothy almost 2 years ago

Reproduced using clean fs_homepath connecting to a Linux server running Jaymod 2.2.0 with following settings:

set sv_wwwBaseURL "http://home.timosmit.com/wolfet"
set sv_wwwDlDisconnected "1"
set sv_wwwDownload "1"
set sv_wwwFallbackURL ""

#14 Updated by Timothy almost 2 years ago

From a brief conversation with daredevil from F|A I got the following config, which is roughly the same as I used to reproduce the issue:

set sv_maxRate "25000"
set sv_dl_maxRate "45900"
set sv_allowDownload "1"
set sv_wwwDownload "1"
set sv_wwwBaseURL "http://redirect.dediserverhosting.com"
set sv_wwwDlDisconnected "1"
set sv_wwwFallbackURL "http://fearless-assassin.com"
set sv_fullmsg "ET://jay2.clan-fa.com:27960"

The issue appears to be fixed in master, though.

#15 Updated by Spyhawk almost 2 years ago

  • Status changed from Confirmed to Feedback
  • % Done changed from 0 to 100

Seems indeed to be fixed in master.

#16 Updated by keMoN over 1 year ago

  • Related to Bug #1039: Crashing after map selection on Windows 10 added

#17 Updated by IR4T4 over 1 year ago

  • Status changed from Feedback to Fixed

#18 Updated by IR4T4 over 1 year ago

  • Status changed from Fixed to In Progress
  • % Done changed from 100 to 60

#19 Updated by IR4T4 about 1 year ago

  • Status changed from In Progress to Fixed
  • % Done changed from 60 to 100

#20 Updated by Spyhawk about 1 year ago

  • Status changed from Fixed to In Progress
  • % Done changed from 100 to 60

Not fixed yet, or at least not entirely.

See 173.230.141.36:27960, running jaymod (server is ET 3.00).

#21 Updated by Spyhawk about 1 year ago

For the record:

The issue happens when the mp_bin.pk3 is not present in etmain. We deprecated that file a long time ago.
This also explains why the issue seems to be due to that commit: https://github.com/etlegacy/etlegacy/commit/6e00921fbfff75f0aa3288b553608d7f2053c4e1 (see #825, #279) (thx Timo for the bisect).

I’d suggest to readd the hack, but only for the non-mac platforms as it seems problematic for Mac OS X users.

Edit: related mp_bin removal commit is: https://dev.etlegacy.com/projects/etlegacy/repository/revisions/eacfec3403da622509d4d88b2935c53163efb207/diff/

#22 Updated by Spyhawk about 1 year ago

  • Status changed from In Progress to Feedback
  • % Done changed from 60 to 100

#23 Updated by IR4T4 about 1 year ago

  • Status changed from Feedback to Fixed

Also available in: Atom PDF