Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2017 10:56:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 220942] www/mod_php56 opcache makes httpd segfault using phpPgAdmin 5.1_3
Message-ID:  <bug-220942-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220942

            Bug ID: 220942
           Summary: www/mod_php56 opcache makes httpd segfault using
                    phpPgAdmin 5.1_3
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ale@FreeBSD.org
          Reporter: chevalier@dspnet.fr
          Assignee: ale@FreeBSD.org
             Flags: maintainer-feedback?(ale@FreeBSD.org)

When browsing databases with phpPgAdmin, httpd randomly crashes, with :

[core:notice] [pid 778] AH00052: child pid 803 exit signal Segmentation fau=
lt
(11)

Using mpm_prefork or mpm_itk, the result is the same.

It happened on random pages, after clicking around. Mostly coming back to a
page already visited.

After some fiddling, I managed to get a core of httpd and a backtrace :

(gdb) bt
#0  0x000000081f15c000 in ?? ()
#1  0x000000080a20a08d in accel_shutdown () from
/usr/local/lib/php/20131226/opcache.so
#2  0x000000080a206efb in validate_timestamp_and_record () from
/usr/local/lib/php/20131226/opcache.so
#3  0x000000080a207d14 in persistent_compile_file () from
/usr/local/lib/php/20131226/opcache.so
#4  0x0000000808841772 in zend_execute_scripts () from
/usr/local/libexec/apache24/libphp5.so
#5  0x00000008087e39d9 in php_execute_script () from
/usr/local/libexec/apache24/libphp5.so
#6  0x00000008088cd5bb in zend_get_zval_ptr_ptr () from
/usr/local/libexec/apache24/libphp5.so
#7  0x00000000004449f6 in ap_pass_brigade (next=3D0x81f15bcb0, bb=3D0x81f15=
9f80) at
util_filter.c:590
#8  0x000000000045c053 in default_handler (r=3D0x81f1580a0) at core.c:4746
#9  0x000000000046b4b2 in ap_run_handler (r=3D0x81f1580a0) at config.c:170
#10 0x000000000046bd0c in ap_invoke_handler (r=3D0x81f1580a0) at config.c:4=
34
#11 0x000000000048fcbc in ap_process_async_request (r=3D0x81f1580a0) at
http_request.c:436
#12 0x000000000048fd91 in ap_process_request (r=3D0x81f1580a0) at
http_request.c:471
#13 0x000000000048b0d0 in ap_process_http_sync_connection (c=3D0x81aef5290)=
 at
http_core.c:210
#14 0x000000000048ac6d in ap_process_http_connection (c=3D0x81aef5290) at
http_core.c:251
#15 0x000000000047c122 in ap_run_process_connection (c=3D0x81aef5290) at
connection.c:42
#16 0x0000000809c91c64 in itk_fork_process (c=3D0x81aef5290) at mpm_itk.c:2=
20
#17 0x000000000047c122 in ap_run_process_connection (c=3D0x81aef5290) at
connection.c:42
#18 0x000000000047c905 in ap_process_connection (c=3D0x81aef5290,
csd=3D0x81aef50a0) at connection.c:226
#19 0x000000080607222a in child_main (child_num_arg=3D0, child_bucket=3D0) =
at
prefork.c:612
#20 0x00000008060712a3 in make_child (s=3D0x802454110, slot=3D0, bucket=3D0=
) at
prefork.c:706
#21 0x000000080607136d in startup_children (number_to_start=3D5) at prefork=
.c:725
#22 0x0000000806070288 in prefork_run (_pconf=3D0x802429028, plog=3D0x80245=
8028,
s=3D0x802454110) at prefork.c:894
#23 0x0000000000441402 in ap_run_mpm (pconf=3D0x802429028, plog=3D0x8024580=
28,
s=3D0x802454110) at mpm_common.c:94
#24 0x0000000000434f30 in main (argc=3D1, argv=3D0x7fffffffed28) at main.c:=
792


It pointed to opcache.so, so in php.ini I put opcache.enable=3D0

Problem disappeared.

I would like to get the opcache back, eventually.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220942-13>