Menu

#1256 KeePass crashes after opening 2 files, if "Custom database color" parameter set

KeePass_2.x
closed
nobody
None
5
2014-08-25
2014-06-17
No

I have the problem under Linux using mono 3.2.3 using "KeePass_140508b_s" (the version which solves the problem of writing a database accessed with webdav, see https://sourceforge.net/p/keepass/patches/89/).
When I open 2 databases and one of the databases has parameter "Custom database color" set to any color, then changing tab from one database to another makes KeePass crash.
There is no problem when all the databases have the color parameter unset.

Here is the backtrace :

System.Windows.Forms
at System.Windows.Forms.TabControl+ControlCollection.Add (System.Windows.Forms.Control value) [0x00000] in <filename unknown="">:0
at System.Windows.Forms.Control.set_Parent (System.Windows.Forms.Control value) [0x00000] in <filename unknown="">:0
at System.Windows.Forms.Control..ctor (System.Windows.Forms.Control parent, System.String text) [0x00000] in <filename unknown="">:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor (System.Windows.Forms.Control,string)
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown="">:0
at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000] in <filename unknown="">:0
at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000] in <filename unknown="">:0
at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown="">:0
at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown="">:0
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] in <filename unknown="">:0
at KeePass.Program.Main (System.String[] args) [0x00000] in <filename unknown="">:0
Void Add(System.Windows.Forms.Control)</filename></filename></filename></filename></filename></filename></filename></filename></filename></filename>

Related

Bugs: #1256

Discussion

  • Dominik Reichl

    Dominik Reichl - 2014-06-17
    • status: open --> closed
     
    • Denis Joiret

      Denis Joiret - 2014-06-17

      Hello,

      I replaced /KeePass.exe/ and /KeePass.XmlSerializers.dll/ with the files
      contained in the development snapshot archive and I still have the problem.
      The error is the same as before : "Cannot add Control to TabControl.
      Only TabPages can be directly added to TabControls."

      Best regards,
      Denis

      Le 17/06/2014 10:57, Dominik Reichl a écrit :

      • status: open --> closed
      • Comment:

      Probably a duplicate of
      https://sourceforge.net/p/keepass/bugs/1247/

      Here's the latest development snapshot for testing:
      http://keepass.info/filepool/KeePass_140616.zip

      Best regards,
      Dominik


      [bugs:#1256] http://sourceforge.net/p/keepass/bugs/1256/ KeePass
      crashes after opening 2 files, if "Custom database color" parameter set

      Status: closed
      Group: KeePass_2.x
      Created: Tue Jun 17, 2014 07:40 AM UTC by Denis Joiret
      Last Updated: Tue Jun 17, 2014 07:40 AM UTC
      Owner: nobody

      I have the problem under Linux using mono 3.2.3 using
      "KeePass_140508b_s" (the version which solves the problem of writing a
      database accessed with webdav, see
      https://sourceforge.net/p/keepass/patches/89/).
      When I open 2 databases and one of the databases has parameter "Custom
      database color" set to any color, then changing tab from one database
      to another makes KeePass crash.
      There is no problem when all the databases have the color parameter unset.

      Here is the backtrace :

      System.Windows.Forms
      at System.Windows.Forms.TabControl+ControlCollection.Add
      (System.Windows.Forms.Control value) [0x00000] in :0
      at System.Windows.Forms.Control.set_Parent
      (System.Windows.Forms.Control value) [0x00000] in :0
      at System.Windows.Forms.Control..ctor (System.Windows.Forms.Control
      parent, System.String text) [0x00000] in :0
      at (wrapper remoting-invoke-with-check)
      System.Windows.Forms.Control:.ctor (System.Windows.Forms.Control,string)
      at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
      IntPtr wParam, IntPtr lParam) [0x00000] in :0
      at System.Windows.Forms.XplatUIX11.DispatchMessage
      (System.Windows.Forms.MSG& msg) [0x00000] in :0
      at System.Windows.Forms.XplatUI.DispatchMessage
      (System.Windows.Forms.MSG& msg) [0x00000] in :0
      at System.Windows.Forms.Application.RunLoop (Boolean Modal,
      System.Windows.Forms.ApplicationContext context) [0x00000] in :0
      at System.Windows.Forms.Application.Run
      (System.Windows.Forms.ApplicationContext context) [0x00000] in :0
      at System.Windows.Forms.Application.Run (System.Windows.Forms.Form
      mainForm) [0x00000] in :0
      at KeePass.Program.Main (System.String[] args) [0x00000] in :0
      Void Add(System.Windows.Forms.Control)


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/keepass/bugs/1256/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #1256

  • Dominik Reichl

    Dominik Reichl - 2014-06-18

    I cannot reproduce this with Mono 3.2.8 (on Kubuntu 14.04). Probably the Mono developers have already fixed this issue.

    Best regards,
    Dominik

     

Log in to post a comment.

MongoDB Logo MongoDB