Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Startup failed
#1
The computer already has the C++ runtime library installed, and .NET8 x64 is also installed.
However, upon startup, the following error is displayed as shown in the image.

system: win10 pro 1909


Attached Files Image(s)
   
#2
Maybe something else is missing on that computer, I don't know. Google shows 13200 results for this. Maybe you can find more info in the Windows Event Log. Usually, when LA crashes, .NET logs the call stack etc.
#3
Log:

Application: Au.Editor.exe
CoreCLR Version: 8.0.324.11423
.NET Version: 8.0.3
Description: The process was terminated due to an internal error in the .NET Runtime at IP 0x00007FFBE17AC5E4 (0x00007FFBE1620000) with exit code 0x80131506.
#4
This or another log item usually contains the call stack. It could be useful to debug this.
#5
Only the following information
Something strange, other programs work fine

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name=".NET Runtime" />
<EventID Qualifiers="0">1023</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2024-03-18T15:05:44.613292100Z" />
<EventRecordID>5586</EventRecordID>
<Channel>Application</Channel>
<Computer>DESKTOP-F2HB4RL</Computer>
<Security />
</System>
- <EventData>
<Data>Application: Au.Editor.exe CoreCLR Version: 8.0.324.11423 .NET Version: 8.0.3 Description: The process was terminated due to an internal error in the .NET Runtime at IP 0x00007FFE6D90C5E4 (0x00007FFE6D780000) with exit code 0x80131506.</Data>
</EventData>
</Event>

Currently installed "classic" .NET Versions in the system:
2.0.50727.4927 Service Pack 2
3.0.30729.4926 Service Pack 2
3.5.30729.4926 Service Pack 1
4.0.0.0
4.8.03752

https://i.ibb.co/PhP1P2z/A.png
#6
Try to run LA with a debugger.

The smallest debugger IDE I know is dnSpy.
Unlike other debuggers, it uses decompiled source instead of original source. Don't need to get LA sources from GitHub.
Also very easy to use:
1. When installed, clear all checkboxes in Options > Debugger > Prevent from detecting.
2. Menu File > Open > Au.Editor.exe.
3. Click Start. You may want to select Break at > Entry point.
#7
https://i.ibb.co/D9JbRQx/A.gif
#8
Normally dnSpy should start debugging (pauses at the first statement of C# code). Now it seems the process ends before starting to execute C# code. But strange: now it does not show the exception message box. Now the only way I know to debug it - install Visual Studio, get LibreAutomate sources from GitHub, build, and run with the VS debugger.
#9
My hard drive is running low on free space, so installing Visual Studio is a bit challenging...
#10
the generated EXE file from LA runnable on this computer
How can I get all the dependencies required for running the Au.Editor.exe program?

PS: Reinstalling the operating system or installing Visual Studio requires a lot of work to be handled.
#11
LA uses the same dependencies as LA-generated exes and other .NET 8 apps.

Try to disable antivirus, or add LA to its exclusions. Maybe it kills LA and even does not inform you. Also, LA should be installed in C:\Program Files, then some AV are less aggressive. You know, AV false positives are very common, especially when the victim app isn't popular.


Forum Jump:


Users browsing this thread: 1 Guest(s)