Apache logs were the first place I searched ! But really nothing at all !
My server is a 2.4.22 Linux one, Apache 2.0.48 with
mod_ssl, mod_php (sorry !), mod_perl and mod_auth_pg.
All my scripts using GD have the same erratic behavior.
When started off-line, images are correctly generated but
not trough Apache invocation...