Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-09

Warnings and Errors on GTK2

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Leonardo M. Ramé

Hi when I run my GTK2 apps from command line (Ubuntu 11.04), I get many messages like the next list:

When I start the application (opening the main window):

(rislite:10154): IBUS-WARNING **: Connect to
unix:abstract=/tmp/dbus-Nm4stSFarl,guid=8bd2b4a09f8e8d0ba53819b84b7b3227 failed: Failed to connect to socket /tmp/dbus-Nm4stSFarl: Conexi?n rehusada.

When opening a window inside the application:

(rislite:10154): Gtk-CRITICAL **: IA__gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed

(rislite:10154): Gtk-CRITICAL **: IA__gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed

The application's main window contains a TPageControl and two TTabSheets. Each tab contains a TFrame.

Also the dialog I open from main window contains a TFrame.

After using the app for a while (one minute or two) it starts to slow down more and more until I have to kill it. I don't know if these GTK messages are related to this behavior, I think they are related, because on Windows it works ok.

Reply by email

Unknown author
to Leonardo M. Ramé
Leonardo M. Ram? wrote 9 lines
Hi when I run my GTK2 apps from command line (Ubuntu 11.04), I get many messages like the next list: When I start the application (opening the main window): (rislite:10154): IBUS-WARNING **: Connect to unix:abstract=/tmp/dbus-Nm4stSFarl,guid=8bd2b4a09f8e8d0ba53819b84b7b3227 failed: Failed to connect to socket /tmp/dbus-Nm4stSFarl: Conexi?n rehusada.

That is a GTK internal error, not something Lazarus knows about.

It tries to connect to D-Bus, but the connection fails for some reason.

Michael.

Reply by email

Leonardo M. Ramé
to Unknown author
Show quoted text 19 lines
On Fri, 9 Sep 2011, Leonardo M. Ram? wrote: >Hi when I run my GTK2 apps from command line (Ubuntu 11.04), I get many >messages like the next list: > >When I start the application (opening the main window): > >(rislite:10154): IBUS-WARNING **: Connect to >unix:abstract=/tmp/dbus-Nm4stSFarl,guid=8bd2b4a09f8e8d0ba53819b84b7b3227 >failed: Failed to connect to socket /tmp/dbus-Nm4stSFarl: Conexi?n >rehusada. That is a GTK internal error, not something Lazarus knows about. It tries to connect to D-Bus, but the connection fails for some reason. Michael.

Whell, must be something related to permissions on /tmp dir, because if I run my app as root, the first message doesn't appear.

Reply by email