Book a Demo

Author Topic: EA crashes (exc 0xc0000409) when saving connector tag value too large  (Read 4309 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
When trying to save (update()) an EA.ConnectorTag after setting the value to a string larger than 255 characters, EA crashes hard.
So hard you can't even catch the exception when debugging.
The exception code found in the eventviewer is 0xc0000409 which means STATUS_STACK_BUFFER_OVERRUN

I just spent a fun half a day tracking down this issue :-\

The API should catch this type of problem and return a regular COM exception instead of crashing and burning.

Geert

Mauricio Moya (Arquesoft)

  • EA User
  • **
  • Posts: 344
  • Karma: +8/-4
  • EA Consulting and development in Spanish
    • View Profile
    • Arquehub Azure Module
Re: EA crashes (exc 0xc0000409) when saving connector tag value too large
« Reply #1 on: December 14, 2018, 09:30:22 am »
You should report it as a bug

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA crashes (exc 0xc0000409) when saving connector tag value too large
« Reply #2 on: December 14, 2018, 03:53:09 pm »
You should report it as a bug
I did, don't worry  :)

Geert