[lazarus] Exit Lazarus program cause troubles

codepunk vbman at pcpros.net
Tue Apr 18 08:50:10 EDT 2000


Marc,

   One of the problems seems to be that event triggers are getting called after
the gtk lib and or qt libs are calling it quits. I ran into this same problem
when implementing the QT library. The lib terminate gets called and then a
click event still fires. This causes a core since a access violation occurs
when the click tries to access a pointer that has already been destroyed or
derefed.

There may be some others but this is one of them.

Cliff

On Tue, 18 Apr 2000, Marc Weustink wrote:
> + From: Bogdan M.Maryniuck (UAB Diprintas) [mailto:mbm at diprintas.lt]
> 
> + Hi, all!
> + Here is a one (small) trouble, but not too sweet.
> + When user is CLOSING my program by:
> 
> [snip]
> 
> + Segmentation fault
> + Core is dumped
> 
> This is a known issue, since it happens on exit it hat a low proprity for
> me.
> 
> + buddy... user always can see a red file (about ~1 meg) with
> + 'core' name -( How to fix it?
> 
> If you're using bash as shell look at the ulimit -c option
> Don't know for uther shells.
> 
> Marc
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>     archives at http://www.miraclec.com/list_archives/lazarus






More information about the Lazarus mailing list