PyQt4 file dialog when closed hangs program

Bug #129486 reported by Jeremy Sanders
2
Affects Status Importance Assigned to Milestone
python-qt4 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: python-qt4

My program which uses PyQt4 hangs when the file open dialog is closed. I have an example cutdown program which demonstrates the issue. It works fine using qt4-4.3.0-9.fc7 and PyQt4-4.2-1.fc7 on Fedora 7. You have to click the button to open a file dialog, choose a file, close the dialog, and the program hangs (on Feisty)

The program hangs in a futex_wait state (here from strace):
stat64("/etc/xdg/Trolltech.conf", 0x849f300) = -1 ENOENT (No such file or directory)
futex(0x8189ea8, FUTEX_WAKE, 1) = 0
futex(0x8189ea8, FUTEX_WAKE, 1) = 0
futex(0x8189ea8, FUTEX_WAKE, 1) = 0
futex(0x8189ea8, FUTEX_WAKE, 1) = 0
futex(0x8189ea8, FUTEX_WAKE, 1) = 0
futex(0x8189ea8, FUTEX_WAKE, 1) = 0
futex(0x82bcbe4, 0x5 /* FUTEX_??? */, 1) = 1
futex(0x82be894, FUTEX_WAIT, 1, NULL) = 0
futex(0x82be878, FUTEX_WAIT, 2, NULL) = 0
futex(0x82be878, FUTEX_WAKE, 1) = 0
futex(0x83c6f60, FUTEX_WAIT, 1, NULL) = 0
futex(0x83c6f44, FUTEX_WAIT, 2, NULL) = 0
futex(0x83c6f44, FUTEX_WAKE, 1) = 0
write(19, "\0", 1) = 1
futex(0x82a84e4, FUTEX_WAIT, 1, NULL ...

I'll attach the program here...

Revision history for this message
Jeremy Sanders (jeremysanders) wrote :
Revision history for this message
Scott Kitterman (kitterman) wrote :

Which versions are you using in Ubuntu?

Revision history for this message
Jeremy Sanders (jeremysanders) wrote :

I am using:

python-qt4: 4.1-0ubuntu6
libqt4-4.3.0-4ubuntu1
python-2.5.1-0ubuntu3

The kernel is
Linux xport10 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux

Revision history for this message
Jeremy Sanders (jeremysanders) wrote :

I've built PyQt-4.3 and sip-4.7 by hand (against the same libqt4), and the test program works. A C++ conversion of the program also works. It looks like PyQt4/sip need updating in Ubuntu.

Revision history for this message
Matthias Klose (doko) wrote :

works for me in current gutsy

Changed in python-qt4:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.