Jump to content
Berocoder

12.2 Instability

Recommended Posts

I have a problem with stability in Delphi 12.2. IDE can just die without any error.
The process BDS.exe is just gone and this can happen after some time like 10 to 30 minutes of working.

 

Unfortunately my subscription ended previous month so I cannot download the latest from my.embarcadero.com
but I have saved an older exe-file for installation. I can then use Getit to install the patch

 

When installing I use the webinstaller and only install Delphi and Windows as target platform.
Also Help, fonts and DUnit. Everything else is unchecked

Version is now 29.0.53571.9782 
Delphi 12 and C++ Builder 12 Update 2
RAD Studio 12.2 Patch 1

DevExpress 24.1.7 is also installed.

I have tried reinstalled Delphi and Devexpress from scratch.

 

I am stuck how to fix this :classic_sad: I doubt BSD.exe itself is unstable.
Host OS is Ubuntu 24.04

Delphi is running on Windows 10 Pro with KVM.
This setup works fine with Delphi 11.3.

So I just copied that to a new VM, uninstall 11.3 and installed 12.2.
No other plugins are used for now.

 

Share this post


Link to post

Windows Event viewer might be helpful to determine why exactly it crashed.

 

For me (mostly working with 10.0 Seattle) it is rather "normal" for it to silently collapse because of memory exhaustion after working with it for an hour or two. bds.exe will then just silently terminate.

Share this post


Link to post

Thanks, will look at eventlog. But honestly Windows eventlog itself is cryptic. It has never shown any valuable information for me...

Share this post


Link to post

Eventlog show 

 

Faulting application name: bds.exe, version: 29.0.53571.9782, time stamp: 0x66d2e9f2
Faulting module name: AttracsComponentsXE12Athens.bpl_unloaded, version: 1.0.0.0, time stamp: 0x6731159b
Exception code: 0xc000041d
Fault offset: 0x0093958c
Faulting process ID: 0x2b50
Faulting application start time: 0x01db33ad2fc10672
Faulting application path: C:\Program Files (x86)\Embarcadero\Studio\23.0\bin\bds.exe
Faulting module path: AttracsComponentsXE12Athens.bpl

 

AttracsComponentsXE12Athens.bpl is an own custom package that contain both own components and commercial we bought with source. So in this case eventlog was actually useful.

 

  • Like 1

Share this post


Link to post

I, and not only me, have noticed that the instability of the IDE is mainly due to (in my case ONLY to) third-party components installed in the IDE.

For a long time now I have been trying to use third-party components (there are few that I install now) only at runtime. And where a graphical surface defined in the FORM is needed, I "hook" them to invisible TPanels placed at design time.

Of course, not always it's possible but when it is that save me about those issues probably.

Share this post


Link to post
11 minutes ago, DelphiUdIT said:

I, and not only me, have noticed that the instability of the IDE is mainly due to (in my case ONLY to) third-party components installed in the IDE.

For a long time now I have been trying to use third-party components (there are few that I install now) only at runtime. And where a graphical surface defined in the FORM is needed, I "hook" them to invisible TPanels placed at design time.

Of course, not always it's possible but when it is that save me about those issues probably.

I can understand why you do that, but it kind of defeats the purpose of a form designer.

I hope you filed bug reports for the offending components.

Share this post


Link to post
1 hour ago, dummzeuch said:

I can understand why you do that, but it kind of defeats the purpose of a form designer.

I hope you filed bug reports for the offending components.

I agree with you, and in the past i reported in QP that. But sometimes I fill (always in the past) that some Issues found on  IDE were about some components. But that was only a perception I was not sure about that, and replicate this was difficult.

 

So, I tried in this way. Now, really I dont'use IDE comp. from thirdy-parts that need to be used in designer. Some exceptions are from JVCL (very few now) that never give me any trouble or some other historical little tools (for example I have the TSPVoice installed in the palette, but I never used in the designer :classic_blink:  ).

 

Also some visual tools about artificial vision (where I can simply make a component for designer) are used to be construct at runtime (construct some dozen of windows over one or two TPanels).

 

The RAD, like you told, should be the best way to construct an application, but this doesn't means that ALL should be done in the designer. And for me that work a lot with threads, the "runtime way" for many "components" are the best way.

Share this post


Link to post

Hi, I have also such a very disappointing behavior at code debugging. I have not installed any 3rd party extensions. I.e. my faulty module is "rtl290.bpl" and "unknown" (the event viewer shows always two errors). I'm using the latest (October) offline installer version.

 

Regards!

 

Michael

 

P.S. This is already the 2nd sever bug I discovered at C++ Builder 12.2.

Share this post


Link to post
1 hour ago, Michaell said:

Hi, I have also such a very disappointing behavior at code debugging. I have not installed any 3rd party extensions. I.e. my faulty module is "rtl290.bpl" and "unknown" (the event viewer shows always two errors). I'm using the latest (October) offline installer version.

I really don't know what to say ... I have no issues about this, and I debug to asm level too. But I really don't have any issues on debugging. And I'm using the offline installer too (I've always used it).

 

Good luck.

 

Share this post


Link to post

Solution at my system, modify via regedit:

HKEY_CURRENT_USER\Software\Embarcadero\BDS\23.0\Debugging\HighlightDebugWindows

from True to False

Share this post


Link to post

I am not sure if I am reporting the exact same issue but I can report that 12.2 IDE freezes -specifically after CLOSING a project.

The project appears to close but the UI is unresponsive, and that is what Task Manager reports.  I do have a lot of 3rd party components.

Today I UN Installed Delphi 12.2 and re installed, and it started happening again.

*ALSO -as a side effect - the project .dproj files are getting corrupt upon saving - maybe in the middle of saving and then IDE freeze

Edited by rudy999
more information

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×