Bug 583951 - PyQt applications segmentation-fault
Summary: PyQt applications segmentation-fault
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: PyQt4
Version: 12
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 583271 583286 583783 584492 584736 585457 585683 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-20 10:50 UTC by Jeremy Sanders
Modified: 2010-05-10 05:09 UTC (History)
11 users (show)

Fixed In Version: sip-4.10.2-1.fc11
Clone Of:
Environment:
Last Closed: 2010-04-27 02:28:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
backtrace (2.30 KB, text/plain)
2010-04-20 19:00 UTC, Jeremy Sanders
no flags Details
another backtrace (2.40 KB, text/plain)
2010-04-20 19:00 UTC, Jeremy Sanders
no flags Details

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. ***


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