Re: [Lazarus] GUI freeze under GTK2

2017-06-26 Thread Juha Manninen via Lazarus
I had to revert r54305 in r55396. It caused regressions: http://bugs.freepascal.org/view.php?id=31496 and https://bugs.freepascal.org/view.php?id=32059 Denis Golovan, can you please test with a recent version of VTV and then report to bug tracker if the freeze still happens. Regards, Juha --

Re: [Lazarus] How to make debugging ignore exceptions?

2017-06-26 Thread Bo Berglund via Lazarus
On Sat, 24 Jun 2017 12:48:43 +0200, Sven Barth via Lazarus wrote: >Am 24.06.2017 11:13 schrieb "Santiago A. via Lazarus" < >lazarus@lists.lazarus-ide.org>: >> >> El 24/06/2017 a las 0:14, Bo Berglund via Lazarus escribió: >> The problem is that the debugger always stops on the >> > exceptions mak

Re: [Lazarus] How to make debugging ignore exceptions?

2017-06-26 Thread Santiago A. via Lazarus
El 26/06/2017 a las 16:27, Bo Berglund via Lazarus escribió: > The problem is that afik the TIdTcpClient.IOHandler.ReadBytes will > throw an exception if the number of bytes requested do not appear > within the timeout. > It looks like if one specifies read length as -1, then the exception > is not

Re: [Lazarus] Res leaks on exiting gtk2 app

2017-06-26 Thread Alexey via Lazarus
I think Imagelist is freed [it must be] but WS gtk2 don't free it's handles or smth, can it be like it? CudaText gives leak not always. Maybe some lock in gtk2. If you can't provide a simple example, then you must debug it yourself. Check if the imagelist is freed. Mattias -- Regards, Alexe

Re: [Lazarus] Res leaks on exiting gtk2 app

2017-06-26 Thread Mattias Gaertner via Lazarus
On Mon, 26 Jun 2017 21:50:57 +0300 Alexey via Lazarus wrote: > I think Imagelist is freed [it must be] but WS gtk2 don't free it's > handles or smth, can it be like it? > CudaText gives leak not always. Maybe some lock in gtk2. Since you are the only one with this problem, it must be somethin

Re: [Lazarus] Res leaks on exiting gtk2 app

2017-06-26 Thread Alexey via Lazarus
On 27.06.2017 00:22, Mattias Gaertner via Lazarus wrote: it must be something you are doing with the imagelist. You must give some clues what you are doing otherwise no one can help. I'm doing loading of png files [Imagelist size 16x] to it-- function UpdateImagelistWithIconFromFile(AImagel