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

Hans Grobler hans.grobler at up.ac.za
Sun Mar 11 11:28:51 CET 2007


On Sun, 2007-03-11 at 10:58 +0100, sean finney wrote:
> correct, there are no changes in the pending version of php that affect
> curl, but my thought was that perhaps the problem is a "transient" one
> resulting from building against a bad version of some library, which
> might be fix by a simple rebuild.  however, i can't reproduce the
> problem you're having by installing the old version of
> php5/libcurl3/libssl0.9.8, so i'm not sure where to go from here.  i'll
> see if anyone else has ideas.  in the meantime, could you send me the
> full output of "dpkg -l | grep ^ii", so i can see if it's some other
> seemingly unrelated package that's doing it?

See attached. I vaguely remember seeing this problem when this was a
sarge machine as well. As another test, I removed the php5-curl module
and now the moodle script runs without problems. So the problem is
triggered by the curl module as suspected. One thing to mention is that
I'm using Kerberos... and since libcurl links against libkrb5, it might
be that libcurl contains Kerberos related bugs... ?

However, after adding the debugging libraries, no Kerberos calls appear
in the backtrace (see below).

Regards,
-- Hans

(gdb) bt
#0  0xf74932f0 in ?? ()
#1  0xf7bb8fa5 in CRYPTO_lock (mode=9, type=1, file=0xf7c9ca13 "err.c",
line=353) at cryptlib.c:489
#2  0xf7c24f4f in int_err_del () at err.c:353
#3  0xf7c2677a in ERR_free_strings () at err.c:672
#4  0xf7974c47 in Curl_ossl_cleanup () at ../../../lib/ssluse.c:580
#5  0xf7985b80 in Curl_ssl_cleanup () at ../../../lib/sslgen.c:185
#6  0xf797dd9f in curl_global_cleanup () at ../../../lib/easy.c:294
#7  0xf79936b7 in zm_shutdown_curl () from /usr/lib/php5/20060613
+lfs/curl.so
#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 ()

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dpkg.list.bz2
Type: application/x-bzip
Size: 17157 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20070311/57a00a09/dpkg.list-0001.bin


More information about the pkg-php-maint mailing list