Bug #74382 [Com]: Too many phpunit tests causing segmentation fault

From: Date: Fri, 07 Apr 2017 09:47:39 +0000
Subject: Bug #74382 [Com]: Too many phpunit tests causing segmentation fault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-208380@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74382&edit=1

 ID:                 74382
 Comment by:         lewis at lewnelson dot com
 Reported by:        lewis at lewnelson dot com
 Summary:            Too many phpunit tests causing segmentation fault
 Status:             Feedback
 Type:               Bug
 Package:            PCRE related
 Operating System:   ubuntu 16.04
 PHP Version:        7.1.3
 Block user comment: N
 Private report:     N

 New Comment:

Pastebin to output of "USE_ZEND_ALLOC=0 valgrind php vendor/bin/phpunit" https://pastebin.com/0445vUBM


Previous Comments:
------------------------------------------------------------------------
[2017-04-07 09:36:36] lewis at lewnelson dot com

I installed the dbgsym packages for all of the 7.1 packages I have installed, the output from the
backtrace looks a little bit more helpful, but still a lot of references to xdebug.c:1995. I'm
currently still running "USE_ZEND_ALLOC=0 valgrind php vendor/bin/phpunit" and will stick
the output up on pastebin once it's done.

Here is the pastebin link for the backtrace, looks easier to read on pastebin https://pastebin.com/TXBABZD5

------------------------------------------------------------------------
[2017-04-06 15:29:41] spam2 at rhsoft dot net

*-dev packages does *not* contain debug-symbols
they are for building extensions and contain headers and so on

https://wiki.ubuntu.com/Debug%20Symbol%20Packages

------------------------------------------------------------------------
[2017-04-06 15:23:35] nikic@php.net

After installing the debug symbols, could you please also provide the output of
"USE_ZEND_ALLOC=0 valgrind php vendor/bin/phpunit"? (It might take a few minutes to run.)

------------------------------------------------------------------------
[2017-04-06 15:15:28] derick@php.net

This happens in pcre_split, which is the pcre extension. 

Your PHP doesn't have symbols available, but Xdebug does, that's why you see it so often.
If you have installed PHP through Ubuntu's packages, also install the php-dev (or php-5dev, or
whatever it's called), to provide a useful backtrace.

------------------------------------------------------------------------
[2017-04-06 14:16:32] lewis at lewnelson dot com

In case it's required the xdebug extension version is Xdebug v2.5.1

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=74382


--
Edit this bug report at https://bugs.php.net/bug.php?id=74382&edit=1


Thread (11 messages)

« previous php.bugs (#208380) next »