View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000875 | Xdebug | Uncategorized | public | 2012-08-22 14:08 | 2012-12-18 13:08 |
Reporter | tploch | Assigned To | derick | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | not fixable | ||
Platform | Linux | OS | Ubuntu 64 | OS Version | 12.04 LTS |
Product Version | 2.2.1 | ||||
Summary | 0000875: xdebug causes segfault when using mocked SoapClient in PHPUnit | ||||
Description | When using PHPUnit 3.6.12 and Soap extension 0.13.0, using a mocked abstract class together with a mocked soap client causes xdebug (actually I am not sure about this, but the backtrace indicates that xdebug is in there) to crash with a segfault. Unfortunately I havn't been able to reproduce that in a small piece of code, so I added a gist that provides all the things I have done. | ||||
Steps To Reproduce | |||||
Additional Information | GDB backtrace: #0 _zval_ptr_dtor (zval_ptr=0x7fffffff8c08) at /build/buildd/php5-5.3.15/Zend/zend.h:385 | ||||
Tags | No tags attached. | ||||
Operating System | Ubuntu 64 12.04 LTS | ||||
PHP Version | 5.3-dev | ||||
|
$ php -v |
|
I've tried to reproduce this with Xdebug 2.2.1 and PHP 5.3.16-dev: derick@whisky:/tmp/gist-a06fea9f $ phpunit test_case.php E Time: 0 seconds, Memory: 0.25Mb There was 1 error: 1) Testcase\SoapTypeAbstractTest::testTypemapCallsFromXml /tmp/gist-a06fea9f/test_case.php:40 FAILURES! But as you can see, it works fine. Could you please provide:
|
|
Hello, I have updated the gist so it can be run without a bootstrap (which was there in my case, since the class not found error shouldn't have been there), so you should be able to just run it with '/usr/bin/phpunit test_case.php' from inside the gist directory: https://gist.github.com/cc37549c71f51c5968b0 xdebug php.ini values: xdebug xdebug support => enabled Supported protocols => Revision Directive => Local Value => Master Value |
|
Hi Derick, could you tell me if this is a valid bug in xdebug or a bug in the SOAP extension? You should be able to reproduce it with the updated GIST found here: Thanks in advance, |
|
I can reproduce this with: derick@whisky:/tmp $ export USE_ZEND_ALLOC=0 Segmentation fault But I can also reproduce this without Xdebug loaded (notice the -n): derick@whisky:/tmp/cc37549c71f51c5968b0 $ valgrind --db-attach=yes php -n ==20922== Invalid read of size 4 So please report this with the SOAP developers. |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-08-22 14:08 | tploch | New Issue | |
2012-08-22 14:25 | tploch | Note Added: 0002330 | |
2012-08-24 09:09 | derick | Note Added: 0002331 | |
2012-08-24 09:09 | derick | Assigned To | => derick |
2012-08-24 09:09 | derick | Status | new => feedback |
2012-08-27 06:35 | tploch | Note Added: 0002333 | |
2012-08-27 06:35 | tploch | Status | feedback => assigned |
2012-08-27 13:57 | tploch | Note Edited: 0002333 | |
2012-09-10 11:06 | tploch | Note Added: 0002346 | |
2012-12-18 13:08 | derick | Note Added: 0002399 | |
2012-12-18 13:08 | derick | Status | assigned => resolved |
2012-12-18 13:08 | derick | Resolution | open => not fixable |
2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) |
2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |