epoptes team mailing list archive
-
epoptes team
-
Mailing list archive
-
Message #00293
[Bug 943598] Re: Twisted/GTK programs don't close properly on Ubuntu 12.04
*** This bug is a duplicate of bug 935756 ***
https://bugs.launchpad.net/bugs/935756
This bug was fixed in the package epoptes - 0.5.5-0ubuntu0.1
---------------
epoptes (0.5.5-0ubuntu0.1) precise-proposed; urgency=low
* New upstream bugfix releases (0.5.4 and 0.5.5):
- Split vncport to vncviewerport and vncserverport (LP: #1013808).
- Remove workaround for bug fixed in twisted. (LP: #943598).
- Ensure that epoptes-client is actually booted to LTSP before assuming it
is operating as a Fat client. (LP: #1018498).
- New translations: Arabic (ar), Catalan (ca), Czech (cs), Galician (gl),
Lithuanian (lt), Somali (so), Turkish (tr), Chinese (Simplified) (zh_CN)
- Updated translations: Afrikaans (af), Hebrew (he), Malay (ms),
Norwegian Bokmal (nb), Dutch (nl), Portuguese (pt), Russian (ru)
-- Stephane Graber <stgraber@xxxxxxxxxx> Wed, 27 Jun 2012 13:04:46 -0400
** Changed in: epoptes (Ubuntu Precise)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Epoptes
Developers, which is subscribed to epoptes in Ubuntu.
https://bugs.launchpad.net/bugs/943598
Title:
Twisted/GTK programs don't close properly on Ubuntu 12.04
Status in Twisted:
New
Status in “epoptes” package in Ubuntu:
New
Status in “twisted” package in Ubuntu:
New
Status in “epoptes” source package in Precise:
Fix Released
Bug description:
I've been experiencing this with our www.epoptes.org application, but I've been able to reproduce the problem with http://twistedmatrix.com/documents/current/core/examples/pbgtk2.py too.
I.e. when I run one of those apps from a console, and then close the application window, the window does close, but my console prompt doesn't return. Sometimes the app closes after 20-30 seconds, sometimes it just sits there forever waiting. An strace tells me it's waiting at some poll() call.
The same programs run fine in previous versions of Ubuntu.
Also, if I put a `reactor.crash()` just before `reactor.stop()`, then those programs terminate immediately.
== SRU (I know this bug is a duplicate, but we need to tie this SRU to epoptes) ==
[rational]
A workaround for this bug was added to epoptes:
reactor.crash()
Now that the underlying bug was properly fixed, this should be removed
as it was just an ugly workaround that might lead to other problems.
[test case]
1) Run epoptes from the console
2) Close it
Check that the console returns immediately without errror.
[regression potential]
Just removing an hack, don't expect any regression.
Worst case scenario the twisted bug reappears and closing epoptes will hang again, leaving an extra process running on the machine. As ubuntuone was also affected by that bug, it's very unlikely it could reappear in the stable release without us noticing.
To manage notifications about this bug go to:
https://bugs.launchpad.net/twisted/+bug/943598/+subscriptions