Thank you for your patience.  This is all new to me.  Not sure the results
will help much.
I would rebuild php with debugging enabled if someone can provide
instructions.

Thank you for the help, Stephen Graf.

Results with bt:

op1bsdsnap1228# egdb /usr/local/sbin/php-fpm-7.2 /root/php-fpm-7.2.core
GNU gdb (GDB) 7.12.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-unknown-openbsd6.4".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/sbin/php-fpm-7.2...(no debugging symbols
found)...done.
[New process 446218]

warning: .dynamic section for "/usr/lib/libcrypto.so.45.1" is not at the
expected address (wrong library or version mismatch?)

warning: .dynamic section for "/usr/lib/libc.so.93.0" is not at the expected
address (wrong library or version mismatch?)

warning: .dynamic section for "/usr/libexec/ld.so" is not at the expected
address (wrong library or version mismatch?)
Core was generated by `php-fpm-7.2'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0xdfdfdfde in ?? ()
(gdb) bt
#0  0xdfdfdfde in ?? ()
#1  0x2fb716f4 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)

-----Original Message-----
From: Karel Gardas <gard...@gmail.com> 
Sent: January 12, 2019 7:41 AM
To: s_g...@telus.net
Cc: ports@openbsd.org; a...@openbsd.org; 'Jeremie Courreges-Anglas'
<j...@wxcvbn.org>
Subject: Re: please help fixing php-fpm on armv7 - egdb result

On Fri, 11 Jan 2019 17:02:25 -0800
<s_g...@telus.net> wrote:

> Thank you Jeremie for your suggestion.  I built  the gdb package and ran
egdb with the result below.  I hope this provides some clues.
> 
> op1bsdsnap1228# egdb /usr/local/sbin/php-fpm-7.2 /root/php-fpm-7.2.core
> GNU gdb (GDB) 7.12.1
> Copyright (C) 2017 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "arm-unknown-openbsd6.4".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from /usr/local/sbin/php-fpm-7.2...(no debugging symbols
found)...done.
> [New process 446218]
> 
> warning: .dynamic section for "/usr/lib/libcrypto.so.45.1" is not at the
expected address (wrong library or version mismatch?)
> 
> warning: .dynamic section for "/usr/lib/libc.so.93.0" is not at the
expected address (wrong library or version mismatch?)
> Core was generated by `php-fpm-7.2'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0xdfdfdfde in ?? ()
> (gdb)

Here ^ you should type "bt" and hit Enter and this way you will see
stacktrace of the crash. Also if you build php-fpm-7.2 with debugging
enabled, it will help too probably since you will/should see line numbers
etc.

Reply via email to