Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access to undefined property results in segmentation fault #27

Closed
schmittjoh opened this issue Jul 14, 2012 · 9 comments
Closed

Access to undefined property results in segmentation fault #27

schmittjoh opened this issue Jul 14, 2012 · 9 comments
Assignees
Labels

Comments

@schmittjoh
Copy link

When accessing an undefined property I would still expect the default PHP error message, sth like Undefined property: A\B\C::$d.

Right now, however, I get a segmentation fault if there are any advices registered.

@geraldcroes
Copy link
Member

I cannot reproduce your issue. The following passes 1fea1d4

can you provide a sample please ?

@schmittjoh
Copy link
Author

How do you run the test suite?

@geraldcroes
Copy link
Member

just type make test

@geraldcroes
Copy link
Member

The current version will require libpcre on your computer

@geraldcroes
Copy link
Member

You can also give me a php sample file that segfault, I will integrate it to the test suites

@schmittjoh
Copy link
Author

These are the steps to reproduce:

git clone git://github.com/schmittjoh/php-debugger.git
curl -s http://getcomposer.org/installer | php
php composer.phar install --dev
phpunit // segfaults
phpunit --filter FileWriter // skips the AOP related tests and passes

I can also try to get the extension tests working later today.

@geraldcroes
Copy link
Member

Thx, I'll transform this into a unit test later today (have to go right now)

@ghost ghost assigned juliens Jul 14, 2012
@geraldcroes
Copy link
Member

Julien fixed the issue right now.

@schmittjoh
Copy link
Author

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants