TeeChart is crashing in 3D Mode.
TeeChart is crashing in 3D Mode.
Hi,
I am facing a crash issue with the tchart when the 3D graph is configured.
Issue:
When we use 3D mode for the tchart and set left axis limit, where data is not in the specified limits, TeeChart crashes. This happens only with particular data.
To reproduce this issue we have created a sample application attached which also contains stack trace from the main application and not from the sample application. But stack trace are similar in both cases.
Steps to reproduce:
1.) Enter 10 in max textbox; enter -10 in min textbox. Click on Set button.
2.) Now start rotating control continuously, in between it crashes and throws “System.OverflowException: Overflow error”. [fast rotating may be required in sample application. In original application it crashes immediately.]
Files contents in zip File:
1.) Sample Application
2.) TestData.csv [used as a data source for sample application and is part of project]
3.) Error stack trace from original application.
Please suggest a solution or work around for the same crash issue.
Note: Application start may take little longer since I have kept data in csv file which is large in size [700 KB]. This is the same data which causes exception in our application. The TeeChart dll version used is 3.5.3146.24805. Because of file upload limit I have removed Teechart dll from Refrences folder. Please add TeeChart dll version 3.5.3146.24805 into this Refrences folder under solution.
Thanks.
I am facing a crash issue with the tchart when the 3D graph is configured.
Issue:
When we use 3D mode for the tchart and set left axis limit, where data is not in the specified limits, TeeChart crashes. This happens only with particular data.
To reproduce this issue we have created a sample application attached which also contains stack trace from the main application and not from the sample application. But stack trace are similar in both cases.
Steps to reproduce:
1.) Enter 10 in max textbox; enter -10 in min textbox. Click on Set button.
2.) Now start rotating control continuously, in between it crashes and throws “System.OverflowException: Overflow error”. [fast rotating may be required in sample application. In original application it crashes immediately.]
Files contents in zip File:
1.) Sample Application
2.) TestData.csv [used as a data source for sample application and is part of project]
3.) Error stack trace from original application.
Please suggest a solution or work around for the same crash issue.
Note: Application start may take little longer since I have kept data in csv file which is large in size [700 KB]. This is the same data which causes exception in our application. The TeeChart dll version used is 3.5.3146.24805. Because of file upload limit I have removed Teechart dll from Refrences folder. Please add TeeChart dll version 3.5.3146.24805 into this Refrences folder under solution.
Thanks.
- Attachments
-
- test.zip
- TeeChart Crash in 3D mode
- (438.13 KiB) Downloaded 889 times
Re: TeeChart is crashing in 3D Mode.
Hello vishwa,
I cannot reproduce your problem using last version 3 (3.5.3700.30575) of TeeChart.Net. Please, can you download last version 3, that you can find in Client acces and try again if your project persist. If your problem persist please, let me know.
Thanks,
I cannot reproduce your problem using last version 3 (3.5.3700.30575) of TeeChart.Net. Please, can you download last version 3, that you can find in Client acces and try again if your project persist. If your problem persist please, let me know.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: TeeChart is crashing in 3D Mode.
Hi,
I am not able to use new dll provided by you. It's giving License error when I try to drag and drop TeeChart control to windows form. I have attached screenshot of this error.
Please let me know the resolution.
Thanks.
I am not able to use new dll provided by you. It's giving License error when I try to drag and drop TeeChart control to windows form. I have attached screenshot of this error.
Please let me know the resolution.
Thanks.
- Attachments
-
- TeeChart License error
- TeeChartLicenseError.png (343.39 KiB) Viewed 23543 times
Re: TeeChart is crashing in 3D Mode.
Hi ,
I tried using TeeRegV3 utility downloaded from client area to solve licenese error but this gives error "Error creating System registry entry".
Thanks
I tried using TeeRegV3 utility downloaded from client area to solve licenese error but this gives error "Error creating System registry entry".
Thanks
Re: TeeChart is crashing in 3D Mode.
Hello vishwa,
Please, take a look in this link, where you find some options to try to solve your problem with your licenses. If after doing all of recommendations there are in the thread, you don't achieve solve your problem, please let me know.
Thanks,
Please, take a look in this link, where you find some options to try to solve your problem with your licenses. If after doing all of recommendations there are in the thread, you don't achieve solve your problem, please let me know.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: TeeChart is crashing in 3D Mode.
Hi,
Now I'm able to build sample application with TeeChart dll version [3.5.3700.30575] but unfortunatly this version of dll also giving error "System.OverflowException: Overflow error". with following Stack Trace:
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.FillPolygon(Brush brush, Point[] points, FillMode fillMode)
at System.Drawing.Graphics.FillPolygon(Brush brush, Point[] points)
at Steema.TeeChart.Drawing.Graphics3DGdiPlus.Polygon(Point[] p)
at Steema.TeeChart.Drawing.Graphics3D.PolygonFour()
at Steema.TeeChart.Drawing.Graphics3D.PlaneFour3D(Int32 z0, Int32 z1, Point[] p)
at Steema.TeeChart.Styles.Surface.DrawTheCell(Int32 z0)
at Steema.TeeChart.Styles.Surface.DrawCell(Int32 x, Int32 z)
at Steema.TeeChart.Styles.Surface.DrawAllCells()
at Steema.TeeChart.Styles.Surface.Draw()
at Steema.TeeChart.Styles.Series.DrawSeries()
at Steema.TeeChart.Chart.InternalDraw(Graphics g, Boolean noTools)
at Steema.TeeChart.Chart.InternalDraw(Graphics g)
at Steema.TeeChart.TChart.Draw(Graphics g)
at Steema.TeeChart.TChart.OnPaint(PaintEventArgs pe)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at WindowsFormsApplication1.Program.Main() in C:\Users\Qcsadmin\Desktop\Teechart Crash Issue\WindowsFormsApplication1\WindowsFormsApplication1\Program.cs:line 18
Please let me know the possible solution.
Thanks
Now I'm able to build sample application with TeeChart dll version [3.5.3700.30575] but unfortunatly this version of dll also giving error "System.OverflowException: Overflow error". with following Stack Trace:
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.FillPolygon(Brush brush, Point[] points, FillMode fillMode)
at System.Drawing.Graphics.FillPolygon(Brush brush, Point[] points)
at Steema.TeeChart.Drawing.Graphics3DGdiPlus.Polygon(Point[] p)
at Steema.TeeChart.Drawing.Graphics3D.PolygonFour()
at Steema.TeeChart.Drawing.Graphics3D.PlaneFour3D(Int32 z0, Int32 z1, Point[] p)
at Steema.TeeChart.Styles.Surface.DrawTheCell(Int32 z0)
at Steema.TeeChart.Styles.Surface.DrawCell(Int32 x, Int32 z)
at Steema.TeeChart.Styles.Surface.DrawAllCells()
at Steema.TeeChart.Styles.Surface.Draw()
at Steema.TeeChart.Styles.Series.DrawSeries()
at Steema.TeeChart.Chart.InternalDraw(Graphics g, Boolean noTools)
at Steema.TeeChart.Chart.InternalDraw(Graphics g)
at Steema.TeeChart.TChart.Draw(Graphics g)
at Steema.TeeChart.TChart.OnPaint(PaintEventArgs pe)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at WindowsFormsApplication1.Program.Main() in C:\Users\Qcsadmin\Desktop\Teechart Crash Issue\WindowsFormsApplication1\WindowsFormsApplication1\Program.cs:line 18
Please let me know the possible solution.
Thanks
Re: TeeChart is crashing in 3D Mode.
Hello vishwa,
Can you send us your project,because we can reproduce your problem here and try to solve it?
Thanks,
Can you send us your project,because we can reproduce your problem here and try to solve it?
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: TeeChart is crashing in 3D Mode.
Hi Sandra,
I am attaching sample application as test.zip. Please add reference of required version of TeeChart dll to know which one fixes the crash issue.
I have tried the version 3.5.3146.24805 [used in our project] and version 3.5.3700.30575 [suggested by you]. These both versions are not able to handle crash.
To reproduce error please refer "Steps to reproduce" in thie first post of this chain.
Thanks.
I am attaching sample application as test.zip. Please add reference of required version of TeeChart dll to know which one fixes the crash issue.
I have tried the version 3.5.3146.24805 [used in our project] and version 3.5.3700.30575 [suggested by you]. These both versions are not able to handle crash.
To reproduce error please refer "Steps to reproduce" in thie first post of this chain.
Thanks.
- Attachments
-
- test.zip
- TeeChart Crash in Sample Application
- (438.13 KiB) Downloaded 878 times
Last edited by vishwa on Wed Nov 30, 2011 5:15 am, edited 1 time in total.
Re: TeeChart is crashing in 3D Mode.
Hi Sandra,
Please update any progress or issue on mentioned crash problem as it's critical to our project release. Please provide a quick fix.
Thanks a lot
Please update any progress or issue on mentioned crash problem as it's critical to our project release. Please provide a quick fix.
Thanks a lot
Re: TeeChart is crashing in 3D Mode.
Hello vishwa,
I inform you that we are working with your project and answer your asap.
Thanks,
I inform you that we are working with your project and answer your asap.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: TeeChart is crashing in 3D Mode.
Hi Sandra,
Please provide any information on the progress of TeeChart crashing in 3D Mode issue. As this issue is critical to our project's release.
Thanks
Please provide any information on the progress of TeeChart crashing in 3D Mode issue. As this issue is critical to our project's release.
Thanks
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeChart is crashing in 3D Mode.
Hi vishwa,
Sandra is out of the office today. I'll check issue's status with her tomorrow. I can try to look at the issue today though. I have looked at your last project and I see data fails to load due to a high number of NaN values in the data file. The project crashes at line 85 in Form1.cs. Is that the problem you are having at your end? I bet not, could you please fix the project so that I can reproduce the problem you mentioned?
Thanks in advance.
Sandra is out of the office today. I'll check issue's status with her tomorrow. I can try to look at the issue today though. I have looked at your last project and I see data fails to load due to a high number of NaN values in the data file. The project crashes at line 85 in Form1.cs. Is that the problem you are having at your end? I bet not, could you please fix the project so that I can reproduce the problem you mentioned?
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: TeeChart is crashing in 3D Mode.
Hi,
For your kind information I downloaded same project which I uploaded here and did not get any data related issue. Please try to use it as it is. The real problem is overflow exception which causes TeeChart to crash. I have mentioned all steps needed to reproduce this error in previous posts in this same chain post.
PS: data loading may take little longer since data size is big. but it runs fine. I am including "steps to reproduce" once again:
Steps to reproduce:
1.) Enter 10 in max textbox; enter -10 in min textbox. Click on Set button.
2.) Now start rotating control continuously, in between it crashes and throws “System.OverflowException: Overflow error”. [fast rotating may be required in sample application. In original application it crashes immediately.]
Please let me know for any issue or update.
Thanks
For your kind information I downloaded same project which I uploaded here and did not get any data related issue. Please try to use it as it is. The real problem is overflow exception which causes TeeChart to crash. I have mentioned all steps needed to reproduce this error in previous posts in this same chain post.
PS: data loading may take little longer since data size is big. but it runs fine. I am including "steps to reproduce" once again:
Steps to reproduce:
1.) Enter 10 in max textbox; enter -10 in min textbox. Click on Set button.
2.) Now start rotating control continuously, in between it crashes and throws “System.OverflowException: Overflow error”. [fast rotating may be required in sample application. In original application it crashes immediately.]
Please let me know for any issue or update.
Thanks
Re: TeeChart is crashing in 3D Mode.
Hello vishwa,
Sorry for the delay. I have tried to reproduce your project in different machines, Windows 7 32bits and Windows XP 32 bits and rotating the chart during 2 minutes, and your problem doesn't appear for me. We need reproduce your problem to try to find a solution for you, so, we would be very grateful if you can do one of the following two requests or both
- Upload your TeeChart.dll in the Upload page.
- Try to modified your project for one other more simple, where appears your problem.
Thanks,
Sorry for the delay. I have tried to reproduce your project in different machines, Windows 7 32bits and Windows XP 32 bits and rotating the chart during 2 minutes, and your problem doesn't appear for me. We need reproduce your problem to try to find a solution for you, so, we would be very grateful if you can do one of the following two requests or both
- Upload your TeeChart.dll in the Upload page.
- Try to modified your project for one other more simple, where appears your problem.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: TeeChart is crashing in 3D Mode.
Hi Sandra,
I have uploaded TeeChart dll version[3.5.3146.24806] to the specified location. This is the same version used in our project and in sample application.
I have already tried TeeChart dll cersion [3.5.3700.30575 ] which you suggested , in that also application got crashed.
Regarding easy reproducability of issue please try with different limits like max 10 min -10 or max 5 min 0 such a way that data should be out of range.
For me also sometimes it takes time to crash [but it crash definitly] and sometime it crashes within few seconds. I hope changing limits to any other out of range limits will help reproducing the issue easily.
I have attached TeeChart-Crash bitmap with Stack trace for you easy reference.
Thanks
I have uploaded TeeChart dll version[3.5.3146.24806] to the specified location. This is the same version used in our project and in sample application.
I have already tried TeeChart dll cersion [3.5.3700.30575 ] which you suggested , in that also application got crashed.
Regarding easy reproducability of issue please try with different limits like max 10 min -10 or max 5 min 0 such a way that data should be out of range.
For me also sometimes it takes time to crash [but it crash definitly] and sometime it crashes within few seconds. I hope changing limits to any other out of range limits will help reproducing the issue easily.
I have attached TeeChart-Crash bitmap with Stack trace for you easy reference.
Thanks
- Attachments
-
- TeeChart-Crash
- TeeChart-Crash.jpg (255.3 KiB) Viewed 23347 times