[Bug 1190800] Re: python instrospection produces SIGSEGV with Wnck.Application().get_icon() by a missing file screen.c

2013-06-14 Thread Pascal Terjan
The test code seems invalid (even if the python code should not allow this and cause a segfault). You can't create a WnckApplication object like that. The standard way is to use get and give it a window. You are trying to get the icon of a WnckApplication not related to any application or window

[Bug 1190800] Re: python instrospection produces SIGSEGV with Wnck.Application().get_icon() by a missing file screen.c

2013-06-14 Thread Martin Pitt
That's another instance of https://bugzilla.gnome.org/show_bug.cgi?id=675581. Unfortunately that one is rather hard and brittle to fix, so it didn't happen yet. As for libwnck, there it is pretty much a case of don't do that then, I'm afraid. You can get the same crash by using the g_object_new()

[Bug 1190800] Re: python instrospection produces SIGSEGV with Wnck.Application().get_icon() by a missing file screen.c

2013-06-13 Thread Angel Guzman Maeso
** Attachment added: Python test case for gi https://bugs.launchpad.net/ubuntu/+source/libwnck3/+bug/1190800/+attachment/3702756/+files/wnck_crash.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1190800] Re: python instrospection produces SIGSEGV with Wnck.Application().get_icon() by a missing file screen.c

2013-06-13 Thread Angel Guzman Maeso
Upstream bug filled too https://bugzilla.gnome.org/show_bug.cgi?id=702211 ** Bug watch added: GNOME Bug Tracker #702211 https://bugzilla.gnome.org/show_bug.cgi?id=702211 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.