Segmentation fault when launching

Bug #1882934 reported by Mark Fraser
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
numptyphysics (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Installed numptyphysics on 3 different computers running Kubuntu 20.04. In all cases launching from terminal:
Segmentation fault (core dumped)

Tried using gdb:
Starting program: /usr/games/numptyphysics
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff636d700 (LWP 95501)]

Thread 1 "numptyphysics" received signal SIGSEGV, Segmentation fault.
0x0000000400000003 in ?? ()
(gdb) continue
Continuing.
[Thread 0x7ffff636d700 (LWP 95501) exited]

Thread 1 "numptyphysics" received signal SIGSEGV, Segmentation fault.
0x0000000400000003 in ?? ()

Even installed the debug symbols, but that hasn't helped.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in numptyphysics (Ubuntu):
status: New → Confirmed
Revision history for this message
clickwir (clickwir) wrote :
Download full text (3.2 KiB)

Also unable to run this game. I do get a flicker of what looks like a window on the screen for a fraction of a second, but it goes away very fast.

Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.8
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.4.0-105-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-2600 CPU @ 3.40GHz
Memory: 15.6 GiB of RAM

$ uname -a
Linux lab-util-PC-DESK 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal

$ sudo apt-cache show numptyphysics
Package: numptyphysics
Version: 0.2+svn157-0.5
Installed-Size: 611
Maintainer: Leo Costela <email address hidden>
Architecture: amd64
Depends: fonts-femkeklaver, libc6 (>= 2.15), libfontconfig1 (>= 2.12.6), libgcc-s1 (>= 3.0), libsdl-image1.2 (>= 1.2.10), libsdl-ttf2.0-0, libsdl1.2debian (>= 1.2.11), libstdc++6 (>= 5.2), libx11-6, zlib1g (>= 1:1.1.4)
Description-en: crayon based physics puzzle game
 Numpty Physics is a drawing puzzle game in the spirit (and style?) of
 Crayon Physics using the same excellent Box2D engine. It melds cute
 schoolbook-style graphics with a kind of realistic physics engine.
 .
 It includes a built-in editor so that you may build (and submit) your
 own levels.
Description-md5: 435e8e5ac7e02837b3d410d67fc13c52
Homepage: http://numptyphysics.garage.maemo.org/
Tag: game::puzzle, interface::graphical, interface::x11, role::program,
 uitoolkit::sdl, use::gameplaying, x11::application
Section: games
Priority: optional
Filename: pool/main/n/numptyphysics/numptyphysics_0.2+svn157-0.5_amd64.deb
Size: 329124
MD5sum: 0795e6a5647034228cc815e487577f39
SHA256: b57ccb6d942ed9e05a3fd65ee554404d6e3b4c4062bcfa95b9f949e9aa9c5596

Package: numptyphysics
Architecture: amd64
Version: 0.2+svn157-0.4build1
Priority: optional
Section: universe/games
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Leo Costela <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 626
Depends: fonts-femkeklaver, libc6 (>= 2.15), libfontconfig1 (>= 2.12.6), libgcc-s1 (>= 3.0), libsdl-image1.2 (>= 1.2.10), libsdl-ttf2.0-0, libsdl1.2debian (>= 1.2.11), libstdc++6 (>= 5.2), libx11-6, zlib1g (>= 1:1.1.4)
Filename: pool/universe/n/numptyphysics/numptyphysics_0.2+svn157-0.4build1_amd64.deb
Size: 332188
MD5sum: 65fb23beeac95b46248b21bb1b491881
SHA1: 5c4245ab55f42372811eeea00210aa185b7caa1b
SHA256: 91f77f97eda1869623a144b0573875dd83d139371c5093f0fa2250c91d443e4f
Homepage: http://numptyphysics.garage.maemo.org/
Description-en: crayon based physics puzzle game
 Numpty Physics is a drawing puzzle game in the spirit (and style?) of
 Crayon Physics using the same excellent Box2D engine. It melds cute
 schoolbook-style graphics with a kind of realistic physics engine.
 .
 It includes a built-in editor so that you may build (and submit) your
 own levels.
Description-md5: 435e8e5ac7e02837b3d410d67fc13c52

$ numptyphysics
Segmentation fault (core dumped)

$ time numptyphysics
Segmentation fault (core dum...

Read more...

Revision history for this message
Mark Fraser (launchpad-mfraz) wrote :

Compiling the latest version (0.3.9) from https://github.com/thp/numptyphysics works. Looks like 0.2 is the latest version on Debian too.

Revision history for this message
clickwir (clickwir) wrote :

Just got a chance to try this and yes it does work.

Running Kubuntu 20.04.4, installed "libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev" and used https://github.com/thp/numptyphysics/archive/refs/tags/0.3.9.tar.gz

Complied and game opens and appears to play fine. Thanks!

How can we get Debian to update?

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.