Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Access violation in rtl60.bpl

1,963 views
Skip to first unread message

Tim Howard

unread,
May 19, 2004, 11:06:05 AM5/19/04
to
Greetings,

When trying to close a project (BCB6) I keep getting this error now:

<error message>

Access violation at addresss 400058E8 in module 'rtl60.bpl'. Read of
address FFFFFFDD.

</error message>

It was just working fine, but I have seen this message before. Any ideas?


Thanks,


Tim Howard


p.s. I changed nothing since yesterday, came in today and the project
won't close.

Tim Howard

unread,
May 19, 2004, 11:07:57 AM5/19/04
to
Well I'm curious, but just so everyone knows I just killed it and opened
a new project through Explorer and everything is fine. This new project
closes..


oh well

Tim Howard

unread,
May 19, 2004, 11:16:22 AM5/19/04
to
If it's not one thing,


<error message>

Access violation at address 008A377E in module 'vclx60.bpl'. Read of
address 0000021C.

</error message>


cheers

Martin Hart - Memory Soft, S.L.

unread,
May 19, 2004, 11:46:25 AM5/19/04
to
Hi Tim:

Usually this type of error is due to a badly behaved component, not the
actual IDE (by itself).

If you have installed any new components lately, try removing them and see
if the error resolves itself.

HTH,
Martin.


"Tim Howard" <timN...@netsimplex.c0m> escribió en el mensaje
news:40ab...@newsgroups.borland.com...

Tim Howard

unread,
May 19, 2004, 11:44:40 AM5/19/04
to
Ok, I rebooted and I'm still getting this message below. It seems to be
related to debugging gone horribly wrong?? I'm not doing anything crazy
besides setting some watches. Could that be causing this?

cheers,


tim

Pete Fraser

unread,
May 19, 2004, 12:09:16 PM5/19/04
to
Have you removed the Class Explorer DLL. that tends to cause most problems
in BCB.
Rgds Pete

"Tim Howard" <timN...@netsimplex.c0m> wrote in message
news:40ab...@newsgroups.borland.com...
> Thanks for the reply.
>
> I have not in fact installed anything lately that relates to the
> Builder. In fact I more or less use it out of the box, plus updates.
>
> The weird thing is, is that when it started this morning, I had just
> been using it the day before with no problems and left it that way.
>
> Dwarves at night sabotaging my work? I don't need any help there.. <g>


Tim Howard

unread,
May 19, 2004, 2:28:32 PM5/19/04
to
I have not done this. How do I do it and will it effect the operation of
BCB any?


Thanks,


tim

Todd

unread,
May 19, 2004, 3:12:20 PM5/19/04
to
Tim,
Sorry to jump on your coat tails but...
I am having the same problem. I am tring to modify/fix an application that runs for a while (days or hours) and then gives a few error messages I have not been able to track down.

One of them is:
"Access violation at address 00403A66 in module 'clockdisplay.exe'. Read of address 00000008."

clockdisplay.exe is the application I am modifying.

The other messages are more vague.

"Compatibility not supported"
and
"Invalid parameter"

Both of these messages also occurr after a extended period of time. This app runs continuously. I figure the Access Violation is a memory issue, the others could be side effects.

Help or suggestions on how to track these down from anyone is welcome!

thanks,
Todd

Alisdair Meredith

unread,
May 19, 2004, 5:50:11 PM5/19/04
to
Todd wrote:

> One of them is:
> "Access violation at address 00403A66 in module 'clockdisplay.exe'.
> Read of address 00000008."
>
> clockdisplay.exe is the application I am modifying.
>
> The other messages are more vague.
>
> "Compatibility not supported"
> and
> "Invalid parameter"
>
> Both of these messages also occurr after a extended period of time.
> This app runs continuously. I figure the Access Violation is a memory
> issue, the others could be side effects.
>
> Help or suggestions on how to track these down from anyone is welcome!

First thing to try if you ever suspect memory problems is CodeGuard.
This will slow your application considerably, so you may not want to
run for hours! But even a small run will locate most problems, so long
as you exercise most the program functionality.

AlisdairM (TeamB)

Craig Farrell

unread,
May 19, 2004, 6:32:54 PM5/19/04
to
Hi,

> The other messages are more vague.
> "Compatibility not supported"
> and
> "Invalid parameter"
> Both of these messages also occurr after a extended period of time. This app runs continuously. I figure the Access Violation is a memory issue, the others could be side effects.

Vague, and seemingly inappropriate, messages from Windows can
mean creeping resource loss on Windows 98 and ME. If you are on
thoses OS's, you can use the resource meter to see if it is
constantly going down while your app runs.

--Craig

Craig Farrell

unread,
May 19, 2004, 6:40:59 PM5/19/04
to
Hi,

>
> When trying to close a project (BCB6) I keep getting this error now:

> Access violation at addresss 400058E8 in module 'rtl60.bpl'. Read of
> address FFFFFFDD.
>

