[lazarus] Bug or not?

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Jun 16 13:22:58 EDT 2003


On Mon, 16 Jun 2003 13:34:40 +0400
"Vasily I. Volchenko" <Vasily.Volchenko at mstu.edu.ru> wrote:

> Seems like another mail service wasn't able to post messages to
> discussion.
> I have written a program
>  http://www.ussr.to/Russia/vvi/fpclcl/salting.tgz
> But when creating and modal showing a new form (in menu item click
> handler), program can unexpectively die (but can not) with gdk-error
> about invalid window or pixmap. Seems that it is a bug of lcl/gtk/gdk.

I tried without problems. Maybe it has something to do with the compiler.

- Please add the memcheck unit as first unit to your lpr source to find any
mem corruption.
- Run the program with the parameter '--g-fatal-warnings', so that the gdb
warnings will immediately stop the program and you can see the call stack
- check with ldd if your program uses only the gtk libs and no gtk-2.x or
glib-2.x libs.


Mattias






More information about the Lazarus mailing list