RAD XE3 Update 2 - IDE crash

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
fulvion
Posts: 18
Joined: Fri 06 Oct 2006 09:47

RAD XE3 Update 2 - IDE crash

Post by fulvion » Thu 23 May 2013 12:35

hello,
i've just installed rad studio xe3 update 2 in a clean machine with Win7 64bit professional.

After the installation of dbexpress for sql V6.1.2, everytime i add a TBindSourceDB component in a form or data module an access violation is raised and it is not possibile to edit the control's properties at design time.
This has never been happened before.

i found that a new version is available (6.2.3) so i updated the installation and things are starting to work. now i obtain random access violations when i try to use that component. sometimes it works some other times AVs are raised.
here's the error code and stack trace. I opened a ticket in QC but they're pretty sure the problem is the third-party plugin. i found it really strange that no one has experienced this issue before.

thanks in advance. i really hope someone can point me to the right direction because i'm totally stuck in a project upgrade.

Error:
Access violation at address 5005F8E6 in module 'rtl170.bpl'. Read of address C7CFC2FE.

Stack trace:
[5005F8E6]{rtl170.bpl } System.TObject.InheritsFrom (Line 15697, "System.pas" + 2) + $0
[5005FBD5]{rtl170.bpl } System.@AfterConstruction (Line 16279, "System.pas" + 2) + $5
[5005A313]{rtl170.bpl } System.@ReallocMem (Line 4395, "System.pas" + 91) + $0
[50064B78]{rtl170.bpl } System.DynArraySetLength (Line 31914, "System.pas" + 84) + $13
[500639F8]{rtl170.bpl } System.@FinalizeArray (Line 29404, "System.pas" + 139) + $0
[5005A2C0]{rtl170.bpl } System.@FreeMem (Line 4251, "System.pas" + 20) + $0
[50064D6D]{rtl170.bpl } System.@DynArrayClear (Line 32152, "System.pas" + 45) + $0
[50066478]{rtl170.bpl } System.@IntfClear (Line 33593, "System.pas" + 10) + $0
[500639F8]{rtl170.bpl } System.@FinalizeArray (Line 29404, "System.pas" + 139) + $0
[500638E8]{rtl170.bpl } System.@FinalizeRecord (Line 29105, "System.pas" + 25) + $0
[5005A2C0]{rtl170.bpl } System.@FreeMem (Line 4251, "System.pas" + 20) + $0
[5005FE71]{rtl170.bpl } System.TMonitor.Destroy (Line 16504, "System.pas" + 3) + $2
[5005FE49]{rtl170.bpl } System.TMonitor.Destroy (Line 16496, "System.pas" + 5) + $2
[5005F4EB]{rtl170.bpl } System.TObject.CleanupInstance (Line 15167, "System.pas" + 24) + $0
[5005FE38]{rtl170.bpl } System.TMonitor.Destroy (Line 16491, "System.pas" + 0) + $0
[5005F4EB]{rtl170.bpl } System.TObject.CleanupInstance (Line 15167, "System.pas" + 24) + $0
[5005A2C0]{rtl170.bpl } System.@FreeMem (Line 4251, "System.pas" + 20) + $0
[5005F370]{rtl170.bpl } System.TObject.FreeInstance (Line 14978, "System.pas" + 2) + $2
[5005FE38]{rtl170.bpl } System.TMonitor.Destroy (Line 16491, "System.pas" + 0) + $0
[50066478]{rtl170.bpl } System.@IntfClear (Line 33593, "System.pas" + 10) + $0
[5005F57C]{rtl170.bpl } System.TObject.GetInterface (Line 15291, "System.pas" + 8) + $A
[5005F5C5]{rtl170.bpl } System.TObject.GetInterface (Line 15298, "System.pas" + 15) + $10
[50066537]{rtl170.bpl } System.TInterfacedObject.QueryInterface (Line 34347, "System.pas" + 1) + $8
[500664BE]{rtl170.bpl } System.@IntfCast (Line 33715, "System.pas" + 12) + $0
[168602F6]{dclbindcomp170.bpl} BindCompEdit.CreateNavigatorFactory (Line 427, "BindCompEdit.pas" + 2) + $C
[168604B6]{dclbindcomp170.bpl} BindCompEdit.CreateAdapterFactories (Line 489, "BindCompEdit.pas" + 19) + $B
[210F15F3]{designide170.bpl} DesignEditors.TComponentEditor.GetDesigner (Line 2697, "DesignEditors.pas" + 1) + $5
[168FF327]{dclbindcomp170.bpl} BindCompReg.TBaseLinkingBindScopeEditor.GetVerbCount (Line 4855, "BindCompReg.pas" + 0) + $17
[51EEDB96]{vcldesigner170.bpl} VCLSurface.AddComponentVerbs (Line 2684, "VCLSurface.pas" + 5) + $5
[51EEDCE9]{vcldesigner170.bpl} VCLSurface.TVclDesignSurface.BuildLocalMenu (Line 2713, "VCLSurface.pas" + 12) + $1
[21D5A9DC]{delphicoreide170.bpl} PropInspManage.TDesignerPropSelection.GetHotCommandMenuItems (Line 329, "PropInspManage.pas" + 3) + $13
[21D5BC87]{delphicoreide170.bpl} PropInspManage.TDesignerPropSelection.UpdateHotCommands (Line 688, "PropInspManage.pas" + 2) + $8
[21D5B565]{delphicoreide170.bpl} PropInspManage.TDesignerPropSelection.SelectionChanged (Line 586, "PropInspManage.pas" + 6) + $2
[2111D9AF]{designide170.bpl} ComponentDesigner.DesignNotificationSelectionChanged (Line 8250, "ComponentDesigner.pas" + 5) + $A
[2111909C]{designide170.bpl} ComponentDesigner.TComponentDesigner.SetSelection (Line 6439, "ComponentDesigner.pas" + 20) + $5
[21119632]{designide170.bpl} ComponentDesigner.TComponentDesigner.UpdateSelections (Line 6507, "ComponentDesigner.pas" + 19) + $C
[21118DB9]{designide170.bpl} ComponentDesigner.TComponentDesigner.RootActivated (Line 6359, "ComponentDesigner.pas" + 5) + $2
[51EFE6FE]{vcldesigner170.bpl} VCLFormDesigner.TVCLRootDesigner.Activate (Line 341, "VCLFormDesigner.pas" + 4) + $1E
[51EEFCC2]{vcldesigner170.bpl} VCLSurface.TVclDesignSurface.IsDesignMsg (Line 3513, "VCLSurface.pas" + 114) + $A
[50420B8E]{vcl170.bpl } Vcl.Controls.TControl.ScreenToClient (Line 5877, "Vcl.Controls.pas" + 1) + $6
[5005F73E]{rtl170.bpl } System.@IsClass (Line 15406, "System.pas" + 1) + $8
[50422703]{vcl170.bpl } Vcl.Controls.TControl.WndProc (Line 7137, "Vcl.Controls.pas" + 4) + $21
[50427411]{vcl170.bpl } Vcl.Controls.TWinControl.WndProc (Line 10039, "Vcl.Controls.pas" + 153) + $6
[505447A5]{vcl170.bpl } Vcl.Forms.TCustomForm.WndProc (Line 4372, "Vcl.Forms.pas" + 201) + $5
[51EF846F]{vcldesigner170.bpl} VCLFormContainer.TControlSizer.ControlWndProc (Line 311, "VCLFormContainer.pas" + 33) + $C
[50426A54]{vcl170.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 9751, "Vcl.Controls.pas" + 3) + $6
[5015BE38]{rtl170.bpl } System.Classes.StdWndProc (Line 16892, "System.Classes.pas" + 9) + $2
[51EEB2A3]{vcldesigner170.bpl} VCLSurface.TDesignerToolWindow.WndProc (Line 1559, "VCLSurface.pas" + 12) + $D
[51EEB412]{vcldesigner170.bpl} VCLSurface.TComponentToolWindow.WndProc (Line 1607, "VCLSurface.pas" + 20) + $4
[51EEBEAB]{vcldesigner170.bpl} VCLSurface.TContainer.WndProc (Line 1903, "VCLSurface.pas" + 39) + $6
[0C680A1A]{AQtime7BDS10.bpl} Aqdockutils.ShowDockForm + $302
[51EEB22B]{vcldesigner170.bpl} VCLSurface.TDesignerToolWindow.MainWndProc (Line 1538, "VCLSurface.pas" + 2) + $7
[5015BE38]{rtl170.bpl } System.Classes.StdWndProc (Line 16892, "System.Classes.pas" + 9) + $2
[5054D907]{vcl170.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 10191, "Vcl.Forms.pas" + 6) + $9
[5054D9F2]{vcl170.bpl } Vcl.Forms.TApplication.HandleMessage (Line 10238, "Vcl.Forms.pas" + 1) + $4
[5054DD2D]{vcl170.bpl } Vcl.Forms.TApplication.Run (Line 10376, "Vcl.Forms.pas" + 26) + $3

