Endless stream of access violations with DI 6.2.0.1028

DocInsight is unusable for me. I end up with an infinite cascade of access violations forcing me to force-quit RAD Studio and lose recent work. The errors included:

[5C85354A]{DocInsight370.dll} Unknown function at DllInstall + $17E256
[5C852690]{DocInsight370.dll} Unknown function at DllInstall + $17D39C
[5C84B21A]{DocInsight370.dll} Unknown function at DllInstall + $175F26
[5C84B2C5]{DocInsight370.dll} Unknown function at DllInstall + $175FD1
[5C84AFEB]{DocInsight370.dll} Unknown function at DllInstall + $175CF7
[5C84B01F]{DocInsight370.dll} Unknown function at DllInstall + $175D2B
[5C84B069]{DocInsight370.dll} Unknown function at DllInstall + $175D75
[6C791817]{vcl370.bpl } Vcl.ExtCtrls.TTimer.Timer (Line 3264, “Vcl.ExtCtrls.pas” + 1) + $E
[6C7916F7]{vcl370.bpl } Vcl.ExtCtrls.TTimer.WndProc (Line 3222, “Vcl.ExtCtrls.pas” + 4) + $7
[6CC9624C]{rtl370.bpl } System.Classes.StdWndProc (Line 19117, “System.Classes.pas” + 8) + $0
[6C815B8B]{vcl370.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 5137, “Vcl.Forms.pas” + 0) + $E7E6
[6C815BCE]{vcl370.bpl } Vcl.Forms.TApplication.HandleMessage (Line 5137, “Vcl.Forms.pas” + 0) + $E829
[6C815F0D]{vcl370.bpl } Vcl.Forms.TApplication.Run (Line 5137, “Vcl.Forms.pas” + 0) + $EB68
[00572B96]{bds.exe } bds.bds + $DE

[5C84B12D]{DocInsight370.dll} Unknown function at DllInstall + $175E39
[6CB74661]{rtl370.bpl } System.@InitializeRecord (Line 32833, “System.pas” + 64) + $5
[6CB721C9]{rtl370.bpl } System.@Assert (Line 25768, “System.pas” + 2) + $D
[5C84B12D]{DocInsight370.dll} Unknown function at DllInstall + $175E39
[5C84B2C5]{DocInsight370.dll} Unknown function at DllInstall + $175FD1
[6CB78BE0]{rtl370.bpl } System.@IntfClear (Line 39140, “System.pas” + 10) + $0
[5C786BFB]{DocInsight370.dll} Unknown function at DllInstall + $B1907
[5C84AFEB]{DocInsight370.dll} Unknown function at DllInstall + $175CF7
[5C84B01F]{DocInsight370.dll} Unknown function at DllInstall + $175D2B
[5C84BDAD]{DocInsight370.dll} Unknown function at DllInstall + $176AB9
[5C84AD14]{DocInsight370.dll} Unknown function at DllInstall + $175A20
[5C84AF2A]{DocInsight370.dll} Unknown function at DllInstall + $175C36
[6CB751F5]{rtl370.bpl } System.@CopyRecord (Line 34549, “System.pas” + 137) + $0
[6CB75257]{rtl370.bpl } System.@CopyRecord (Line 34597, “System.pas” + 185) + $0
[5C84E144]{DocInsight370.dll} Unknown function at DllInstall + $178E50
[5C84E199]{DocInsight370.dll} Unknown function at DllInstall + $178EA5
[5C84EC97]{DocInsight370.dll} Unknown function at DllInstall + $1799A3
[5C84ECB5]{DocInsight370.dll} Unknown function at DllInstall + $1799C1
[6CC91AFF]{rtl370.bpl } System.Classes.CheckSynchronize (Line 16366, “System.Classes.pas” + 34) + $A
[6C816A08]{vcl370.bpl } Vcl.Forms.TApplication.DoActionIdle (Line 5137, “Vcl.Forms.pas” + 0) + $F663
[6C816BF6]{vcl370.bpl } Vcl.Forms.TApplication.Idle (Line 5137, “Vcl.Forms.pas” + 0) + $F851
[6C815BDB]{vcl370.bpl } Vcl.Forms.TApplication.HandleMessage (Line 5137, “Vcl.Forms.pas” + 0) + $E836
[6C815F0D]{vcl370.bpl } Vcl.Forms.TApplication.Run (Line 5137, “Vcl.Forms.pas” + 0) + $EB68
[00572B96]{bds.exe } bds.bds + $DE

I’m very sorry to hear that. What’s your previous usable version? (6.2.0.1027 or 6.1.0.26?)

Is there any possible steps that could help us address the issue? Delphi 13 32 bit or 64-bit IDE? Are you using DocInspector or other DocInsight features?

Thanks!

Unfortunately, it occurs randomly while editing documentation in the IDE. Once it occurs, it is impossible to do anything, as even mouse hovers set off a new exception. I am not sure which version was previously installed. Looking at the errors, maybe it is just a faulty installation with the upgrades? What is the best way to do a clean reinstall? Do I unregister first somehow?

I remember that after the last update and restarting the IDE, Delphi crashed and brought the whole system down, which needed power to be cut off for restarting Windows and storage media to be scanned, but all checked OK.

You can try closing the IDE first, then uninstalling DocInsight to see whether the Delphi IDE works normally without it. If everything looks fine, download a fresh copy and reinstall DocInsight.
DocInsight does not register any system components such as COM objects or type libraries. It only installs plugin DLLs that communicate through the LSP protocol with a separate local process (docinsight.exe).

Regarding your note:

I remember that after the last update and restarting the IDE, Delphi crashed and brought the whole system down, which needed power to be cut off for restarting Windows and storage media to be scanned, but all checked OK.

This kind of situation is quite rare, and it’s not clear how much it is related to DocInsight.

If you had Debug Log enabled, you can check the previous installed version in the docinsight-client.log file. Look for something like:

"serverInfo":{"name":"DocInsight","version":"6.1.0.26"}

DocInsight 6.2 (Build 1027) includes a fix that might be related to what you are experiencing:

Fixed a Delphi IDE freeze that occurred when writing documentation with DocInspector with CnWizards installed.

I am still investigating this issue at the moment.


I uninstalled, rebooted, reinstalled, and rebooted. The now installed version with a build number ending in 1029 appears to be newer. The errors are not occurring anymore. Thanks again.

That’s great. We’ve shifted most of the heavy tasks into a separate process to improve overall stability. We’ll also invest more effort into the IDE extension, since its code is a bit more difficult to test.