aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: GTK-critical errors  (Read 5100 times)

lorey

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
GTK-critical errors
« on: April 01, 2009, 04:12:20 PM »

I've noticed these Gtk-CRITICAL errors ever since I started to use aMule (versions 2.1.3 through 2.2.3). The last error is repeated thousands of times in what seems to be an endless loop. Any idea how to stop them from appearing?

I'm using amd64 Debian testing, aMule 2.2.3 and libwxgtk 2.8.7.1

These can be found at: /home/username/.xsession-errors

Code: [Select]
(amule:6198): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_CONTAINER (container)' failed

(amule:6198): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_CONTAINER (container)' failed

** (amule:6198): CRITICAL **: smooth_draw_box_gap: assertion `height >= -1' failed
« Last Edit: April 02, 2009, 11:09:24 AM by lorey »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: GTK-critical errors
« Reply #1 on: April 02, 2009, 09:28:27 PM »

Try a current wxWidgets version first (which is 2.8.10).
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

lorey

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
Re: GTK-critical errors
« Reply #2 on: April 02, 2009, 11:03:24 PM »

Debian does not currently have the latest 2.8.10 version but these errors also happened in Debian etch which had version 2.6.3.2

Could it be more like a strict standards  programming notice? (More like a notice rather than an error.)
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: GTK-critical errors
« Reply #3 on: April 05, 2009, 09:50:34 PM »

Debian does not currently have the latest 2.8.10 version
So you should complain at Debian.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

lorey

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
Re: GTK-critical errors
« Reply #4 on: April 06, 2009, 01:46:04 PM »

I uninstalled the old libwxgtk and amule. I then installed all necessary packages, compiled and installed libwxgtk 2.8.10 and amule 2.2.4 exactly as described at: http://www.amule.org/wiki/index.php/HowTo_Compile_In_Debian#Compile_and_install_aMule

But I still get those same errors.

Definitely, amule says that version 2.8.10 being used (I removed the old version anyway):
Code: [Select]
2009-04-06 13:41:49: Starting aMule 2.2.4 using wxGTK2 v2.8.10
I'm using GNOME, just in case this has anything to do with it.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: GTK-critical errors
« Reply #5 on: April 06, 2009, 09:32:31 PM »

Is there any visual impact (graphical glitches or something) ?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

lorey

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
Re: GTK-critical errors
« Reply #6 on: April 06, 2009, 09:53:33 PM »

There are no glitches nor visual impact. The only thing is that the /home/username/.xsession-errors file gets filled up with about 5000 repeated errors until that file reaches the limit and does not accept anymore errors.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: GTK-critical errors
« Reply #7 on: April 06, 2009, 10:13:53 PM »

Seems to be a GTK bug. Wireshark apparently has it too, someone there has hacked GTK to do away with the problem.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

lorey

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
Re: GTK-critical errors
« Reply #8 on: June 29, 2009, 08:12:59 PM »

In case anybody is interested, bug is reported at bugzilla.

http://bugzilla.gnome.org/show_bug.cgi?id=587224
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: GTK-critical errors
« Reply #9 on: June 29, 2009, 11:25:35 PM »

Yeah, and they are not convinced I see.
We do not call GTK functions directly. wxWidgets does. So it might be an interaction problem between wx and GTK. Hard to say whose fault.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon