ChainShape & ghost vertices

Hi guys i'm using libgdx but this seems to be a box2d issue so i post my problem also here . i'm bit confused ... does chainshape suppose to delete ghost vertices problem? because in my project seems not...
my player body still collide with vertices inside the chain! what should i use instead ? edgeShape ? but from here http://www.box2d.org/manual.html#_Toc258082972 seems that chainshape should solve automatically all ghost vertices... what am i missing ?

I've found that this behavior happen also in Box2dTest from libgdx's Github. here some screenshoots ( 3 images)
http://imgur.com/FJptZDR&EKNYGYE&Zg402TW
Has you can see i've added a vertex in the middle of the shape ( that is a chainShape) and it generates a ghost collision ( begin contact - end contact ) when one other body walks on it. That 's the supposed behavior or is it a bug ?
If you created that shape with CreateChain, and that vertex is at the end of the chain, then it would not get a ghost vertex.
For a shape like that you would probably want to use CreateLoop.
Hi ! thanks for reply! the vertex wasn't at the end of the chain and the same thing append in my other project where la chain isn't closed in a loop... maybe i misunderstand what ghost collision means.... but if my character run on a terrain made with a chainshape it continues to collide with terrain and generating a lot of endcollision begincollsion 🙁 .
Maybe I misunderstood what you meant by 'ghost collision'. I thought you meant that the player would get stuck at that point instead of sliding smoothly - that is the problem which ghost vertices are intended to solve.
If you just meant that you get many begin and end contacts, then yes, that's normal. There are often tiny separations as the collision response does its work. Maybe you could use a sensor fixture to detect when the player is on the ground, eg. http://www.iforce2d.net/b2dtut/jumpability

Original thread: https://box2d.org/forum/viewtopic.php?t=9566