Preferences menu causes segmentation fault with pyside installed

Bug #1189664 reported by Francesco Muriana
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pybik (Ubuntu)
Fix Released
Undecided
Unassigned
Raring
Fix Released
High
Unassigned

Bug Description

[Impact]
* Because it is not possible to open the preferences menu, some functionality is not available to the user.
* The crash prevents that the state of the game is saved (data loss)
* A workaround exists (install python-qt4-gl and remove python-pyside.qtopengl), but that is not obvious to the user.
The bug is solved by a patch that removes the ability to run pybik with pyside and require pyqt4, the alternative dependencies on the python-pyside.* packages are removed.

[Test Case]
1) Install package "python-pyside.qtopengl"
2) Run pybik
3) Activate menu item "Edit -> Preferences"
4) If the bug is solved, the Preferences dialog is opened,
     else the program ends by a segmentation fault

[Regression Potential]
Minimal, only unnecessary functionality (run pybik with pyside) is removed in a leaf package.
Patch was made by the upstream author.

[Additional information]
Only the version in Raring is affected

[Original description]
Opening the 'Preferences' menu causes the program to crash

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: pybik 1.0.1-1
ProcVersionSignature: Ubuntu 3.8.0-23.34-generic 3.8.11
Uname: Linux 3.8.0-23-generic i686
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: i386
Date: Tue Jun 11 00:43:23 2013
InstallationDate: Installed on 2013-03-10 (92 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha i386 (20130307)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: pybik
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Francesco Muriana (f-muriana) wrote :
Revision history for this message
B. Clausius (barcc) wrote :

Thank you for the bug report,

this seems to me a problem in pyside.
As a workaround you can do:
 * install the package python-qt4-gl
 * remove the package python-pyside.qtopengl (it is unlikely that some other software on your computer is using it)

tags: removed: i386
Changed in pybik (Ubuntu):
assignee: nobody → B Clausius (barcc)
status: New → Confirmed
Revision history for this message
Francesco Muriana (f-muriana) wrote :

Yes, it works!

B. Clausius (barcc)
summary: - segmentation fault (core dumped)
+ Preferences menu causes segmentation fault with pyside installed
Revision history for this message
B. Clausius (barcc) wrote :
description: updated
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "do-not-run-with-pyside.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
B. Clausius (barcc)
Changed in pybik (Ubuntu):
assignee: B Clausius (barcc) → nobody
Changed in pybik (Ubuntu Raring):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Looks like this is fixed in 1.1-1 release in Debian. Should we sync that version instead?

Revision history for this message
B. Clausius (barcc) wrote :

Pybik 1.1 runs fine with Raring.

I created a bzr branch:
 * merged version 1.1-1ubuntu1 from Saucy to get the fix for the autopkgtest,
 * Changed recommends python3-icu to the raring package name python3-pyicu (see LP: 1200419)

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Sorry, I was confused by the bug status. It is fixed in Saucy, isn't it?

I can upload your fix with Martin's changes added, but uploading a new release that uses a different interpreter is a no-no for SRUs.

Revision history for this message
B. Clausius (barcc) wrote :

I don't know how the bug status should look like.
The version in Saucy is ok, this bug is only for Raring and the only change needed is in the attached minimal debdiff.

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Marking the Saucy task as Fix Released. I hope I'll be able to upload the Raring debdiff tomorrow.

Changed in pybik (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Uploaded to raring SRU queue.

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Francesco, or anyone else affected,

Accepted pybik into raring-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/pybik/1.0.1-1ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in pybik (Ubuntu Raring):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
B. Clausius (barcc) wrote :

pybik 1.0.1-1ubuntu0.1 passes the test in the description.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pybik - 1.0.1-1ubuntu0.1

---------------
pybik (1.0.1-1ubuntu0.1) raring; urgency=low

  * Remove the ability to run with pyside and require pyqt4
    to prevent segmentation fault in preferences dialog (LP: #1189664)
 -- <email address hidden> (B. Clausius) Sat, 13 Jul 2013 22:50:19 +0200

Changed in pybik (Ubuntu Raring):
status: Fix Committed → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Francesco Muriana (f-muriana) wrote :

Hello Brian, the new package works correctly.

Thanks

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.