[Lazarus] TOpenDialog causes debugger error on exit from program.

Donald Ziesig donald at ziesig.org
Wed Apr 8 17:54:33 CEST 2015


   Found another bug. This one is repeatable all of the time.

     Very simple demo.  Create a new project.  Put a TOpenDialog on the
     form.  Then put two buttons.  Button2 calls Close.  Button1
     has the following code in the onclick handler.

     if OpenDialog1.Execute then;

     Run the program.  Click Button2.  The program exits normally.
     Run the program again.  Click Button1.  When the open dialog
     appears, select a file at random (since it will not be touched
     by the program).  Then Click Button2.  The Debugger raises an
     exception "GDB as encountered an internal error: ... "

     This occurs in RC3 for Win32.

     Don Ziesig







More information about the Lazarus mailing list