[Lazarus] IDE: Gdk-CRITICAL error

Henry Vermaak henry.vermaak at gmail.com
Thu Nov 4 10:48:07 CET 2010


On 04/11/10 09:27, Marc Weustink wrote:
> patspiper wrote:
>> I get sometimes the following error when I click on any IDE window:
>> (lazarus:4991): Gdk-CRITICAL **: gdk_window_get_state: assertion
>> `GDK_IS_WINDOW (window)' failed
>>
>> What is 4991, and what does this error mean?
>
> 4991 is I guess your process id.
> The error means that we call a function which expects a gdk_window
> pointer, but we pass something else, probably a nil.
> It doesn't hurt, since gdk/gtk checkes against nil. It only prints these
> messages and means that we need to find the call and check for nil.

You may be able to find out where this is happening by running gdb 
--args ./lazarus --g-fatal-warnings.  GTK will then sigabrt on a warning 
and you can get a backtrace.

Henry




More information about the Lazarus mailing list