in /wp-admin/includes/image.php the function wp_generate_attachment_metadata is calling image_make_intermediate_size for each resize. This function should be in /wp-admin/includes/media.php but vanished from 2.6.5
This function is called to generate thumbnails. I discovered this bug (?) while debugging the "Regenerate Thumbnails" plugin
Any suggestion? Did I look in the wrong place?