Client crashes with "Fatal Python error: GC object already tracked" message

Bug #705677 reported by Aamir Riaz
52
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
Confirmed
Undecided
Unassigned

Bug Description

rover@rover:~/oerp/openerp-client-6.0.1/bin$ ./openerp-client.py
/home/rover/oerp/openerp-client-6.0.1/bin/modules/gui/main.py:694: Warning: invalid (NULL) pointer instance
  self.glade = glade.XML(common.terp_path("openerp.glade"),"win_main",gettext.textdomain())
/home/rover/oerp/openerp-client-6.0.1/bin/modules/gui/main.py:694: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  self.glade = glade.XML(common.terp_path("openerp.glade"),"win_main",gettext.textdomain())
/home/rover/oerp/openerp-client-6.0.1/bin/modules/gui/main.py:454: Warning: invalid (NULL) pointer instance
  self.win_gl = glade.XML(common.terp_path("openerp.glade"),"win_login",gettext.textdomain())
/home/rover/oerp/openerp-client-6.0.1/bin/modules/gui/main.py:454: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  self.win_gl = glade.XML(common.terp_path("openerp.glade"),"win_login",gettext.textdomain())
/home/rover/oerp/openerp-client-6.0.1/bin/modules/gui/main.py:892: Warning: invalid (NULL) pointer instance
  menu = gtk.Menu()
/home/rover/oerp/openerp-client-6.0.1/bin/modules/gui/main.py:892: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  menu = gtk.Menu()
/home/rover/oerp/openerp-client-6.0.1/bin/modules/gui/main.py:876: Warning: invalid (NULL) pointer instance
  menu = gtk.Menu()
/home/rover/oerp/openerp-client-6.0.1/bin/modules/gui/main.py:876: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  menu = gtk.Menu()
Fatal Python error: GC object already tracked
Aborted

Revision history for this message
xrg (xrg) wrote : Re: [Bug 705677] [NEW] Client crashes with "Fatal Python error: GC object already tracked" message

On Friday 21 January 2011, you wrote:
> Public bug reported:
> /home/rover/oerp/gtkclient/bin/widget/view/screen_container.py:166:
> Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE
> (instance)' failed self.combo = gtk.ComboBox(self.limit_combo)
> Fatal Python error: GC object already tracked
> Aborted
>

Such bugs are tightly related to the version of the GTK libraries (and their
python bindings) you are using.

Please, can you tell us what distribution, versions of GTK and python-gtk you
have?

Changed in openobject-client:
status: New → Incomplete
Revision history for this message
clubber (fkramer) wrote :

Hi guys we experienced the issue as well and can for us creating a entirely new Ubuntu User solved the problem. So for the moment the problem doesn't seem to be related to packages in the first place but rather to configuration of the GTK environment.

Revision history for this message
xrg (xrg) wrote : Re: [Bug 705677] Re: Client crashes with "Fatal Python error: GC object already tracked" message

On Friday 21 January 2011, you wrote:
> Hi guys we experienced the issue as well and can for us creating a
> entirely new Ubuntu User solved the problem. So for the moment the
> problem doesn't seem to be related to packages in the first place but
> rather to configuration of the GTK environment.

Can you check which "engine" is the Gtk theme using at each case?
GTK engines are C programs and sometimes influence the allocation/deallocation
of "objects" at that framework. Then, Python may find itself tracking a wrongly
referenced object..

Revision history for this message
Aamir Riaz (riaz-aamir) wrote : Re: [Bug 705677] [NEW] Client crashes with "Fatal Python error: GC object already tracked" message
Download full text (4.1 KiB)

Hi, I am using OpenERP with following environment:

OS: Ubuntu 10.04.1 LTS (lucid)
gtk2-engines: 1:2.20.0-0ubuntu1
python: 2.6.5-0ubuntu1
python-gtk2: 2.17.0-0ubuntu2
postgresql-8.4: 8.4.6-0ubuntu10.04

On Fri, Jan 21, 2011 at 2:26 PM, xrg <email address hidden> wrote:

