update-manager: Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

Bug #856354 reported by Gema Gomez on 2011-09-22
218
This bug affects 43 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Low
Unassigned

Bug Description

After a fresh install of Oneiric, following this test case: http://testcases.qa.ubuntu.com/Install/DesktopFree

with this iso from 20110922: oneiric-desktop-amd64.iso

when running the update-manager following instructions, it seems to work but reports the following on the console:

(update-manager:2780): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:2780): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:2780): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:2780): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:2780): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:2780): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:2780): Gtk-WARNING **: Attempting to add a widget with type aptdaemon+gtk3widgets+AptProgressDialog to a GtkWindow, but as a GtkBin subclass a GtkWindow can only contain one widget at a time; it already contains a widget of type GtkVBox

** (update-manager:2780): WARNING **: expected enumeration type PangoEllipsizeMode, but got EllipsizeMode instead

(update-manager:2780): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:2780): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:2780): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:2780): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

tags: added: iso-testing
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in update-manager (Ubuntu):
status: New → Confirmed
Robert Roth (evfool) on 2011-10-03
Changed in update-manager (Ubuntu):
importance: Undecided → Low
Alfagulf (alfagulf) wrote :

I am getting the same problem , however in my case when I press on the CHECK button, the application hangs and I cannot stop it not even with Control C from the terminal.
I tried it from both Gnome3 and Gnome Classic sessions.
Note: I just install Ubuntu 11.10 Oneiric 64Bit

Here is the error message:

$ update-manager

(update-manager:15521): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:15521): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:15521): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:15521): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:15521): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:15521): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

When I press CONTROL C I Get:

^CTraceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/UpdateManager/MetaReleaseGObject.py", line 42, in check
    def check(self):
KeyboardInterrupt

But has no effect!!!

As a work around, I am using apt-get utility from the terminal.

I hope it will be fixed soon.
Thanks

Peter Nagy (antronin) wrote :

Same here as for Alfagulf. Also on amd64 platform with Oneiric.

Alfagulf (alfagulf) wrote :

I have just updated my system and noticed that update-manager was updated and after that the problem is solved.
I shall update you if there is a need for updating :)

Chris Randolph (moses7) wrote :

I can confirm this bug as of Ubuntu 11.10 Oneiric. I have tried updating all packages using apt-get update and apt-get upgrade, but this bug still prevails to me.

(update-manager:5257): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:5257): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:5257): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:5257): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:5257): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:5257): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

Is there any package specifically that is causing this error?

Naresh(OpenERP) (nch-openerp) wrote :

any news on this ? I am also affected by this

PVG Paval (pvgpaval) wrote :

got a similar error it might help you.

(terminal):~$ gedit

(gedit:28760): Gtk-CRITICAL **: gtk_list_store_set_column_types: assertion `priv->columns_dirty == 0' failed

unadulterated (to-sandip) wrote :

having this error.

(evince:7474): GLib-GObject-WARNING **: g_object_set_valist: construct property "enable-gestures" for object `EvView' can't be set after construction

(evince:7474): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

Ton van Vliet (epposan) wrote :

similar observations here:

$ sudo update-manager
(update-manager:4476): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed
  ... (repeated 6 times)

after pressing 'check' :
(update-manager:4493): Gtk-WARNING **: Attempting to add a widget with type aptdaemon+gtk3widgets+AptProgressDialog to a GtkWindow, but as a GtkBin subclass a GtkWindow can only contain one widget at a time; it already contains a widget of type GtkVBox

(update-manager:4493): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed
  ... (repeated 4 times)

Gergely Csépány (cheoppy) wrote :

It doesn't seem to harm anything, but it is annoying. Did someone find some kind of fix for this?

Julian Alarcon (alarconj) wrote :

I'm using Ubuntu 12.04 in development after an upgrade from 11.10 and I now have this problem. BTW in Oneiric everything was OK

elhoir (jfarroyo82) wrote :

Im having the same issue in both Oneiric (fully upgraded) and Precise development version (fully upgraded as of 2012-01-06)

Doru (maildoru) wrote :

Same error with evince :

(evince:6944): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

karser (dpoddubny) wrote :

i've updated with apt-get and issue was solved for me
#sudo apt-get update
#sudo apt-get upgrade

unadulterated (to-sandip) wrote :

still effects. any update on this.

@karser the commands does not help

MarkWayne (pb120669) wrote :

This bug is making debugging scripts painful. Please offer a fix/workaround! Thank you.

@karser,unadulterated: 'upgrade' doesn't fix

userdce (userdce) wrote :

happening same thing with spotify in precise

Can anyone confirm if this is still and issue with the latest updates installed? To install latest updates, please use apt-get from the command line if you cannot use update-manager. After the system is fully updated, try to use update-manager again to reproduce this behavior.

Thanks.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