AndreyZ

Re: RAD XE3 Update 2 - IDE crash

Post by AndreyZ » Thu 23 May 2013 13:35

Hello,

Please try the following:
- close RAD Studio XE3;
- uninstall dbExpress driver for SQL Server;
- remove all dbexpsda*.dll and DBXDevartSQLServerDriver*.bpl files from your computer;
- remove *.dcu files from your project;
- install dbExpress driver for SQL Server 6.2.3.
Does the problem with random AVs persist? If yes, please try using the standard dbExpress driver for SQL Server supplied with RAD Studio XE3. Can you reproduce the problem with it?

fulvion
Posts: 18
Joined: Fri 06 Oct 2006 09:47

Re: RAD XE3 Update 2 - IDE crash

Post by fulvion » Thu 23 May 2013 15:03

Hi AndreyZ and thanks for your reply.

i unistalled and cleaned my pc from sql server driver. i cleaned the debug folder from any compiled object (it's a c++ project) and reinstalled devart driver.

now any project i open raises an AV as soon as i select the bindsource component.

good news:
it seems that once the problem has arised once, the ide in not able to recover. if i restart the ide and i create a new project it seems to work correctly.
now i'm checking if the new project remains stable across multiple reopens and changes.

i'll report to this thread as soon as i have other news.
what makes me doubtful is that the problem appears only at design time. At runtime everything is ok.

AndreyZ

Re: RAD XE3 Update 2 - IDE crash

Post by AndreyZ » Fri 24 May 2013 06:07

The situation you described cannot be caused by our dbExpress driver for SQL Server. Many of our users complained about C++Builder XE3 Update 2. So, we can say that C++Builder XE3 Update 2 is not very stable. You should consult about this problem with the Embarcadero support.

fulvion
Posts: 18
Joined: Fri 06 Oct 2006 09:47

Re: RAD XE3 Update 2 - IDE crash

Post by fulvion » Thu 11 Jul 2013 09:46

just to confirm that with RAD XE4 the problem does not appear anymore.
embarcadero has upgraded our license to XE4 for free. i don't know if this is a silent confirm of your previous post.

anyway thanks for your support.
F

AndreyZ

Re: RAD XE3 Update 2 - IDE crash

Post by AndreyZ » Thu 11 Jul 2013 13:04

I am always glad to help. If you have any other questions, please do not hesitate to contact us.

Post Reply