Mega Search
23.2 Million


Sign Up

Make a donation  
access violation in module vcl100.bpl when starting Delphi 2  
News Group: embarcadero.public.delphi.ide

Hi,

I'm using Delphi 2007 in a VMware virtual machine. The guest operating system is Windows 7 32-bit.
This has worked fine for months but since yesterday, I keep getting this error message when starting the IDE:

Access violation at address 201302BC in module 'vcl100.bpl'. Read of address 00000060.

The call stack shows:

Menu.TMenuItem.SetShortCut
ExtCtrls.TTimer.Timer
ExtCtrls.TTimer.WndProc
Classes.StdWndProc
DispatchMessageA
Forms.TApplication.ProcessMessage
From.TApplication.HandleMessage
Forms.TApplication.Run
BaseThreadInitThunk


FYI, the following components are installed:
MadExcept 3.0l
JEDI visual component Library
Developer Express VCL Products
ReportBuilder Enterprise
Fast Report 4
VCL for the Web 9 for Borland Developer Studio 2006


Has anyone seen this before? What can be the reason for this error?

Best regards,

Bob

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 13-Aug-2013, at 6:22 AM EST
From: Bob Walbers
 
Re: access violation in module vcl100.bpl when starting Delp  
News Group: embarcadero.public.delphi.ide
I am taking a wild guess here but the call stack - if it's accurate for that particular crash - might indicate that some kind of component on a form is trying to set the caption property (text in later Delphi versions) and that the particular component does not have that property?

You say it's when you're starting the IDE - is it trying to load an old project when it restarts and that the project has been modified in some way to be incompatible with your IDE and the versions of the components in it?

Also, if you have IDE add-ins that actually create new menu items on the IDE menus such as DExperts or JEDiVCS and so on, it's possible that one of these has been inadvertently changed and is generating this fault.  It's weird because the call stack is mentioning Forms.TApplication, a timer and setting a menu shortcut which all sounds to me like something getting added in, hitting a nil property on a component and then causing it to generate the AV.

Good luck, I hope you solve it.

IanB.


> {quote:title=Bob Walbers wrote:}{quote}
> Hi,
> 
> I'm using Delphi 2007 in a VMware virtual machine. The guest operating system is Windows 7 32-bit.
> This has worked fine for months but since yesterday, I keep getting this error message when starting the IDE:
> 
> Access violation at address 201302BC in module 'vcl100.bpl'. Read of address 00000060.
> 
> The call stack shows:
> 
> Menu.TMenuItem.SetShortCut
> ExtCtrls.TTimer.Timer
> ExtCtrls.TTimer.WndProc
> Classes.StdWndProc
> DispatchMessageA
> Forms.TApplication.ProcessMessage
> From.TApplication.HandleMessage
> Forms.TApplication.Run
> BaseThreadInitThunk
> 
> 
> FYI, the following components are installed:
> MadExcept 3.0l
> JEDI visual component Library
> Developer Express VCL Products
> ReportBuilder Enterprise
> Fast Report 4
> VCL for the Web 9 for Borland Developer Studio 2006
> 
> 
> Has anyone seen this before? What can be the reason for this error?
> 
> Best regards,
> 
> Bob

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 13-Aug-2013, at 10:43 AM EST
From: Ian Barker
 
Re: access violation in module vcl100.bpl when starting Delp  
News Group: embarcadero.public.delphi.ide
Hi,

Thanks for the hint!

I think the error is indeed related to some external package which modifies the IDE menu but I haven't figured out yet which one it is.

GExperts was the prime suspect but uninstalling GExperts didn't help.

When I start Delphi with the command line below (as suggested by the other poster)

+"C:\Program Files\CodeGear\RAD Studio\5.0\bin\bds.exe" -pDelphi -rfoo+

the eror does not occur but some of the external packages such as MadExcept and Localizer are not available, so my project doesn't compile anymore.

I will do some more tests to see where the AV comes from.

Best regards,

Bob

> {quote:title=Ian Barker wrote:}{quote}
> I am taking a wild guess here but the call stack - if it's accurate for that particular crash - might indicate that some kind of component on a form is trying to set the caption property (text in later Delphi versions) and that the particular component does not have that property?
> 
> You say it's when you're starting the IDE - is it trying to load an old project when it restarts and that the project has been modified in some way to be incompatible with your IDE and the versions of the components in it?
> 
> Also, if you have IDE add-ins that actually create new menu items on the IDE menus such as DExperts or JEDiVCS and so on, it's possible that one of these has been inadvertently changed and is generating this fault.  It's weird because the call stack is mentioning Forms.TApplication, a timer and setting a menu shortcut which all sounds to me like something getting added in, hitting a nil property on a component and then causing it to generate the AV.
> 
> Good luck, I hope you solve it.
> 
> IanB.
> 
> 
> > {quote:title=Bob Walbers wrote:}{quote}
> > Hi,
> > 
> > I'm using Delphi 2007 in a VMware virtual machine. The guest operating system is Windows 7 32-bit.
> > This has worked fine for months but since yesterday, I keep getting this error message when starting the IDE:
> > 
> > Access violation at address 201302BC in module 'vcl100.bpl'. Read of address 00000060.
> > 
> > The call stack shows:
> > 
> > Menu.TMenuItem.SetShortCut
> > ExtCtrls.TTimer.Timer
> > ExtCtrls.TTimer.WndProc
> > Classes.StdWndProc
> > DispatchMessageA
> > Forms.TApplication.ProcessMessage
> > From.TApplication.HandleMessage
> > Forms.TApplication.Run
> > BaseThreadInitThunk
> > 
> > 
> > FYI, the following components are installed:
> > MadExcept 3.0l
> > JEDI visual component Library
> > Developer Express VCL Products
> > ReportBuilder Enterprise
> > Fast Report 4
> > VCL for the Web 9 for Borland Developer Studio 2006
> > 
> > 
> > Has anyone seen this before? What can be the reason for this error?
> > 
> > Best regards,
> > 
> > Bob

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 19-Aug-2013, at 4:33 AM EST
From: Bob Walbers
 
Re: access violation in module vcl100.bpl when starting Delp  
News Group: embarcadero.public.delphi.ide
Using the -r switch to specify an alternate registry key I have discovered that the problem was caused by the FIBplus package. 

After removing the key with the 2 FIBPlus bpl's from HKU\Software\Borland\BDS\5.0\Known Packages I don't have the access violation on startup.

Thanks for your help

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 19-Aug-2013, at 8:32 AM EST
From: Bob Walbers