Giter Site home page Giter Site logo

php5-fpm segfault about deb.sury.org HOT 11 CLOSED

oerdnj avatar oerdnj commented on July 30, 2024
php5-fpm segfault

from deb.sury.org.

Comments (11)

MiteshShah avatar MiteshShah commented on July 30, 2024
gdb /usr/sbin/php5-fpm core-php5-fpm.17609
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 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 "x86_64-linux-gnu".
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/sbin/php5-fpm...Reading symbols from /usr/lib/debug/.build-id/04/d0d258938bbeb32d9664c595f48832d4fa3f4f.debug...done.
done.
[New LWP 17609]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `php-fpm: pool www                                                       '.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  zend_hash_clean (ht=0x7f4c89f34ab8)
    at /build/buildd/php5-5.5.19+dfsg/Zend/zend_hash.c:583
583     /build/buildd/php5-5.5.19+dfsg/Zend/zend_hash.c: No such file or directory.

gdb) bt
#0  zend_hash_clean (ht=0x7f4c89f34ab8)
    at /build/buildd/php5-5.5.19+dfsg/Zend/zend_hash.c:583
#1  0x00000000006c603b in zend_cleanup_op_array_data (op_array=<optimized out>)
    at /build/buildd/php5-5.5.19+dfsg/Zend/zend_opcode.c:134
#2  zend_cleanup_function_data (function=<optimized out>)
    at /build/buildd/php5-5.5.19+dfsg/Zend/zend_opcode.c:141
#3  0x00000000006df5f4 in zend_hash_reverse_apply (ht=0x10eec10, 
    apply_func=0x6c6010 <zend_cleanup_function_data>)
    at /build/buildd/php5-5.5.19+dfsg/Zend/zend_hash.c:799
#4  0x00000000006c1a3c in shutdown_executor ()
    at /build/buildd/php5-5.5.19+dfsg/Zend/zend_execute_API.c:286
#5  0x00000000006d1532 in zend_deactivate ()
    at /build/buildd/php5-5.5.19+dfsg/Zend/zend.c:949
#6  0x000000000067159d in php_request_shutdown (dummy=dummy@entry=0x0)
    at /build/buildd/php5-5.5.19+dfsg/main/main.c:1808
#7  0x0000000000461d24 in main (argc=<optimized out>, argv=<optimized out>)
    at /build/buildd/php5-5.5.19+dfsg/sapi/fpm/fpm/fpm_main.c:1977

from deb.sury.org.

MiteshShah avatar MiteshShah commented on July 30, 2024
gdb /usr/sbin/php5-fpm /tmp/core-php5-fpm.20105
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 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 "x86_64-linux-gnu".
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/sbin/php5-fpm...Reading symbols from /usr/lib/debug/.build-id/04/d0d258938bbeb32d9664c595f48832d4fa3f4f.debug...done.
done.
[New LWP 20105]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `php-fpm: pool www                                                       '.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  _zend_mm_free_int (heap=0x10ee300, p=0x7f4cb62fcc40)
    at /build/buildd/php5-5.5.19+dfsg/Zend/zend_alloc.c:2104
2104    /build/buildd/php5-5.5.19+dfsg/Zend/zend_alloc.c: No such file or directory.
(gdb) bt
#0  _zend_mm_free_int (heap=0x10ee300, p=0x7f4cb62fcc40)
    at /build/buildd/php5-5.5.19+dfsg/Zend/zend_alloc.c:2104
#1  0x00000000006c66b2 in destroy_op_array (op_array=0x15ae020)
    at /build/buildd/php5-5.5.19+dfsg/Zend/zend_opcode.c:361
#2  0x00000000006ddac5 in zend_hash_apply_deleter (ht=ht@entry=0x10eec10, 
    p=p@entry=0x13ea210) at /build/buildd/php5-5.5.19+dfsg/Zend/zend_hash.c:650
#3  0x00000000006df609 in zend_hash_reverse_apply (ht=0x10eec10, 
    apply_func=apply_func@entry=0x6c1360 <clean_non_persistent_function>)
    at /build/buildd/php5-5.5.19+dfsg/Zend/zend_hash.c:804
#4  0x00000000006c1b70 in shutdown_executor ()
    at /build/buildd/php5-5.5.19+dfsg/Zend/zend_execute_API.c:302
#5  0x00000000006d1532 in zend_deactivate ()
    at /build/buildd/php5-5.5.19+dfsg/Zend/zend.c:949
