b2DistanceJoint and friction problems

If you check out http://ptymn.0catch.com/RopeBurn.swf you can press the up and down arrows to move the player's circle. The rope is a collection of points, and the last link is a b2DistanceJoint between the last link point and the player. The player has no angular damping, and both the player and immovable shapes have a friction of 1.0.

If you can get the player kind of pressed against the very top of the larger circle, friction will work as expected and the player will be flung to the left with an angular spin that could only come from friction. However, if you get the player hung against the circle pulling either up or down, the player does not spin freely, even though nothing touches its angular momentum, except friction.

I think that this is probably a bug in how the solver works, but I'd like some input before I just go filing a bug. Thank you!

EDIT: You may need to refresh your browser on that link after it says no link forwarding or whatever. Its just a crappy host that I signed up for in order to attach the swf.
Are you manually adjusting the distance constraint length? This might cause the problem. It is hard to tell what is going on.
Yes, I was modifying m_length directly. Do I need to recreate the joint each time?
Basically you are doing something that is not supported. Sorry.
So it sounds like manual application of impulses to enforce a distance constraint is the best way for me to simulate a distance joint whose length can change?

I am curious to understand a little better why the distance joint seems to work except for friction. Do you have any theories on what is failing to work correctly? Is friction applied when objects react to forces that joints give them?
By manually changing the length, you are essentially doing a teleport, which has no velocity information. Without correct velocity information, friction cannot work.
From a naive understanding, I would have thought that the joint does a fair amount of velocity correction via impulses to implement the distance constraint. Is the b2DistanceJoint using only position correction, so it really is a teleport?
By default the distance joint uses position correction. This does not affect velocities, which is almost always the desired behavior. You might try using the softness capability which does use velocity to correct position.
Adding:

ropeJointDef.frequencyHz = 60.0;

made it work perfectly. It is stiff and the object behaves exactly how I imagined. Thank you Erin!

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