[SRU] numptyphysics segfault on startup on XUb 21.04

Bug #1936449 reported by DarkTrick
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
numptyphysics (Debian)
Fix Released
Unknown
numptyphysics (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
Fix Committed
Undecided
Sudip Mukherjee

Bug Description

[ Impact ]

numptyphysics is completely unusable as it will segfault immediately on start.

[ Test Plan ]

1. Install numptyphysics
2. Start numptyphysics
3. Play the game to check it works

If the package is not fixed then it will fail to start.

[ Where problems could occur ]

This is changing the code and is now returning valid values from non-void functions, so the runtime behaviour of the application will change. So, there might be a little chance that the some of the return values are not as expected. But, currently the application does not even start, and any regression due to this change can not be more than that.

[ Other Info ]

This change is from Debian and is part of Ubuntu from Impish onwards. There has been no reported regression.

[ Original Bug Description ]

Reproduce
=========
- `sudo apt install numptyphysics`
- `numptyphysics`
- Actual: segfault

Nothing more to explain here...

numptyphysics:
  Installed: 0.2+svn157-0.4build1
  Candidate: 0.2+svn157-0.4build1
  Version table:
 *** 0.2+svn157-0.4build1 500
        500 http://archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: numptyphysics 0.2+svn157-0.4build1
ProcVersionSignature: Ubuntu 5.11.0-24.25-generic 5.11.22
Uname: Linux 5.11.0-24-generic x86_64
ApportVersion: 2.20.11-0ubuntu65.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: XFCE
Date: Fri Jul 16 11:23:30 2021
SourcePackage: numptyphysics
UpgradeStatus: Upgraded to hirsute on 2021-06-05 (40 days ago)

Revision history for this message
DarkTrick (darktrick1337) wrote :
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

I have now tested and confirmd that the issue is seen on Focal. Also tested to verify Jammy and Mantic are not affected.

Changed in numptyphysics (Ubuntu):
status: New → Confirmed
Changed in numptyphysics (Ubuntu Focal):
status: New → In Progress
assignee: nobody → Sudip Mukherjee (sudipmuk)
Changed in numptyphysics (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

debdiff attached.

summary: - numptyphysics segfault on startup on XUb 21.04
+ [SRU] numptyphysics segfault on startup on XUb 21.04
description: updated
Changed in numptyphysics (Ubuntu Focal):
status: In Progress → Confirmed
assignee: Sudip Mukherjee (sudipmuk) → nobody
Changed in numptyphysics (Debian):
status: Unknown → Fix Released
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Thanks for the fix.

Uploaded to Focal.

Changed in numptyphysics (Ubuntu Focal):
status: Confirmed → In Progress
assignee: nobody → Sudip Mukherjee (sudipmuk)
description: updated
Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

Notes:

- Version with the patch [0] (0.2+svn157-0.5) was introduced in Ubuntu on Impish [1]
(older than Jammy in the SRU template, so updated the SRU template to increase
version range it has been applied in Ubuntu).

- The DEP-3 field 'Origin:' has an invalid optional prefix 'Debian';
it should be 'vendor' per DEP-3 guidelines [2] in this case,
but let's not require another upload just because of this.

Please just note that in future uploads :) Thanks for using DEP-3 tags!

Thanks!

[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986692
[1] https://launchpad.net/ubuntu/+source/numptyphysics/+publishinghistory
[2] https://dep-team.pages.debian.net/deps/dep3/

The field can be optionaly prefixed with a single keyword followed by a comma and a space to categorize the origin. The allowed keywords are "upstream" (in the case of a patch cherry-picked from the upstream VCS), "backport" (in the case of an upstream patch that had to be modified to apply on the current version), "vendor" for a patch created by Debian or another distribution vendor, or "other" for all other kind of patches.

Changed in numptyphysics (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-focal
Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote : Please test proposed package

Hello DarkTrick, or anyone else affected,

Accepted numptyphysics into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/numptyphysics/0.2+svn157-0.4ubuntu0.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 on 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, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

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

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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