Board index » delphi » PASDBK16 gets GPF in Delphi 1.0

PASDBK16 gets GPF in Delphi 1.0

One application under development now gets a GPF in PASDBK16.DLL at 0004:10EB
every time I try to run it from the IDE. When run from outside the IDE it runs
normally. Does anyone have an idea of what causes this Delphi bug? I assume it's
a bug since I would expect Delphi to give some reasonable error message if it
found something wrong. Note that other Delphi applications run fine from the
IDE. The big difference is that this is a larger application than the others.
Any suggestions will be tried and appreciated.

dick MacDonald
{*word*106} MacDonald

 

Re:PASDBK16 gets GPF in Delphi 1.0


Quote
In article <31a4a406.1087...@nntp.ix.netcom.com>{*word*106}...@ix.netcom.com (Richard MacDonald) writes:

> One application under development now gets a GPF in PASDBK16.DLL at 0004:10EB
> every time I try to run it from the IDE. When run from outside the IDE it runs
> normally. Does anyone have an idea of what causes this Delphi bug? I assume it's
> a bug since I would expect Delphi to give some reasonable error message if it
> found something wrong. Note that other Delphi applications run fine from the
> IDE. The big difference is that this is a larger application than the others.
> Any suggestions will be tried and appreciated.

>{*word*106} MacDonald

After installing Delphi2.0 this also happens to one of my application (25.000 lines).
But it only happens if I start Delphi1.02 and try to run the program without compiling
anything. If I click on Compile project this error does not happen.
It went away (hopefully) after removing Delphi2.0 and Delphi1.0, installing
Delphi1.02 prior to Delphi2.0.

ciao
         sm

Re:PASDBK16 gets GPF in Delphi 1.0


On 28 May 1996 11:01:35 +0200, meu...@opala1.physik.uni-bonn.de (Stefan Meuser)
wrote:

Quote
>In article <31a4a406.1087...@nntp.ix.netcom.com>{*word*106}...@ix.netcom.com (Richard MacDonald) writes:

>> One application under development now gets a GPF in PASDBK16.DLL at 0004:10EB
>> every time I try to run it from the IDE. When run from outside the IDE it runs
>> normally. Does anyone have an idea of what causes this Delphi bug? I assume it's
>> a bug since I would expect Delphi to give some reasonable error message if it
>> found something wrong. Note that other Delphi applications run fine from the
>> IDE. The big difference is that this is a larger application than the others.
>> Any suggestions will be tried and appreciated.

>>{*word*106} MacDonald

>After installing Delphi2.0 this also happens to one of my application (25.000 lines).
>But it only happens if I start Delphi1.02 and try to run the program without compiling
>anything. If I click on Compile project this error does not happen.
>It went away (hopefully) after removing Delphi2.0 and Delphi1.0, installing
>Delphi1.02 prior to Delphi2.0.

>ciao
>         sm

Thanks, Stefan, I will try recompiling everything although I think I have. It
can't have anything to do with version 2 since I don't have it yet. I think this
project is something liek 25000 lines also. It's probably something being
overwritten during initialization although the program runs fine by itself
outside the IDE. It is only when I try to set a breakpoint and run it from the
IDE that it fails!

Thanks,{*word*106}
{*word*106} MacDonald

Re:PASDBK16 gets GPF in Delphi 1.0


On Tue, 28 May 1996 09:53:10 -0600,{*word*106}...@ix.netcom.com (Richard MacDonald)
wrote:

Quote
>On 28 May 1996 11:01:35 +0200, meu...@opala1.physik.uni-bonn.de (Stefan Meuser)
>wrote:

>After installing Delphi2.0 this also happens to one of my application (25.000 lines).
>But it only happens if I start Delphi1.02 and try to run the program without compiling
>anything. If I click on Compile project this error does not happen.
>It went away (hopefully) after removing Delphi2.0 and Delphi1.0, installing
>Delphi1.02 prior to Delphi2.0.

>ciao
>         s

Well, that doesn't save it. The problem still exists. Since there seems to be no
way to solve this, I'm going to start again from scratch (actually saving a
great deal of the code) and rebuild it to see if and when it happens. That seems
to be the only way other than to eliminate things one at a time until it goes
away if it does. Thanks anyway, Stefan.
{*word*106} MacDonald

Re:PASDBK16 gets GPF in Delphi 1.0


On Thu, 30 May 1996 11:19:46 -0600,{*word*106}...@ix.netcom.com (Richard

Quote
MacDonald) wrote:
>On Tue, 28 May 1996 09:53:10 -0600,{*word*106}...@ix.netcom.com (Richard MacDonald)
>wrote:

