PDA

View Full Version : Crewchief has been unstable lately



coret3x
04-06-2018, 06:41
I ran CrewChief in my race yesterday (race for 1h15mins) but CC stopped working after a few laps. Are there any logs anywhere or similar that could help with finding the error?

The Iron Wolf
04-06-2018, 22:35
I ran CrewChief in my race yesterday (race for 1h15mins) but CC stopped working after a few laps. Are there any logs anywhere or similar that could help with finding the error?

Could you clarify if CC crashes (window disappears) or CC stops saying anything?
If CC crashes, check Windows Event Log for Application crash events and send us text.
If CC ceases to talk, send us console output. Thanks.

coret3x
05-06-2018, 15:15
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name=".NET Runtime" />
<EventID Qualifiers="0">1026</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2018-06-03T18:38:57.089594800Z" />
<EventRecordID>3221</EventRecordID>
<Channel>Application</Channel>
<Computer>comp1</Computer>
<Security />
</System>
- <EventData>
<Data>Application: CrewChiefV4.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.Collections.Generic.KeyNotFoundException at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2[[System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Item(Single) at CrewChiefV4.GameState.DeltaTime.GetSignedDeltaTime WithLapDifference(CrewChiefV4.GameState.DeltaTime) at CrewChiefV4.GameState.DeltaTime.GetAbsoluteTimeDel taAllowingForLapDifferences(CrewChiefV4.GameState. DeltaTime) at CrewChiefV4.GameState.GameStateMapper.populateDeri vedRaceSessionData(CrewChiefV4.GameState.GameState Data) at CrewChiefV4.CrewChief.Run(System.String, Boolean) at CrewChiefV4.MainWindow.runApp() at System.Threading.ExecutionContext.RunInternal(Syst em.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threa ding.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threa ding.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Threading.ThreadHelper.ThreadStart()</Data>
</EventData>
</Event>



- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2018-06-03T18:38:57.270165400Z" />
<EventRecordID>3222</EventRecordID>
<Channel>Application</Channel>
<Computer>comp1</Computer>
<Security />
</System>
- <EventData>
<Data>CrewChiefV4.exe</Data>
<Data>1.0.0.0</Data>
<Data>5af201e5</Data>
<Data>KERNELBASE.dll</Data>
<Data>10.0.17134.1</Data>
<Data>701ca188</Data>
<Data>e0434352</Data>
<Data>000000000003f218</Data>
<Data>4d40</Data>
<Data>01d3fb651674c0e5</Data>
<Data>C:\Program Files (x86)\Britton IT Ltd\CrewChiefV4\CrewChiefV4.exe</Data>
<Data>C:\WINDOWS\System32\KERNELBASE.dll</Data>
<Data>38d0ac81-ed0d-4e82-9e40-e04242859411</Data>
<Data />
<Data />
</EventData>
</Event>

The Iron Wolf
05-06-2018, 17:06
Thanks, this is helpful, we're investigating.

coret3x
05-06-2018, 17:12
it crashed just when race started. (Race stream: https://www.youtube.com/watch?v=tx9bxlBcRN4 :) )

The Iron Wolf
05-06-2018, 17:52
We think we have a fix for crash, but in order to get to the root cause, we will need you to capture your race using CC Traces. But that (trace capturing) will have to wait, first we'll have to address crashes, next release will include the fix.

The Iron Wolf
08-06-2018, 15:28
Current release of CC 4.9.3.0 contains code to suppress crash. Please, let us know if CC got more stable in AC.

Also, while crash suppression is in, we'd like to understand the root cause (as not fixing it might cause app announce things incorrectly). If CC no longer crashes, could you please capture your race and send capture to us?

http://thecrewchief.org/showthread.php?142-How-to-collect-Crew-Chief-repro-traces

coret3x
17-06-2018, 08:32
are you sure debug is safe to use during race and wont take up the cpu too much?

Sparten
17-06-2018, 09:40
Its safe as long as you have enaugh ram installed/page file assigned it wont take up extra CPU time, processing of the saved data is done once you click stop.

coret3x
17-06-2018, 10:40
I only have 8GB RAM

Sparten
17-06-2018, 11:21
That should do the job just fine.

The Iron Wolf
17-06-2018, 16:51
So, the crash went away, right?

I run league races with debug traces on, never had a single problem.

coret3x
19-06-2018, 15:00
sorry didnt dare to run it in debug but will next race in 2 weeks. the crash went away :)

coret3x
02-07-2018, 10:32
I ran "C:\Program Files (x86)\Britton IT Ltd\CrewChiefV4\CrewChiefV4.exe" /debug but no files are present in c:\Users\coret3x\Documents\CrewChiefV4\debugLogs\
I think CC worked fine the whole 1,5hour race

Paul willingham
16-11-2018, 11:23
I ran CrewChief in my race yesterday (race for 1h15mins) but CC stopped working after a few laps. Are there any logs anywhere or similar that could help with finding the error?

i am finding it works sometimes when i start it and sometimes it dosent really buging me hopefully they can fix this as its really annoying

Paul willingham
16-11-2018, 11:36
this app is broken only works sometimes no all the time

mr_belowski
16-11-2018, 12:35
if the app simply disappears, there should be an error log entry in the Windows event logs - from the Start menu go to Event Viewer, and look in 'Application logs' for any .Net errors. Post whatever you find here please.

Is this Assetto Corsa?

Sgt.Slow
16-11-2018, 15:06
if the app simply disappears, there should be an error log entry in the Windows event logs - from the Start menu go to Event Viewer, and look in 'Application logs' for any .Net errors. Post whatever you find here please.

Is this Assetto Corsa?

I also posted to GitHub, will try to duplicate here re: v4.9.5.8

AC 64 bit I press "start application" and it works, pressing "stop" is ok but pressing "start application" a second time causes CTD. This does not happen when running CCv4 for iRacing or PCars.

- System
- Provider
[ Name] Application Error
- EventID 1000
[ Qualifiers] 0
Level 2
Task 100
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2018-11-16T15:22:20.656883400Z
EventRecordID 27920
Channel Application
Computer xxxxx
Security
- EventData
CrewChiefV4.exe
1.0.0.0
5be4306b
KERNELBASE.dll
10.0.17134.407
99042cc0
e0434352
000000000003a388
748
01d47dc022279ac2
C:\Program Files (x86)\Britton IT Ltd\CrewChiefV4\CrewChiefV4.exe
C:\WINDOWS\System32\KERNELBASE.dll
902b4833-bee2-4e20-91d5-1472cd36ed49

Faulting application name: CrewChiefV4.exe, version: 1.0.0.0, time stamp: 0x5be4306b
Faulting module name: KERNELBASE.dll, version: 10.0.17134.407, time stamp: 0x99042cc0
Exception code: 0xe0434352
Fault offset: 0x000000000003a388
Faulting process id: 0x748
Faulting application start time: 0x01d47dc022279ac2
Faulting application path: C:\Program Files (x86)\Britton IT Ltd\CrewChiefV4\CrewChiefV4.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 902b4833-bee2-4e20-91d5-1472cd36ed49
Faulting package full name:
Faulting package-relative application ID:

-----------------------------------------------------------------------------------------------------

- System
- Provider
[ Name] .NET Runtime
- EventID 1026
[ Qualifiers] 0
Level 2
Task 0
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2018-11-16T15:22:20.402938700Z
EventRecordID 27919
Channel Application
Computer XXXXX
Security
- EventData
Application: CrewChiefV4.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.ArgumentException at System.ThrowHelper.ThrowArgumentException(System.E xceptionResource) at System.Collections.Generic.Dictionary`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Insert(System.__Canon, System.__Canon, Boolean) at CrewChiefV4.assetto.ACSGameStateMapper..ctor() at CrewChiefV4.GameStateReaderFactory.getGameStateMap per(CrewChiefV4.GameDefinition) at CrewChiefV4.CrewChief.Run(System.String, Boolean) at CrewChiefV4.MainWindow.runApp() at System.Threading.ExecutionContext.RunInternal(Syst em.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threa ding.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threa ding.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Threading.ThreadHelper.ThreadStart()

Application: CrewChiefV4.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException
at System.ThrowHelper.ThrowArgumentException(System.E xceptionResource)
at System.Collections.Generic.Dictionary`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Insert(System.__Canon, System.__Canon, Boolean)
at CrewChiefV4.assetto.ACSGameStateMapper..ctor()
at CrewChiefV4.GameStateReaderFactory.getGameStateMap per(CrewChiefV4.GameDefinition)
at CrewChiefV4.CrewChief.Run(System.String, Boolean)
at CrewChiefV4.MainWindow.runApp()
at System.Threading.ExecutionContext.RunInternal(Syst em.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threa ding.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threa ding.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()

mr_belowski
17-11-2018, 14:29
thanks for the info. It's a silly code bug at my end and is fixed - next release (some time in the next week or so) will include it.

Paul Willingham - is this the issue you're seeing, or is it something else?