Segmentation fault when changing level

Bug #1369793 reported by Jorge Guerrero
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
numptyphysics (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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

Tried on Ubuntu 14.04 64 bits

Revision history for this message
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

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

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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