Menu

#1429 Assertion failed in CustomSplitContainerEx.get_SplitterDistanceFrac

KeePass_2.x
closed
nobody
None
5
2015-12-23
2015-09-22
No

The assertion occurrs when I close the main window.

my settings were:

<MainWindow>
<X>1770</X>
<Y>372</Y>
<Width>670</Width>
<Height>524</Height>
<SplitterHorizontalFrac>0.63373493975903616</SplitterHorizontalFrac>
<SplitterVerticalFrac>0.25</SplitterVerticalFrac>
<Layout>Default</Layout>

Stacktrace:
at CustomSplitContainerEx.get_SplitterDistanceFrac()
at MainForm.SaveWindowPositionAndSize()
at MainForm.SaveConfig()
at MainForm.CleanUpEx()
at MainForm.OnFormClosed(Object sender, FormClosedEventArgs e)
at Form.WmClose(Message& m)
at MainForm.WndProc(Message& m)
at ControlNativeWindow.WndProc(Message& m)
at NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at NativeWindow.DefWndProc(Message& m)
at Form.DefWndProc(Message& m)
at Control.WndProc(Message& m)
at MainForm.WndProc(Message& m)
at ControlNativeWindow.WndProc(Message& m)
at NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at NativeWindow.DefWndProc(Message& m)
at Form.DefWndProc(Message& m)
at Control.WndProc(Message& m)
at Form.WmNcButtonDown(Message& m)
at MainForm.WndProc(Message& m)
at ControlNativeWindow.WndProc(Message& m)
at NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at Program.Main(String[] args)

Discussion

  • Paul

    Paul - 2015-09-22

    We usually get these when running under mono / Linux. If you get it in Windows you may have a corrupted .NET installation.

    cheers, Paul

     
  • Thomas Wetzlmaier

    KeePass runs on windows. I also tried it on a second computer and it's the same behavior.

     
  • Paul

    Paul - 2015-09-22

    Does it happen if you don't have a database open?
    Without plug-ins?
    Try with an empty KeePass.config.xml.

    cheers, Paul

     
  • Dominik Reichl

    Dominik Reichl - 2015-11-23

    Why do you get an assertion? Assertions are only displayed with debug builds of KeePass, not release versions.

    On which line does the assertion occur? Is it reproducible? Like Paul suggested, try it again with a new configuration file.

    Best regards,
    Dominik

     
  • Dominik Reichl

    Dominik Reichl - 2015-12-23
    • status: open --> closed
     

Log in to post a comment.