I successfully built php-7.2 on a Nov 2 snapshot but got the same problem. Your 
timing patch seems to work.

op1bsdsnap1102# gdb /usr/local/sbin/php-fpm-7.2 /root/php-fpm-7.2.core
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "arm-unknown-openbsd6.4"...(no debugging symbols 
found)

Core was generated by `php-fpm-7.2'.
Program terminated with signal 11, Segmentation fault.
(no debugging symbols found)
Loaded symbols for /usr/local/sbin/php-fpm-7.2
Reading symbols from /usr/lib/libreadline.so.4.0...done.
Loaded symbols for /usr/lib/libreadline.so.4.0
Reading symbols from /usr/lib/libcurses.so.14.0...done.
Loaded symbols for /usr/lib/libcurses.so.14.0
Reading symbols from /usr/local/lib/libonig.so.4.0...done.
Loaded symbols for /usr/local/lib/libonig.so.4.0
Reading symbols from /usr/local/lib/libiconv.so.6.0...done.
Loaded symbols for /usr/local/lib/libiconv.so.6.0
Reading symbols from /usr/local/lib/libintl.so.6.0...done.
Loaded symbols for /usr/local/lib/libintl.so.6.0
Reading symbols from /usr/lib/libz.so.5.0...done.
Loaded symbols for /usr/lib/libz.so.5.0
Reading symbols from /usr/lib/libm.so.10.1...done.
Loaded symbols for /usr/lib/libm.so.10.1
Reading symbols from /usr/local/lib/libxml2.so.16.1...done.
Loaded symbols for /usr/local/lib/libxml2.so.16.1
Reading symbols from /usr/local/lib/liblzma.so.2.1...done.
Loaded symbols for /usr/local/lib/liblzma.so.2.1
Reading symbols from /usr/lib/libssl.so.47.0...done.
Loaded symbols for /usr/lib/libssl.so.47.0
Reading symbols from /usr/lib/libcrypto.so.45.0...done.
Loaded symbols for /usr/lib/libcrypto.so.45.0
Reading symbols from /usr/lib/libpthread.so.25.1...done.
Loaded symbols for /usr/lib/libpthread.so.25.1
Reading symbols from /usr/lib/libc.so.92.6...done.
Loaded symbols for /usr/lib/libc.so.92.6
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
#0  0xdfdfdfdc in ?? ()
(gdb) bt
#0  0xdfdfdfdc in ?? ()
(gdb)


>From log:

[06-Nov-2018 19:33:14.360021] WARNING: pid 45806, fpm_children_bury(), line 
253: [pool www] child 31469 exited on signal 10 (SIGBUS) after 0.018080 seconds 
from start
[06-Nov-2018 19:33:14.362332] NOTICE: pid 45806, fpm_children_make(), line 422: 
[pool www] child 59805 started
[06-Nov-2018 19:33:14.362482] DEBUG: pid 45806, fpm_got_signal(), line 76: 
received SIGCHLD
[06-Nov-2018 19:33:14.362532] DEBUG: pid 45806, fpm_event_loop(), line 419: 
event module triggered 3 events
[06-Nov-2018 19:33:14.365959] DEBUG: pid 45806, fpm_got_signal(), line 76: 
received SIGCHLD
[06-Nov-2018 19:33:14.366097] WARNING: pid 45806, fpm_children_bury(), line 
253: [pool www] child 52608 exited on signal 10 (SIGBUS) after 0.006372 seconds 
from start
[06-Nov-2018 19:33:14.368277] NOTICE: pid 45806, fpm_children_make(), line 422: 
[pool www] child 47105 started

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Stuart 
Henderson
Sent: November 5, 2018 2:55 AM
To: [email protected]; [email protected]
Subject: Re: php-fpm child processes crash

On 2018/11/04 18:20, Stuart Henderson wrote:
> On 2018/11/04 09:37, [email protected] wrote:
> > I am trying to set up my arm systems on 6.4 stable. However I am 
> > running into a problem that I saw in Aug. which went away with the 
> > Aug 25 bulk build.
> >
> > On all 4 flavours of php, the php-fpm child processes crash 
> > immediately on start up.  Below is some debug output and the 
> > attached core is from a separate start of php72_fpm. I did not get a core 
> > from the debug start.
> >
> > I will set up a current system and test again, but I think the 
> > current and stable bulk builds are the same.
>
> Could you run 'gdb /usr/local/sbin/php-fpm-7.2 php-fpm-7.2.core' and 
> type 'bt' please?

Pasting this chunk from offlist mail to keep it on ports@:

Core was generated by `php-fpm-7.2'.
Program terminated with signal 11, Segmentation fault.
(no debugging symbols found)
Loaded symbols for /usr/local/sbin/php-fpm-7.2 Reading symbols from 
/usr/lib/libreadline.so.4.0...done.
Loaded symbols for /usr/lib/libreadline.so.4.0 Reading symbols from 
/usr/lib/libcurses.so.14.0...done.
Loaded symbols for /usr/lib/libcurses.so.14.0 Reading symbols from 
/usr/local/lib/libonig.so.4.0...done.
Loaded symbols for /usr/local/lib/libonig.so.4.0 Reading symbols from 
/usr/local/lib/libiconv.so.6.0...done.
Loaded symbols for /usr/local/lib/libiconv.so.6.0 Reading symbols from 
/usr/local/lib/libintl.so.6.0...done.
Loaded symbols for /usr/local/lib/libintl.so.6.0 Reading symbols from 
/usr/lib/libz.so.5.0...done.
Loaded symbols for /usr/lib/libz.so.5.0
Reading symbols from /usr/lib/libm.so.10.1...done.
Loaded symbols for /usr/lib/libm.so.10.1 Reading symbols from 
/usr/local/lib/libxml2.so.16.1...done.
Loaded symbols for /usr/local/lib/libxml2.so.16.1 Reading symbols from 
/usr/local/lib/liblzma.so.2.1...done.
Loaded symbols for /usr/local/lib/liblzma.so.2.1 Reading symbols from 
/usr/lib/libssl.so.46.1...done.
Loaded symbols for /usr/lib/libssl.so.46.1 Reading symbols from 
/usr/lib/libcrypto.so.44.1...done.
Loaded symbols for /usr/lib/libcrypto.so.44.1 Reading symbols from 
/usr/lib/libpthread.so.25.1...done.
Loaded symbols for /usr/lib/libpthread.so.25.1 Reading symbols from 
/usr/lib/libc.so.92.5...done.
Loaded symbols for /usr/lib/libc.so.92.5 Reading symbols from 
/usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
#0  0xdfdfdfdc in ?? ()
(gdb) bt
#0  0xdfdfdfdc in ?? ()
(gdb)

Sorry this doesn't give me any clues. Looks like something using freed memory 
but not sure how this ends up as a function address in a backtrace. Somebody 
else may have an idea.


Reply via email to