I've been playing GTAIV for a while now and most of the times, there's nothing to worry about.
As I installed LCPDFR and other mods, things soon became more complicated.
I've been collecting crash logs and found that the crashes were caused by ELS.asi.
Logs:
Logboeknaam: Application
Bron: Application Error
Datum: 3-11-2012 21:14:10
Gebeurtenis-id:1000
Taakcategorie: Toepassingscrash-gebeurtenissen
Niveau: Fout
Trefwoorden: Klassiek
Gebruiker: n.v.t.
Computer: Computer-Jesper
Beschrijving:
Naam van toepassing met fout: GTAIV.exe, versie: 1.0.7.0, tijdstempel: 0x4bd9efbe
Naam van module met fout: ELS.asi, versie: 0.0.0.0, tijdstempel: 0x4c8c48b9
Uitzonderingscode: 0xc0000005
Foutoffset: 0x0000a576
Id van proces met fout: 0xf10
Starttijd van toepassing met fout: 0x01cdb9ff242f0e02
Pad naar toepassing met fout: E:\GTA4\Grand Theft Auto IV\GTAIV.exe
Pad naar module met fout: E:\GTA4\Grand Theft Auto IV\ELS.asi
Rapport-id: 06acc6a9-25f3-11e2-8a51-0021851d61e3
Gebeurtenis-XML:
<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="2012-11-03T20:14:10.000000000Z" />
<EventRecordID>20342</EventRecordID>
<Channel>Application</Channel>
<Computer>Computer-Jesper</Computer>
<Security />
</System>
<EventData>
<Data>GTAIV.exe</Data>
<Data>1.0.7.0</Data>
<Data>4bd9efbe</Data>
<Data>ELS.asi</Data>
<Data>0.0.0.0</Data>
<Data>4c8c48b9</Data>
<Data>c0000005</Data>
<Data>0000a576</Data>
<Data>f10</Data>
<Data>01cdb9ff242f0e02</Data>
<Data>E:\GTA4\Grand Theft Auto IV\GTAIV.exe</Data>
<Data>E:\GTA4\Grand Theft Auto IV\ELS.asi</Data>
<Data>06acc6a9-25f3-11e2-8a51-0021851d61e3</Data>
</EventData>
</Event>
Logboeknaam: Application
Bron: Application Error
Datum: 10-11-2012 17:58:34
Gebeurtenis-id:1000
Taakcategorie: Toepassingscrash-gebeurtenissen
Niveau: Fout
Trefwoorden: Klassiek
Gebruiker: n.v.t.
Computer: Computer-Jesper
Beschrijving:
Naam van toepassing met fout: GTAIV.exe, versie: 1.0.7.0, tijdstempel: 0x4bd9efbe
Naam van module met fout: ELS.asi, versie: 0.0.0.0, tijdstempel: 0x4c8c48b9
Uitzonderingscode: 0xc0000005
Foutoffset: 0x00009f54
Id van proces met fout: 0x1228
Starttijd van toepassing met fout: 0x01cdbf6244e2b9e0
Pad naar toepassing met fout: E:\GTA4\Grand Theft Auto IV\GTAIV.exe
Pad naar module met fout: E:\GTA4\Grand Theft Auto IV\ELS.asi
Rapport-id: dc859e85-2b57-11e2-a06d-0021851d61e3
Gebeurtenis-XML:
<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="2012-11-10T16:58:34.000000000Z" />
<EventRecordID>20710</EventRecordID>
<Channel>Application</Channel>
<Computer>Computer-Jesper</Computer>
<Security />
</System>
<EventData>
<Data>GTAIV.exe</Data>
<Data>1.0.7.0</Data>
<Data>4bd9efbe</Data>
<Data>ELS.asi</Data>
<Data>0.0.0.0</Data>
<Data>4c8c48b9</Data>
<Data>c0000005</Data>
<Data>00009f54</Data>
<Data>1228</Data>
<Data>01cdbf6244e2b9e0</Data>
<Data>E:\GTA4\Grand Theft Auto IV\GTAIV.exe</Data>
<Data>E:\GTA4\Grand Theft Auto IV\ELS.asi</Data>
<Data>dc859e85-2b57-11e2-a06d-0021851d61e3</Data>
</EventData>
</Event>
Logboeknaam: Application
Bron: Application Error
Datum: 10-11-2012 18:48:06
Gebeurtenis-id:1000
Taakcategorie: Toepassingscrash-gebeurtenissen
Niveau: Fout
Trefwoorden: Klassiek
Gebruiker: n.v.t.
Computer: Computer-Jesper
Beschrijving:
Naam van toepassing met fout: GTAIV.exe, versie: 1.0.7.0, tijdstempel: 0x4bd9efbe
Naam van module met fout: ELS.asi, versie: 0.0.0.0, tijdstempel: 0x4c8c48b9
Uitzonderingscode: 0xc0000005
Foutoffset: 0x00009f54
Id van proces met fout: 0x1108
Starttijd van toepassing met fout: 0x01cdbf65bf3a2653
Pad naar toepassing met fout: E:\GTA4\Grand Theft Auto IV\GTAIV.exe
Pad naar module met fout: E:\GTA4\Grand Theft Auto IV\ELS.asi
Rapport-id: c7e3b781-2b5e-11e2-a06d-0021851d61e3
Gebeurtenis-XML:
<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="2012-11-10T17:48:06.000000000Z" />
<EventRecordID>20723</EventRecordID>
<Channel>Application</Channel>
<Computer>Computer-Jesper</Computer>
<Security />
</System>
<EventData>
<Data>GTAIV.exe</Data>
<Data>1.0.7.0</Data>
<Data>4bd9efbe</Data>
<Data>ELS.asi</Data>
<Data>0.0.0.0</Data>
<Data>4c8c48b9</Data>
<Data>c0000005</Data>
<Data>00009f54</Data>
<Data>1108</Data>
<Data>01cdbf65bf3a2653</Data>
<Data>E:\GTA4\Grand Theft Auto IV\GTAIV.exe</Data>
<Data>E:\GTA4\Grand Theft Auto IV\ELS.asi</Data>
<Data>c7e3b781-2b5e-11e2-a06d-0021851d61e3</Data>
</EventData>
</Event>
As the problem became annoying I found a diagnostic tool on this website.
Diagnostic tool log:
BEGIN *SIGNED* LCPD First Response Issue Report
Diagnostics Tool Version: 0.4.3
Operating system: Windows7 Ultimate (6.1.1.0 Build: 7601) Service Pack:Service Pack 1
System RAM (GB): 4
CPU cores: 4
NET Framework 4.0 installed: True
Visual C++ 2010 Redistributable installed: True
GTA IV - Installed: True
GTA IV - Install folder: E:\GTA4\Grand Theft Auto IV
GTA IV - Version: 1, 0, 7, 0
GTA IV - Asi loader installed: True
GTA IV - Asi loader: XLiveLess
GTA IV - Asi loader valid: True
GTA IV - C++ ScriptHook installed: True
GTA IV - C++ ScriptHook valid: True
GTA IV - C++ ScriptHook version: 0, 5, 1, 0
GTA IV - ScriptHookDotNet installed: True
GTA IV - ScriptHookDotNet valid: True
===============BEGIN .NET SCRIPTHOOK LOG===============
2012-11-10 17:41:45 - Initializing ScriptHookDotNet v1.7.1.4 BETA (GTA IV version 1.0.7.0)
2012-11-10 17:42:47 - Direct3D device created!
2012-11-10 17:42:48 - SEARCHING FOR SCRIPTS...
2012-11-10 17:42:48 - Loading scripts in Assembly 'scripts\FirstResponse.net.dll' ...
2012-11-10 17:42:48 - ...found script 'FirstResponse.Main.EmergencyLights'!
2012-11-10 17:42:48 - ...found script 'FirstResponse.Main.Start'!
2012-11-10 17:42:48 - ...found script 'CSharp.Engine.Core'!
2012-11-10 17:42:48 - ...found script 'FirstResponse.Debugging'!
2012-11-10 17:42:48 - ...found script 'FirstResponse.DeletionList'!
2012-11-10 17:42:48 - ...found script 'FirstResponse.Hardcore'!
2012-11-10 17:42:48 - ...found script 'FirstResponse.TextDraw'!
2012-11-10 17:42:48 - ...found script 'FirstResponse.LCMD.Main'!
2012-11-10 17:42:48 - ...found script 'FirstResponse.LCMD.Functions'!
2012-11-10 17:42:48 - ...found script 'FirstResponse.LCPD.Carboot'!
2012-11-10 17:42:48 - ...found script 'FirstResponse.LCPD.Disarm'!
2012-11-10 17:42:48 - ...found script 'FirstResponse.LCPD.Frisk'!
2012-11-10 17:42:48 - ...found script 'FirstResponse.LCPD.PullOver'!
2012-11-10 17:42:48 - ...found script 'FirstResponse.LCPD.Actions'!
2012-11-10 17:42:48 - ...found script 'FirstResponse.LCPD.Debug'!
2012-11-10 17:42:48 - ...found script 'FirstResponse.LCPD.Flashlight'!
2012-11-10 17:42:48 - ...found script 'FirstResponse.LCPD.Functions'!
2012-11-10 17:42:48 - ...found script 'FirstResponse.LCPD.Partner'!
2012-11-10 17:42:48 - ...found script 'FirstResponse.LCPD.inputSimulator'!
2012-11-10 17:42:48 - ...found script 'FirstResponse.LCPD.Start'!
2012-11-10 17:42:48 - ...found script 'FirstResponse.LCPD.Various'!
2012-11-10 17:42:48 - Loading scripts in Assembly 'scripts\TrafficFlow.net.dll' ...
2012-11-10 17:42:48 - ...found script 'TrafficFlow.Taxi'!
2012-11-10 17:42:48 - DONE! 22 valid scripts found!
2012-11-10 17:42:48 - STARTING SCRIPTS...
2012-11-10 17:42:48 - Error during GetPhoneNumber (Phone checks will be disabled):
System.Exception: Accessing Globals failed! Invalid Memory Address!
at unmanaged.MemoryAccess.GetGlobalAddress(Int32 index)
at unmanaged.MemoryAccess.GetPhoneNumber()
at GTA.NetHook.CheckPhone()
2012-11-10 17:42:48 - ...successfully started script 'TrafficFlow.Taxi'!
2012-11-10 17:42:48 - ...successfully started script 'FirstResponse.LCPD.Various'!
2012-11-10 17:42:48 - ...successfully started script 'FirstResponse.LCPD.Start'!
2012-11-10 17:42:48 - ...successfully started script 'FirstResponse.LCPD.inputSimulator'!
2012-11-10 17:42:48 - ...successfully started script 'FirstResponse.LCPD.Partner'!
2012-11-10 17:42:48 - ...successfully started script 'FirstResponse.LCPD.Functions'!
2012-11-10 17:42:48 - ...successfully started script 'FirstResponse.LCPD.Flashlight'!
2012-11-10 17:42:48 - ...successfully started script 'FirstResponse.LCPD.Debug'!
2012-11-10 17:42:48 - ...successfully started script 'FirstResponse.LCPD.Actions'!
2012-11-10 17:42:48 - ...successfully started script 'FirstResponse.LCPD.PullOver'!
2012-11-10 17:42:48 - ...successfully started script 'FirstResponse.LCPD.Frisk'!
2012-11-10 17:42:48 - ...successfully started script 'FirstResponse.LCPD.Disarm'!
2012-11-10 17:42:48 - ...successfully started script 'FirstResponse.LCPD.Carboot'!
2012-11-10 17:42:48 - ...successfully started script 'FirstResponse.LCMD.Functions'!
2012-11-10 17:42:48 - ...successfully started script 'FirstResponse.LCMD.Main'!
2012-11-10 17:42:48 - ...successfully started script 'FirstResponse.TextDraw'!
2012-11-10 17:42:48 - ...successfully started script 'FirstResponse.Hardcore'!
2012-11-10 17:42:48 - ...successfully started script 'FirstResponse.DeletionList'!
2012-11-10 17:42:48 - ...successfully started script 'FirstResponse.Debugging'!
2012-11-10 17:42:48 - ...successfully started script 'CSharp.Engine.Core'!
2012-11-10 17:42:48 - ...successfully started script 'FirstResponse.Main.Start'!
2012-11-10 17:42:48 - ...successfully started script 'FirstResponse.Main.EmergencyLights'!
===============END .NET SCRIPTHOOK LOG===============
End of *SIGNED* LCPD First Response Issue Report
Digital signature: AIqSHUM6QUo0IVhbHBuk4w==
You will probably need much more information from me, but maybe someone spots something interesting.
So the diagnostic tool thinks everything is fine, and it is, most of the time.
Crashes are random and cannot be reproduced.
Since they are related to ELS.asi the most likely suspect is playing with the lights.
As a test I therefore went nuts on the controls and called as much backup as I could to try and overload the script, but it all went fine.
Since the crashes are random and cannot be reproduced I'm calling in the troops for help.
Let me know if you need any more information.
Also found asilog,txt. Contents were as following:
// -- GTA IV ASI LOADER LOG -- //
//-- © Alexander Blade 2008 -- //
C:\Windows\system32\dsound.dll is loaded, address 0x746D0000
Hooking dsound proc named "DirectSoundCreate"
"DirectSoundCreate" hooked, address 0x746D7E3D
Hooking dsound proc named "DirectSoundEnumerateA"
"DirectSoundEnumerateA" hooked, address 0x7471D993
Hooking dsound proc named "DirectSoundEnumerateW"
"DirectSoundEnumerateW" hooked, address 0x7471D9B0
Hooking dsound proc named "DllCanUnloadNow"
"DllCanUnloadNow" hooked, address 0x747041BB
Hooking dsound proc named "DllGetClassObject"
"DllGetClassObject" hooked, address 0x746D7792
Hooking dsound proc named "DirectSoundCaptureCreate"
"DirectSoundCaptureCreate" hooked, address 0x7471D2C5
Hooking dsound proc named "DirectSoundCaptureEnumerateA"
"DirectSoundCaptureEnumerateA" hooked, address 0x7471D9CD
Hooking dsound proc named "DirectSoundCaptureEnumerateW"
"DirectSoundCaptureEnumerateW" hooked, address 0x7471D9EA
Hooking dsound proc named "GetDeviceID"
"GetDeviceID" hooked, address 0x7471D160
Hooking dsound proc named "DirectSoundFullDuplexCreate"
"DirectSoundFullDuplexCreate" hooked, address 0x7471D429
Hooking dsound proc named "DirectSoundCreate8"
"DirectSoundCreate8" hooked, address 0x7470DE69
Hooking dsound proc named "DirectSoundCaptureCreate8"
"DirectSoundCaptureCreate8" hooked, address 0x7471D371
Loading ASI E:\GTA4\Grand Theft Auto IV\ELS.asi
ASI loaded : E:\GTA4\Grand Theft Auto IV\ELS.asi, Address 0x69DB0000
Loading ASI E:\GTA4\Grand Theft Auto IV\ScriptHookDotNet.asi
ASI loaded : E:\GTA4\Grand Theft Auto IV\ScriptHookDotNet.asi, Address 0x6DF70000