#6  0x000000000067159d in php_request_shutdown (dummy=dummy@entry=0x0)
    at /build/buildd/php5-5.5.19+dfsg/main/main.c:1808
#7  0x0000000000461d24 in main (argc=<optimized out>, argv=<optimized out>)
    at /build/buildd/php5-5.5.19+dfsg/sapi/fpm/fpm/fpm_main.c:1977

from deb.sury.org.

MiteshShah avatar MiteshShah commented on July 30, 2024
gdb /usr/sbin/php5-fpm /tmp/core-php5-fpm.18683
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 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 "x86_64-linux-gnu".
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/sbin/php5-fpm...Reading symbols from /usr/lib/debug/.build-id/04/d0d258938bbeb32d9664c595f48832d4fa3f4f.debug...done.
done.
[New LWP 18683]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `php-fpm: pool www                                                       '.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  memset () at ../sysdeps/x86_64/memset.S:64
64      ../sysdeps/x86_64/memset.S: No such file or directory.
(gdb) bt
#0  memset () at ../sysdeps/x86_64/memset.S:64
#1  0x00000000006df241 in memset (__len=<optimized out>, __ch=0, __dest=<optimized out>)
    at /usr/include/x86_64-linux-gnu/bits/string3.h:84
#2  zend_hash_clean (ht=0x7f4cb62fe650)
    at /build/buildd/php5-5.5.19+dfsg/Zend/zend_hash.c:584
#3  0x00000000006c603b in zend_cleanup_op_array_data (op_array=<optimized out>)
    at /build/buildd/php5-5.5.19+dfsg/Zend/zend_opcode.c:134
#4  zend_cleanup_function_data (function=<optimized out>)
    at /build/buildd/php5-5.5.19+dfsg/Zend/zend_opcode.c:141
#5  0x00000000006df5f4 in zend_hash_reverse_apply (ht=0x10eec10, 
    apply_func=0x6c6010 <zend_cleanup_function_data>)
    at /build/buildd/php5-5.5.19+dfsg/Zend/zend_hash.c:799
#6  0x00000000006c1a3c in shutdown_executor ()
    at /build/buildd/php5-5.5.19+dfsg/Zend/zend_execute_API.c:286
#7  0x00000000006d1532 in zend_deactivate ()
    at /build/buildd/php5-5.5.19+dfsg/Zend/zend.c:949
#8  0x000000000067159d in php_request_shutdown (dummy=dummy@entry=0x0)
    at /build/buildd/php5-5.5.19+dfsg/main/main.c:1808
#9  0x0000000000461d24 in main (argc=<optimized out>, argv=<optimized out>)
    at /build/buildd/php5-5.5.19+dfsg/sapi/fpm/fpm/fpm_main.c:1977

from deb.sury.org.

MiteshShah avatar MiteshShah commented on July 30, 2024

Also reported to php.net
Refer: https://bugs.php.net/bug.php?id=68496

from deb.sury.org.

stAn47 avatar stAn47 commented on July 30, 2024

i have the same problem on ubuntu 12.04, my guess is that it can be related to Zend Opcache, my libc version is 2.15

from deb.sury.org.

gau1991 avatar gau1991 commented on July 30, 2024

@oerdnj , Hi we are still facing this issue.. Any solution for this?

from deb.sury.org.

oerdnj avatar oerdnj commented on July 30, 2024

This needs to be solved and fixed in upstream PHP.

from deb.sury.org.

oerdnj avatar oerdnj commented on July 30, 2024

I saw similar bug reports when Zend OpCache was loaded twice. Please ensure that your /etc/php5/ (and below) doesn't contain any extra cruft. Also try disabling the opcache.

from deb.sury.org.

stAn47 avatar stAn47 commented on July 30, 2024

hello, i disabled zend opcache completely and the error is still there. i am on very latest updated ubuntu 12.04, I do not get segfaults on self compiled 5.6.1 on the same server with your PPA for 5.5. Yes, it seems like a php issue, i am awaiting an update soon.

from deb.sury.org.

oerdnj avatar oerdnj commented on July 30, 2024

@stAn47 could you perhaps retry with php5-5.6 ppa packages?

from deb.sury.org.

oerdnj avatar oerdnj commented on July 30, 2024

As this is an upstream issue and not a packaging issue, I am closing the bug.

from deb.sury.org.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.