[lazarus] Crashes with Lazarus IDE

Marc Weustink marc at dommelstein.net
Thu Sep 25 16:44:47 EDT 2003


At 19:24 25-9-2003, Andrew Johnson wrote:
>OK what I have done.
>
>I couldn't reprocduce or find what this might be, but I went ahead anyway 
>and made the whole gtk interface trap gdk errors around calls to gdk 
>functions that use windows(and I think I got a bit carried away in a few 
>points and put it around colormap and visual stuff) I may have missed some 
>but overall anything that is possible to cause bad drawable errors from 
>the interface directly should be caught.

Hmm.. I think this effectively bypasses the logging and exception 
generation I'd implemented in gtkobject.inc.

The way it was implemented one didn't need extra push and pop code.
OK if you hit a bad drawable or so the application exits, but at least one 
could look at the callstack before it happens.

If it is only for the ability of a backtrace and/or an Exception, I vote 
for the way it was.

Marc







More information about the Lazarus mailing list