Page 1 of 2

TChart3D causes crash of Delphi 2007

Posted: Wed Dec 08, 2010 10:50 am
by 16557344
Hello,

I've installed "TeeChart Vcl 2010.01.11004 Professional" for "Delphi 2007 Professional". OS is Windows XP Pro.

Here's the problem:
- Create a new Vcl Forms Application.
- Put a TChart3D on the form.
- DoubleClick on the chart to show the Chart Editor
- Without changing anything, just click on de Close button of the Chart Editor.
- Delphi is gone/crashed.

Does anyone experienced this behaviour before? And does somebody knows the problem/solution?

Kind regards,

Invers

Re: TChart3D causes crash of Delphi 2007

Posted: Thu Dec 09, 2010 1:29 pm
by 10046032
Hello,

Yes, I can confirm that also, just repeated your steps and IDE closed without any message :shock:

Regards

Re: TChart3D causes crash of Delphi 2007

Posted: Tue Dec 14, 2010 12:00 pm
by yeray
Hi,

I'm trying to reproduce it but I can follow your steps without having any problem.

CodeGearâ„¢ RAD Studio 2007 Version 11.0.2902.10471
Installed Updates:
December 2007 Update
May08 Help Update

TeeChart Pro v2010.01.11004

Microsoft Windows XP Professional

Re: TChart3D causes crash of Delphi 2007

Posted: Wed Apr 20, 2011 10:25 am
by 9350556
Same problem here.

Delphi 2007 Professional, december 2007 update
TeeChart Pro 2011.03.30407
Windows Vista Business SP2

Re: TChart3D causes crash of Delphi 2007

Posted: Thu Apr 21, 2011 12:46 pm
by yeray
Hello,

We added it to the defect list to be investigated for further releases (TV52015320), although we didn't find a consistent way to reproduce it. The same process reproduces the problem in some machines with D2007, RAD 2010 and XE but in other machines.

Re: TChart3D causes crash of Delphi 2007

Posted: Thu Apr 21, 2011 1:16 pm
by 9350556
I compiled a sample application with one TChart3D component and activated EurekaLog. http://www.eurekalog.com/index_delphi.php
In EurekaLog I activated the Anti-Freeze Option.
When this option fires in EurekaLog, the following Call Stack is shown:
sshot-6.png
EurekaLog
sshot-6.png (25.41 KiB) Viewed 23850 times
C:\Windows\System32\glu32.dll
Date: 2-11-2006
Time: 11:46
Size: 133.632
Version: 6.0.6000.16386

Bert

Re: TChart3D causes crash of Delphi 2007

Posted: Thu Apr 21, 2011 1:24 pm
by 9350556
After recompiling TeeChart with debug info:
sshot-7.png
sshot-7.png (42.31 KiB) Viewed 23876 times

Re: TChart3D causes crash of Delphi 2007

Posted: Tue Apr 26, 2011 9:57 am
by narcis
Hi Bert,

Thanks for the information. I have added it to the bug report.

Re: TChart3D causes crash of Delphi 2007

Posted: Tue Apr 26, 2011 12:51 pm
by 9350556
If I copy TeeGLCanvas.pas to my project and compile it with assertions, the following exception is raised:
'ActivateContext (C:\ ...\TeeGLCanvas.pas, line 1460)'.

Re: TChart3D causes crash of Delphi 2007

Posted: Thu Apr 28, 2011 9:29 am
by 9350556
Everest (now Aida64) is a tool that shows a lot of information about the PC and the software. It says the following about OpenGL support in my PC.
sshot-8.png
sshot-8.png (8.92 KiB) Viewed 23758 times
My PC is a HP machine with Intel integrated graphics, so not state of the art.
I have ran the executable on 2 other PC's with old/integrated graphics and they have the same problem. On a newer machine with a recent Radeon card the application runs. This PC/graphics card has OpenGL 3.3 support.

Re: TChart3D causes crash of Delphi 2007

Posted: Thu Apr 28, 2011 12:11 pm
by yeray
Hello Bert,

We appreciate your feedback and investigation on this. It could be important information to find out what's exactly happening and how to solve it.
I've added your comments to the bug report.

Re: TChart3D causes crash of Delphi 2007

Posted: Fri Apr 29, 2011 7:17 am
by 9350556
I have checked a few PC's and a laptop with the test application.

Good:
RADEON 9250 - OpenGL 1.3 (XP)
RADEON X1650 - OpenGL 2.1 (XP)
RADEON HD 4770 - OpenGL 3.3 (7)

Bad:
Matrox G450 - OpenGL 1.1 (XP)
Intel 945G - OpenGL 1.4 (7)
Intel GMA 3100 - OpenGL 1.4 (Vista)
ATI Mobility RADEON 9700 - OpenGL 1.5 (XP)

Do you now the Delphi OpenGL Community? http://www.delphigl.com It seems they are very active with and knowledgeable about OpenGL. I downloaded one of the applications that is using their stuff and it runs fine on the laptop, where TeeChart isn't.
I tried to replace OpenGL2.pas with dglOpenGL.pas but couldn't get my application compiled. For someone with more knowledge it might be an easy change. It might be worth investigating.

Re: TChart3D causes crash of Delphi 2007

Posted: Fri Apr 29, 2011 3:24 pm
by yeray
Hello Bert,

Thank you so much again for the huge testing work you are doing here.

Re: TChart3D causes crash of Delphi 2007

Posted: Mon Jun 06, 2011 2:25 pm
by 9350556
Hello,

I was wondering if any progress has been made with this issue. It has been open for almost 6 months now.
Were you able to reproduce it on your side, or do you have a test application with extensive logging that I and others can run?

Bert

Re: TChart3D causes crash of Delphi 2007

Posted: Tue Jun 07, 2011 10:03 am
by 10050769
Hello Bert B.,

This is a high-priority issue. I am sorry but bug with number (TV52015320) isn't still fixed. I recommend you to be aware at this forum, our RSS news feed, twitter and facebook accounts for new release announcements and what's implemented on them.

Thanks,