Jump to content
Ian Branch

D10.4 - Possible Bug when editing SQL

Recommended Posts

Hi Team,

Having a SQL statement into the SQL of a Query.  When I open it I get the normal String List editor dialog, no issues.

If I then click the 'Code Editor...' button it opens the SQL into the Editor however I immediately get a "Access violation at address 207AF82F in module 'coreide270.bpl'. Read of address 00000000." error message.  No matter what I try to do in the editor the error message keeps popping up.

This is the error trace from the error message..

===============================

[207AF82F]{coreide270.bpl} EditorBuffer.TEditView.DrawPanel (Line 5820, "EditorBuffer.pas" + 59) + $14
[271D2AD8]{EurekaLogCore270.bpl} Especificdelphi.IsCppExceptionCode + $20
[27263606]{EurekaLogCore270.bpl} Eexceptioninfocpp.ECppException + $266
[27266A2C]{EurekaLogCore270.bpl} Eexceptioninfobcb.EBCPPStdException.GetStdException + $184
[27267EDC]{EurekaLogCore270.bpl} Eexceptioninfollvm.EBCPPStdException.GetStdException + $11C
[50060D57]{rtl270.bpl  } System.@HandleAnyException (Line 20743, "System.pas" + 13) + $0
[204719AE]{coreide270.bpl} VirtFile.TExternalFileSystem.GetFilter (Line 237, "VirtFile.pas" + 4) + $2
[204719C3]{coreide270.bpl} VirtFile.TExternalFileSystem.GetFilter (Line 238, "VirtFile.pas" + 5) + $10
[207AF826]{coreide270.bpl} EditorBuffer.TEditView.DrawPanel (Line 5820, "EditorBuffer.pas" + 59) + $B
[207E9022]{coreide270.bpl} EditorForm.TEditWindow.StatusBarDrawPanel (Line 3003, "EditorForm.pas" + 4) + $11
[50D611DF]{vcl270.bpl  } Vcl.ComCtrls.TCustomStatusBar.DrawPanel (Line 7367, "Vcl.ComCtrls.pas" + 2) + $E
[50D8DAB0]{vcl270.bpl  } Vcl.ComCtrls.TStatusBarStyleHook.Paint (Line 33455, "Vcl.ComCtrls.pas" + 122) + $19
[50DF6D8C]{vcl270.bpl  } Vcl.Themes.TStyleHook.WMPaint (Line 7223, "Vcl.Themes.pas" + 18) + $12
[50F4C99F]{vcl270.bpl  } Vcl.Styles.TCustomStyle.SourceLoaded (Line 3310, "Vcl.Styles.pas" + 1) + $13
[50DF7202]{vcl270.bpl  } Vcl.Themes.TStyleHook.WndProc (Line 7394, "Vcl.Themes.pas" + 38) + $6
[50D8DB8C]{vcl270.bpl  } Vcl.ComCtrls.TStatusBarStyleHook.WndProc (Line 33476, "Vcl.ComCtrls.pas" + 0) + $0
[50DF6A26]{vcl270.bpl  } Vcl.Themes.TStyleHook.HandleMessage (Line 7107, "Vcl.Themes.pas" + 20) + $6
[50F4D17E]{vcl270.bpl  } Vcl.Styles.TStyleEngine.HandleMessage (Line 3598, "Vcl.Styles.pas" + 22) + $B
[50DF39C0]{vcl270.bpl  } Vcl.Themes.TStyleManager.HandleMessage (Line 5662, "Vcl.Themes.pas" + 11) + $11
[50CF9FC7]{vcl270.bpl  } Vcl.Controls.TWinControl.DoHandleStyleMessage (Line 9344, "Vcl.Controls.pas" + 0) + $F
[50CFB685]{vcl270.bpl  } Vcl.Controls.TWinControl.WndProc (Line 10256, "Vcl.Controls.pas" + 1) + $4A
[50CFB230]{vcl270.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 10120, "Vcl.Controls.pas" + 3) + $6
[50181184]{rtl270.bpl  } System.Classes.StdWndProc (Line 17989, "System.Classes.pas" + 8) + $0
[5006465D]{rtl270.bpl  } System.@FinalizeArray (Line 33070, "System.pas" + 99) + $3
[12478278]{CnWizards_D104S.DLL} CnSrcEditorMisc.TCnSrcEditorMisc.OnAppMessage (Line 491, "CnSrcEditorMisc.pas" + 67) + $4A
[50E5A71F]{vcl270.bpl  } Vcl.Forms.TApplication.ProcessMessage (Line 11002, "Vcl.Forms.pas" + 23) + $1
[50E5A762]{vcl270.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 11032, "Vcl.Forms.pas" + 1) + $4
[50E5AA95]{vcl270.bpl  } Vcl.Forms.TApplication.Run (Line 11170, "Vcl.Forms.pas" + 26) + $3
[0051E104]{bds.exe     } bds.bds (Line 222, "" + 13) + $2

========================================================

I tried different Query components with the same result.

Can anybody confirm this issue or is it just me?

This doesn't happen with the same components in D10.3.3.

Regards,

Ian 

Share this post


Link to post
46 minutes ago, Ian Branch said:

With a clean D10.4 or with some 3rd party add ons?

Not perfectly clean, but without those mentioned in your call stack.

Share this post


Link to post

It is not even specific to a query, but probably happens with all TStrings properties. I can even reproduce it with a plain TMemo editing its Lines property.

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×