Overflow with TChart3d

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Tecsidel
Newbie
Newbie
Posts: 5
Joined: Wed Sep 28, 2011 12:00 am

Overflow with TChart3d

Post by Tecsidel » Sun Jun 10, 2012 10:45 pm

Hello,

I can't get to start using TChart3d component (Teemaker group). I understand that this is the one to use to get better visual results (I have experience with regular TChart).
As soon as I'm dropping one of those components to a new VCL app, and try to add a series I'm getting a "Stack Overflow" exception and have to close Delphi.

I'm using Delphi XE2 Update 4 with hotfix, on a Win7 professional/ 32 bits Spanish. Teechart is last 2012 version available for VCL.

Also I tried to use TeeMaker demo, but after compiling it, when running is not showing anything in "maker 1 tab" and is hanging if I'm adding a cone, for instance. If I am first doing "new" page, some scene appears and I'm able to add a cone, but adding a chart, for instance, is hanging again the app.
By the way, the teemaker example has reference to many files that don't exist (in the directory).
Even though if you are careful you can play a bit, is rather unstable in my opinion.

Could you help me?
Regards,
Gonzalo

Bert B.
Newbie
Newbie
Posts: 69
Joined: Fri Jun 15, 2007 12:00 am

Re: Overflow with TChart3d

Post by Bert B. » Mon Jun 11, 2012 7:14 am

Hi Gonzalo,

Which videocard do you have in your PC?

Bert

Tecsidel
Newbie
Newbie
Posts: 5
Joined: Wed Sep 28, 2011 12:00 am

Re: Overflow with TChart3d

Post by Tecsidel » Mon Jun 11, 2012 11:58 am

Hello,
I have a NVidia Geforce 320M, with driver version 285.62.

Regards,
Gonzalo

Bert B.
Newbie
Newbie
Posts: 69
Joined: Fri Jun 15, 2007 12:00 am

Re: Overflow with TChart3d

Post by Bert B. » Mon Jun 11, 2012 12:28 pm

Hi,

I was hoping for a different video card.

You aren't the first one having the problem you described. More information can be found in the following topic:
http://www.teechart.net/support/viewtop ... =3&t=11920

In this topic you can read that I created a small test application that doesn't run on my development machine which has Intel graphics, and some other PC's with older hardware.
The test application runs fine on newer hardware, but according to the results from Google, your video card is pretty recent.

It is a good thing if Steema would put more effort in solving this problem. I was and still am willing to run debug versions on the PC's that I can lay my hands on.

Regards,
Bert

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Overflow with TChart3d

Post by Yeray » Tue Jun 12, 2012 1:44 pm

Hello,

Could you please try the example here? It also uses TChart3D but in a simpler project.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Bert B.
Newbie
Newbie
Posts: 69
Joined: Fri Jun 15, 2007 12:00 am

Re: Overflow with TChart3d

Post by Bert B. » Thu Jun 14, 2012 6:45 am

Hi,

I can compile the test application without problems, but it won't run on my machine. See the attachment.
The application fine on some other computers.

Regards,
Bert
Attachments
Test_Pie_3D.png
Test_Pie_3D.png (32.44 KiB) Viewed 23706 times

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Overflow with TChart3d

Post by Yeray » Thu Jun 14, 2012 3:43 pm

Hi,
Bert B. wrote:I can compile the test application without problems, but it won't run on my machine. See the attachment.
The application fine on some other computers.
Wow :shock:

And you, Gonzalo (Tecsidel)? Just to check the theory of the old vs new video cards.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Tecsidel
Newbie
Newbie
Posts: 5
Joined: Wed Sep 28, 2011 12:00 am

Re: Overflow with TChart3d

Post by Tecsidel » Fri Jun 15, 2012 3:05 pm

Hi both!

I can compile the app without problems, but when running I'm getting the Overflow exception.
I tried in a second computer with same results.
With a 3rd machine I got something similar to Bert, the frame of the app but nothing showing inside.

If you need my compiled exe to analyze what can be wrong, just ask...

Regards
Gonzalo

Tecsidel
Newbie
Newbie
Posts: 5
Joined: Wed Sep 28, 2011 12:00 am

Re: Overflow with TChart3d

Post by Tecsidel » Fri Jun 15, 2012 4:49 pm

I tried with the new VCL version that was published today, but same results. Stack overflow.

I tried commenting out FastMM4, but no change.

In XP also not working.


