[Lazarus] Res leaks on exiting gtk2 app

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Jun 14 11:53:12 CEST 2017


On Wed, 14 Jun 2017 11:42:41 +0200 (CEST)
Michael Van Canneyt via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

> On Wed, 14 Jun 2017, Mattias Gaertner via Lazarus wrote:
> 
> > On Wed, 14 Jun 2017 12:02:34 +0300
> > Alexey via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
> >  
> >> CudaText app, gtk2 WS. I run it from terminal, it loads dir to Treeview 
> >> [only top level of /usr], i exit.  
> >
> > Why do you think this is a bug in the LCL, and not in cudatext?  
> 
> Well, seeing it is GTK2, for example I consistently get this when exiting the IDE:
> 
> TApplication.HandleException Access violation
>    Stack trace:
>    $0000000000000000
>    $000000000062406E line 69 of include/toolbutton.inc

This is apparently something else.
It is normal to get unreleased DCs after an AV.

Can you create a full stack trace with gdb and open another mail thread?

Mattias


More information about the Lazarus mailing list