Debian Bug report logs -
#849767
php5-fpm: segfault when using pdo_mysql.so
Reported by: Antonio Silva <asilva@wirelessmundi.com>
Date: Fri, 30 Dec 2016 19:18:02 UTC
Severity: normal
Found in version php5/5.6.29+dfsg-0+deb8u1
Fixed in version 5.6.26+dfsg-1+rm
Done: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#849767; Package php5-fpm.
(Fri, 30 Dec 2016 19:18:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Antonio Silva <asilva@wirelessmundi.com>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Fri, 30 Dec 2016 19:18:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: php5-fpm
Version: 5.6.29+dfsg-0+deb8u1
php5-fmp is crashing when connecting to mysql using pdo with segfault.
The web server is nginx and i connect using fastcig parameter:
fastcgi_pass unix:/var/run/php5-fpm-internal.sock; with default parameters.
I get the following gdb:
[New LWP 3316]
[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
internal '.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 _pdo_mysql_error (dbh=0x202b1a0, stmt=0x0, file=0x7f5fb5cc7f80
"/build/php5-5.6.29+dfsg/ext/pdo_mysql/mysql_driver.c", line=586) at
/build/php5-5.6.29+dfsg/ext/pdo_mysql/mysql_driver.c:67
67 /build/php5-5.6.29+dfsg/ext/pdo_mysql/mysql_driver.c: No such file
or directory.
(gdb) bt
#0 _pdo_mysql_error (dbh=0x202b1a0, stmt=0x0, file=0x7f5fb5cc7f80
"/build/php5-5.6.29+dfsg/ext/pdo_mysql/mysql_driver.c", line=586) at
/build/php5-5.6.29+dfsg/ext/pdo_mysql/mysql_driver.c:67
#1 0x00007f5fb5cc6159 in pdo_mysql_handle_factory (dbh=0x202b1a0,
driver_options=0x0) at
/build/php5-5.6.29+dfsg/ext/pdo_mysql/mysql_driver.c:772
#2 0x00007f5fb5ed422a in zim_PDO_dbh_constructor (ht=33730976,
return_value=0x0, return_value_ptr=0x7f5fb5cc7f80, this_ptr=0x272ab50,
return_value_used=0) at /build/php5-5.6.29+dfsg/ext/pdo/pdo_dbh.c:389
#3 0x00000000006e7aea in dtrace_execute_internal
(execute_data_ptr=<optimized out>, fci=<optimized out>,
return_value_used=<optimized out>) at
/build/php5-5.6.29+dfsg/Zend/zend_dtrace.c:97
#4 0x00000000007a84d0 in zend_do_fcall_common_helper_SPEC
(execute_data=0x7f5fc166b3a0) at
/build/php5-5.6.29+dfsg/Zend/zend_vm_execute.h:560
#5 0x0000000000736820 in execute_ex (execute_data=0x7f5fc166b3a0) at
/build/php5-5.6.29+dfsg/Zend/zend_vm_execute.h:363
#6 0x00000000006e7988 in dtrace_execute_ex
(execute_data=0x7f5fc166b3a0) at
/build/php5-5.6.29+dfsg/Zend/zend_dtrace.c:73
#7 0x00000000007a8a13 in zend_do_fcall_common_helper_SPEC
(execute_data=0x7f5fc166b188) at
/build/php5-5.6.29+dfsg/Zend/zend_vm_execute.h:592
#8 0x0000000000736820 in execute_ex (execute_data=0x7f5fc166b188) at
/build/php5-5.6.29+dfsg/Zend/zend_vm_execute.h:363
#9 0x00000000006e7988 in dtrace_execute_ex
(execute_data=0x7f5fc166b188) at
/build/php5-5.6.29+dfsg/Zend/zend_dtrace.c:73
#10 0x00000000007a8a13 in zend_do_fcall_common_helper_SPEC
(execute_data=0x7f5fc166afa8) at
/build/php5-5.6.29+dfsg/Zend/zend_vm_execute.h:592
#11 0x0000000000736820 in execute_ex (execute_data=0x7f5fc166afa8) at
/build/php5-5.6.29+dfsg/Zend/zend_vm_execute.h:363
#12 0x00000000006e7988 in dtrace_execute_ex
(execute_data=0x7f5fc166afa8) at
/build/php5-5.6.29+dfsg/Zend/zend_dtrace.c:73
#13 0x00000000006e9826 in zend_call_function (fci=0x7ffe8ec467a0,
fci_cache=0x0, fci_cache@entry=0x7ffe8ec46770) at
/build/php5-5.6.29+dfsg/Zend/zend_execute_API.c:831
#14 0x000000000060f4f3 in zif_call_user_func_array (ht=<optimized out>,
return_value=0x2724118, return_value_ptr=<optimized out>,
this_ptr=<optimized out>, return_value_used=<optimized out>)
at /build/php5-5.6.29+dfsg/ext/standard/basic_functions.c:4790
#15 0x00000000006e7aea in dtrace_execute_internal
(execute_data_ptr=<optimized out>, fci=<optimized out>,
return_value_used=<optimized out>) at
/build/php5-5.6.29+dfsg/Zend/zend_dtrace.c:97
#16 0x00000000007a84d0 in zend_do_fcall_common_helper_SPEC
(execute_data=0x7f5fc166adc8) at
/build/php5-5.6.29+dfsg/Zend/zend_vm_execute.h:560
#17 0x0000000000736820 in execute_ex (execute_data=0x7f5fc166adc8) at
/build/php5-5.6.29+dfsg/Zend/zend_vm_execute.h:363
#18 0x00000000006e7988 in dtrace_execute_ex
(execute_data=0x7f5fc166adc8) at
/build/php5-5.6.29+dfsg/Zend/zend_dtrace.c:73
#19 0x00000000006e9826 in zend_call_function (fci=0x7ffe8ec46b50,
fci_cache=0x0, fci_cache@entry=0x7ffe8ec46b20) at
/build/php5-5.6.29+dfsg/Zend/zend_execute_API.c:831
#20 0x000000000060f4f3 in zif_call_user_func_array (ht=<optimized out>,
return_value=0x2722e68, return_value_ptr=<optimized out>,
this_ptr=<optimized out>, return_value_used=<optimized out>)
at /build/php5-5.6.29+dfsg/ext/standard/basic_functions.c:4790
#21 0x00000000006e7aea in dtrace_execute_internal
(execute_data_ptr=<optimized out>, fci=<optimized out>,
return_value_used=<optimized out>) at
/build/php5-5.6.29+dfsg/Zend/zend_dtrace.c:97
#22 0x00000000007a84d0 in zend_do_fcall_common_helper_SPEC
(execute_data=0x7f5fc166ac80) at
/build/php5-5.6.29+dfsg/Zend/zend_vm_execute.h:560
#23 0x0000000000736820 in execute_ex (execute_data=0x7f5fc166ac80) at
/build/php5-5.6.29+dfsg/Zend/zend_vm_execute.h:363
#24 0x00000000006e7988 in dtrace_execute_ex
(execute_data=0x7f5fc166ac80) at
/build/php5-5.6.29+dfsg/Zend/zend_dtrace.c:73
#25 0x00000000007a8a13 in zend_do_fcall_common_helper_SPEC
(execute_data=0x7f5fc166ab20) at
/build/php5-5.6.29+dfsg/Zend/zend_vm_execute.h:592
#26 0x0000000000736820 in execute_ex (execute_data=0x7f5fc166ab20) at
/build/php5-5.6.29+dfsg/Zend/zend_vm_execute.h:363
#27 0x00000000006e7988 in dtrace_execute_ex
(execute_data=0x7f5fc166ab20) at
/build/php5-5.6.29+dfsg/Zend/zend_dtrace.c:73
#28 0x00000000007a8a13 in zend_do_fcall_common_helper_SPEC
(execute_data=0x7f5fc166a990) at
/build/php5-5.6.29+dfsg/Zend/zend_vm_execute.h:592
#29 0x0000000000736820 in execute_ex (execute_data=0x7f5fc166a990) at
/build/php5-5.6.29+dfsg/Zend/zend_vm_execute.h:363
#30 0x00000000006e7988 in dtrace_execute_ex
(execute_data=0x7f5fc166a990) at
/build/php5-5.6.29+dfsg/Zend/zend_dtrace.c:73
#31 0x00000000007a8a13 in zend_do_fcall_common_helper_SPEC
(execute_data=0x7f5fc166a7e0) at
/build/php5-5.6.29+dfsg/Zend/zend_vm_execute.h:592
#32 0x0000000000736820 in execute_ex (execute_data=0x7f5fc166a7e0) at
/build/php5-5.6.29+dfsg/Zend/zend_vm_execute.h:363
#33 0x00000000006e7988 in dtrace_execute_ex
(execute_data=0x7f5fc166a7e0) at
/build/php5-5.6.29+dfsg/Zend/zend_dtrace.c:73
#34 0x00000000007a8a13 in zend_do_fcall_common_helper_SPEC
(execute_data=0x7f5fc166a650) at
/build/php5-5.6.29+dfsg/Zend/zend_vm_execute.h:592
#35 0x0000000000736820 in execute_ex (execute_data=0x7f5fc166a650) at
/build/php5-5.6.29+dfsg/Zend/zend_vm_execute.h:363
#36 0x00000000006e7988 in dtrace_execute_ex
(execute_data=0x7f5fc166a650) at
/build/php5-5.6.29+dfsg/Zend/zend_dtrace.c:73
#37 0x00000000007a69c8 in ZEND_INCLUDE_OR_EVAL_SPEC_CV_HANDLER
(execute_data=0x7f5fc166a4c8) at
/build/php5-5.6.29+dfsg/Zend/zend_vm_execute.h:31631
#38 0x0000000000736820 in execute_ex (execute_data=0x7f5fc166a4c8) at
/build/php5-5.6.29+dfsg/Zend/zend_vm_execute.h:363
#39 0x00000000006e7988 in dtrace_execute_ex
(execute_data=0x7f5fc166a4c8) at
/build/php5-5.6.29+dfsg/Zend/zend_dtrace.c:73
#40 0x00000000006fa570 in zend_execute_scripts (type=33730976,
type@entry=8, retval=retval@entry=0x0, file_count=-1244889216,
file_count@entry=3) at /build/php5-5.6.29+dfsg/Zend/zend.c:1341
#41 0x0000000000695790 in php_execute_script
(primary_file=0x7ffe8ec49a40) at /build/php5-5.6.29+dfsg/main/main.c:2613
#42 0x0000000000464e1f in main (argc=-1050242152, argv=0x7f5fc1669cd0)
at /build/php5-5.6.29+dfsg/sapi/fpm/fpm/fpm_main.c:2072
(gdb) quit
Information about the other pkgs installed:
ii mysql-common 5.5.53-0+deb8u1 all MySQL
database common files, e.g. /etc/mysql/my.cnf
ii mysql-server 5.5.53-0+deb8u1 all MySQL
database server (metapackage depending on the latest version)
ii mysql-server-5.5 5.5.53-0+deb8u1 amd64
MySQL database server binaries and system database setup
ii mysql-server-core-5.5 5.5.53-0+deb8u1
amd64 MySQL database server binaries
ii php5-mysql 5.6.29+dfsg-0+deb8u1 amd64 MySQL
module for php5
ii nginx-common 1.6.2-5+deb8u4 all small,
powerful, scalable web/proxy server - common files
ii nginx-extras 1.6.2-5+deb8u4 amd64 nginx
web/proxy server (extended version)
Reply sent
to Debian FTP Masters <ftpmaster@ftp-master.debian.org>:
You have taken responsibility.
(Fri, 13 Jan 2017 13:08:09 GMT) (full text, mbox, link).
Notification sent
to Antonio Silva <asilva@wirelessmundi.com>:
Bug acknowledged by developer.
(Fri, 13 Jan 2017 13:08:09 GMT) (full text, mbox, link).
Message #10 received at 849767-done@bugs.debian.org (full text, mbox, reply):
Version: 5.6.26+dfsg-1+rm
Dear submitter,
as the package php5 has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/841781
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 11 Feb 2017 07:35:30 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 02:22:50 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.