PDA

View Full Version : error report



mertol
12-17-2017, 04:01 PM
Crew chief crashed in a lotus 79 race at road atlanta. It generated 2 errors in the event log:

Application: CrewChiefV4.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: CrewChiefV4.GameDataReadException
Stack:
at CrewChiefV4.iRacing.iRacingSharedMemoryReader.Read GameData(Boolean)
at CrewChiefV4.CrewChief.Run(System.String, Int32, 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()

================================================== =================================

Faulting application name: CrewChiefV4.exe, version: 1.0.0.0, time stamp: 0x5a356c7c
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17514, time stamp: 0x4ce7c78c
Exception code: 0xe0434352
Fault offset: 0x000000000000a49d
Faulting process id: 0x85c
Faulting application start time: 0x01d377505fea480c
Faulting application path: C:\Program Files (x86)\Britton IT Ltd\CrewChiefV4\CrewChiefV4.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: c4b4a20d-e347-11e7-9a24-94de80ad0442

mr_belowski
12-17-2017, 05:05 PM
Looking at the code, I'm afraid the error handling is a bit crap here and this error report doesn't contain enough information. I'll do a bit of fixing in the error logging so next time it happens we'll have more useful info

Sparten
12-18-2017, 11:06 AM
Did it crash in the middle of the session or when it changed from practice/qualifying/race ?

mertol
12-18-2017, 11:33 AM
when changing from practice to warm-up for the race

Olmbas
02-12-2018, 10:11 PM
This issue seems to have returned after latest update.

Sparten
02-12-2018, 10:26 PM
Please post the output from the console we need to check its the exact same error.

mr_belowski
02-13-2018, 03:24 PM
or if you don't have the console log, take another look in the event viewer - we added debug info to the last release so the new error message in the event log should be much more helpful

Olmbas
02-14-2018, 05:02 AM
Fault bucket 1698164454196851552, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: CrewChiefV4.exe
P2: 1.0.0.0
P3: 5a82cda8
P4: mscorlib
P5: 4.7.2600.0
P6: 59d78a65
P7: a43
P8: 6d
P9: System.AccessViolationException
P10:

Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERD E55.tmp.WERInternalMetadata.xml
\\?\C:\Windows\Temp\WERDC94.tmp.WERDataCollectionS tatus.txt

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive \AppCrash_CrewChiefV4.exe_6942cf4f11542b3fd92d259e 01aa2fad292d462_103fcfc6_462cdcf2

Analysis symbol:
Rechecking for solution: 0
Report Id: 387b0258-1832-4e23-9dfe-8ac5eff02379
Report Status: 2147487852
Hashed bucket: a9537c672d8e73de67911792e6993360

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

Faulting application name: CrewChiefV4.exe, version: 1.0.0.0, time stamp: 0x5a82cda8
Faulting module name: mscorlib.ni.dll, version: 4.7.2600.0, time stamp: 0x59d78a65
Exception code: 0xc0000005
Fault offset: 0x00000000004c8bf4
Faulting process id: 0x53c8
Faulting application start time: 0x01d3a54f766fdba7
Faulting application path: C:\CrewChiefV4\CrewChiefV4.exe
Faulting module path: C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\msc orlib\8a9c7ab28dfd1baa08e20283667c4c7e\mscorlib.ni .dll
Report Id: 387b0258-1832-4e23-9dfe-8ac5eff02379
Faulting package full name:
Faulting package-relative application ID:

--------------------------------------------------
Application: CrewChiefV4.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at System.Buffer.Memmove(Byte*, Byte*, UInt64)
at System.String.CtorCharPtrStartLength(Char*, Int32, Int32)
at iRSDKSharp.YamlParser.Parse(System.String, System.String)
at CrewChiefV4.iRacing.Driver.ParseDynamicSessionInfo (System.String)
at CrewChiefV4.iRacing.Sim.GetDrivers(System.String, Boolean)
at CrewChiefV4.iRacing.Sim.SdkOnSessionInfoUpdated(Sy stem.String, Int32, Int32)
at CrewChiefV4.iRacing.iRacingSharedMemoryReader.Read GameData(Boolean)
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()

Sparten
02-14-2018, 05:32 AM
Thanks for the reply, the exeption are not the sam,e this one is related to some optimizations that was done witch clearly didnt do much optimization for you.
Are you getting this with all cars and tracks that you try ?

Olmbas
02-14-2018, 05:47 AM
So far It seems to be ok in the GT3 cars.. Happen in the Skippy for both Laguna Seca and COTA west.

Sparten
02-14-2018, 05:53 AM
Can you do me a favor and try and load default car setup for the skippy and fire up CC again and see if same thing happens

Olmbas
02-14-2018, 10:45 AM
I did what you requested, and it crash with baseline setup, same behavior..

Sparten
02-14-2018, 10:58 AM
Ok thanks. Are you interested in testing a possible fix ?

Olmbas
02-14-2018, 12:24 PM
Yes, absolutely.

Sparten
02-14-2018, 12:46 PM
Ok cool, in the attached zip is a copy of the .exe and a .pdb file, you will need to extract manually into CC installation folder "C:\Program Files (x86)\Britton IT Ltd\CrewChiefV4" unless you changed the path doing installation.
Make sure to backup the original files first.

Olmbas
02-14-2018, 01:11 PM
Thanks,
Follow your instruction and did a practice run, when leaving the session Crewchief crash as before..

Faulting application name: CrewChiefV4.exe, version: 1.0.0.0, time stamp: 0x5a843a3c
Faulting module name: mscorlib.ni.dll, version: 4.7.2600.0, time stamp: 0x59d78a65
Exception code: 0xc0000005
Fault offset: 0x00000000004c8beb
Faulting process id: 0x3c9c
Faulting application start time: 0x01d3a59c31ce55d1
Faulting application path: C:\CrewChiefV4\CrewChiefV4.exe
Faulting module path: C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\msc orlib\8a9c7ab28dfd1baa08e20283667c4c7e\mscorlib.ni .dll
Report Id: 6adc0c92-3b72-43bc-83b9-48c037ed3f47
Faulting package full name:
Faulting package-relative application ID:

Sparten
02-14-2018, 01:19 PM
So it crashed when you left the session and not doing the session ?

Olmbas
02-14-2018, 01:24 PM
Yes, correct..
When the application crash I need to restart or log out/in my PC to start it again.

Sparten
02-14-2018, 01:40 PM
Can you post the full content from the event viewer please.
Also i need to get something clear here, the old CC crashed doing the session or when joining, and the one i posted in this thread is only doing it if you leave the session is this correct ?

Olmbas
02-15-2018, 12:51 PM
Sry for late respond, below you find the full content of the crash log.
The application seems to crash when leaving a session and in transition from practice/race and qualify/race. So far from what I can see there is no change in behavior before and after the test file given

Application: CrewChiefV4.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at System.Buffer.Memmove(Byte*, Byte*, UInt64)
at System.String.CtorCharPtrStartLength(Char*, Int32, Int32)
at iRSDKSharp.YamlParser.Parse(System.String, System.String)
at CrewChiefV4.iRacing.Driver.ParseDynamicSessionInfo (System.String)
at CrewChiefV4.iRacing.Sim.GetDrivers(System.String, Boolean)
at CrewChiefV4.iRacing.Sim.SdkOnSessionInfoUpdated(Sy stem.String, Int32, Int32)
at CrewChiefV4.iRacing.iRacingSharedMemoryReader.Read GameData(Boolean)
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()

--------------------------------------------------------
Faulting application name: CrewChiefV4.exe, version: 1.0.0.0, time stamp: 0x5a82cda8
Faulting module name: mscorlib.ni.dll, version: 4.7.2600.0, time stamp: 0x59d78a65
Exception code: 0xc0000005
Fault offset: 0x00000000004c8bf4
Faulting process id: 0x4ac4
Faulting application start time: 0x01d3a5986ab045c1
Faulting application path: C:\CrewChiefV4\CrewChiefV4.exe
Faulting module path: C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\msc orlib\8a9c7ab28dfd1baa08e20283667c4c7e\mscorlib.ni .dll
Report Id: 9f2b816b-9450-482c-89e0-b385ccac235e
Faulting package full name:
Faulting package-relative application ID:
------------------------------------------------------
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: CrewChiefV4.exe
P2: 1.0.0.0
P3: 5a82cda8
P4: mscorlib
P5: 4.7.2600.0
P6: 59d78a65
P7: a43
P8: 6d
P9: System.AccessViolationException
P10:

Attached files:

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\A ppCrash_CrewChiefV4.exe_6942cf4f11542b3fd92d259e01 aa2fad292d462_103fcfc6_4c2ab5af

Analysis symbol:
Rechecking for solution: 0
Report Id: 9f2b816b-9450-482c-89e0-b385ccac235e
Report Status: 4100
Hashed bucket:
----------------------------------------------------------
Fault bucket 1698164454196851552, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: CrewChiefV4.exe
P2: 1.0.0.0
P3: 5a82cda8
P4: mscorlib
P5: 4.7.2600.0
P6: 59d78a65
P7: a43
P8: 6d
P9: System.AccessViolationException
P10:

Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERB 60D.tmp.WERInternalMetadata.xml

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive \AppCrash_CrewChiefV4.exe_6942cf4f11542b3fd92d259e 01aa2fad292d462_103fcfc6_50debcb4

Analysis symbol:
Rechecking for solution: 0
Report Id: 9f2b816b-9450-482c-89e0-b385ccac235e
Report Status: 268439552
Hashed bucket: a9537c672d8e73de67911792e6993360

Olmbas
02-15-2018, 02:56 PM
Thanks,
Tested new files , here is my report..
First I jumped into a practice session with the Skip Barber, no crash when exit the session.

Without restarting the app I did a Dirt Street Stock race at Lanier, everything seems fine during practice, qualifying and transition to the race.
Application crash at the end of the race, not sure exactly when, maybe last lap or when exit the race session,



Fault bucket 1539985604074326425, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 1643649820575858098

Problem signature:
P1: CrewChiefV4.exe
P2: 1.0.0.0
P3: 5a857b26
P4: mscorlib
P5: 4.7.2600.0
P6: 59d78a65
P7: a43
P8: b3
P9: System.AccessViolationException
P10:

-------------------------
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: CrewChiefV4.exe
P2: 1.0.0.0
P3: 5a857b26
P4: mscorlib
P5: 4.7.2600.0
P6: 59d78a65
P7: a43
P8: b3
P9: System.AccessViolationException
P10:

----------------------
Faulting application name: CrewChiefV4.exe, version: 1.0.0.0, time stamp: 0x5a857b26
Faulting module name: mscorlib.ni.dll, version: 4.7.2600.0, time stamp: 0x59d78a65
Exception code: 0xc0000005
Fault offset: 0x00000000004c8c2c
Faulting process id: 0x777c
Faulting application start time: 0x01d3a6712fe40ade
Faulting application path: C:\CrewChiefV4\CrewChiefV4.exe
Faulting module path: C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\msc orlib\8a9c7ab28dfd1baa08e20283667c4c7e\mscorlib.ni .dll
Report Id: 75c61383-f26f-4b49-833f-d45f0a1cf279
Faulting package full name:
Faulting package-relative application ID:
-------------------------------------
Application: CrewChiefV4.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at System.Buffer.Memmove(Byte*, Byte*, UInt64)
at System.String.CtorCharPtrStartLength(Char*, Int32, Int32)
at iRSDKSharp.YamlParser.Parse(System.String, System.String)
at CrewChiefV4.iRacing.DriverSessionResults.ParseYaml (System.String, Int32, Int32)
at CrewChiefV4.iRacing.Sim.GetRaceResults(System.Stri ng)
at CrewChiefV4.iRacing.Sim.GetResults(System.String)
at CrewChiefV4.iRacing.Sim.SdkOnSessionInfoUpdated(Sy stem.String, Int32, Int32)
at CrewChiefV4.iRacing.iRacingSharedMemoryReader.Read GameData(Boolean)
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
02-16-2018, 10:18 AM
thanks for all these bug reports guys. They're all pointing to the same chunk of code, but as this is 'unsafe' code it's hard to know the exact root cause. We've added as much defensive coding as we can and packaged up a beta release - it would be incredibly helpful if you guys could try this and see if these crashes are fixed. If this doesn't fix the crashes I'll re-write that code.

Beta details are here:

http://thecrewchief.org/showthread.php?38-Beta-Test-Thread&p=605&viewfull=1#post605

UberChef
02-16-2018, 02:46 PM
I just started having crashes also, they started for me 2 days ago after I got a windows update. I will try the beta version you listed above and tell you my results. Thank you for this great app!

Olmbas
02-18-2018, 02:15 AM
Installed last version and did a couple of session last night and so far no crash.
Thanks for a great app and superb support.