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

From: Date: Wed, 03 Feb 2016 21:18:46 +0000
Subject: Bug #71492 [Fbk->Opn]: Segmentation faults all the time
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-199034@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
 User updated by:    Birman at Cerberox dot com
 Reported by:        Birman at Cerberox dot com
 Summary:            Segmentation faults all the time
-Status:             Feedback
+Status:             Open
 Type:               Bug
 Package:            *Web Server problem
 Operating System:   CentOS 7.1.1503
 PHP Version:        7.0.2
 Block user comment: N
 Private report:     N

 New Comment:

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?


Previous Comments:
------------------------------------------------------------------------
[2016-02-03 18:57:52] cmb@php.net

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.



------------------------------------------------------------------------
[2016-02-01 16:22:09] Birman at Cerberox dot com

Description:
------------
Installed php70w package on CentOS. Everything installed fine and Apache 2.4.6 picked it up with no
problems and all the web services seem to work. However, when I take a look at the logs, after
around 5 minutes it gets spammed with Segmentation faults:

[Mon Feb 01 17:09:47.812393 2016] [core:notice] [pid 12430] AH00052: child pid 12457 exit signal
Segmentation fault (11)
[Mon Feb 01 17:13:37.999297 2016] [core:notice] [pid 12430] AH00052: child pid 12605 exit signal
Segmentation fault (11)
[Mon Feb 01 17:14:08.027445 2016] [core:notice] [pid 12430] AH00052: child pid 12601 exit signal
Segmentation fault (11)

Funny thing is that when using the website, everything seems to be fine, so whatever it is, it
doesn't affect the usage (or it's able to recover from it quickly).

Also ran the gdb for you, this is what I got:
Try 1:
Program received signal SIGSEGV, Segmentation fault.
sljit_malloc_exec (size=1968) at
/usr/src/debug/php-7.0.2/ext/pcre/pcrelib/sljit/sljitExecAllocator.c:196
196                                     header->prev_size = chunk_size;
(gdb) step

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.

Try 2:
Program received signal SIGSEGV, Segmentation fault.
0x00007fffea3c1e48 in sljit_malloc_exec (size=2032) at
/usr/src/debug/php-7.0.2/ext/pcre/pcrelib/sljit/sljitExecAllocator.c:189
189                     if (free_block->size >= size) {
(gdb) step

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb)





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



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


Thread (9 messages)

« previous php.bugs (#199034) next »