[Bug 274747] Re: python-gtk gtk.gdk.threads_enter hangs

18 views
Skip to first unread message

ronny

unread,
Sep 28, 2008, 2:11:27 PM9/28/08
to pida...@googlegroups.com
** Changed in: pida
Importance: Undecided => Critical
Assignee: (unassigned) => ronny (ronny-pfannschmidt)
Status: New => Confirmed

--
python-gtk gtk.gdk.threads_enter hangs
https://bugs.launchpad.net/bugs/274747
You received this bug notification because you are a member of PIDA,
which is subscribed to PIDA.

ronny

unread,
Sep 28, 2008, 4:46:38 PM9/28/08
to pida...@googlegroups.com
** Changed in: pida
Status: Confirmed => Fix Committed

Sebastien Bacher

unread,
Nov 5, 2008, 8:14:59 AM11/5/08
to pida...@googlegroups.com
** Changed in: pida (Ubuntu)
Assignee: Ubuntu Desktop Bugs (desktop-bugs) => (unassigned)

Markus Korn

unread,
Nov 14, 2008, 7:37:49 AM11/14/08
to pida...@googlegroups.com
I can confirm this issue when I run some of my projects on intrepid,
examples are the 5-a-day applet [0] and a developing branch of leonov
[1]. I can also confirm that the same code works on hardy and removing
enter/leave thread "fixes" this issue.

[0] lp:five-a-day
[1] lp:~thekorn/+junk/leonov.dbus.backend

Markus Korn

unread,
Nov 16, 2008, 5:33:48 AM11/16/08
to pida...@googlegroups.com
I'm sorry, please ignore my last comment, after some more testing &
coding gtk.gdk.threads_enter()/gtk.gdk.threads_leave() is working
correctly for me.

Please see the attachment for a minimal example on how I'm using
threading in pygtk now, which is working on intrepid.

Markus

** Attachment added: "test_gtk_threading.py"
http://launchpadlibrarian.net/19690695/test_gtk_threading.py

Ralph Corderoy

unread,
Mar 8, 2009, 3:00:48 PM3/8/09
to pida...@googlegroups.com
Ubuntu 8.10, pida 0.5.1-5. On starting it you get the small gray window
appear in the centre of the screen, but it stays empty; the "love"
message doesn't appear. Nothing ever happens. Closing the window using
the menu on the panel icon results in "it's not responding, force quit"
which can kill it.

strace suggests it's getting stuck on futex(2). I suspect a race
condition as one of the attempts to start it, identical to all the
others, succeeded.

Note, a separate issue is choosing Emacs for the embedded editor without
having Emacs installed. Then it just stops with "[Errno 2] No such file
or directory" because a child process tried
"execve("/usr/local/sbin/emacs", ["emacs", "--parent-id", "81789128",
"-f", "server-start", "-l", "/home/peter/.pida2/pida_emacs_in"...], [/*
22 vars */]) = -1 ENOENT" for every directory in PATH.

** Changed in: pida (Ubuntu)

Status: Incomplete => Confirmed

ronny

unread,
Mar 18, 2009, 10:26:44 AM3/18/09
to pida...@googlegroups.com
** Changed in: pida
Status: Fix Committed => Fix Released

Francesco Marella

unread,
Mar 18, 2009, 2:27:52 PM3/18/09
to pida...@googlegroups.com
Ubuntu 9.04 jaunty (updated from hardy, not a fresh install)

$ LANG=C apt-cache policy pida
pida:
Installed: 0.5.1-5ubuntu1
Candidate: 0.5.1-5ubuntu1
Version table:
*** 0.5.1-5ubuntu1 0
500 http://it.archive.ubuntu.com jaunty/universe Packages
100 /var/lib/dpkg/status

starting pida from my account, it hangs as described by Ralph Corderoy, even if I remove pida config dir (~/.pida2)
Today I created a new user account and I can run pida without problems.

ronny

unread,
Mar 23, 2009, 7:55:42 AM3/23/09
to pida...@googlegroups.com
that sound like there are a few other bugs wrt upgrading ubuntu

thats something i can't debug - i'd apreciate more informations

JC Hulce

unread,
Apr 27, 2012, 12:38:31 AM4/27/12
to pida...@googlegroups.com
The version of this program in Ubuntu has been updated and this bug may
have been fixed. Can you still reproduce it?

** Changed in: pida (Ubuntu)
Status: Confirmed => Incomplete

--
You received this bug notification because you are a member of PIDA,
which is subscribed to PIDA.
https://bugs.launchpad.net/bugs/274747

Title:
python-gtk gtk.gdk.threads_enter hangs

To manage notifications about this bug go to:
https://bugs.launchpad.net/pida/+bug/274747/+subscriptions
Reply all
Reply to author
Forward
0 new messages