> On Friday 21 January 2011, you wrote:
> > Public bug reported:
> > /home/rover/oerp/gtkclient/bin/widget/view/screen_container.py:166:
> > Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE
> > (instance)' failed self.combo = gtk.ComboBox(self.limit_combo)
> > Fatal Python error: GC object already tracked
> > Aborted
> >
>
>
> Such bugs are tightly related to the version of the GTK libraries (and
> their
> python bindings) you are using.
>
> Please, can you tell us what distribution, versions of GTK and python-gtk
> you
> have?
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/705677
>
> Title:
> Client crashes with "Fatal Python error: GC object already tracked"
> message
>
> Status in OpenERP GTK Client:
> New
>
> Bug description:
> /home/rover/oerp/gtkclient/bin/modules/gui/main.py:694: Warning: invalid
> (NULL) pointer instance
> self.glade =
> glade.XML(common.terp_path("openerp.glade"),"win_main",gettext.textdomain())
> /home/rover/oerp/gtkclient/bin/modules/gui/main.py:694: Warning:
> g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
> self.glade =
> glade.XML(common.terp_path("openerp.glade"),"win_main",gettext.textdomain())
> /home/rover/oerp/gtkclient/bin/modules/gui/main.py:454: Warning: invalid
> (NULL) pointer instance
> self.win_gl =
> glade.XML(common.terp_path("openerp.glade"),"win_login",gettext.textdomain())
> /home/rover/oerp/gtkclient/bin/modules/gui/main.py:454: Warning:
> g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
> self.win_gl =
> glade.XML(common.terp_path("openerp.glade"),"win_login",gettext.textdomain())
> /home/rover/oerp/gtkclient/bin/modules/gui/main.py:892: Warning: invalid
> (NULL) pointer instance
> menu = gtk.Menu()
> /home/rover/oerp/gtkclient/bin/modules/gui/main.py:892: Warning:
> g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
> menu = gtk.Menu()
> /home/rover/oerp/gtkclient/bin/modules/gui/main.py:876: Warning: invalid
> (NULL) pointer instance
> menu = gtk.Menu()
> /home/rover/oerp/gtkclient/bin/modules/gui/main.py:876: Warning:
> g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
> menu = gtk.Menu()
> /home/rover/oerp/gtkclient/bin/widget/view/form_gtk/selection.py:34:
> Warning: invalid (NULL) pointer instance
> self.entry = gtk.ComboBoxEntry()
> /home/rover/oerp/gtkclient/bin/widget/view/form_gtk/selection.py:34:
> Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)'
> failed
> self.entry = gtk.ComboBoxEntry()
> /home/rover/oerp/gtkclient/bin/widget_search/selection.py:32: Warning:
> invalid (NULL) pointer instance
> self.widget = gtk.combo_box_entry_new_text()
> /home/rover/oerp/gtkclient/bin/widget_search/selection.py:32: Warning:
> g_signal_con...

Read more...

Revision history for this message
Aamir Riaz (riaz-aamir) wrote :

Still unable to use OpenERP with GTK Client.

description: updated
Revision history for this message
Antonísio Prúcoli Martins (antonisio) wrote :

Hello All!!!
I had same problem on Gentoo.
I forced Gentoo to update gtk+-2.20 to gtk+-2.22, pygtk-2.17 to pygtk-2.22 and all related packages (12 hours compile and check all!!!).
Now, OpenERP GTK Client is running fine!!!
I don't invertigate this problem in deep, but, I think that It's a gtk and pygtk problem.
Thanks!!!

Revision history for this message
Denis Konchekov (dkonchekov) wrote :

Have same problem (but only error strings "Fatal Python error: GC object already tracked" and "Segmentation Fault" without traceback). Client crashes when I double click records (for example leads).

OS: Ubuntu 10.10 (maverick)
gtk2-engines: 1:2.20.1-1ubuntu1
libgtk2.0-0: 2.22.0-0ubuntu1
python: 2.6.6-2ubuntu2
python-gtk2: 2.21.0-0ubuntu1

Revision history for this message
Anders Wallenquist (aw) wrote :

I have the same problem with Ubuntu 10.04 but not with other clients that are 10.10.

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

hello Anders Wallenquist,

I am using ubuntu 10.04 with gtk 2.20 and pygtk 2.17 and I cannot reproduce this .

Can you provide more information with the package details and also ass to what action you performed to raise such error.

Thanks,

Revision history for this message
Aamir Riaz (riaz-aamir) wrote :

Hello All, my problem has been resolved, i refresh my Ubuntu 10.04 installation and now OpenERP GTK Client is running smoothly, i am not sure what was the real problem ? Thanks anyway.

Revision history for this message
Anders Wallenquist (aw) wrote :

I have the problem on a newley installed Ubuntu 10.10

openerp-client_6.0.1-0_all.deb (from openerp.com dowload)

libgtk2.0-0 2.22.0-0ubuntu1

The package openerp-client have dependencies for these packages (if other are needed we should add this to the dependency list in the package):

Depends: python, python-glade2, python-gtk2, python-pydot, python-tz, python-hippocanvas, python-matplotlib

python 2.6.6-2ubuntu2
python-glade2 2.21.0-0ubuntu1
python-gtk2 2.21.0-0ubuntu1
python-pydot 1.0.2-1
python-tz 2010b-1
python-hippocanvas 0.3.0-3
python-matplotlib 0.99.3-1ubuntu1

The package search are a good utility to check what packages are installed in a certain release of ubuntu:
http://packages.ubuntu.com/search?keywords=python-gtk2

Recommends: python-openssl, openoffice.org-writer, evince | pdf-viewer

I suggest this instead:

Recommends: python-openssl, openoffice.org-writer | libreoffice-write, evince | pdf-viewer

From Natty LibreOffice are the default office suite

I attache a diff list of packages between one working Ubuntu 10.10 and one not

dpkg --get-selections (on working 10.10 and not working 10.10)

Revision history for this message
Anders Wallenquist (aw) wrote :

aw@lian:~$ openerp-client
** Message: pygobject_register_sinkfunc is deprecated (HippoCanvasBox)
Fatal Python error: GC object already tracked
Avbruten (SIGABRT)
aw@lian:~$

