Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Debugger/Execution    [ Add a report in this area ]  
Report #:  133361   Status: Reported
[Win64] Fatal error starting debugger kernel: Invalid debugger request
Project:  Delphi Build #:  9200
Version:    16.4 Submitted By:   Thiago Rangel
Report Type:  Crash / Data loss / Total failure Date Reported:  8/31/2015 2:12:37 PM
Severity:    Critical / Show Stopper Last Updated: 8/31/2015 7:51:03 PM
Platform:    64 Bit Internal Tracking #:  
Resolution: None  Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: (2 Total Ratings)
5.00 out of 5
Total Votes: 6
Description
I have recently migrated from Windows 7 to Windows 10, along with my copy of Delphi XE2.

The 64 debugger (Win7, XE2 Update 4) was working fine, but now (Win10, XE2, Update 4, HotFix 1) it invariably crashes with the following messages:

Error message 1:
disconnected session

Error message 2:
Fatal error starting debugger kernel: 'Invalid debugger request': Please save your work and restart Delphi XE2

After the crash, Delphi does not even close. It asks for Terminating or Detaching the debug session, but both fail and Delphi must be forcibly ended.

I have disabled Windows FireWall, Windows Defender and Windows OneDrive. I have opened Delphi as Administrator. Nothing seems to resolve the problem.

Win32 debugger is working just fine.


Error details:

