C1TrueDbGrid severe bug?

Posted by: c1 on 31 May 2018, 4:13 am EST

    • Post Options:
    • Link

    Posted 31 May 2018, 4:13 am EST

    Hi,

    if I open and close a very simple form with only a truedbgrid, in the windows 10 process explorer, the column USER and GDI continue to increase until they arrive to 10000 and the application crash.

    Currently I’m using the 4.0.20132.61317 grid version but I have the same problem in the last version (2018/1).

    Step to reproduce:

    1. new solution, fw 4.0, c#
    2. add a form (form1) with a button
    3. add a form (form2) with truedbgrid and a button

    form1:

    public Form1()

    {

    InitializeComponent();

    }

    private void button1_Click(object sender, EventArgs e)
    {
      var Frm = new Form2();
      
      Frm.ShowDialog(this);
    
      Frm.Dispose();
      Frm = null;
    }
    

    form2:

    public Form2()
    {
      InitializeComponent();
    
      this.Top = 100;
      this.Left = 100;
    }
    
    
    private void button1_Click(object sender, EventArgs e)
    {
      this.Close();
    }
    
  • Posted 1 June 2018, 2:03 am EST

    Hi Sima!

    Sorry but the issue is not reproducible at my end. Attached is the sample that I have created using your code snippet.

    Test_TDB.zip

    Can you share a demonstrating video for the specified problem, along with VS and OS versions at your end? It may help me in further investigation.

    Best regards,

    Meenakshi

  • Posted 1 June 2018, 5:16 am EST - Updated 4 October 2022, 2:35 am EST

    Hi Meenakshi,

    with your source, at my end, with grid version 4.0.20132.61317.

    The two numbers are USER and GDI. Like you can see, at every close of form2 we have one more USER object and three more GDI objects.

  • Posted 4 June 2018, 6:48 am EST

    Hi Sima!

    Thanks,. But as mentioned earlier, I am not able to see any memory leak at my end. And since you are facing the said problem with the latest builds also. I am trying this with 2018-V1 control only.

    Can you please share your machine specifications with me, including memory details? I hope, you are having enough memory on your system.

    • Meenakshi
  • Posted 4 June 2018, 9:04 am EST

    Hi Meenakshi,

    it’s my mistake. I can observe the problem only in release 4.0.20132.61317. The last release (2018/V1) is working like expected. Thank you very much for your support.

    Best regards,

    Sima.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels