Good day
I have a perplexing problem and am hoping that somebody may be able to suggest what I should look for to solve the issue. Essentially, when I load a form which contains a TeeChart, the program crashes with an Access Violation error.
The program is written using Delphi XE8 Pro and TeeChart v2015.15 (full version) and runs as a 32-bit program on a windows 7 64-bit machine. The form is a web interface which utilises Intraweb 14, hence utilises the IWChart component too. If I delete the TeeChart component from the form (only this one component), then everything runs fine. As soon as I add it, the access violation occurs during form creation. I have other forms containing IWChart and TeeChart components in the same program, which all load and run just fine so it does not appear to be anything incorrect in my Delphi/Intraweb/Teechart software installation.
I have madexcept and get a stack trace (see below) but can not see anything obvious to explain what is happening.
Any suggestions or guidance would be much appreciated.
Thanks
Bruce
Error details:
Exception message : Access violation at address 00790BCA in module 'StratDB.exe'. Read of address 00000000
Exception class : EAccessViolation
Exception address : 00790BCA
Exception Time : 2015-10-06 09:50:07.701
------------------------------------------------------------------------------------------------------------------------
Application Name : StratDB.exe
Application Version: 2.0.0.620
Started at : 2015-10-06 09:49:50.679
Running for : 17 seconds
Computer Name : EGLINGTON
Compiler Version : 290
------------------------------------------------------------------------------------------------------------------------
IntraWeb Version : 14.0.44
Multi-session : False
Content Path : C:\EXE32\wwwroot\
Session count : 1
Application Path : C:\EXE32\
Active Form : [unassigned]
Active Form list :
Form list : [1] dmUser (TdmUser)
[2] dmStrat (TdmStrat)
[3] dmDV (TdmDV)
[4] dmOpt (TdmOpt)
[5] dmStratC (TdmStratC)
[6] dmLIP (TdmLIP)
[7] dmStratD (TdmStratD)
[8] dmReplicate (TdmReplicate)
[9] ISFMain_1 (TISFMain)
[10] ISFGridGrainProbabilityUnits (TISFGridGrainProbabilityUnits)
Browser Name : Firefox
Browser UserAgent : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
Session ID : QOjVM2Mn40stZzXiunBG3a
Last Access : 2015-10-06 09:50:06.852
Callback : False
Client IP address : 127.0.0.1
Request PathInfo : /$/
Request Method : POST
Runtime parameters :
------------------------------------------------------------------------------------------------------------------------
00790bca StratDB.exe IWApplication TIWApplication.ShowMessage
00791472 StratDB.exe IWApplication TIWApplication.HandleExecuteFormError
0079136b StratDB.exe IWApplication TIWApplication.ExecuteActiveForm
77df012e ntdll.dll KiUserExceptionDispatcher
005eb914 StratDB.exe Vcl.Controls TControl.Notification
0054cf9d StratDB.exe System.Classes {System.Generics.Collections}TList<System.Classes.TComponent>.InternalNotify
004bdb43 StratDB.exe System.Generics.Collections TListHelper.InternalDoDelete4
004bc793 StratDB.exe System.Generics.Collections TListHelper.DoRemoveFwd4
00543b5a StratDB.exe System.Classes TComponent.Remove
0040ec28 StratDB.exe System 17 @IntfClear
0040c4c8 StratDB.exe System 17 @FinalizeArray
0040c3b8 StratDB.exe System 17 @FinalizeRecord
004b01b5 StratDB.exe madExcept InterceptClassDestroy
0054d1eb StratDB.exe System.Classes {System.Generics.Collections}TList<System.Classes.TComponent>.Destroy
00408b50 StratDB.exe System 17 TObject.Free
00543b97 StratDB.exe System.Classes TComponent.Remove
00409265 StratDB.exe System 17 @BeforeDestruction
00408b50 StratDB.exe System 17 TObject.Free
00f7ea4e StratDB.exe VCLTee.TeeProcs 7411 TeeReadStringOption
0053626d StratDB.exe System.Classes CreateComponent
00536498 StratDB.exe System.Classes TReader.ReadComponent
0053676d StratDB.exe System.Classes TReader.ReadDataInner
005366db StratDB.exe System.Classes TReader.ReadData
00543fad StratDB.exe System.Classes TComponent.ReadState
005eb85f StratDB.exe Vcl.Controls TControl.ReadState
005f0009 StratDB.exe Vcl.Controls TWinControl.ReadState
0053652f StratDB.exe System.Classes TReader.ReadComponent
0053676d StratDB.exe System.Classes TReader.ReadDataInner
005366ac StratDB.exe System.Classes TReader.ReadData
00543fad StratDB.exe System.Classes TComponent.ReadState
005eb85f StratDB.exe Vcl.Controls TControl.ReadState
005f0009 StratDB.exe Vcl.Controls TWinControl.ReadState
0053765d StratDB.exe System.Classes TReader.ReadRootComponent
005317ea StratDB.exe System.Classes TStream.ReadComponent
005291ef StratDB.exe System.Classes InternalReadComponentRes
0052a8ff StratDB.exe System.Classes InitComponent
0052a98d StratDB.exe System.Classes InitInheritedComponent
00787637 StratDB.exe IWBaseForm TIWBaseForm.Create
00761dbe StratDB.exe IWForm TIWForm.Create
0102360e StratDB.exe IWStrat_definequery2 256 TISFDefineQuery2.iwbSubmitQueryClick
006f8b7d StratDB.exe IWBaseControl TIWBaseControl.DoClick
006f9d73 StratDB.exe IWCompButton TIWButton.Submit
007665a1 StratDB.exe IWForm TIWForm.DoExecuteForm
00787bf4 StratDB.exe IWBaseForm TIWBaseForm.ExecuteForm
007912f7 StratDB.exe IWApplication TIWApplication.ExecuteActiveForm
007911ca StratDB.exe IWApplication TIWApplication.ProcessForm
007f86ca StratDB.exe IWServerSession TIWServerSession.ExecuteForm
007f8084 StratDB.exe IWServerSession TIWServerSession.ExecuteSession
007f3d51 StratDB.exe IWServer TIWServer.ExecuteUrl
007f41e4 StratDB.exe IWServer TIWServer.Execute
007f49cf StratDB.exe IWServerSession HttpExecute
0080efb4 StratDB.exe IW.Server.HTTPIndy THTTPServerIndy.DoCommandGet
007eeafd StratDB.exe InCustomHTTPServer TInCustomHTTPServer.DoExecute
007c4773 StratDB.exe InContext TInContext.Run
007c330e StratDB.exe InTask TInTask.DoRun
007dae8a StratDB.exe InThread TInThreadWithTask.Run
007da835 StratDB.exe InThread TInThread.Execute
004b04f3 StratDB.exe madExcept HookedTThreadExecute
00542251 StratDB.exe System.Classes ThreadProc
0040a894 StratDB.exe System 17 ThreadWrapper
004b03d9 StratDB.exe madExcept CallThreadProcSafe
004b043e StratDB.exe madExcept ThreadExceptFrame
758c3368 kernel32.dll BaseThreadInitThunk
Access violation when loading form with TeeChart
-
- Newbie
- Posts: 2
- Joined: Wed Jul 01, 2015 12:00 am
Re: Access violation when loading form with TeeChart
Hi Bruce,
If so, please try to simplify that chart in the new win32 application to the minimum so we can see what exact property or combination makes it crash, if any.
Have you tried to move that chart to a new win32 application to see if the problem is also reproducible there?BruceEglington wrote:The program is written using Delphi XE8 Pro and TeeChart v2015.15 (full version) and runs as a 32-bit program on a windows 7 64-bit machine. The form is a web interface which utilises Intraweb 14, hence utilises the IWChart component too. If I delete the TeeChart component from the form (only this one component), then everything runs fine. As soon as I add it, the access violation occurs during form creation. I have other forms containing IWChart and TeeChart components in the same program, which all load and run just fine so it does not appear to be anything incorrect in my Delphi/Intraweb/Teechart software installation.
If so, please try to simplify that chart in the new win32 application to the minimum so we can see what exact property or combination makes it crash, if any.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |