Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Unable to Create Process - 64 bit


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 12 - Last Post: Sep 6, 2016 11:50 AM Last Post By: Andrej Mrvar
Andrej Mrvar

Posts: 99
Registered: 10/20/10
Unable to Create Process - 64 bit  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 13, 2016 10:44 AM
After having problems with Delphi 10.1 Berlin explained in another thread:
"Delphi10.1 using on 125% Win 10 magnification"
I installed also an older version of Delphi - XE8.

Everything is fine except now when compiling and running 64 bit EXE program inside any installed Delphi
(XE6, XE8 or 10.1) Delphi always says:
"Emarcadero Debuger Kernel has stoped working"
and
"Unable to Create process ..."

If I run 64 bit EXE without debugging -> everything is fine.
If I run 64 bit EXE outside Delphi > everything is fine.
If I run 32 bit EXE outside Delphi > everything is also fine.

Anybody experienced the same problem?
Seems like 64 exe file is somehow locked when running with debugging.

Thanks in advance.

Andrej

Edited by: Andrej Mrvar on Jul 13, 2016 10:44 AM
Andrej Mrvar

Posts: 99
Registered: 10/20/10
Re: Unable to Create Process - 64 bit  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 13, 2016 1:18 PM   in response to: Andrej Mrvar in response to: Andrej Mrvar
After restarting computer with Windows update included
running with debug suddenly starts working in all my Delphi versions ;)
Seems that the problem is solved but lets wait what tomorrow brings ;)
Andrej
Andrej Mrvar

Posts: 99
Registered: 10/20/10
Re: Unable to Create Process - 64 bit  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 14, 2016 7:56 AM   in response to: Andrej Mrvar in response to: Andrej Mrvar
Unfortunately problem not solved, today 64 bit debugging again not working.
maybe it has to do with Firewall settings?
A.
Andrej Mrvar

Posts: 99
Registered: 10/20/10
Re: Unable to Create Process - 64 bit  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 14, 2016 7:56 AM   in response to: Andrej Mrvar in response to: Andrej Mrvar
Unfortunately problem not solved, today 64 bit debugging again not working.
maybe it has to do with Firewall settings?
A.
Garnet Pettway

Posts: 33
Registered: 9/29/11
Re: Unable to Create Process - 64 bit  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 24, 2016 1:24 PM   in response to: Andrej Mrvar in response to: Andrej Mrvar
Now I am having this same issue!
Has this been resolve with workaround?

Andrej Mrvar wrote:
After having problems with Delphi 10.1 Berlin explained in another thread:
"Delphi10.1 using on 125% Win 10 magnification"
I installed also an older version of Delphi - XE8.

Everything is fine except now when compiling and running 64 bit EXE program inside any installed Delphi
(XE6, XE8 or 10.1) Delphi always says:
"Emarcadero Debuger Kernel has stoped working"
and
"Unable to Create process ..."

If I run 64 bit EXE without debugging -> everything is fine.
If I run 64 bit EXE outside Delphi > everything is fine.
If I run 32 bit EXE outside Delphi > everything is also fine.

Anybody experienced the same problem?
Seems like 64 exe file is somehow locked when running with debugging.

Thanks in advance.

Andrej

Edited by: Andrej Mrvar on Jul 13, 2016 10:44 AM
Andrej Mrvar

Posts: 99
Registered: 10/20/10
Re: Unable to Create Process - 64 bit  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 24, 2016 1:47 PM   in response to: Garnet Pettway in response to: Garnet Pettway
I was not able to find a solution.

