patrickmoore / Mu

Mu Releases
104 stars 22 forks source link

Program Crashing & .NET issues #38

Open brennanwalls opened 11 months ago

brennanwalls commented 11 months ago

experiencing a similar issue to #15 on win10 with a key difference and some additional info.

on first run from a fresh program install it will convert all unconverted files in my telemetry folder. after it completes the first conversion it will crash and then crashes regardless if new files exist in the folder on restart.

event viewer shows error on mu.exe faulting module daq.dll

Exception code: 0xc0000005
Fault offset: 0x0000000000024250
Faulting process id: 0x3fd8
Faulting application start time: 0x01d9e644e9db1ae2
Faulting application path: C:\Program Files\Mu\Mu.exe
Faulting module path: C:\Program Files\Mu\Daq.dll

also getting a .net error

Application: Mu.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 00007FFFF9B04250
Stack:

i am on .net 4.8.1 using Microsoft's doc to verify

downgraded to Mu version 1.9.4.0 to see if that resolved the issue. program still didn't run, but noticed i had a "repair install" option when uninstalling.

repair fails with these errors in log:

[4044:16A8][2023-09-13T08:55:38]w343: Prompt for source of package: NetFx48Redist, payload: NetFx48Redist, path: C:\Users\whoami\Downloads\redist\ndp48-x86-x64-allos-enu.exe
[4044:16A8][2023-09-13T08:55:41]i338: Acquiring package: NetFx48Redist, payload: NetFx48Redist, download from: https://go.microsoft.com/fwlink/?LinkId=2088631
[40F4:15AC][2023-09-13T08:55:42]e000: Error 0x80070490: Failed to find expected public key in certificate chain.
[40F4:15AC][2023-09-13T08:55:42]e000: Error 0x80070490: Failed to verify expected payload against actual certificate chain.
[40F4:15AC][2023-09-13T08:55:42]e000: Error 0x80070490: Failed to verify signature of payload: NetFx48Redist
[40F4:15AC][2023-09-13T08:55:42]e310: Failed to verify payload: NetFx48Redist at path: C:\ProgramData\Package Cache\.unverified\NetFx48Redist, error: 0x80070490. Deleting file.
[40F4:15AC][2023-09-13T08:55:42]e000: Error 0x80070490: Failed to cache payload: NetFx48Redist
[4044:16A8][2023-09-13T08:55:42]e314: Failed to cache payload: NetFx48Redist from working path: C:\Windows\Temp\{2A676457-24F6-418E-8FAD-90FCE9DFC324}\NetFx48Redist, error: 0x80070490.
[4044:16A8][2023-09-13T08:55:42]e349: Application requested retry of payload: NetFx48Redist, encountered error: 0x80070490. Retrying...

which led me to https://github.com/orgs/wixtoolset/discussions/6441 - it looks like microsoft changed the certs and rebuilt .net 4.8 and didn't change the URL. could this have anything to do with my event viewer .net error showing i'm using .net 4.0?

brennanwalls commented 11 months ago

update: after confirming i had telemetry turned on in all cars i was testing (i didn't) it appears to be reliably converting new files and then crashing. It would be nice to have Mu running alongside iRacing to be able to save setups along with the over advertised 'live' features but being able to see the data in MoTeC is my real desired outcome. Currently racing a session -> running Mu (it crashes after convert) -> opening the converted file with MoTeC delivers desired results.

patrickmoore commented 11 months ago

Looks like MS once again messed with .Net and the .Net Framework runtime that is causing a mess for those that try to include it in their installers.

As for Mu crashing, is Mu having trouble with a specific telemetry file?

StekmanZ28 commented 3 months ago

Having the exact same problem. Mu successfully converts all telemetry files that have been run since last use, then immediately closes.

Faulting application name: Mu.exe, version: 1.9.5.0, time stamp: 0x62bc0787 Faulting module name: Daq.dll, version: 0.0.0.0, time stamp: 0x62bc0784 Exception code: 0xc0000005 Fault offset: 0x0000000000024277 Faulting process id: 0x1b9c Faulting application start time: 0x01daacaab95893f3 Faulting application path: C:\Program Files\Mu\Mu.exe Faulting module path: C:\Program Files\Mu\Daq.dll Report Id: cf7a13eb-00a4-4424-89bb-d71ab7103b46 Faulting package full name: Faulting package-relative application ID:

Application: Mu.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: exception code c0000005, exception address 00007FFA53BE4277 Stack:

Double Edit: I deleted all the data in the telemetry folder, and after a few PC restarts, now Mu stays open as it used to. Weird.