Compressed Xdebug callgrind files fail to generate call graphs
eerootsus opened this issue · 1 comments
eerootsus commented
Since version 3.1 Xdebug will compress the callgrind files by default. See documentation
The same compressed file is passed to the call graph script, which expects raw input, resulting in a nondescript failure message in the webgrind UI.
Unable to generate /tmp/cachegrind.out.17.gz-10.webgrind.svg via python: /usr/bin/python3 and dot: /usr/bin/dot. Please update config.php.
Error from the graph script: UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
Temporary solution would be to disable the compression in the Xdebug configuration.