Segmentation fault when changing level

Bug #1369793 reported by Jorge Guerrero on 2014-09-16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
numptyphysics (Ubuntu)

Bug Description

Only opens the demo level. Any attempt to change level rises a segmentation fault.

Tried on Ubuntu 14.04 64 bits

Kristof S. (ksa1) wrote :

I am also affected by that bug.
The first level starts and works without any issues. As soon as you try to restart the level or start the next level, the game aborts with segmentation fault.

Using Linux Mint 17.1 based on Ubuntu 14.04.2 LTS (3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux)

numptyphysics version 0.2+svn157-0.2 amd64

Launchpad Janitor (janitor) wrote :

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

Changed in numptyphysics (Ubuntu):
status: New → Confirmed
Kristof S. (ksa1) wrote :

Tested the i386 package for comparison ( numptyphysics_0.2~svn20080701-0ubuntu1_i386.deb ,
here it works, there is NO seg fault. Apparently it seems to be some issue with the x64 architecture...

John (jbt-8) wrote :

I had the same problem (well, my daughter found it), and valgrind pointed me to an issue which was easily fixed:
Array.h at line 106 (in svn trunk - if you have a different version it might be elsewhere):
memcpy( m_data+i, m_data+i+1, (m_size-i-1)*sizeof(T) );
should be
memmove( m_data+i, m_data+i+1, (m_size-i-1)*sizeof(T) );

I emailed the address on the numpty physics page, but I don't know if it's actively monitored so I thought I'd mention it here, too.

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

Other bug subscribers