Adam Conrad wrote:

Brent G. said:


When using php4-curl with a PHP script to pull and parse remote pages
(NP_Trackback plugin for Nucleus CMS) causes apache to segfault
somewhere within (from what I can tell) the curl extension.



Hrm... Do you have mod_perl loaded, by any chance?... I've just been segfault hunting, and I've noticed I can trigger some seemingly random segfaults with both mod_perl and mod_php4 loaded.. :/ Nothing matchings your backtrace, but on the other hand, I'm getting three (!) different backtraces right here, so who knows if a fourth may show up. :)

... Adam






mod_perl is loaded, but unloading it doesn't help, I've created a reduced testcase which causes a segfault here:
http://www.thedarkcitadel.com/curltest.phps


And the gdb backtrace for that is as follows:
#0 0x40bbaa5a in zif_curl_init () from /usr/lib/php4/20020429-zts/curl.so
#1 0x40614338 in execute () from /usr/lib/apache/1.3/libphp4.so
#2 0x40602bb3 in zend_execute_scripts () from /usr/lib/apache/1.3/libphp4.so
#3 0x405cded6 in php_execute_script () from /usr/lib/apache/1.3/libphp4.so
#4 0x40618e22 in apache_php_module_main () from /usr/lib/apache/1.3/libphp4.so
#5 0x40619cc7 in apache_php_module_main () from /usr/lib/apache/1.3/libphp4.so
#6 0x40619f7d in apache_php_module_main () from /usr/lib/apache/1.3/libphp4.so
#7 0x080553c3 in ap_invoke_handler ()
#8 0x08068465 in ap_some_auth_required ()
#9 0x08068614 in ap_process_request ()
#10 0x08060bd2 in ap_child_terminate ()
#11 0x08060e9a in ap_child_terminate ()
#12 0x08060f10 in ap_child_terminate ()
#13 0x08061a9a in ap_child_terminate ()
#14 0x08061ff8 in main ()


Also as report by mod_backtrace:

[Wed Feb 16 13:27:32 2005] pid 25824 mod_backtrace backtrace for signal 11
[Wed Feb 16 13:27:32 2005] pid 25824 mod_backtrace main() is at 8061af0
/usr/lib/apache/1.3/mod_backtrace.so[0x4001bcde]
/usr/lib/apache/1.3/mod_backtrace.so[0x4001bd72]
/usr/sbin/apache[0x805f206]
/usr/sbin/apache[0x805f23e]
/lib/libpthread.so.0[0x4004a825]
/lib/libc.so.6[0x401e0678]
/usr/lib/apache/1.3/libphp4.so(execute+0x2da8)[0x40614338]
/usr/lib/apache/1.3/libphp4.so(zend_execute_scripts+0xf3)[0x40602bb3]
/usr/lib/apache/1.3/libphp4.so(php_execute_script+0x206)[0x405cded6]
/usr/lib/apache/1.3/libphp4.so(apache_php_module_main+0x1b2)[0x40618e22]
/usr/lib/apache/1.3/libphp4.so[0x40619cc7]
/usr/lib/apache/1.3/libphp4.so[0x40619f7d]
/usr/sbin/apache(ap_invoke_handler+0x123)[0x80553c3]
/usr/sbin/apache[0x8068465]
/usr/sbin/apache(ap_process_request+0x24)[0x8068614]
/usr/sbin/apache[0x8060bd2]
/usr/sbin/apache[0x8060de7]
/usr/sbin/apache[0x8060f10]
/usr/sbin/apache[0x8061a9a]
/usr/sbin/apache(main+0x508)[0x8061ff8]
[Wed Feb 16 13:27:32 2005] pid 25824 mod_backtrace end of report



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to