Incorrect profiler snapshot format: incorrect function parameters


This seems to be coming up a lot, with months or even years difference. Is there anyway to modify this error message to at least include the function (or name format) the parser is erring out on? It would help greatly to narrow down why.

This is my error: "Incorrect profiler snapshot format: incorrect function parameters"

Project is using Symfony 2.8.x, proprietary internal libraries.

PHP XDebug info

[vagrant@localdev tmp]$ php --version
PHP 7.1.13 (cli) (built: Jan 12 2018 16:26:30) ( ZTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.1.13, Copyright (c) 1999-2017, by Zend Technologies
    with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans

PHP Storm Info

PhpStorm 2017.3.4
Build #PS-173.4548.32, built on January 30, 2018
Licensed to My Company.

JRE: 1.8.0_152-release-1024-b11 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.13.3


I can't attach the output file, internal reasons. I'd be happy to email somebody directly for debugging purposes.


Comment actions Permalink

Hi there,

I believe it's related to Xdebug 2.6 -- it uses newer format.

You are using PHP 7.1.x .... so it's OK to use Xdebug 2.5.x

That issue will be fixed for PhpStorm next major version (2018.1) -- some tickets are already marked as fixed so you may try next EAP build (not sure if current EAP build has them already -- most likely not)...

If I'm wrong with my assumption -- some more details are welcome (e.g. sample profiler output). But please check EAP build when it will contain fixes from those tickets -- maybe it will cover your case.

Comment actions Permalink

You can downgrad xdebug by installing exactly the following version


./pecl install xdebug-2.5.5

Vladimir Luchansky
Comment actions Permalink

Current 2018.1 EAP contains all the fixes for Xdebug 2.6 snapshots.


Please sign in to leave a comment.