This service will be undergoing maintenance at 00:00 UTC, 2016-09-28. It is expected to last about 1 hours
Bug 83539 - pygtk2 compiled without thread support
pygtk2 compiled without thread support
Status: CLOSED DUPLICATE of bug 80908
Product: Red Hat Linux
Classification: Retired
Component: pygtk2 (Show other bugs)
8.0
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Matt Wilson
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-02-05 09:59 EST by Tor Andre Myrvoll
Modified: 2007-04-18 12:50 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-02-21 13:51:37 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Tor Andre Myrvoll 2003-02-05 09:59:00 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Description of problem:
Trying to use pygtk2 in a multithreaded python program dont work.

Example

dhcp-2130:WoZ$python
Python 2.2.1 (#1, Aug 30 2002, 12:15:30)
[GCC 3.2 20020822 (Red Hat Linux Rawhide 3.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
>>> gtk.threads_init()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
RuntimeError: pygtk threading disabled at compile time
>>>

The effect of this is that _all_ other threads will freeze when 
gtk.mainloop() is run.



Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Start python 
2. import threads/threadings and gtk
3. Start a new thread using either the threads or threading modules
4. Start gtk.mainloop()

Actual Results:  The initial threads will freeze

Expected Results:  All the threads should coexist peacefully

Additional info:
Comment 1 Gary Benson 2003-05-12 07:38:13 EDT
I've been running pygtk2 rebuilt with threads for the past five months and had
no problems.
Comment 2 Matt Wilson 2003-05-19 23:53:30 EDT

*** This bug has been marked as a duplicate of 80908 ***
Comment 3 Red Hat Bugzilla 2006-02-21 13:51:37 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.