The output of objdump may contain non-ascii characters (e.g. column 'size' is 'Größe' in german). Just calling decode() will crash unless an appropriate encoding is given.