>>On 28 May 1996 11:01:35 +0200, meu...@opala1.physik.uni-bonn.de (Stefan Meuser)
>>wrote:

>>After installing Delphi2.0 this also happens to one of my application (25.000 lines).
>>But it only happens if I start Delphi1.02 and try to run the program without compiling
>>anything. If I click on Compile project this error does not happen.
>>It went away (hopefully) after removing Delphi2.0 and Delphi1.0, installing
>>Delphi1.02 prior to Delphi2.0.

>>ciao
>>         s
>Well, that doesn't save it. The problem still exists. Since there seems to be no
>way to solve this, I'm going to start again from scratch (actually saving a
>great deal of the code) and rebuild it to see if and when it happens. That seems
>to be the only way other than to eliminate things one at a time until it goes
>away if it does. Thanks anyway, Stefan.
>dick MacDonald

I have had this problem before, the problem generally showed up when I
was intercepting windows messages and processing them myself.  My only
solution was to buy Turbo De{*word*81} (Part of the RAD pack or Turbo
Assembler) and use that to debug my application.

Brien King
bk...@primenet.com

Re:PASDBK16 gets GPF in Delphi 1.0


On 30 May 1996 17:03:01 -0700, bk...@primenet.com (Brien King) wrote:

Quote
>On Thu, 30 May 1996 11:19:46 -0600,{*word*106}...@ix.netcom.com (Richard
>MacDonald) wrote:

>>On Tue, 28 May 1996 09:53:10 -0600,{*word*106}...@ix.netcom.com (Richard MacDonald)
>>wrote:

>>>On 28 May 1996 11:01:35 +0200, meu...@opala1.physik.uni-bonn.de (Stefan Meuser)
>>>wrote:

>>>After installing Delphi2.0 this also happens to one of my application (25.000 lines).
>>>But it only happens if I start Delphi1.02 and try to run the program without compiling
>>>anything. If I click on Compile project this error does not happen.
>>>It went away (hopefully) after removing Delphi2.0 and Delphi1.0, installing
>>>Delphi1.02 prior to Delphi2.0.

>>>ciao
>>>         s
>>Well, that doesn't save it. The problem still exists. Since there seems to be no
>>way to solve this, I'm going to start again from scratch (actually saving a
>>great deal of the code) and rebuild it to see if and when it happens. That seems
>>to be the only way other than to eliminate things one at a time until it goes
>>away if it does. Thanks anyway, Stefan.
>>dick MacDonald

>I have had this problem before, the problem generally showed up when I
>was intercepting windows messages and processing them myself.  My only
>solution was to buy Turbo De{*word*81} (Part of the RAD pack or Turbo
>Assembler) and use that to debug my application.

>Brien King
>bk...@primenet.com

Thanks, Brien although I am not doing that. It's also true that it seems to
happen before the code reaches anything that I have (intentionally) written
since the GPF occurs as soon as I activate the Trace Into option. It never gets
to the first statement in my code. The code, although large, is rather
straightforward and worked until recently. Unfortunately I cannot track what
happened to cause the error.

dick MacDonald

Re:PASDBK16 gets GPF in Delphi 1.0


Quote
dick...@ix.netcom.com (Richard MacDonald) wrote:
>On Tue, 28 May 1996 09:53:10 -0600,{*word*106}...@ix.netcom.com (Richard MacDonald)
>wrote:

>>On 28 May 1996 11:01:35 +0200, meu...@opala1.physik.uni-bonn.de (Stefan Meuser)
>>wrote:

>>After installing Delphi2.0 this also happens to one of my application (25.000 lines).
>>But it only happens if I start Delphi1.02 and try to run the program without compiling
>>anything. If I click on Compile project this error does not happen.
>>It went away (hopefully) after removing Delphi2.0 and Delphi1.0, installing
>>Delphi1.02 prior to Delphi2.0.

>>ciao
>>         s
>Well, that doesn't save it. The problem still exists. Since there seems to be no
>way to solve this, I'm going to start again from scratch (actually saving a
>great deal of the code) and rebuild it to see if and when it happens. That seems
>to be the only way other than to eliminate things one at a time until it goes
>away if it does. Thanks anyway, Stefan.
>dick MacDonald

What kind of components, dlls and so on do you use.
In a programm I'm asked to check(haven't had the time to dig into the
code yet) there is exactly the same problem. If I try to step the
creation of the mainform the exception is generated at the first line
of code and I have to shut down Delphi.

Since nothing is yet created in the other forms, is it possible there
is something in the uses clauses that points to incorrect files?