I also tried in a Delphi XE on my computer (the same as the XE2) but also I'm getting the same stack overflow error (just dropped an teechart3d and added a bar series, and when closing the chart editor the overflow exception comes).
When trying to close Delphi, following stack trace is shown for an access violation:
[5003A118]{rtl150.bpl } System.TObject.Free (Line 11069, "System.pas" + 1) + $4
[5005C3A4]{rtl150.bpl } SysUtils.FreeAndNil (Line 19652, "SysUtils.pas" + 2) + $2
[42234ACE]{Tee915.bpl } Teeprocs.TCustomTeePanel + $1A
[42236E9B]{Tee915.bpl } Teeprocs.TCustomTeePanelExtended + $33
[4225AAF6]{Tee915.bpl } Teengine.TCustomAxisPanel + $8A
[42268B6C]{Tee915.bpl } Chart.TCustomChart + $6C
[5003A118]{rtl150.bpl } System.TObject.Free (Line 11069, "System.pas" + 1) + $4
[1B86EC54]{TeeMaker115.bpl} Teechartblock.TChartBlock.SetChart + $34
[1B86E326]{TeeMaker115.bpl} Teechartblock.TChartBlock + $1A
[5003A118]{rtl150.bpl } System.TObject.Free (Line 11069, "System.pas" + 1) + $4
[1B7D2FCE]{TeeMaker115.bpl} Teeblocks.TBlockList.FreeAll + $E
[1B7D302F]{TeeMaker115.bpl} Teeblocks.TBlockList.Clear + $B
[5009CFBB]{rtl150.bpl } Classes.TList.Destroy (Line 3507, "Classes.pas" + 1) + $4
[5003A118]{rtl150.bpl } System.TObject.Free (Line 11069, "System.pas" + 1) + $4
[1B7D2473]{TeeMaker115.bpl} Teeblocks.TBlocks + $5F
[5003A118]{rtl150.bpl } System.TObject.Free (Line 11069, "System.pas" + 1) + $4
[5005C3A4]{rtl150.bpl } SysUtils.FreeAndNil (Line 19652, "SysUtils.pas" + 2) + $2
[1B7FCBCF]{TeeMaker115.bpl} Teemakercontrol.TMaker + $27
[5027FC6E]{vcl150.bpl } Controls.TWinControl.Destroy (Line 8213, "Controls.pas" + 20) + $6
[5034D618]{vcl150.bpl } Forms.TScrollingWinControl.Destroy (Line 2666, "Forms.pas" + 3) + $7
[5034E8B9]{vcl150.bpl } Forms.TCustomForm.Destroy (Line 3306, "Forms.pas" + 32) + $A
[21054DE0]{designide150.bpl} Proxies.DestroyHook (Line 280, "Proxies.pas" + 2) + $6
[5003A118]{rtl150.bpl } System.TObject.Free (Line 11069, "System.pas" + 1) + $4
[223FBD56]{delphivclide150.bpl} VCLFormDesigner.TVCLRootDesigner.FreeRoot (Line 519, "VCLFormDesigner.pas" + 0) + $2
[2107F2F2]{designide150.bpl} ComponentDesigner.TComponentRoot.InternalDeinitializeDesigner (Line 4477, "ComponentDesigner.pas" + 26) + $B
[210816D1]{designide150.bpl} ComponentDesigner.TComponentRoot.Close (Line 5296, "ComponentDesigner.pas" + 4) + $5
[21B8DCF8]{delphicoreide150.bpl} DelphiModule.TPascalCodeMgrModHandler.Destroyed (Line 694, "DelphiModule.pas" + 11) + $5
[20A76BD5]{coreide150.bpl} DocModul.TCodeIDocModule.NotifyDestroyed (Line 2421, "DocModul.pas" + 1) + $14
[210646A9]{designide150.bpl} ToolUtils.ForEach (Line 90, "ToolUtils.pas" + 5) + $F
[20A76B46]{coreide150.bpl} DocModul.TCodeIDocModule.NotifyDestruction (Line 2405, "DocModul.pas" + 1) + $F
[20A73AE8]{coreide150.bpl} DocModul.TDocModule.BeforeDestruction (Line 986, "DocModul.pas" + 13) + $9
[5003A7FD]{rtl150.bpl } System.@BeforeDestruction (Line 12216, "System.pas" + 10) + $0
[208AC24E]{coreide150.bpl} SourceModule.TSourceModule.Create (Line 423, "SourceModule.pas" + 30) + $C8
[5003A118]{rtl150.bpl } System.TObject.Free (Line 11069, "System.pas" + 1) + $4
[20A74CA4]{coreide150.bpl} DocModul.WalkDependencies (Line 1613, "DocModul.pas" + 8) + $5
[20A74CED]{coreide150.bpl} DocModul.TDocModule.WalkDependencies (Line 1622, "DocModul.pas" + 0) + $1
[20A73DDF]{coreide150.bpl} DocModul.TDocModule.Close (Line 1094, "DocModul.pas" + 12) + $3
[20841331]{coreide150.bpl} ProjectModule.TBaseProject.BeforeDestruction (Line 1027, "ProjectModule.pas" + 34) + $6
[21B13075]{delphicoreide150.bpl} BaseDelphiProject.TBaseDelphiProject.BeforeDestruction (Line 1521, "BaseDelphiProject.pas" + 4) + $2
[5003A7FD]{rtl150.bpl } System.@BeforeDestruction (Line 12216, "System.pas" + 10) + $0
[21B1034A]{delphicoreide150.bpl} BaseDelphiProject.TBaseDelphiProject.Destroy (Line 784, "BaseDelphiProject.pas" + 0) + $A
[5003A118]{rtl150.bpl } System.TObject.Free (Line 11069, "System.pas" + 1) + $4
[2081B1E7]{coreide150.bpl} ProjectGroup.TProjectGroup.BeforeDestruction (Line 999, "ProjectGroup.pas" + 50) + $2
[5003A7FD]{rtl150.bpl } System.@BeforeDestruction (Line 12216, "System.pas" + 10) + $0
[2081AF6A]{coreide150.bpl} ProjectGroup.TProjectGroup.Destroy (Line 934, "ProjectGroup.pas" + 0) + $2
[5003A118]{rtl150.bpl } System.TObject.Free (Line 11069, "System.pas" + 1) + $4
[208211DA]{coreide150.bpl} ProjectGroup.TProjectGroupWrapper.Close (Line 2749, "ProjectGroup.pas" + 2) + $5
[0041CB1F]{bds.exe } AppMain..{Generics.Defaults}TComparer<IDEDesktopComboBox.TDesktopComboBox> (Line 2071, "Generics.Collections.pas" + 0) + $190
[50353E11]{vcl150.bpl } Forms.TCustomForm.CloseQuery (Line 6394, "Forms.pas" + 8) + $14
[50352CFC]{vcl150.bpl } Forms.TCustomForm.WMMenuSelect (Line 5761, "Forms.pas" + 18) + $7
[50353D39]{vcl150.bpl } Forms.TCustomForm.Close (Line 6366, "Forms.pas" + 4) + $4
[50352DA0]{vcl150.bpl } Forms.TCustomForm.WMClose (Line 5786, "Forms.pas" + 0) + $0
[5027DF6C]{vcl150.bpl } Controls.TControl.WndProc (Line 7074, "Controls.pas" + 91) + $6
[50282830]{vcl150.bpl } Controls.TWinControl.WndProc (Line 9831, "Controls.pas" + 144) + $6
[172AE77D]{cxLibraryRS15.bpl} Dxhooks. + $0
[5034FB28]{vcl150.bpl } Forms.TCustomForm.WndProc (Line 3961, "Forms.pas" + 191) + $5
[50281ED0]{vcl150.bpl } Controls.TWinControl.MainWndProc (Line 9552, "Controls.pas" + 3) + $6
[500AFA64]{rtl150.bpl } Classes.StdWndProc (Line 13491, "Classes.pas" + 8) + $0
[50282930]{vcl150.bpl } Controls.TWinControl.DefaultHandler (Line 9872, "Controls.pas" + 30) + $17
[50351D9E]{vcl150.bpl } Forms.TCustomForm.DefaultHandler (Line 5228, "Forms.pas" + 11) + $4
[5028461D]{vcl150.bpl } Controls.TWinControl.WMSysCommand (Line 11066, "Controls.pas" + 20) + $7
[50352E71]{vcl150.bpl } Forms.TCustomForm.WMSysCommand (Line 5837, "Forms.pas" + 14) + $4
[209C31DA]{coreide150.bpl} WorkFrm.TWorkForm.WMSysCommand (Line 67, "WorkFrm.pas" + 23) + $C
[209C39C2]{coreide150.bpl} MainWorkFrm.TMainWorkForm.WMSysCommand (Line 116, "MainWorkFrm.pas" + 0) + $6
[5027DF6C]{vcl150.bpl } Controls.TControl.WndProc (Line 7074, "Controls.pas" + 91) + $6
[50282830]{vcl150.bpl } Controls.TWinControl.WndProc (Line 9831, "Controls.pas" + 144) + $6
[172AE77D]{cxLibraryRS15.bpl} Dxhooks. + $0
[5034FB28]{vcl150.bpl } Forms.TCustomForm.WndProc (Line 3961, "Forms.pas" + 191) + $5
[50281ED0]{vcl150.bpl } Controls.TWinControl.MainWndProc (Line 9552, "Controls.pas" + 3) + $6
[500AFA64]{rtl150.bpl } Classes.StdWndProc (Line 13491, "Classes.pas" + 8) + $0
[50282830]{vcl150.bpl } Controls.TWinControl.WndProc (Line 9831, "Controls.pas" + 144) + $6
[50282930]{vcl150.bpl } Controls.TWinControl.DefaultHandler (Line 9872, "Controls.pas" + 30) + $17
[50351D9E]{vcl150.bpl } Forms.TCustomForm.DefaultHandler (Line 5228, "Forms.pas" + 11) + $4
[5027E635]{vcl150.bpl } Controls.TControl.WMNCLButtonDown (Line 7230, "Controls.pas" + 2) + $6
[50352A5C]{vcl150.bpl } Forms.TCustomForm.WMNCLButtonDown (Line 5652, "Forms.pas" + 17) + $4
[209C37C2]{coreide150.bpl} MainWorkFrm.TMainWorkForm.WMSetCursor (Line 40, "MainWorkFrm.pas" + 10) + $2
[5027DF6C]{vcl150.bpl } Controls.TControl.WndProc (Line 7074, "Controls.pas" + 91) + $6
[5003AA38]{rtl150.bpl } System.TMonitor.Enter (Line 12406, "System.pas" + 4) + $2
[50282830]{vcl150.bpl } Controls.TWinControl.WndProc (Line 9831, "Controls.pas" + 144) + $6
[5034FB28]{vcl150.bpl } Forms.TCustomForm.WndProc (Line 3961, "Forms.pas" + 191) + $5
[50281ED0]{vcl150.bpl } Controls.TWinControl.MainWndProc (Line 9552, "Controls.pas" + 3) + $6
[500AFA64]{rtl150.bpl } Classes.StdWndProc (Line 13491, "Classes.pas" + 8) + $0
[50278AA6]{vcl150.bpl } Controls.FindControl (Line 3378, "Controls.pas" + 6) + $9
[50358AF7]{vcl150.bpl } Forms.TApplication.ProcessMessage (Line 9760, "Forms.pas" + 23) + $1
[50358B3A]{vcl150.bpl } Forms.TApplication.HandleMessage (Line 9790, "Forms.pas" + 1) + $4
[50358E65]{vcl150.bpl } Forms.TApplication.Run (Line 9927, "Forms.pas" + 26) + $3


