Bug 583951

Summary: PyQt applications segmentation-fault
Product: [Fedora] Fedora Reporter: Jeremy Sanders <jeremy>
Component: PyQt4Assignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 12CC: bugreporter1, bugzilla.acct, dniemira, ewc, greg, hugocosta22, nikolas.moraitis, rdieter, rmj, stefanmurariu, than
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sip-4.10.2-1.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-27 02:28:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
backtrace
none
another backtrace none

Description Jeremy Sanders 2010-04-20 10:50:56 UTC
Description of problem:
When starting or exiting many PyQt applications I seem to see a segmentation fault. This seems to have started after the recent kde 4.4.2 update.

Version-Release number of selected component (if applicable):
PyQt4-4.7.2-2.fc12.x86_64

How reproducible:
Every time

Steps to Reproduce:
1. Install PyQt4-devel package
2. Run "python /usr/share/doc/PyQt4-devel-4.7.2/examples/dialogs/standarddialogs.py"
3. Exit program
  
Actual results:
Segmentation fault when exiting

Expected results:
No segmentation fault

Some demos don't appear to work at all:
xpc1:~:$ python /usr/share/doc/PyQt4-devel-4.7.2/examples/demos/qtdemo/qtdemo.py
Segmentation fault (core dumped)


Additional info:

Comment 1 Rex Dieter 2010-04-20 17:37:05 UTC
Not reproducible by me

$ rpm -q sip PyQt4 qt
sip-4.10.1-2.fc12.x86_64
PyQt4-4.7.2-2.fc12.x86_64
qt-4.6.2-14.fc12.x86_64

Could you get a backtrace perhaps?

Comment 2 Jeremy Sanders 2010-04-20 19:00:12 UTC
Created attachment 407900 [details]
backtrace

Comment 3 Jeremy Sanders 2010-04-20 19:00:59 UTC
Created attachment 407901 [details]
another backtrace

Comment 4 Jeremy Sanders 2010-04-20 19:01:31 UTC
The problem goes away when reverting to PyQt4-4.7-1.fc12.x86_64

Comment 5 Rex Dieter 2010-04-20 20:29:24 UTC
Mind testing with these newer builds?

sip-4.10.2-1.fc12:
http://koji.fedoraproject.org/koji/buildinfo?buildID=168044

PyQt4-4.7.3-1.fc12:
http://koji.fedoraproject.org/koji/buildinfo?buildID=168053

Comment 6 Jeremy Sanders 2010-04-20 20:54:32 UTC
Thanks - that seems to have got rid of the segmentation faults.

I still get the bug where my own program with a QTableView shows blank entries (showing a model which shows floating point numbers). I expect this is due to a bug in my own code or in the new PyQt. Should I open a new bug for this?

Comment 7 Jeremy Sanders 2010-04-20 21:43:52 UTC
My table view bug looks like it's a subtle problem in the new PyQt where values in numpy arrays used to cast okay to QVariants, but now they do not. I've worked around it be casting to a float in between.

I've asked upstream PyQt whether this is a bug or my problem.

Comment 8 Fedora Update System 2010-04-21 13:40:27 UTC
sip-4.10.2-1.fc12,PyQt4-4.7.3-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/sip-4.10.2-1.fc12,PyQt4-4.7.3-1.fc12

Comment 9 Fedora Update System 2010-04-21 13:42:06 UTC
sip-4.10.2-1.fc11,PyQt4-4.7.3-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/sip-4.10.2-1.fc11,PyQt4-4.7.3-1.fc11

Comment 10 Fedora Update System 2010-04-22 22:44:35 UTC
sip-4.10.2-1.fc11, PyQt4-4.7.3-1.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update sip PyQt4'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/sip-4.10.2-1.fc11,PyQt4-4.7.3-1.fc11

Comment 11 Fedora Update System 2010-04-22 22:50:23 UTC
sip-4.10.2-1.fc12, PyQt4-4.7.3-1.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update sip PyQt4'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/sip-4.10.2-1.fc12,PyQt4-4.7.3-1.fc12

Comment 12 Tim Waugh 2010-04-23 16:23:52 UTC
*** Bug 583286 has been marked as a duplicate of this bug. ***

Comment 13 TR Bentley 2010-04-23 16:57:04 UTC
*** Bug 584736 has been marked as a duplicate of this bug. ***

Comment 14 Tim Waugh 2010-04-24 11:00:02 UTC
*** Bug 584492 has been marked as a duplicate of this bug. ***

Comment 15 Tim Waugh 2010-04-25 09:18:39 UTC
*** Bug 585457 has been marked as a duplicate of this bug. ***

Comment 16 Jiri Popelka 2010-04-26 08:39:04 UTC
*** Bug 585683 has been marked as a duplicate of this bug. ***

Comment 17 Tim Waugh 2010-04-26 16:25:53 UTC
*** Bug 583271 has been marked as a duplicate of this bug. ***

Comment 18 Fedora Update System 2010-04-27 02:28:41 UTC
sip-4.10.2-1.fc12, PyQt4-4.7.3-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2010-04-30 17:17:17 UTC
sip-4.10.2-1.fc11, PyQt4-4.7.3-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 20 Toshio Ernie Kuratomi 2010-05-10 05:09:40 UTC
*** Bug 583783 has been marked as a duplicate of this bug. ***