IDE crash on PHP file

Phalanger Tools for Visual Studio [?] is complete PHP/Phalanger integration into Visual Studio development environment.

IDE crash on PHP file

Postby hans » December 21st, 2012, 9:15 pm

The following code causes Phalanger Tools for Visual Studio to crash:
Code: Select all
<?php
class Foo
{
   public function Bar()
   {
      $arguments = array(
         &$this->pipes
      );
   }
}
?>
hans
 
Posts: 12
Joined: December 12th, 2012, 11:32 pm

Re: IDE crash on PHP file

Postby Jakub Misek » December 22nd, 2012, 3:42 pm

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!
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: IDE crash on PHP file

Postby hans » December 24th, 2012, 7:55 pm

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
hans
 
Posts: 12
Joined: December 12th, 2012, 11:32 pm

Re: IDE crash on PHP file

Postby hans » December 24th, 2012, 8:02 pm

I disabled all the third party stuff and it seems to have the same problem.
hans
 
Posts: 12
Joined: December 12th, 2012, 11:32 pm

Re: IDE crash on PHP file

Postby Jakub Misek » December 25th, 2012, 12:00 am

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!
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: IDE crash on PHP file

Postby hans » December 25th, 2012, 3:36 am

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.
You do not have the required permissions to view the files attached to this post.
hans
 
Posts: 12
Joined: December 12th, 2012, 11:32 pm

Re: IDE crash on PHP file

Postby Jakub Misek » December 25th, 2012, 2:07 pm

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,
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: IDE crash on PHP file

Postby hans » December 25th, 2012, 5:32 pm

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
hans
 
Posts: 12
Joined: December 12th, 2012, 11:32 pm

Re: IDE crash on PHP file

Postby Jakub Misek » December 25th, 2012, 5:37 pm

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!
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: IDE crash on PHP file

Postby Jakub Misek » January 7th, 2013, 11:17 am

Hi,

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

http://phalanger.codeplex.com/

Please feel free to download and try.

Thanks!
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Next

Return to Phalanger Tools

Who is online

Users browsing this forum: No registered users and 11 guests

cron

User Control Panel

Login

Who is online

In total there are 11 users online :: 0 registered, 0 hidden and 11 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 11 guests