Regards,
Gonzalo

Tecsidel
Newbie
Newbie
Posts: 5
Joined: Wed Sep 28, 2011 12:00 am

Re: Overflow with TChart3d

Post by Tecsidel » Wed Jun 20, 2012 10:31 am

Any new on this?

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Overflow with TChart3d

Post by Sandra » Fri Jun 22, 2012 3:50 pm

Hello Gonzalo,

Sorry for the delay. We are investigating your problem and try to answer 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
Image Image Image Image Image Image
Instructions - How to post in this forum

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Overflow with TChart3d

Post by Yeray » Mon Jul 02, 2012 3:00 pm

Hi,

I'm not able to reproduce the error, but I see a similar (but not exactly equal) blank window when executing the project in a Win7 64bit machine and RAD XE2. Here it is what I see:
test.png
test.png (18.67 KiB) Viewed 23434 times
And if I click on the "Edit 3D..." button, then everything looks correct.
Could you please give it a try?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Bert B.
Newbie
Newbie
Posts: 69
Joined: Fri Jun 15, 2007 12:00 am

Re: Overflow with TChart3d

Post by Bert B. » Mon Jul 23, 2012 11:55 am

Hi,

I have already posted my screen shot where I don't see the 'Edit 3D...' button.
Today I ran the application on another computer and noticed that it is using all CPU power of one core. That is also happening on my main development machine.
Can you create a test application with a lot of logging (using OuputDebugString for example)?

Regards,
Bert

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Overflow with TChart3d

Post by Yeray » Fri Jul 27, 2012 2:36 pm

Hello,

We've ran the PieDemo example in several machines and found it seems to behave differently in them, apparently doing the same.
- In some of them, we get this. In this case, if we move the focus to another application (before clicking the "Edit 3D..." button), then we get a completely unresponsive application, like here.
- In others, we get a StackOverflow if the mouse is over the chart when the form is trying to be shown. If the mouse is far from it, nothing is show (no form, no error) but we see the application executing in the Task Manager, and ending the execution without any intervention.

We are still investigating this.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply