Bug #71492 [Opn->Fbk]: Segmentation faults all the time

From: Date: Wed, 17 Feb 2016 12:26:37 +0000
Subject: Bug #71492 [Opn->Fbk]: Segmentation faults all the time
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-199300@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71492&edit=1

 ID:                 71492
 Updated by:         cmb@php.net
 Reported by:        Birman at Cerberox dot com
 Summary:            Segmentation faults all the time
-Status:             Open
+Status:             Feedback
 Type:               Bug
-Package:            *Web Server problem
+Package:            PCRE related
 Operating System:   CentOS 7.1.1503
 PHP Version:        7.0.2
 Block user comment: N
 Private report:     N

 New Comment:

> Okay, it's been a bit more than 12 hours now since I did that
> and there has only been 2 Segmentation fault errors.

Still too many, IMHO.  Can you please add a respective backtrace?

> According to description it seems to be some just-in-time
> debugger.

The manual[1] says:

| Whether PCRE's just-in-time *compilation* is going to be used.

(Emphasis mine.) See also
<http://www.pcre.org/original/doc/html/pcrejit.html>.

Which libpcre version do you use? echo PCRE_VERSION; should show
the relevant information.

[1] <http://php.net/manual/en/pcre.configuration.php#ini.pcre.jit>


Previous Comments:
------------------------------------------------------------------------
[2016-02-17 12:01:16] Birman at Cerberox dot com

Okay, it's been a bit more than 12 hours now since I did that and there has only been 2
Segmentation fault errors. Before it started spamming it roughly after 5 minutes of starting the
service. So it seems that did the trick. 
What is that setting anyway? According to description it seems to be some just-in-time debugger. And
there are reports about this setting causing problems with regex. How's that?

------------------------------------------------------------------------
[2016-02-11 10:57:57] cmb@php.net

> I'm missing pcre.jit setting in my php.ini file.

Then simply add the following line and try again:

pcre.jit=0

------------------------------------------------------------------------
[2016-02-11 07:42:44] Birman at Cerberox dot com

Hi!

I'm missing pcre.jit setting in my php.ini file. I don't have any other php versions on
the server, because I scraped it all clean before installing php7 and the ini file got placed there
by php7 installation.

------------------------------------------------------------------------
[2016-02-09 18:15:48] cmb@php.net

Have you contacted the developers of this forum software? Maybe
they already have a clue what might go wrong. If you should a file
a bug report with them, please add a link here for reference.

Also I suggest you check the pcre.jit ini setting, and disable it
if that's not already the case. Then check if the segfault still
happens.

------------------------------------------------------------------------
[2016-02-03 21:18:44] Birman at Cerberox dot com

Hi!

I'm running a big forum software, I have no idea what scripts there are that could be causing
this. 

How can I help?

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


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=71492


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


Thread (9 messages)

« previous php.bugs (#199300) next »