I discovered the problem also goes away if I add the line zlib.output_compression = On
to php.ini.
Edit: Not only does the visual editor begin working again, it does not display the custom buttons from buttonsnap.php (but I have another plugin, wordtube, whose button /does/ appear).