1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

Game Manager crashing

Discussion in 'SimTools DIY Version' started by vthinsel, Jan 11, 2017.

  1. vthinsel

    vthinsel Well-Known Member

    Joined:
    Feb 20, 2015
    Messages:
    439
    Location:
    FRANCE
    Balance:
    6,010Coins
    Ratings:
    +564 / 2 / -0
    My Motion Simulator:
    Arduino, 4DOF
    Hello,

    GameManager is crashing when I click on ON, on the top left corner :

    upload_2017-1-11_13-58-10.png

    Any idea ? Any old remaining component I should clean ?

    Full stack:

    Consultez la fin de ce message pour plus de détails sur l'appel du débogage
    juste-à-temps (JIT) à la place de cette boîte de dialogue.

    ************** Texte de l'exception **************
    System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.
    à SimTools_GameManager.Mod_Lib.Stop_MemMap_Output()
    à SimTools_GameManager.Mod_Lib.GameStoped()
    à SimTools_GameManager.frmMain.tmr_IsGameRunning_Tick(Object sender, EventArgs e)
    à System.Windows.Forms.Timer.OnTick(EventArgs e)
    à System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
    à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Assemblys chargés **************
    mscorlib
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.6.1038.0 built by: NETFXREL2
    CodeBase : file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    ----------------------------------------
    SimTools_GameManager
    Version de l'assembly : 0.2.0.0
    Version Win32 : 0.2.0.0
    CodeBase : file:///C:/Program%20Files%20(x86)/SimTools/SimTools_GameManager.exe
    ----------------------------------------
    ZrYoMZvqOuzjCdBJQFIyVaqymal
    Version de l'assembly : 0.0.0.0
    Version Win32 : 0.2.0.0
    CodeBase : file:///C:/Program%20Files%20(x86)/SimTools/SimTools_GameManager.exe
    ----------------------------------------
    Microsoft.VisualBasic
    Version de l'assembly : 10.0.0.0
    Version Win32 : 14.6.1038.0 built by: NETFXREL2
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    ----------------------------------------
    System
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.6.1038.0 built by: NETFXREL2
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Core
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.6.1038.0 built by: NETFXREL2
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    System.Windows.Forms
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.6.1038.0 built by: NETFXREL2
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System.Drawing
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.6.1038.0 built by: NETFXREL2
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Configuration
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.6.1038.0 built by: NETFXREL2
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    System.Xml
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.6.1038.0 built by: NETFXREL2
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Runtime.Remoting
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.6.1038.0 built by: NETFXREL2
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    ----------------------------------------
    Game_PluginAPI
    Version de l'assembly : 1.0.0.0
    Version Win32 : 1.0.0.0
    CodeBase : file:///C:/Program%20Files%20(x86)/SimTools/Game_PluginAPI.DLL
    ----------------------------------------
    System.Management
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.6.1038.0 built by: NETFXREL2
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
    ----------------------------------------
    AssettoCorsa_GamePlugin
    Version de l'assembly : 2.0.2.19
    Version Win32 : 2.0.2.19
    CodeBase : file:///C:/Users/vthinselin/AppData/Local/SimTools/GamePlugins/AssettoCorsa_GamePlugin.dll
    ----------------------------------------
    DirtRally_GamePlugin
    Version de l'assembly : 2.0.0.2
    Version Win32 : 2.0.0.2
    CodeBase : file:///C:/Users/vthinselin/AppData/Local/SimTools/GamePlugins/DirtRally_GamePlugin.dll
    ----------------------------------------
    Joystick_GamePlugin
    Version de l'assembly : 2.0.0.1
    Version Win32 : 2.0.0.1
    CodeBase : file:///C:/Users/vthinselin/AppData/Local/SimTools/GamePlugins/Joystick_GamePlugin.dll
    ----------------------------------------
    KartRacingPro_GamePlugin
    Version de l'assembly : 2.0.0.0
    Version Win32 : 2.0.0.0
    CodeBase : file:///C:/Users/vthinselin/AppData/Local/SimTools/GamePlugins/KartRacingPro_GamePlugin.dll
    ----------------------------------------
    LiveForSpeed_GamePlugin
    Version de l'assembly : 2.0.0.0
    Version Win32 : 2.0.0.0
    CodeBase : file:///C:/Users/vthinselin/AppData/Local/SimTools/GamePlugins/LiveForSpeed_GamePlugin.dll
    ----------------------------------------
    pCARS_GamePlugin
    Version de l'assembly : 2.0.1.0
    Version Win32 : 2.0.1.0
    CodeBase : file:///C:/Users/vthinselin/AppData/Local/SimTools/GamePlugins/pCARS_GamePlugin.dll
    ----------------------------------------
    rFactor2_GamePlugin
    Version de l'assembly : 2.0.0.1
    Version Win32 : 2.0.0.1
    CodeBase : file:///C:/Users/vthinselin/AppData/Local/SimTools/GamePlugins/rFactor2_GamePlugin.dll
    ----------------------------------------
    TheCrew_GamePlugin
    Version de l'assembly : 2.0.0.0
    Version Win32 : 2.0.0.0
    CodeBase : file:///C:/Users/vthinselin/AppData/Local/SimTools/GamePlugins/TheCrew_GamePlugin.dll
    ----------------------------------------
    Microsoft.GeneratedCode
    Version de l'assembly : 1.0.0.0
    Version Win32 : 4.6.1038.0 built by: NETFXREL2
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    Accessibility
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.6.1038.0 built by: NETFXREL2
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------
    mscorlib.resources
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.6.1038.0 built by: NETFXREL2
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/mscorlib.resources.dll
    ----------------------------------------
    Microsoft.GeneratedCode
    Version de l'assembly : 1.0.0.0
    Version Win32 : 4.6.1038.0 built by: NETFXREL2
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Windows.Forms.resources
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.6.1038.0 built by: NETFXREL2
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll
    ----------------------------------------

    ************** Débogage JIT **************
    Pour activer le débogage juste-à-temps (JIT), le fichier de configuration pour cette
    application ou cet ordinateur (machine.config) doit avoir la valeur
    jitDebugging définie dans la section system.windows.forms.
    L'application doit également être compilée avec le débogage
    activé.

    Par exemple :

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    Lorsque le débogage juste-à-temps est activé, les exceptions non gérées
    seront envoyées au débogueur JIT inscrit sur l'ordinateur
    plutôt que d'être gérées par cette boîte de dialogue.
  2. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,282
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    49,199Coins
    Ratings:
    +5,093 / 18 / -0
    it could possibly be one of the plugins as I can't recreate the problem.
    goto "C:\Users\(your user folder)\AppData\Local\SimTools\GamePlugins"
    Move all but the LFS plugin to a new folder on you desktop.
    (so we can put them back when done)

    Now try the button again, does it work?
  3. vthinsel

    vthinsel Well-Known Member

    Joined:
    Feb 20, 2015
    Messages:
    439
    Location:
    FRANCE
    Balance:
    6,010Coins
    Ratings:
    +564 / 2 / -0
    My Motion Simulator:
    Arduino, 4DOF
    Thanks for your quick answer, as usual.
    I started to isolate the culprit by moving all plugins as you said and add them back one by one. The problem is more frequent as soon as I add the KartRacingPro plugin.
  4. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,282
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    49,199Coins
    Ratings:
    +5,093 / 18 / -0
    If you would please go thru and find any that cause problems.
    This why we can look into the ones that are causing problems.
  5. vthinsel

    vthinsel Well-Known Member

    Joined:
    Feb 20, 2015
    Messages:
    439
    Location:
    FRANCE
    Balance:
    6,010Coins
    Ratings:
    +564 / 2 / -0
    My Motion Simulator:
    Arduino, 4DOF
    KRP is defenetly one to look into :
    upload_2017-1-11_15-16-55.png

    V.
    • Useful Useful x 2
    • Informative Informative x 1
  6. lilted86

    lilted86 Member

    Joined:
    Dec 30, 2016
    Messages:
    87
    Location:
    Malaysia
    Balance:
    489Coins
    Ratings:
    +20 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, SimforceGT
    im having the same issue too..but using iracing plugin...have the same crash log with you...any progress??
  7. obobo

    obobo Active Member

    Joined:
    Nov 8, 2016
    Messages:
    248
    Location:
    France
    Balance:
    1,323Coins
    Ratings:
    +77 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    I also encounter this worry, but only if I quickly click on OFF then ON then I have the error message.
    If I wait until the simu gets back to 0, then when I do ON no crash
    And visibly with any plugin (AC, Pcars and ETS2)
  8. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,282
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    49,199Coins
    Ratings:
    +5,093 / 18 / -0
    All fixed in SimTools 2.1 out shortly...
    yobuddy
    • Winner Winner x 4
    • Like Like x 2