Author Topic: AutoCad crashes when closing form with red "X" if not in same doc  (Read 141 times)

commodore

  • Member
  • *
  • Posts: 13
AutoCad crashes when closing form with red "X" if not in same doc
« on: September 17, 2021, 05:35:52 AM »
AutoCad 2022, OpenDcl 9.1.3.0 (also tried it with the stable build 9.0.6.1)
SDI = 0 (multi-document mode)

AutoCad crashes if the steps below are followed.
1. Open a drawing, let's call it DWG-A.
2. Open a OpenDCL Modeless form.
3. Open a new drawing, let's call it DWG-B.
4. Close DWG-A, leaving the form open.
5. Close the form using the Red "X" at the upper right of the form.

This causes AutoCad to crash.
This did not happen in AutoCad 2018 and OpenDCL 9.0.0.2
« Last Edit: September 17, 2021, 06:06:26 AM by commodore »

owenwengerd

  • Administrator
  • Hero Member
  • *****
  • Posts: 3059
    • Outside The Box
Re: AutoCad crashes when closing form with red "X" if not in same doc
« Reply #1 on: September 21, 2021, 04:22:11 PM »
I could not reproduce a crash using the Modeless demo form (OPENDCLDEMO) and following the provided steps. I tested with Acad 2022 _VERNUM=S.51.0.0.

commodore

  • Member
  • *
  • Posts: 13
Re: AutoCad crashes when closing form with red "X" if not in same doc
« Reply #2 on: September 28, 2021, 07:36:18 AM »
We are using MEP 2022 with all the latest updates.
Windows 10, version 21H1.

See attached file.

owenwengerd

  • Administrator
  • Hero Member
  • *****
  • Posts: 3059
    • Outside The Box
Re: AutoCad crashes when closing form with red "X" if not in same doc
« Reply #3 on: September 29, 2021, 07:13:43 PM »
Did you try to reproduce it with the modeless form from the OPENDCLDEMO sample? If it crashes with the demo as well, it would indicate a generic issue; otherwise (and more likely) it is related to your system or code.