php-cgi.exe breaking and not able to reach my site anymore
Posted: December 13th, 2017, 6:34 pm
Hi
I'm using a WIMP configuration
Windows 10 Enterprise
IIS 10.0.15063.0
MySQL 5.7
PHP 7.1.12RC1 (Latest 7.1.X)
& My Dev versions:
PHP Tools For VS: 1.25.10447.2015 (Latest one)
Visual Studio 2015 Professional 14.0.25420.01 Update 3
XDebug: php_xdebug-2.5.0-7.1-vc14-nts-x86_64
And everything is well configured on the php.ini file.
Each time I try to run my app through Visual Studio...
it starts debugging but really shortly : (no more than 2 seconds) I have this output:
- Invalid information were received from PHP.Debugger.Server.
- Invalid information were received from PHP.Debugger.Server.
- The program '[108728] php-cgi.exe' has exited with code -1 (0xffffffff).
and after that not more breakpoints and even i'm not able to reach my site anymore.
I'm stuck on "Waiting for ..." forever until I have a Timeout error.
here the Description of the VS ActivityLog.xml:
<description>
System.Runtime.Serialization.SerializationException: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
 at
System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
 at
System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
 at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
 at
PHP.VisualStudio.Debugger.DebugConnectionListener.GetSocketInformation(Socket socket)
 at
PHP.VisualStudio.Debugger.DebugConnectionListener.<>c.<AcceptDebugSocket>b__13_0()
 at
Devsense.VisualStudio.Shell.GuardedOperations.Call[T](Object source, Func`1 action, T default)
</description>
<description>
System.Runtime.Serialization.SerializationException: The input stream is not a valid binary format. The starting contents (in bytes) are: 00-07-01-00-00-00-FF-FF-FF-FF-6F-70-74-69-6F-6E-73 ...
 at
System.Runtime.Serialization.Formatters.Binary.SerializationHeaderRecord.Read(__BinaryParser input)
 at
System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadSerializationHeaderRecord()
 at
System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
 at
System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
 at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
 at
PHP.VisualStudio.Debugger.DebugConnectionListener.GetSocketInformation(Socket socket)
 at
PHP.VisualStudio.Debugger.DebugConnectionListener.<>c.<AcceptDebugSocket>b__13_0()
 at
Devsense.VisualStudio.Shell.GuardedOperations.Call[T](Object source, Func`1 action, T default)
</description>
I've tried different versions of XDebug with Multiple version of PHP Tools For Visual Studio
I don't know what else i can do.
Thanks in advance and Best Regards
I'm using a WIMP configuration
Windows 10 Enterprise
IIS 10.0.15063.0
MySQL 5.7
PHP 7.1.12RC1 (Latest 7.1.X)
& My Dev versions:
PHP Tools For VS: 1.25.10447.2015 (Latest one)
Visual Studio 2015 Professional 14.0.25420.01 Update 3
XDebug: php_xdebug-2.5.0-7.1-vc14-nts-x86_64
And everything is well configured on the php.ini file.
Each time I try to run my app through Visual Studio...
it starts debugging but really shortly : (no more than 2 seconds) I have this output:
- Invalid information were received from PHP.Debugger.Server.
- Invalid information were received from PHP.Debugger.Server.
- The program '[108728] php-cgi.exe' has exited with code -1 (0xffffffff).
and after that not more breakpoints and even i'm not able to reach my site anymore.
I'm stuck on "Waiting for ..." forever until I have a Timeout error.
here the Description of the VS ActivityLog.xml:
<description>
System.Runtime.Serialization.SerializationException: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
 at
System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
 at
System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
 at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
 at
PHP.VisualStudio.Debugger.DebugConnectionListener.GetSocketInformation(Socket socket)
 at
PHP.VisualStudio.Debugger.DebugConnectionListener.<>c.<AcceptDebugSocket>b__13_0()
 at
Devsense.VisualStudio.Shell.GuardedOperations.Call[T](Object source, Func`1 action, T default)
</description>
<description>
System.Runtime.Serialization.SerializationException: The input stream is not a valid binary format. The starting contents (in bytes) are: 00-07-01-00-00-00-FF-FF-FF-FF-6F-70-74-69-6F-6E-73 ...
 at
System.Runtime.Serialization.Formatters.Binary.SerializationHeaderRecord.Read(__BinaryParser input)
 at
System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadSerializationHeaderRecord()
 at
System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
 at
System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
 at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
 at
PHP.VisualStudio.Debugger.DebugConnectionListener.GetSocketInformation(Socket socket)
 at
PHP.VisualStudio.Debugger.DebugConnectionListener.<>c.<AcceptDebugSocket>b__13_0()
 at
Devsense.VisualStudio.Shell.GuardedOperations.Call[T](Object source, Func`1 action, T default)
</description>
I've tried different versions of XDebug with Multiple version of PHP Tools For Visual Studio
I don't know what else i can do.
Thanks in advance and Best Regards