Page 1 of 2

IDE crash on PHP file

PostPosted: December 21st, 2012, 9:15 pm
by hans
The following code causes Phalanger Tools for Visual Studio to crash:
Code: Select all
<?php
class Foo
{
   public function Bar()
   {
      $arguments = array(
         &$this->pipes
      );
   }
}
?>

Re: IDE crash on PHP file

PostPosted: December 22nd, 2012, 3:42 pm
by Jakub Misek
Thanks, we will take a look on this case.

Do you have any other extensions? What version of Phalanger and Phalanger Tools do you have?

thanks!

Re: IDE crash on PHP file

PostPosted: December 24th, 2012, 7:55 pm
by hans
I do have a few other third-party extensions installed, including PHP Tools for Visual Studio. Also, this code crashes our PHP Tools for Visual Studio project as well, but only when the Phalanger tools are installed. Without the Phalanger Tools installed, the PHP Tools works fine with this code. I'll try disabling the other extensions.

Phalanger Tools: 3.0.3650
Phalanger: 3.0.0.0
Visual Studio 2012

Re: IDE crash on PHP file

PostPosted: December 24th, 2012, 8:02 pm
by hans
I disabled all the third party stuff and it seems to have the same problem.

Re: IDE crash on PHP file

PostPosted: December 25th, 2012, 12:00 am
by Jakub Misek
Seams you are building latest Phalanger from sources?

I can send you updated Phalanger Tools tested against latest Phalanger. We couldn't replicate the issue, but it would definitely help to see the Visual Studio Log file.

Could you please provide ActivityLog.xml file, which contains details about exceptions. It can be enabled by running VS with /Log option. ActivityLog.xml file will be generated in "C:\Users\{yourusername}\AppData\Roaming\Microsoft\VisualStudio\11.0"

Thanks!

Re: IDE crash on PHP file

PostPosted: December 25th, 2012, 3:36 am
by hans
It looks like PhpNetCore.dll has 3.0.0.3557. The rest of them just say 3.0.0.0

I've been compiling PhpNetClassLibrary.dll from sources and sticking it in the gac, but the problem happened way before I started messing with that.

I disabled all of the extensions I could and generated the attached ActivityLog.xml. Hope it helps.

Thanks for your responsiveness on this.

Re: IDE crash on PHP file

PostPosted: December 25th, 2012, 2:07 pm
by Jakub Misek
Great! Thanks!

I would recommend to update Phalanger (PhpNetCore.dll) and Phalanger Tools (Phalanger.VS.vsix) - they are distributed together, and by updating one, it is recommended to update the second package too.

I'll submit update soon and let you know.

Best,

Re: IDE crash on PHP file

PostPosted: December 25th, 2012, 5:32 pm
by hans
Thanks for your help on this.

As for the version, the one I have installed is the same version as the big download button on codeplex, or at least it's the same filename.

PhpNetCore.dll: 3.0.0.3557
Label on CodePlex: 3.0.0.3576
Filename of download Zip: 3.0.0.3638

Re: IDE crash on PHP file

PostPosted: December 25th, 2012, 5:37 pm
by Jakub Misek
hans wrote:PhpNetCore.dll: 3.0.0.3557
Label on CodePlex: 3.0.0.3576
Filename of download Zip: 3.0.0.3638
Seams little messy :-) I'll take a look on new release.

Thanks!

Re: IDE crash on PHP file

PostPosted: January 7th, 2013, 11:17 am
by Jakub Misek
Hi,

There is an updated package with latest Phalanger and Phalanger Tools.

http://phalanger.codeplex.com/

Please feel free to download and try.

Thanks!