summary: - update-manager showing errors after fresh install of Oneiric
+ update-manager: Gdk-CRITICAL **: gdk_window_get_pointer: assertion
+ `GDK_IS_WINDOW (window)' failed
Peter Nagy (antronin) wrote :

I can confirm, this is still the case.

peter@antronin:~$ update-manager

(update-manager:2995): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:2995): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:2995): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:2995): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:2995): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed

(update-manager:2995): Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/UpdateManager/UpdateManager.py", line 720, in on_button_reload_clicked
    self.invoke_manager(UPDATE)
  File "/usr/lib/python2.7/dist-packages/UpdateManager/UpdateManager.py", line 814, in invoke_manager
    self.install_backend.update()
  File "/usr/lib/python2.7/dist-packages/UpdateManager/backend/InstallBackendSynaptic.py", line 43, in update
    self._run_synaptic(self.UPDATE, opt, tempf)
  File "/usr/lib/python2.7/dist-packages/UpdateManager/backend/InstallBackendSynaptic.py", line 28, in _run_synaptic
    "%s" % self.window_main.window.xid ]
AttributeError: 'Window' object has no attribute 'window'

@Peter,

Your using 12.04?
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Hi,

No, I'm on 11.10 64-bit AMD.

2012/3/19 RedSingularity <email address hidden>

> @Peter,
>
> Your using 12.04?
> ---
> Ubuntu Bug Squad volunteer triager
> http://wiki.ubuntu.com/BugSquad
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/856354
>
> Title:
> update-manager: Gdk-CRITICAL **: gdk_window_get_pointer: assertion
> `GDK_IS_WINDOW (window)' failed
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/856354/+subscriptions
>

--
NP

Jani Uusitalo (uusijani) wrote :

No longer reproducible on two different up-to-date Precise setups here.

Hello, I am sorry, I have already updated thanks purging libmysqlodc
and libodbcpostgres postgress or what the exact names are. Regards Hans

On Mon, 19 Mar 2012 15:45:00 -0000, RedSingularity wrote:
> Can anyone confirm if this is still and issue with the latest updates
> installed? To install latest updates, please use apt-get from the
> command line if you cannot use update-manager. After the system is
> fully updated, try to use update-manager again to reproduce this
> behavior.
>
> Thanks.
> ---
> Ubuntu Bug Squad volunteer triager
> http://wiki.ubuntu.com/BugSquad
>
> ** Summary changed:
>
> - update-manager showing errors after fresh install of Oneiric
> + update-manager: Gdk-CRITICAL **: gdk_window_get_pointer: assertion
> `GDK_IS_WINDOW (window)' failed

@Peter

Ok, I do see the messages coming up in a terminal window but it does not seem to effect the way update-manager is running. Are you able to update without any problems?
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Peter Nagy (antronin) wrote :

I still cannot update with update-manager only by synaptic. See apport cras report atached again.

Peter, Looks like you have another issue there.

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/UpdateManager/UpdateManager.py", line 720, in on_button_reload_clicked
    self.invoke_manager(UPDATE)
  File "/usr/lib/python2.7/dist-packages/UpdateManager/UpdateManager.py", line 814, in invoke_manager
    self.install_backend.update()
  File "/usr/lib/python2.7/dist-packages/UpdateManager/backend/InstallBackendSynaptic.py", line 43, in update
    self._run_synaptic(self.UPDATE, opt, tempf)
  File "/usr/lib/python2.7/dist-packages/UpdateManager/backend/InstallBackendSynaptic.py", line 28, in _run_synaptic
    "%s" % self.window_main.window.xid ]
AttributeError: 'Window' object has no attribute 'window'

Could you file a new bug and email me the link to it and I will have a look. Get update-manager to crash and then use the option to file a report. That will include most of the helpful information needed. Thanks.

With regards to this bug, I am closing it as it seems to be cleared up according to the other users. Also, the error message, "update-manager: Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)' failed", does not seem to effect functionality of the program.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Changed in update-manager (Ubuntu):
status: Confirmed → Invalid

Hi,

In my understanding the issue is relevant. When starting up update.manager
it says it cannot get Gtk Window pointer.
Later on when clicking on the "Check" button it drops the below messages
which says: AttributeError: 'Window' object has no attribute 'window', Of
course because it has null for the window object. And null will never have
a window attribute.
So in my view this is the same issue and root cause is:
Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)

Of course if you say I'm not right I will open a new bug for this as I'm
not perfect in python.

2012/3/22 RedSingularity <email address hidden>

> Peter, Looks like you have another issue there.
>
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/UpdateManager/UpdateManager.py",
> line 720, in on_button_reload_clicked
> self.invoke_manager(UPDATE)
> File "/usr/lib/python2.7/dist-packages/UpdateManager/UpdateManager.py",
> line 814, in invoke_manager
> self.install_backend.update()
> File
> "/usr/lib/python2.7/dist-packages/UpdateManager/backend/InstallBackendSynaptic.py",
> line 43, in update
> self._run_synaptic(self.UPDATE, opt, tempf)
> File
> "/usr/lib/python2.7/dist-packages/UpdateManager/backend/InstallBackendSynaptic.py",
> line 28, in _run_synaptic
> "%s" % self.window_main.window.xid ]
> AttributeError: 'Window' object has no attribute 'window'
>
> Could you file a new bug and email me the link to it and I will have a
> look. Get update-manager to crash and then use the option to file a
> report. That will include most of the helpful information needed.
> Thanks.
>
> With regards to this bug, I am closing it as it seems to be cleared up
> according to the other users. Also, the error message, "update-manager:
> Gdk-CRITICAL **: gdk_window_get_pointer: assertion `GDK_IS_WINDOW (window)'
> failed", does not seem to effect functionality of the program.
> ---
> Ubuntu Bug Squad volunteer triager
> http://wiki.ubuntu.com/BugSquad
>
> ** Changed in: update-manager (Ubuntu)
> Status: Confirmed => Invalid
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/856354
>
> Title:
> update-manager: Gdk-CRITICAL **: gdk_window_get_pointer: assertion
> `GDK_IS_WINDOW (window)' failed
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/856354/+subscriptions
>

--
NP

Yes please file a new report. Update-manager uses synaptic as a fall back option when aptdaemon is not available. Apparently the issue is fixed in 12.04 but we may be able to get a SRU for 11.10

Thanks.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

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

Duplicates of this bug

Other bug subscribers

Bug attachments