Bug #66694 [NEW]: php-fpm is crashing when using eventport
| From: | eugene at zhegan dot in | Date: | Tue, 11 Feb 2014 08:57:41 +0000 |
| Subject: | Bug #66694 [NEW]: php-fpm is crashing when using eventport | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-184256@lists.php.net to get a copy of this message | ||
From: eugene at zhegan dot in
Operating system: Solaris 11.1
PHP version: 5.4.25
Package: FPM related
Bug Type: Bug
Bug description:php-fpm is crashing when using eventport
Description:
------------
php-fpm is crashing when 'events.mechanism' is set to 'port'. It doesn't
crash on first request, it can process some, however, the crash is
imminent and my installation dumps cores like 1 per minute (this server
is used by ~50 developers).
When set to 'events.mechanism = /dev/poll' php-fpm stop to crash.
Backtrace (they all do look similar):
# /usr/local/solarisstudio12.3/bin/dbx
/usr/local/php-5.4.25/sbin/php-fpm core_hyperion_php-fpm_0_%c_5046
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.9' in
your .dbxrc
Reading php-fpm
core file header read successfully
Reading ld.so.1
Reading preloadable_libiconv.so
Reading libcrypt.so.1
Reading libresolv.so.2
Reading librt.so.1
Reading libmysqlclient.so.18.0.0
Reading libsybdb.so.5.0.0
Reading libnsl.so.1
Reading libsocket.so.1
Reading libpthread.so.1
Reading libldap.so.5
Reading liblber-2.4.so.2.8.3
Reading libpng15.so.15.13.0
Reading libz.so.1
Reading libm.so.2
Reading libjpeg.so.62.0.0
Reading libcrypto.so.1.0.0
Reading libssl.so.1.0.0
Reading libxml2.so.2
Reading libfreetype.so.6
Reading libc.so.1
Reading libgcc_s.so.1
Reading libdl.so.1
Reading libnspr4.so
Reading libmd.so.1
Reading libmp.so.2
Reading libsasl.so.1
Reading libplc4.so
Reading libnss3.so
Reading libnssutil3.so
Reading libplds4.so
Reading libssl3.so
Reading libthread.so.1
Reading libbz2.so.1
Reading libcryptoutil.so.1
Reading ru_RU.UTF-8.so.3
Reading methods_unicode.so.3
Reading xdebug.so
Reading bz2.so
Reading curl.so
Reading libcurl.so.4.2.0
Reading imap.so
Reading libpam.so.1
Reading memcache.so
Reading mcrypt.so
Reading libmcrypt.so.4.4.8
Reading libltdl.so.7.3.0
Reading oci8.so
Reading libclntsh.so.11.1
dbx: internal warning: "(null)"::srcname(InfoOrigin_CMDLINE): value
"ntcontab.c" being set to "nt.c"
Reading libnnz11.so
Reading libkstat.so.1
Reading libgen.so.1
Reading libsched.so.1
Reading libaio.so.1
Reading libpool.so.1
Reading openssl.so
Reading pinba.so
Reading redis.so
Reading xmlrpc.so
Reading xsl.so
Reading libexslt.so.0
Reading libxslt.so.1
Reading nss_files.so.1
Reading nss_ldap.so.1
Reading libsldap.so.1
Reading libscf.so.1
t@1 (l@1) program terminated by signal SEGV (no mapping at the fault
address)
0x00000000008f75d7: fpm_event_fire+0x0009: movq
0x0000000000000028(%rdi),%rax
(dbx) where
current thread: t@1
=>[1] fpm_event_fire(0x75723d63642c61, 0x26, 0x0, 0x1, 0x4,
0xffff80ffbfffd0b0), at 0x8f75d7
[2] fpm_event_port_wait(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x13b6,
0x7d141, 0xe18ed, 0x1, 0x0, 0xffff80ffbffffb3c, 0xffff80ffbffffc18, 0x1,
0xd55d0c, 0xffff80ffbfffd160, 0x8f2925, 0xe23c20, 0x0), at 0x902998
[3] fpm_event_loop(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x8f7927
[4] fpm_run(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x8f2925
[5] main(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x8fa704
(dbx)
Another one:
# /usr/local/solarisstudio12.3/bin/dbx
/usr/local/php-5.4.25/sbin/php-fpm core_hyperion_php-fpm_0_%c_4964
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.9' in
your .dbxrc
Reading php-fpm
core file header read successfully
Reading ld.so.1
Reading preloadable_libiconv.so
Reading libcrypt.so.1
Reading libresolv.so.2
Reading librt.so.1
Reading libmysqlclient.so.18.0.0
Reading libsybdb.so.5.0.0
Reading libnsl.so.1
Reading libsocket.so.1
Reading libpthread.so.1
Reading libldap.so.5
Reading liblber-2.4.so.2.8.3
Reading libpng15.so.15.13.0
Reading libz.so.1
Reading libm.so.2
Reading libjpeg.so.62.0.0
Reading libcrypto.so.1.0.0
Reading libssl.so.1.0.0
Reading libxml2.so.2
Reading libfreetype.so.6
Reading libc.so.1
Reading libgcc_s.so.1
Reading libdl.so.1
Reading libnspr4.so
Reading libmd.so.1
Reading libmp.so.2
Reading libsasl.so.1
Reading libplc4.so
Reading libnss3.so
Reading libnssutil3.so
Reading libplds4.so
Reading libssl3.so
Reading libthread.so.1
Reading libbz2.so.1
Reading libcryptoutil.so.1
Reading ru_RU.UTF-8.so.3
Reading methods_unicode.so.3
Reading xdebug.so
Reading bz2.so
Reading curl.so
Reading libcurl.so.4.2.0
Reading imap.so
Reading libpam.so.1
Reading memcache.so
Reading mcrypt.so
Reading libmcrypt.so.4.4.8
Reading libltdl.so.7.3.0
Reading oci8.so
Reading libclntsh.so.11.1
dbx: internal warning: "(null)"::srcname(InfoOrigin_CMDLINE): value
"ntcontab.c" being set to "nt.c"
Reading libnnz11.so
Reading libkstat.so.1
Reading libgen.so.1
Reading libsched.so.1
Reading libaio.so.1
Reading libpool.so.1
Reading openssl.so
Reading pinba.so
Reading redis.so
Reading xmlrpc.so
Reading xsl.so
Reading libexslt.so.0
Reading libxslt.so.1
Reading nss_files.so.1
Reading nss_ldap.so.1
Reading libsldap.so.1
Reading libscf.so.1
t@1 (l@1) program terminated by signal SEGV (no mapping at the fault
address)
0x00000000008f75d7: fpm_event_fire+0x0009: movq
0x0000000000000028(%rdi),%rax
(dbx) where
current thread: t@1
=>[1] fpm_event_fire(0x75723d63642c61, 0x26, 0x0, 0x1, 0x4,
0xffff80ffbfffd0b0), at 0x8f75d7
[2] fpm_event_port_wait(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1364,
0x7d0da, 0xb7ce3, 0x1, 0x0, 0xffff80ffbffffb3c, 0xffff80ffbffffc18, 0x1,
0xd55d0c, 0xffff80ffbfffd160, 0x8f2925, 0xe23c20, 0x0), at 0x902998
[3] fpm_event_loop(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x8f7927
[4] fpm_run(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x8f2925
[5] main(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x8fa704
(dbx)
--
Edit bug report at https://bugs.php.net/bug.php?id=66694&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66694&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66694&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66694&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66694&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66694&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66694&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66694&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66694&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66694&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66694&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66694&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66694&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66694&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66694&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66694&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66694&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66694&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66694&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66694&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66694&r=mysqlcfg