View Issue Details

IDProjectCategoryView StatusLast Update
0006661JEDI VCL00 JVCL Componentspublic2020-05-18 22:55
ReporteravdamAssigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status feedbackResolutionreopened 
Product VersionDaily / GIT 
Target VersionFixed in VersionDaily / GIT 
Summary0006661: AV in an expert of the JCL
DescriptionThe default setting "Insert JDBG data into the binary" is : "Disabled by default"

When I select the JCL Debug expert to insert debug data into 1 project I get the Access violation. I use Delphi 10 Seatlle Windows on a Windows 10 Enterprise machine (version 1803 OS build 17134.523)

Additional question how can I select the setting to include the JDBG Data into the binary in an automated build ?
Additional InformationException class name: EAccessViolation
Exception message: Access violation at address 21EECE3F in module 'delphicoreide230.bpl'. Read of address 00000044
(0017AFE8){Jcl230.bpl } [4817BFE8] Jcldebug.TJclStackInfoList + $A8
(0017AC0E){Jcl230.bpl } [4817BC0E] Jcldebug.JclCreateStackList + $1A
(00003D47){JclBaseExpert230.bpl} [58004D47] Jclotaexceptionform.TJclExpertExceptionForm.ShowException + $13B
(0000ADC3){JclBaseExpert230.bpl} [5800BDC3] Jclotautils.JclExpertShowExceptionDialog + $33
(00006828){JclDebugExpert230.bpl} [18137828] Jcldebugideimpl.TJclDebugExtension.InsertJdbgSubMenuClick + $84
(0018BE3A){delphicoreide230.bpl} [21EECE3A] EditorStructuralHighlight.TStructuralHighlighter.EvQuery (Line 363, "EditorStructuralHighlight.pas" + 0) + $E
(00172514){vcl230.bpl } [50AD3514] Vcl.Forms.TCustomForm.WndProc (Line 4459, "Vcl.Forms.pas" + 206) + $5
(00031E38){vcl230.bpl } [50992E38] Vcl.Controls.TControl.Perform (Line 7027, "Vcl.Controls.pas" + 10) + $8
(0017D78F){vcl230.bpl } [50ADE78F] Vcl.Forms.TApplication.DispatchAction (Line 11642, "Vcl.Forms.pas" + 2) + $D
(002FBFD4){coreide230.bpl} [2077CFD4] EditorBuffer.FindEditWindowAndView (Line 6097, "EditorBuffer.pas" + 28) + $11
(002FC0B1){coreide230.bpl} [2077D0B1] EditorBuffer.FindEditWindow (Line 6127, "EditorBuffer.pas" + 1) + $2
(0018BE3A){delphicoreide230.bpl} [21EECE3A] EditorStructuralHighlight.TStructuralHighlighter.EvQuery (Line 363, "EditorStructuralHighlight.pas" + 0) + $E
(002FB53F){coreide230.bpl} [2077C53F] EditorBuffer.TEvQueryEditEvent.Send (Line 5837, "EditorBuffer.pas" + 3) + $6
(002F4C53){coreide230.bpl} [20775C53] EditorBuffer.QueryEventHandler (Line 2323, "EditorBuffer.pas" + 1) + $9
(002CDBE2){coreide230.bpl} [2074EBE2] EdProcs.SafeEkEval (Line 361, "EdProcs.pas" + 2) + $4
(002CC4DC){coreide230.bpl} [2074D4DC] EdKrnl.EkEval (Line 3556, "EdKrnl.pas" + 0) + $0
(002CB647){coreide230.bpl} [2074C647] EdKrnl.InsertBlock (Line 2076, "EdKrnl.pas" + 7) + $0
(002F38C6){coreide230.bpl} [207748C6] EditorBuffer.TEditWriter.Insert (Line 1684, "EditorBuffer.pas" + 13) + $5
(0000B94C){JclBaseExpert230.bpl} [5800C94C] Jclotautils.SetProjectProperties + $2AC
(00006C70){JclDebugExpert230.bpl} [18137C70] Jcldebugideimpl.TJclDebugExtension.SetProjectState + $164
(000067FB){JclDebugExpert230.bpl} [181377FB] Jcldebugideimpl.TJclDebugExtension.InsertJdbgSubMenuClick + $57
(001204B7){rtl230.bpl } [501714B7] System.Classes.TBasicAction.Execute (Line 16382, "System.Classes.pas" + 3) + $7
(0001B6FA){vcl230.bpl } [5097C6FA] Vcl.ActnList.TCustomAction.Execute (Line 259, "Vcl.ActnList.pas" + 19) + $35
(0012030F){rtl230.bpl } [5017130F] System.Classes.TBasicActionLink.Execute (Line 16293, "System.Classes.pas" + 2) + $7
(0002411D){vclactnband230.bpl} [2198511D] Vcl.ActnMenus.TCustomActionMenuBar.ExecAction (Line 1077, "Vcl.ActnMenus.pas" + 6) + $D
(000259C0){vclactnband230.bpl} [219869C0] Vcl.ActnMenus.TCustomActionMenuBar.TrackMenu (Line 1843, "Vcl.ActnMenus.pas" + 19) + $15
(000293DA){vclactnband230.bpl} [2198A3DA] Vcl.ActnMenus.TCustomActionMainMenuBar.TrackMenu (Line 3637, "Vcl.ActnMenus.pas" + 5) + $3
(00023CC8){vclactnband230.bpl} [21984CC8] Vcl.ActnMenus.TCustomActionMenuBar.CMItemClicked (Line 955, "Vcl.ActnMenus.pas" + 2) + $11
(00023CD1){vclactnband230.bpl} [21984CD1] Vcl.ActnMenus.TCustomActionMenuBar.CMItemClicked (Line 956, "Vcl.ActnMenus.pas" + 3) + $4
(000321FD){vcl230.bpl } [509931FD] Vcl.Controls.TControl.WndProc (Line 7249, "Vcl.Controls.pas" + 91) + $6
(00031E38){vcl230.bpl } [50992E38] Vcl.Controls.TControl.Perform (Line 7027, "Vcl.Controls.pas" + 10) + $8
(00036452){vcl230.bpl } [50997452] Vcl.Controls.GetControlAtPos (Line 9809, "Vcl.Controls.pas" + 4) + $75
(00036BE5){vcl230.bpl } [50997BE5] Vcl.Controls.TWinControl.WndProc (Line 10031, "Vcl.Controls.pas" + 110) + $1D
(00036D3D){vcl230.bpl } [50997D3D] Vcl.Controls.TWinControl.WndProc (Line 10079, "Vcl.Controls.pas" + 158) + $6
(0000F708){rtl230.bpl } [50060708] System.TMonitor.TryEnter (Line 18154, "System.pas" + 10) + $0
(0000F288){rtl230.bpl } [50060288] System.TMonitor.Enter (Line 17847, "System.pas" + 4) + $2
(0000F10C){rtl230.bpl } [5006010C] System.TMonitor.CheckOwningThread (Line 17765, "System.pas" + 2) + $0
(0000F416){rtl230.bpl } [50060416] System.TMonitor.Exit (Line 17951, "System.pas" + 1) + $2
(00025AD6){vclactnband230.bpl} [21986AD6] Vcl.ActnMenus.TCustomActionMenuBar.WndProc (Line 1882, "Vcl.ActnMenus.pas" + 25) + $4
(0003635C){vcl230.bpl } [5099735C] Vcl.Controls.TWinControl.MainWndProc (Line 9786, "Vcl.Controls.pas" + 3) + $6
(00121214){rtl230.bpl } [50172214] System.Classes.StdWndProc (Line 16886, "System.Classes.pas" + 8) + $0
(0017BB6F){vcl230.bpl } [50ADCB6F] Vcl.Forms.TApplication.ProcessMessage (Line 10443, "Vcl.Forms.pas" + 23) + $1
(0017BBB2){vcl230.bpl } [50ADCBB2] Vcl.Forms.TApplication.HandleMessage (Line 10473, "Vcl.Forms.pas" + 1) + $4
(0017BEE5){vcl230.bpl } [50ADCEE5] Vcl.Forms.TApplication.Run (Line 10611, "Vcl.Forms.pas" + 26) + $3
TagsNo tags attached.

Activities

obones

2020-05-18 22:55

administrator   ~0021877

With today's GIT content, I'm not seeing the AV you are getting, could it be that you are missing an update on Delphi Seattle?

Also, to reproduce the JDBG management inside an automated build, please use the MakeJclDbg command line tool that you can compile using this file:
\jcl\jcl\examples\windows\debug\tools\MakeJclDbg.dpr

Issue History

Date Modified Username Field Change
2019-02-04 12:21 avdam New Issue
2020-05-18 22:39 obones Assigned To => obones
2020-05-18 22:39 obones Status new => resolved
2020-05-18 22:39 obones Resolution open => fixed
2020-05-18 22:39 obones Fixed in Version => Daily / GIT
2020-05-18 22:39 obones Assigned To obones =>
2020-05-18 22:39 obones Status resolved => new
2020-05-18 22:39 obones Resolution fixed => reopened
2020-05-18 22:55 obones Status new => feedback
2020-05-18 22:55 obones Note Added: 0021877