I believe you're thinking of ENSIGN PULVER, the sequel to MISTER ROBERTS. It has scenes of sailors watching Karloff's revival from THE WALKING DEAD. The Karloff film has been given a 'comic' retitling which escapes me at the moment-- something about 'Young Dr. Jekyll,' I think.