I have to save everything each time I run with debugging ;(
If I forget, and Delphi hangs -> I get really angry....
Jon Robertson

Posts: 254
Registered: 9/22/99
Re: Unable to Create Process - 64 bit  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 29, 2016 6:37 PM   in response to: Andrej Mrvar in response to: Andrej Mrvar
I'm having the same problem with Delphi XE7. I've gone through all of the suggestions that I've found online, such as clean & build, run as admin, turning off AV and Firewall, etc. Nothing helps.

I see the same error that Andrej originally posted. dbkw64_21_0.exe dies with an access violation (exception c0000005). The version number shown for dbkw64_21_0.exe is 210.1408.11.24420. I have no idea how that correlates to the version of the Delphi IDE, which is 21.0.17707.5020.

However, the version and date modified for all three dbkw64_21 files (one EXE and two DLLs) is the same. And date modified matches on bds.exe as well. So I believe everything is the correct version.

Jon
Andrej Mrvar

Posts: 99
Registered: 10/20/10
Re: Unable to Create Process - 64 bit  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 30, 2016 3:13 AM   in response to: Jon Robertson in response to: Jon Robertson
Running with debugging is the basic option that each compiler should provide.
So many people have problems with that in latest Delphi versions.
I would expect that somebody would take this problems seriously and provide solutions to it....
But nothing seems to happen.
If anybody has access to people working on Delphi bug fixing please inform them about this problem.
A.
Hans Dallinga

Posts: 5
Registered: 10/3/13
Re: Unable to Create Process - 64 bit  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 30, 2016 11:34 PM   in response to: Andrej Mrvar in response to: Andrej Mrvar
Andrej Mrvar wrote:
Running with debugging is the basic option that each compiler should provide.
So many people have problems with that in latest Delphi versions.
I would expect that somebody would take this problems seriously and provide solutions to it....
But nothing seems to happen.
If anybody has access to people working on Delphi bug fixing please inform them about this problem.
A.

Hi,

Had the exact same problem with an application requiring elevation (writing to HKLM), added a manifest and ran fine outside Delphi. However as stated here: [http://stackoverflow.com/questions/13065857/cannot-debug-delphi-process-because-of-uac]
When you want to debug you have to run the IDE as admin to be able to debug an application that needs to elevate. This solved it for me.
Andrej Mrvar

Posts: 99
Registered: 10/20/10
Re: Unable to Create Process - 64 bit  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 31, 2016 9:42 AM   in response to: Hans Dallinga in response to: Hans Dallinga
Running Delphi as an administrator:

Right click on Delphi icon / Properties / Advanced / Check "Run ad Administrator"

does not help me.

Or you mean some other way to run IDE as administrator?

A.

Hans Dallinga wrote:
Andrej Mrvar wrote:
Running with debugging is the basic option that each compiler should provide.
So many people have problems with that in latest Delphi versions.
I would expect that somebody would take this problems seriously and provide solutions to it....
But nothing seems to happen.
If anybody has access to people working on Delphi bug fixing please inform them about this problem.
A.

Hi,

Had the exact same problem with an application requiring elevation (writing to HKLM), added a manifest and ran fine outside Delphi. However as stated here: [http://stackoverflow.com/questions/13065857/cannot-debug-delphi-process-because-of-uac]
When you want to debug you have to run the IDE as admin to be able to debug an application that needs to elevate. This solved it for me.
Hans Dallinga

Posts: 5
Registered: 10/3/13
Re: Unable to Create Process - 64 bit  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 1, 2016 12:05 AM   in response to: Andrej Mrvar in response to: Andrej Mrvar
Andrej Mrvar wrote:
Running Delphi as an administrator:

Right click on Delphi icon / Properties / Advanced / Check "Run ad Administrator"

does not help me.

Or you mean some other way to run IDE as administrator?

A.

That's exactly what i did and what i understood from the explanation. Does your application require elevation? Do you have the same problem with a 'hello world' application to 64 bit compilation?
Andrej Mrvar

Posts: 99
Registered: 10/20/10
Re: Unable to Create Process - 64 bit  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 6, 2016 11:50 AM   in response to: Hans Dallinga in response to: Hans Dallinga
That's exactly what i did and what i understood from the explanation. Does your application require elevation?

Sorry, how should I know that?
I am not sure, that I understand this correctly, but my application does not need to be run as administrator, if that is the question.

Actually sometimes running with debugging works fine, but in 90% I think not ;(

Thanks for answers.

Andrej
Jon Robertson

Posts: 254
Registered: 9/22/99
Re: Unable to Create Process - 64 bit  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 31, 2016 10:38 AM   in response to: Jon Robertson in response to: Jon Robertson
Jon Robertson wrote:
I'm having the same problem with Delphi XE7. I've gone through all of the suggestions that I've found online, such as clean & build, run as admin, turning off AV and Firewall, etc. Nothing helps.

I created a new VM with XE7 installed, and 64-bit compiling, launching, and debugging are working great now.

I have no idea what was wrong with my last vm, but I suspect it was caused by Delphi. That vm was only used for development with XE7. Plus Notepad++ and SQL Management Studio. But those apps have been on that vm for over a year. :(

Jon
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02