as noted by viq, php crashes in an ssl-related function if curl.so
(from the php-curl package) and mapi.so (from zarafa-webaccess)
are both enabled in php.

$ ls -l /etc/php-5.3  
total 0
lrwxr-xr-x  1 root  wheel  26 Aug  4 23:05 curl.ini -> 
../php-5.3.sample/curl.ini
lrwxr-xr-x  1 root  wheel  26 Aug  4 23:07 mapi.ini -> 
../php-5.3.sample/mapi.ini

...

it's not due to missing pthread symbols; actually it happens for me
whether or not libpthread is preloaded.

anyone have clues?

(gdb) r
Starting program: /usr/sbin/httpd -X

Program received signal SIGSEGV, Segmentation fault.
0x0000000218a45330 in ?? ()
(gdb) bt
#0  0x0000000218a45330 in ?? ()
#1  0x0000000208b71615 in CRYPTO_THREADID_current (id=0x7f7ffffc9850)
    at /usr/src/lib/libssl/crypto/../src/crypto/cryptlib.c:490
#2  0x0000000208af8b1b in ERR_remove_thread_state (id=Variable "id" is not 
available.
)
    at /usr/src/lib/libssl/crypto/../src/crypto/err/err.c:990
#3  0x00000002097f6c72 in Curl_ssl_cleanup () from 
/usr/local/lib/libcurl.so.23.0
#4  0x00000002097ec253 in curl_global_cleanup () from 
/usr/local/lib/libcurl.so.23.0
#5  0x000000021130fcd8 in zm_shutdown_curl () from 
/usr/local/lib/php-5.3/modules/curl.so
#6  0x00000002108a68f3 in module_destructor () from 
/usr/local/lib/php-5.3/libphp5.so
#7  0x00000002108ae28a in zend_hash_apply_deleter () from 
/usr/local/lib/php-5.3/libphp5.so
#8  0x00000002108ae4f8 in zend_hash_graceful_reverse_destroy () from 
/usr/local/lib/php-5.3/libphp5.so
#9  0x00000002108a17b7 in zend_shutdown () from 
/usr/local/lib/php-5.3/libphp5.so
#10 0x000000021084ada5 in php_module_shutdown () from 
/usr/local/lib/php-5.3/libphp5.so
#11 0x000000021084ae59 in php_module_shutdown_wrapper () from 
/usr/local/lib/php-5.3/libphp5.so
#12 0x0000000210933bc8 in apache_php_module_shutdown_wrapper () from 
/usr/local/lib/php-5.3/libphp5.so
#13 0x000000000043c366 in ap_clear_pool ()
#14 0x000000000044949b in ap_init_mutex_method ()
#15 0x000000000044acee in main ()

Reply via email to