The program uses the following nonstandard components/dlls:

Sockv2
HtmlViewer
imlib221.dll
mmsystem.dll
Clipptable

B. Eiklid

Re:PASDBK16 gets GPF in Delphi 1.0


In article <31af1944.88370...@nntp.ix.netcom.com>,{*word*106}...@ix.netcom.com
says...

Quote

>>I have had this problem before, the problem generally showed up when I
>>was intercepting windows messages and processing them myself.  My only
>>solution was to buy Turbo De{*word*81} (Part of the RAD pack or Turbo
>>Assembler) and use that to debug my application.

>>Brien King
>>bk...@primenet.com

>Thanks, Brien although I am not doing that. It's also true that it seems to
>happen before the code reaches anything that I have (intentionally) written
>since the GPF occurs as soon as I activate the Trace Into option. It never
gets
>to the first statement in my code. The code, although large, is rather
>straightforward and worked until recently. Unfortunately I cannot track what
>happened to cause the error.

I TOO AM HAVING THIS PROBLEM NOW.  It says:

"Exception EGPFault in module PASDBK16.DLL at 000F:1156"

I'm running Delphi 1.01 from Win 95.

I have about 30 units in about 33,000 lines of coding.  I can always recreate
this error by doing the following:

I put a breakpoint in my program, or, more typically, I highlight my desired
stop point in press F4. Then I hit F8's and F7's to step through the program.
 When you F7 into a new procedure or function, the tracer puts you at the
BEGIN line.  DO NOT HIT F7 again.  If you do you will get the dreaded
PASDKB16 GPF.

Instead, hit F8.  As expected, the tracer will now put you at the first line
 of the procedure/function.  You may now continue hitting F7's and F8's, so
long as you do not F7 from the first "begin" line of any procedure/function.

When I get the PASDBK16 GPF, I must totally reboot in order to run Delphi
again, although all other programs seem to work without rebooting.  Trying to
run Dephi gives me the  error message that Delphi is already running.  
Another weird thing.  I must REBUILD every unit inorder to run again (once
I've rebooted Win 95).

What's going on.  Has anyone else had this problem.  Is Delphi {*word*89} on the
program size???

Re:PASDBK16 gets GPF in Delphi 1.0


I have seen this happen before, and a bug report was filed with Borland on
it.  If you have a timer component in your application, and it fires while
stepping through the code with the internal de{*word*81}, it tries to execute
(jump to) the code for the timer callback.  Problem is, your stepping
through the code and it is not really running at the time of the
callback...

Regards,
   Roy

Re:PASDBK16 gets GPF in Delphi 1.0


On Wed, 5 Jun 1996 00:45:25 -0600, "Roy Salisbury" <rsal...@exprsutil.com>
wrote:

Quote
>I have seen this happen before, and a bug report was filed with Borland on
>it.  If you have a timer component in your application, and it fires while
>stepping through the code with the internal de{*word*81}, it tries to execute
>(jump to) the code for the timer callback.  Problem is, your stepping
>through the code and it is not really running at the time of the
>callback...

>Regards,
>   Roy

Roy:

Many thanks, friend! And it doesn't even matter if you are stepping. Somehow
something had been changed (yes, I know it was me) and the timer component on my
flash screen was triggering right at the beginning during initialization of the
program. I assumed that yours was the right solution and disabled the timer and
all of the statements that dealt with it and it took off and ran.

Since it does not matter on normal execution (outside the IDE) but only when
starting the program from within the IDE it could go unnoticed if your program
ran the first time as most of mine do. Oh, sure! but I did have one that did and
it was more than a page long - not a bad average for 40 years of writing them.

Again, many thanks and I hope Borland solves the problem.

Best to all who tried to help. All suggestions were tested when possible.

dick MacDonald

Re:PASDBK16 gets GPF in Delphi 1.0


Quote
dick...@ix.netcom.com (Richard MacDonald) wrote:
>Thanks, Brien although I am not doing that. It's also true that it seems to
>happen before the code reaches anything that I have (intentionally) written
>since the GPF occurs as soon as I activate the Trace Into option. It never gets
>to the first statement in my code. The code, although large, is rather
>straightforward and worked until recently. Unfortunately I cannot track what
>happened to cause the error.

I have the same problem also.  I also received "Error creating process.
Windows internal error(15)".  It is strange that when I run the application
outside the IDE, everything seems to be OK.  The compiled exe file is over
700k.  I noticed that this does not occur to my other smaller programs
below 680k.  May be this is the limit for D1.

Other Threads