I got the first messate " pygobject_register_sinkfunc is deprecated (HippoCanvasBox)" when entering sale.order tree-view and the fatal error when entering the form-view for the same model.

This is reproducible on almost every form-view

Revision history for this message
Anders Wallenquist (aw) wrote :

Aamir Riaz: What did you do to "refresh" your installation?

To me it looks like if I install 10.04 and then upgrade it to 10.10 it works, but if I do a 10.10 install from scratch the openerp-client breaks...

Revision history for this message
Aamir Riaz (riaz-aamir) wrote : Re: [Bug 705677] Re: Client crashes with "Fatal Python error: GC object already tracked" message

Simply, I re-installed my Ubuntu 10.04, then got all of its updates from
"Update-Manager", after that I got the latest source-code of OpenERP (Server
& Client) and then I followed the instructions exactly written in the
"INSTALL" file.

P.S. This file is located in /openerp-server-6.0.1/doc for server
installation and /openerp-client-6.0.1/doc for gtk-cleint installation.

On Thu, Feb 3, 2011 at 6:31 PM, Anders Wallenquist <
<email address hidden>> wrote:

> Aamir Riaz: What did you do to "refresh" your installation?
>
> To me it looks like if I install 10.04 and then upgrade it to 10.10 it
> works, but if I do a 10.10 install from scratch the openerp-client
> breaks...
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/705677
>
> Title:
> Client crashes with "Fatal Python error: GC object already tracked"
> message
>
> Status in OpenERP GTK Client:
> Incomplete
>
> Bug description:
> rover@rover:~/oerp/openerp-client-6.0.1/bin$ ./openerp-client.py
> /home/rover/oerp/openerp-client-6.0.1/bin/modules/gui/main.py:694:
> Warning: invalid (NULL) pointer instance
> self.glade =
> glade.XML(common.terp_path("openerp.glade"),"win_main",gettext.textdomain())
> /home/rover/oerp/openerp-client-6.0.1/bin/modules/gui/main.py:694:
> Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)'
> failed
> self.glade =
> glade.XML(common.terp_path("openerp.glade"),"win_main",gettext.textdomain())
> /home/rover/oerp/openerp-client-6.0.1/bin/modules/gui/main.py:454:
> Warning: invalid (NULL) pointer instance
> self.win_gl =
> glade.XML(common.terp_path("openerp.glade"),"win_login",gettext.textdomain())
> /home/rover/oerp/openerp-client-6.0.1/bin/modules/gui/main.py:454:
> Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)'
> failed
> self.win_gl =
> glade.XML(common.terp_path("openerp.glade"),"win_login",gettext.textdomain())
> /home/rover/oerp/openerp-client-6.0.1/bin/modules/gui/main.py:892:
> Warning: invalid (NULL) pointer instance
> menu = gtk.Menu()
> /home/rover/oerp/openerp-client-6.0.1/bin/modules/gui/main.py:892:
> Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)'
> failed
> menu = gtk.Menu()
> /home/rover/oerp/openerp-client-6.0.1/bin/modules/gui/main.py:876:
> Warning: invalid (NULL) pointer instance
> menu = gtk.Menu()
> /home/rover/oerp/openerp-client-6.0.1/bin/modules/gui/main.py:876:
> Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)'
> failed
> menu = gtk.Menu()
> Fatal Python error: GC object already tracked
> Aborted
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/openobject-client/+bug/705677/+subscribe
>

Revision history for this message
DBR (OpenERP) (dbr-openerp) wrote :

Hello,

On the base of comment # 10, I am closing this bug.

Thank you All.

Changed in openobject-client:
status: Incomplete → Invalid
Revision history for this message
lodopidolo (dir-launchpad) wrote :

Hello, I've Ubuntu 11.04 64 bits and I've continuosly this same problem:

Fatal Python error: GC object already tracked

No more. The client starts, but in certains moments it crash.

What's the problem?

Thanks.

Revision history for this message
mjabirk (mjabirk) wrote :

Hello,
I am facing this error on ubuntu 12.04. I am using client 6.0.3.

Changed in openobject-client:
status: Invalid → Incomplete
Revision history for this message
mjabirk (mjabirk) wrote :
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello,

As per the comment#4 of Alan on lp:905738 which is gives 's solution and also described that problem comes due to orca.

So I am closing this issue.

Thanks!

Changed in openobject-client:
status: Incomplete → Invalid
Revision history for this message
Alan Bell (alanbell) wrote :

no, not agreeing that at all. Orca is there as an accessibility tool to allow blind and partially sighted users to access their desktop, and this should include OpenERP. OpenERP is triggering some conflict with at-spi that severely crashes python itself, but "don't use openERP if you are blind" is not a fix to the problem.

Changed in openobject-client:
status: Invalid → Confirmed
Revision history for this message
Alan Bell (alanbell) wrote :

If you are sighted and are encountering this problem in Ubuntu then you can go to system settings, universal access and on the seeing tab turn off the screen reader then log out and back in again. This turns off desktop accessibility, having orca not running isn't the issue specifically, it is at-spi being on that triggers it - orca just uses at-spi to get information from applications about what they are displaying.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.