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

2015-04-08 Thread Martin Frb
On 08/04/2015 17:17, Martin Frb wrote: Given that this is likely a gdb issue, only fixable in gdb, and given that newer gdb are less stable (when used with exe generated by fpc) or have other problems, there is currently no way to fix this issue for everybody. GDB 7.7.1 is only advisable if

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

2015-04-08 Thread Martin Frb
On 08/04/2015 16:54, Donald Ziesig wrote: 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

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

2015-04-08 Thread Donald Ziesig
On 04/08/2015 12:41 PM, Martin Frb wrote: On 08/04/2015 17:17, Martin Frb wrote: There are several known problems (especially win 7 and up) where gdb 7.2 does not like the dll loaded for the open dialog (shell extensions or something) Workaround is

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

2015-04-08 Thread Donald Ziesig
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

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

2015-04-08 Thread Martin Frb
On 08/04/2015 17:17, Martin Frb wrote: There are several known problems (especially win 7 and up) where gdb 7.2 does not like the dll loaded for the open dialog (shell extensions or something) Workaround is http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#gdb.exe_has_stopped_working