user3702997
user3702997

Reputation: 111

Can't run new project in win64 mode, but win32 mode works fine

I have recently reformatted my computer running Windows 8.1 and re-installed Delphi XE6 which was working fine prior to formatting the computer. Whenever i open up a new project and hit F9 (Windows 64 as target platform) i receive the following error:

Debugger Assertion Failure: "lastErr == WSAEINTR" in ..\win32src\wmcipc.cpp at line 294

Fatal error starting debugger kernel: 'Invalid debugger request'. Please save your work and restart RAD Studio XE6

I downloaded XE7 trial and ran into the same problem. I have done some google search but cannot find a resolution.

I guess there is some user access problem or a program blocking the debugger?

Upvotes: 3

Views: 1762

Answers (1)

dronik
dronik

Reputation: 924

This Question was answered here for the case of malware interfering with your winsock stack:

https://forums.embarcadero.com/thread.jspa?messageID=712725 (dead link, here is a snapshot from December 8th, 2016) [1]

"Open a command prompt as Administrator, and run"

netsh winsock reset

Please note that the original post also states:

This will remove any other winsock LSPs that you have, so you will need to re-install them. (firewalls, security software, etc.)


[1]: Full text of the original post to prevent link rot making it unavailable again (link to the migrated Embarcadero issue and formatting added by me):

There was something about this that was closed in QC#104007, however I wasn't able to find any particular cures listed, but I did manage to find a method of making the debugger work again. This was caused (on my system) by a particularly obnoxious piece of malware that piggyback installed itself. Even after removing the malware, there was still an additional piece of software in the winsock stack, which prevents the 64-bit debugger from starting up. the file LavasoftTcpService64.dll is supposedly perfectly reputable, however I have never installed ad-aware, so it has no business being on my computer. It cannot be easily removed, as doing so will give you wonderful fun with system restore and startup repair. (And on my system, any system restore points which didn't have lavasoft in them were dysfunctional).

However, windows does give a nice tool which can remove it and make your debugger work again.
Open a command prompt as Administrator, and run

netsh winsock reset
After rebooting, your 64-bit debugger should work again.

This will remove any other winsock LSPs that you have, so you will need to re-install them. (firewalls, security software, etc.)

Upvotes: 5

Related Questions