Switched the bike on going home from work. Twisted the grip, motor would move the bike first slightly forward (4-6"), then slightly back (4-6"), then more slightly forward (~2"), then more slightly back (~2"), then stopped moving but started making a electromechanical whirring noise. (noise similar to the noise made when you push the bike while the controller is turned on, but more intense)
Power cycled the bike several times and tried again, same behavior. Tried switching it off and letting it sit for a few minutes (which had worked on the 1 earlier occasion where I saw this), same behavior. Tried moving the bike forward several inches or several feet while on, similar behavior.
Moving the bike a couple of inches seemed to alter the behavior in that now it might move backwards then forwards before dampening a stationary whir. (adjusting phase on the oscillation pattern?)
Next I tried waddling the bike (30" inseam) up to around 3-4 mph and cut it on. The motor seemed to "pop" and then resumed normal smooth operation, motor torque controllable by grip twist in the usual fashion, etc.
I rode around the parking lot, then exited and rode for about a quarter of a mile and stopped in a nearby parking lot to test. Braking to a halt and then accelerating worked fine. Cutting power to the bike and switching it back on brought back the motor oscillation. Using an incline to get the bike moving then switching it on brought back normal smooth motor operation.
Rode the bike home (12 miles), fine other than one motor cut-out. Power cycling the bike while in motion (how damaging is this to the motor? obviously not a concern if it's a choice between that and getting pasted on the highway, but if it's harmful then I'd rather avoid it) brought back the normal motor operation after the cut-out.
When I got home I switched the bike off, came back 5 minutes later and switched it back on. This time it worked perfectly, smooth motor operation. Rode out to dinner. Switched the bike on after dinner, oscillation. Waddled it forward, pop smooth motor operation.
FYI if you happen to get stuck somewhere with an oscillating motor. I think only one person in the glitch thread has mentioned a similar problem? Don't know if related but circumstances seem related.