internal Error:DangLing contact graph pointers detected.(c)

Discuss any Chipmunk bugs here.

internal Error:DangLing contact graph pointers detected.(c)

Postby watsonwan » Sat Apr 26, 2014 1:59 am

I'm using chipmunk for cocos2d-x jsbinding.

Xcode has printed error messages :

Aborting due to Chipmunk error:internal Error:DangLing contact graph pointers detected.(c)
Failed confition:next == NULL|| cpArbiterThreadForBody(next,body)->prev==NULL
Source:/user/pcname/Documents/cocos2d-x/external/chipmunk/src/cpSpaceComponent.c:166
watsonwan
 
Posts: 1
Joined: Sat Apr 26, 2014 1:43 am

Re: internal Error:DangLing contact graph pointers detected.

Postby o-simon » Fri Jun 27, 2014 1:26 am

I got the same error. Here's how to reproduce it:

Create a space with no gravity.
Set sleeping time to 10.0.
Create a rectangle.
Create a circle.
Set impulse to circle so it heads towards the rectangle.
The circle bounces off the rectangle.
When the circle is far enough reset it. That is, set the position to its initial position, set velocity to zero, set impulse so it heads towards the rectangle.
When the circle hits the rectangle a second time I get:

Internal Error:DangLing contact graph pointers detected. (C)

Should I call a function after resetting the circle?
o-simon
 
Posts: 5
Joined: Thu Jun 19, 2014 1:26 am


Return to Bugs

Who is online

Users browsing this forum: No registered users and 3 guests

cron