[20372E20]{dbkdebugide160.bpl} Debug.TDebugKernel.msgBox (Line 5902, "Debug.pas" + 30) + $0
[18DF6EB3]{bordbk160.dll} Unknown function at DllUnregisterServer + $5037
[18E6B8A8]{bordbk160.dll} Unknown function at @isDbkLoggingOn$qv + $619D0
[18E6B927]{bordbk160.dll} Unknown function at @isDbkLoggingOn$qv + $61A4F
[18E6C36D]{bordbk160.dll} Unknown function at @isDbkLoggingOn$qv + $62495
[18E6C5BD]{bordbk160.dll} Unknown function at @isDbkLoggingOn$qv + $626E5
[18E9C3E3]{bordbk160.dll} Unknown function at @isDbkLoggingOn$qv + $9250B
[18E09D72]{bordbk160.dll} Unknown function at DllUnregisterServer + $17EF6
[18E9CEE2]{bordbk160.dll} Unknown function at @isDbkLoggingOn$qv + $9300A
[18E9CBFB]{bordbk160.dll} Unknown function at @isDbkLoggingOn$qv + $92D23
[18E9CAD6]{bordbk160.dll} Unknown function at @isDbkLoggingOn$qv + $92BFE
[18E9C19A]{bordbk160.dll} Unknown function at @isDbkLoggingOn$qv + $922C2
[18E6C7FC]{bordbk160.dll} Unknown function at @isDbkLoggingOn$qv + $62924
[18E6CCCE]{bordbk160.dll} Unknown function at @isDbkLoggingOn$qv + $62DF6
[18E8DA44]{bordbk160.dll} Unknown function at @isDbkLoggingOn$qv + $83B6C
[18E15E88]{bordbk160.dll} Unknown function at @isDbkLoggingOn$qv + $BFB0
[18EAF92B]{bordbk160.dll} Unknown function at @isDbkLoggingOn$qv + $A5A53
[18EA215A]{bordbk160.dll} Unknown function at @isDbkLoggingOn$qv + $98282
[18EA2AB4]{bordbk160.dll} Unknown function at @isDbkLoggingOn$qv + $98BDC
[18EA2043]{bordbk160.dll} Unknown function at @isDbkLoggingOn$qv + $9816B
[18EA19A9]{bordbk160.dll} Unknown function at @isDbkLoggingOn$qv + $97AD1
[18DF7CAE]{bordbk160.dll} Unknown function at DllUnregisterServer + $5E32
[20371B1B]{dbkdebugide160.bpl} Debug.TDebugKernel.CreateProcess (Line 5427, "Debug.pas" + 17) + $63
[2037F6AD]{dbkdebugide160.bpl} Debug.TDebugger.DoCreateProcess (Line 11628, "Debug.pas" + 74) + $3C
[2037F820]{dbkdebugide160.bpl} Debug.TDebugger.CreateProcess (Line 11655, "Debug.pas" + 6) + $2F
[20380373]{dbkdebugide160.bpl} Debug.TDebugger.Run (Line 12064, "Debug.pas" + 23) + $33
[20380DEA]{dbkdebugide160.bpl} Debug.TDebugger.Run (Line 12389, "Debug.pas" + 129) + $43
[2037B003]{dbkdebugide160.bpl} Debug.TDebugger.RunToCursor (Line 10053, "Debug.pas" + 4) + $4
[2078CB26]{coreide160.bpl} DebuggerMgr.TDebuggerMgr.RunToCursor (Line 2046, "DebuggerMgr.pas" + 2) + $B
[0041FE23]{bds.exe     } Sanctuary.Util..TUserInfo (Line 13, "Sanctuary.Util.pas" + 0) + $64B
[500B5B97]{rtl160.bpl  } System.Classes.TBasicAction.Execute (Line 13372, "System.Classes.pas" + 3) + $7
[5031B86D]{vcl160.bpl  } Vcl.ActnList.TContainedAction.Execute (Line 448, "Vcl.ActnList.pas" + 8) + $2C
[5031C658]{vcl160.bpl  } Vcl.ActnList.TCustomAction.Execute (Line 1094, "Vcl.ActnList.pas" + 7) + $8
[0041B8D0]{bds.exe     } AppMain.TIDEVCLApplication.UsesProxy (Line 7318, "AppMain.pas" + 0) + $0
[0041B3BD]{bds.exe     } AppMain.TDebugXPStyleMenuItem.DrawItemName (Line 7190, "AppMain.pas" + 4) + $5
[2073BA1E]{coreide160.bpl} EditorForm.TEditWindow.CMWindowCommand (Line 3135, "EditorForm.pas" + 16) + $9
[50332995]{vcl160.bpl  } Vcl.Controls.TControl.WndProc (Line 7204, "Vcl.Controls.pas" + 91) + $6
[503372F3]{vcl160.bpl  } Vcl.Controls.TWinControl.WndProc (Line 9976, "Vcl.Controls.pas" + 152) + $6
[5003D50F]{rtl160.bpl  } System.TMonitor.TryEnter (Line 14790, "System.pas" + 10) + $0
[5003D078]{rtl160.bpl  } System.TMonitor.Enter (Line 14489, "System.pas" + 4) + $2
[5003CF1C]{rtl160.bpl  } System.TMonitor.CheckOwningThread (Line 14411, "System.pas" + 2) + $0
[5003D222]{rtl160.bpl  } System.TMonitor.Exit (Line 14600, "System.pas" + 9) + $7
[5003D25B]{rtl160.bpl  } System.TMonitor.Exit (Line 14614, "System.pas" + 2) + $7
[50313723]{vcl160.bpl  } Vcl.Graphics.FreeMemoryContexts (Line 7043, "Vcl.Graphics.pas" + 12) + $8
[50336948]{vcl160.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 9689, "Vcl.Controls.pas" + 3) + $6
[5033695D]{vcl160.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 9692, "Vcl.Controls.pas" + 6) + $0
[500B688C]{rtl160.bpl  } System.Classes.StdWndProc (Line 13878, "System.Classes.pas" + 8) + $0
[503372F3]{vcl160.bpl  } Vcl.Controls.TWinControl.WndProc (Line 9976, "Vcl.Controls.pas" + 152) + $6
[5044A021]{vcl160.bpl  } Vcl.Forms.TCustomForm.WndProc (Line 4344, "Vcl.Forms.pas" + 201) + $5
[50336948]{vcl160.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 9689, "Vcl.Controls.pas" + 3) + $6
[500B688C]{rtl160.bpl  } System.Classes.StdWndProc (Line 13878, "System.Classes.pas" + 8) + $0
[50453213]{vcl160.bpl  } Vcl.Forms.TApplication.ProcessMessage (Line 10164, "Vcl.Forms.pas" + 23) + $1
[50453256]{vcl160.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 10194, "Vcl.Forms.pas" + 1) + $4
[50453595]{vcl160.bpl  } Vcl.Forms.TApplication.Run (Line 10332, "Vcl.Forms.pas" + 26) + $3
Steps to Reproduce:
Create a console application and input any code. Hit F4 on any executable line.

Example:



program Test;

{$APPTYPE CONSOLE}

{$R *.res}

uses
  System.SysUtils;

var
  i: Integer;

begin
  try
    i:= 0;
  except
    on E: Exception do
      Writeln(E.ClassName, ': ', E.Message);
  end;
end.
Workarounds
None
Attachment
None
Comments

None

Server Response from: ETNACODE01