RTC Forums
December 06, 2024, 09:28:12 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Issues using with BCB - catastrophic failure  (Read 5405 times)
DPerkins
RTC License
***
Posts: 37


« on: April 16, 2021, 05:01:35 PM »

Has anyone had issues using 9.51 with BCB?

Using BCB 2007:

Our server app compiles and runs fine. 

Our larger client applications fails to compile with 'out of memory'.


Using BCB 10.4.2:

Our server app compiles and runs fine.

Our client application causes the compiler to report:

[bcc32 Fatal Error] TdmBilling.cpp(5): F1004 Internal compiler error at 0x5c2a5980 with base 0x5c200000
Exception EAccessViolation: Access violation at address 5C2A59D2 in module 'comp32x.dll'. Read of address 00000005
[bcc32 Error] Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

I'd hoped our client application would compile with 9.51 when moving to 10.4.2, but alas no luck.

I don't yet know if it's because the client app is much larger, or we're using different RTC comps and the BCB generated files are incompatible.

Have any other BCB users come across this problem?

Thanks

David
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 on: April 16, 2021, 06:54:49 PM »

I won't be of much help when it comes to BCB, because I've never used it, but this ...

F1004 Internal compiler error at 0x5c2a5980 with base 0x5c200000
EAccessViolation: Access violation at address 5C2A59D2 in module 'comp32x.dll'.

... looks like a compiler bug to me.

Have you tried any other BCB versions (newer than 2007, older than 10.4)?

Best Regards,
Danijel Tkalcec
Logged
DPerkins
RTC License
***
Posts: 37


« Reply #2 on: April 22, 2021, 11:23:54 AM »

I understand that, was just hoping some other BCB user had already dealt with this issue, which I'm assuming is present in all versions from 2007 to current.

I have a vague suspicion that it's related to the creation of C++ header files (.hpp).  On the 9.51 release a couple of hpp files contain something like this:

  typedef pnode *node

  node definition here

BCB2007 gave out of memory errors, so there may be some recursion in there causing it to go pop.

It seems also related to the client components, so I'll remove them and then re-add one by one

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.024 seconds with 17 queries.