If it seems to be related to just closing that one
project then try things like cleaning up IDE config
files like <projectname>.dsk.
If it seems related to running/debugging that one app,
then turn on use debug libraries in project options
and turn off use of packages. Then, if it's in your app,
debugger should automatically break in vcl or rtl source when
the AV's happen.

--Craig

Eduardo Jauch

unread,
May 19, 2004, 11:47:36 PM5/19/04
to
Hi Tim,

I don't now if this help, but i use bcb5 and when i have this type of
error message, and few times the application worked fine, was some
pointer that i deleted and the system was try to delete too or use'it.
sometimes the application work, sometimes not.

I hope this coul'd help you.

Eduardo Jauch.


Pete Fraser

unread,
May 20, 2004, 4:27:15 AM5/20/04
to
There is a DLL in the Borland install directory whose name I can't remember
but it includes an x and a c in the name
something like bcbclx.dll.
Just rename it and you will get a warning next time you boot BCB. Ignore
warning and it will get removed.
All you loose is the class explorer, all you gain is much better reliability
HTH Pete

"Tim Howard" <timN...@netsimplex.c0m> wrote in message

news:40aba700$1...@newsgroups.borland.com...

Todd

unread,
May 20, 2004, 12:35:19 PM5/20/04
to

I have tried to use Code Guard. It fails immediately on my Test System when I run the app. I only get two lines in the log file.

Todd

Todd

unread,
May 20, 2004, 12:38:27 PM5/20/04
to

This is running on XP Pro. Through Task Manager, I haven't seen memory resources dropping. The Access violation can actually fail immediately after a reboot.

Todd

Alisdair Meredith

unread,
May 20, 2004, 1:43:01 PM5/20/04
to
Todd wrote:

> I have tried to use Code Guard. It fails immediately on my Test
> System when I run the app. I only get two lines in the log file.

What kind of failure?
That sounds like a good chance of finding your problem!!

Also, I tend to run CodeGuard builds through the IDE, as you get
something similar to 'break on exception' every time CG spots a problem.

AlisdairM

Todd

unread,
May 20, 2004, 3:02:45 PM5/20/04
to

The error I get on the Test System with CodeGuard turned on is:

Error 00001. 0x400000 (Thread 0x0460):
Exception 0xC0000005: Access violation at 0x0.

Isn't CodeGuard supposed to work if you run it in/on a NON-development evironment?

Todd

Todd

unread,
May 20, 2004, 4:51:43 PM5/20/04
to

This is the contents of the .cgl file on my DEV PC when I run the app. Could it be something in Borland's code? OR something that the app calls to cause this as a side effect?
--------------------------------------------------------

Error 00001. 0x300010 (Thread 0x0078):
Resource leak: The memory block (0x11A14E8) was never freed

The memory block (0x011A14E8) [size: 36 bytes] was allocated with SysGetMem
Call Tree:
0x004C837B(=ClockDisplay.exe:0x01:0C737B) system.pas#2450
0x00447A52(=ClockDisplay.exe:0x01:046A52) WinHelpViewer.pas#655
0x004D3295(=ClockDisplay.exe:0x01:0D2295)
0x004D346B(=ClockDisplay.exe:0x01:0D246B)

------------------------------------------
Functions called:
fflush (4 times)
free (7 times)
delete (122 times)
ceil (2 times)
strncpy (1 times)
memset (160 times)
vsnprintf (4 times)
new (122 times)
SysReallocMem (417 times)
SysFreeMem (3961 times)
SysGetMem (3962 times)
lstrlenA (1 times)
lstrcpynA (4 times)
calloc (1 times)
strlen (65 times)
realloc (1 times)
strdup (1 times)
malloc (4 times)
memcpy (110 times)
Resource types used:
object (122 allocs, 122 max)
memory block (3969 allocs, 1398 max)
Modules used:
00400000 05/20/2004 15:02:36 C:\ClockDisplay\ClockDisplay.exe
==========================================

Alisdair Meredith

unread,
May 20, 2004, 4:53:15 PM5/20/04
to
Todd wrote:

> The error I get on the Test System with CodeGuard turned on is:
>
> Error 00001. 0x400000 (Thread 0x0460):
> Exception 0xC0000005: Access violation at 0x0.
>
> Isn't CodeGuard supposed to work if you run it in/on a
> NON-development evironment?

Yes it is, so long as the CodeGuard DLLs are available. I'm guessing
you have these in place, as you are getting a log file at all!

That error is more than a little wierd though. Have you tried running
through the debugger to see if that gives you any more hints where CG
is going strange? I'm clutching at straws now, admittedly. Remote
debugging is hard :? (

AlisdairM (TeamB)

Todd

unread,
May 21, 2004, 12:37:48 PM5/21/04
to

This is the contents of the .cgl file on my DEV PC when I run

Todd

0 new messages