Topic: PHP crashes in shutdown handler with php-pecl-mongodb
We are experiencing a PHP crash using the php-pecl-mongodb extension, version 1.1.7. We are trying to get a full backtrace with debug symbols for the developers of php-pecl-mongodb but we're having trouble getting the debug symbols installed. Am I understanding correctly that this package doesn't have debug symbols compiled in by default? Any ideas how we could proceed?
Also worth mentioning that this crash looks like the trace from https://jira.mongodb.org/browse/PHPC-671 which was fixed in 1.1.7
Does the 1.1.7 version from remi have patches in it that are not in the official pecl version?
Installed Packages
Name : php-pecl-mongodb
Arch : x86_64
Version : 1.1.7
Release : 2.el6.remi.5.5
Size : 727 k
Repo : installed
From repo : remi-php55
Summary : MongoDB driver for PHP
URL :
License : BSD
Description : The purpose of this driver is to provide exceptionally thin glue between
: MongoDB and PHP, implementing only fundemental and performance-critical
: components necessary to build a fully-functional MongoDB driver.
:
: Package built for PHP 5.5.
Here is the backtrace without all the debug symbols.
#0 0x00000033ce632625 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00000033ce633e05 in abort () at abort.c:92
#2 0x00007f48d50e2415 in ?? () from /usr/lib64/libmongoc-priv.so.0
#3 0x00007f48d50e2838 in mongoc_cluster_stream_for_server () from /usr/lib64/libmongoc-priv.so.0
#4 0x00007f48d50dd1a6 in _mongoc_client_kill_cursor () from /usr/lib64/libmongoc-priv.so.0
#5 0x00007f48d50e9028 in _mongoc_cursor_destroy () from /usr/lib64/libmongoc-priv.so.0
#6 0x00007f48d533a7a2 in php_phongo_cursor_free () from /usr/lib64/php/modules/mongodb.so
#7 0x00007f48d5331bd1 in ?? () from /usr/lib64/php/modules/mongodb.so
#8 0x00000000005deedc in zend_objects_store_free_object_storage ()
#9 0x00000000005a7d53 in ?? ()
#10 0x00000000005b5e32 in ?? ()
#11 0x0000000000555cac in php_request_shutdown ()
#12 0x000000000066ece9 in ?? ()
#13 0x00000033ce61ed5d in __libc_start_main (main=0x66dfb0, argc=2, ubp_av=0x7fff944c98b8, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff944c98a8) at libc-start.c:226
#14 0x00000000004210b9 in _start ()