[php-maint] Bug#411982: php5 makes a segmentation fault when php5-curl

Hans Grobler hans.grobler at up.ac.za
Sat Mar 10 07:13:17 CET 2007

Subject: php5: Segmentation fault in CURL module
Package: php5
Version: 5.2.0-8
Severity: important

*** Please type your report below this line ***

I have encountered a similar problem. In my case, the bug was triggered
by the moodle cron script. Note the cron script completes, the segfault
happens whilst the php5 interpreter is terminating. It appears there is
a bug in the curl module, see attached backtrace:

Core was generated by `/usr/bin/php
-f /usr/share/moodle/admin/cron.php'.
Program terminated with signal 11, Segmentation fault.
#0  0xf74672f0 in ?? ()
(gdb) bt
#0  0xf74672f0 in ?? ()
#1  0xf7b8cfa5 in CRYPTO_lock ()
from /usr/lib/i686/cmov/libcrypto.so.0.9.8
#2  0xf7bf8f4f in ERR_set_implementation ()
from /usr/lib/i686/cmov/libcrypto.so.0.9.8
#3  0xf7bfa77a in ERR_free_strings ()
from /usr/lib/i686/cmov/libcrypto.so.0.9.8
#4  0xf7948c47 in curl_slist_free_all () from /usr/lib/libcurl.so.3
#5  0xf7959b80 in curl_getdate () from /usr/lib/libcurl.so.3
#6  0xf7951d9f in curl_global_cleanup () from /usr/lib/libcurl.so.3
#7  0xf79676b7 in zm_shutdown_curl () from /usr/lib/php5/20060613
#8  0x082a436e in module_destructor ()
#9  0x082aa5a8 in zend_hash_quick_find ()
#10 0x082aa847 in zend_hash_graceful_reverse_destroy ()
#11 0x082a09cc in zend_shutdown ()
#12 0x0825b885 in php_module_shutdown ()
#13 0x0832ed18 in main ()

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=en_ZA, LC_CTYPE=en_ZA (charmap=ISO-8859-1)

Versions of packages php5 depends on:
ii  libapache2-mod-php5           5.2.0-8    server-side, HTML-embedded
ii  php5-common                   5.2.0-8    Common files for packages
built fr

php5 recommends no packages.

-- no debconf information

More information about the pkg-php-maint mailing list