When I lengthen a clip, sometimes a squiggly line appears. I'm not (as far as I know) doing anything different - no keys except for my mouse button are depressed.
The squiggly underline below the selected clip.
See After Effects Help:
Your layer is (partially) time-reversed/ time-remapped and you have areas that are not visible.