Menu

Keepass Exception and shutdown after some time of inactivity

2017-12-19
2018-01-01
  • Jens Fudickar

    Jens Fudickar - 2017-12-19

    Hi,

    in the last days, keepass is shuting down after some time.

    Here is an exception log I've got today:

    Regards
    Jens

    Informationen über das Aufrufen von JIT-Debuggen
    anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

    ** Ausnahmetext **
    System.ComponentModel.Win32Exception (0x80004005): Fehler beim Erstellen des Fensterhandles.
    bei System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
    bei System.Windows.Forms.Control.CreateHandle()
    bei System.Windows.Forms.Control.get_Handle()
    bei System.Windows.Forms.Control.CreateGraphicsInternal()
    bei System.Windows.Forms.ThreadExceptionDialog..ctor(Exception t)
    bei System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
    bei System.Windows.Forms.Control.WndProcException(Exception e)
    bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
    bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
    bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    bei System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
    bei KeePass.Forms.MainForm.EditSelectedEntry(Boolean bSwitchToHistoryTab)
    bei KeePass.Forms.MainForm.PerformDefaultAction(Object sender, EventArgs e, PwEntry pe, Int32 colID)
    bei KeePass.Forms.MainForm.OnPwListMouseDoubleClick(Object sender, MouseEventArgs e)
    bei System.Windows.Forms.Control.OnMouseDoubleClick(MouseEventArgs e)
    bei System.Windows.Forms.ListView.WndProc(Message& m)
    bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ** Geladene Assemblys **
    mscorlib
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2600.0 built by: NET471REL1LAST.
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll.
    ----------------------------------------
    KeePass
    Assembly-Version: 2.37.0.18738.
    Win32-Version: 2.37.0.0.
    CodeBase: file:///C:/Program%20Files%20(x86)/KeePass%20Password%20Safe%202/KeePass.exe.
    ----------------------------------------
    System.Windows.Forms
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2556.0 built by: NET471REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0b77a5c561934e089/System.Windows.Forms.dll.
    ----------------------------------------
    System
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2556.0 built by: NET471REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0
    b77a5c561934e089/System.dll.
    ----------------------------------------
    System.Drawing
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2556.0 built by: NET471REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0b03f5f7f11d50a3a/System.Drawing.dll.
    ----------------------------------------
    System.Xml
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2556.0 built by: NET471REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0
    b77a5c561934e089/System.Xml.dll.
    ----------------------------------------
    System.Configuration
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2556.0 built by: NET471REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0b03f5f7f11d50a3a/System.Configuration.dll.
    ----------------------------------------
    System.Core
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2600.0 built by: NET471REL1LAST.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0
    b77a5c561934e089/System.Core.dll.
    ----------------------------------------
    System.Windows.Forms.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2556.0 built by: NET471REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
    ----------------------------------------
    KeePassHttp
    Assembly-Version: 2.34.0.0.
    Win32-Version: 1.8.4.2.
    CodeBase: file:///C:/Users/ELIAS/AppData/Local/KeePass/PluginCache/BFvmssoG0nECQGqDublM/KeePassHttp.dll.
    ----------------------------------------
    KeePassRPC
    Assembly-Version: 2.0.34.33420.
    Win32-Version: 1.7.0.0.
    CodeBase: file:///C:/Users/ELIAS/AppData/Local/KeePass/PluginCache/DM5UmQbtXq8TBHwP1QWp/KeePassRPC.dll.
    ----------------------------------------
    Fleck2
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///C:/Users/ELIAS/AppData/Local/KeePass/PluginCache/DM5UmQbtXq8TBHwP1QWp/Fleck2.DLL.
    ----------------------------------------
    DomainPublicSuffix
    Assembly-Version: 1.0.1.0.
    Win32-Version: 1.0.1.0.
    CodeBase: file:///C:/Users/ELIAS/AppData/Local/KeePass/PluginCache/DM5UmQbtXq8TBHwP1QWp/DomainPublicSuffix.DLL.
    ----------------------------------------
    Jayrock
    Assembly-Version: 0.9.12915.0.
    Win32-Version: 0.9.11214.1056.
    CodeBase: file:///C:/Users/ELIAS/AppData/Local/KeePass/PluginCache/DM5UmQbtXq8TBHwP1QWp/Jayrock.DLL.
    ----------------------------------------
    KeePass.XmlSerializers
    Assembly-Version: 2.37.0.18738.
    Win32-Version: 2.37.0.18738.
    CodeBase: file:///C:/Program%20Files%20(x86)/KeePass%20Password%20Safe%202/KeePass.XmlSerializers.DLL.
    ----------------------------------------
    System.Security
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2556.0 built by: NET471REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0b03f5f7f11d50a3a/System.Security.dll.
    ----------------------------------------
    Jayrock.Json
    Assembly-Version: 0.9.12915.0.
    Win32-Version: 0.9.13422.2206.
    CodeBase: file:///C:/Users/ELIAS/AppData/Local/KeePass/PluginCache/DM5UmQbtXq8TBHwP1QWp/Jayrock.Json.DLL.
    ----------------------------------------
    System.Numerics
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2556.0 built by: NET471REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0
    b77a5c561934e089/System.Numerics.dll.
    ----------------------------------------
    System.Data
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2556.0 built by: NET471REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0b77a5c561934e089/System.Data.dll.
    ----------------------------------------
    mscorlib.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2556.0 built by: NET471REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.
    ----------------------------------------
    Newtonsoft.Json
    Assembly-Version: 3.5.0.0.
    Win32-Version: 3.5.0.0.
    CodeBase: file:///C:/Users/ELIAS/AppData/Local/KeePass/PluginCache/BFvmssoG0nECQGqDublM/Newtonsoft.Json.DLL.
    ----------------------------------------
    System.ComponentModel.DataAnnotations
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2556.0.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0
    31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll.
    ----------------------------------------
    System.Runtime.Serialization
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2556.0 built by: NET471REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0b77a5c561934e089/System.Runtime.Serialization.dll.
    ----------------------------------------
    System.Xml.Linq
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2556.0 built by: NET471REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0
    b77a5c561934e089/System.Xml.Linq.dll.
    ----------------------------------------
    System.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2556.0 built by: NET471REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.resources.dll.
    ----------------------------------------

    ** JIT-Debuggen **
    Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
    Konfigurationsdatei der Anwendung oder des Computers
    (machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
    Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

    Zum Beispiel:

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

    Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
    Ausnahmen an den JIT-Debugger gesendet, der auf dem
    Computer registriert ist, und nicht in diesem Dialogfeld behandelt.

     
  • Paul

    Paul - 2017-12-20

    Windows and KeePass version?
    Does it happen with a database open?
    Try without any plug-ins.
    Do you have lock on inactivity set? Is it set to lock or close KeePass? Try without the timeout.
    Does the computer sleep at the same time?

    cheers, Paul

     
  • Dominik Reichl

    Dominik Reichl - 2017-12-20

    This might be caused by a broken .NET/Windows update or another software interfering with KeePass.

    Best regards,
    Dominik

     
  • Jens Fudickar

    Jens Fudickar - 2017-12-23

    It's Windows 10 and Keepass 2.37
    Plugins : KeePassHttp + KeePassRPC

     
  • Jens Fudickar

    Jens Fudickar - 2017-12-23

    What is the simplest way to deactivate the plugins?

     
  • Dominik Reichl

    Dominik Reichl - 2017-12-23

    'Tools' -> 'Options' -> tab 'Policy' -> turn off 'Plugins'.

    Best regards,
    Dominik

     
  • Jens Fudickar

    Jens Fudickar - 2018-01-01

    After removing KeePassRPC it seems to be stable again.
    Maybe a problem of the plugin with the new Firefox.

    Regards
    Jens

     

Log in to post a comment.