Jump to content

Critical Bug in v1.7.2 - NullReferenceException on Form1_Load

Pending 1.7.2

krosgore
krosgore

Posted

Hi, I'm experiencing a crash immediately upon launching Rust Server Tool v1.7.2. The application fails during the startup process before the main window even appears.

I have already tested the following without success:

Running as Administrator.

Launching without an internet connection.

Using a VPN/WARP.

Deleting IsolatedStorage and local configuration files.

The error persists even when offline, which suggests a logic error during the initialization of components or when parsing local data in the Form1_Load event. It seems to be an unhandled async task exception (VB$StateMachine_5_Form1_Load.MoveNext).

Error Details:

 

Quote

Consulte el final de este mensaje para obtener más detalles sobre cómo invocar a la depuración 
Just-In-Time (JIT) en lugar de a este cuadro de diálogo.

************** Texto de la excepción **************
System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto.
   en (Object , String )
   en .(Object , String , )
   en ..VB$StateMachine_5_Form1_Load.MoveNext()
--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---
   en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


************** Ensamblados cargados **************
mscorlib
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.9325.0 built by: NET481REL1LAST_25H2_C
    Código base: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Rust Server Tool
    Versión del ensamblado: 1.7.2.0
    Versión Win32: 1.7.2
    Código base: file:///E:/RustServer/Rust%20Server%20Tool.exe
----------------------------------------
System
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.9321.0 built by: NET481REL1LAST_25H2_B
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Microsoft.VisualBasic
    Versión del ensamblado: 10.0.0.0
    Versión Win32: 14.8.9221.0 built by: NET481REL1LAST_25H2
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Core
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.9319.0 built by: NET481REL1LAST_25H2_B
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.9325.0 built by: NET481REL1LAST_25H2_C
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.9221.0 built by: NET481REL1LAST_25H2
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.9221.0 built by: NET481REL1LAST_25H2
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.9221.0 built by: NET481REL1LAST_25H2
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.9221.0 built by: NET481REL1LAST_25H2
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
93875bf5-596a-4c7b-92f5-bb2c7fc87fb3
    Versión del ensamblado: 1.0.0.0
    Versión Win32: 1.7.2
    Código base: file:///E:/RustServer/Rust%20Server%20Tool.exe
----------------------------------------
MetroSuite 2.0
    Versión del ensamblado: 2.0.2.1
    Versión Win32: 1.7.2
    Código base: file:///E:/RustServer/Rust%20Server%20Tool.exe
----------------------------------------
mscorlib.resources
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.9032.0 built by: NET481REL1
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_es_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Windows.Forms.resources
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.8.9032.0 built by: NET481REL1
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Depuración JIT **************
Para habilitar la depuración Just In Time (JIT), el archivo de configuración de esta
aplicación o equipo (machine.config) debe tener el
valor jitDebugging establecido en la sección system.windows.forms.
La aplicación también se debe compilar con la depuración
habilitada

Por ejemplo:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Cuando esté habilitada la depuración JIT, cualquier excepción no controlada
se enviará al depurador JIT registrado en el equipo
en lugar de controlarlo mediante el cuadro de diálogo.


 

 

image.png

krosgore

Posted

I've decompiled the binary with dnSpy and the crash is located at the entry point of MyApplication. Specifically, the static delegate \u0094\u0097\u0097.\u0094\u0097\u0094 is null when Invoke() is called.

It seems like the obfuscation/bootstrapper is failing to resolve the method handles during the static constructor initialization. This explains why it crashes even offline or with a clean config. Your packer is failing to initialize the delegates in v1.7.2.

LosGranada

Posted

Which version of Windows are you using? Is it updated?

krosgore

Posted

23 hours ago, LosGranada said:

Which version of Windows are you using? Is it updated?

image.png.09eaf6a40fb4952c1339172bbd250696.png

Everything is updated

krosgore

Posted

I'm starting to doubt that the main problem is "https://umod.org/"

The tool has problems every time that website is inaccessible.

2.2m

Downloads

Total number of downloads.

10.3k

Customers

Total customers served.

148.9k

Files Sold

Total number of files sold.

3.2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.