-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Closed
Description
My cron jobs call curl all the time, every so often a process, on closing, will get stuck in an infinite loop that just eats up the CPU. Here is the backtrace:
#0 0x00007f62f6834a1c in Curl_llist_destroy () from /usr/lib64/libcurl.so.4
#1 0x00007f62f6834e10 in Curl_hash_clean () from /usr/lib64/libcurl.so.4
#2 0x00007f62f681450a in Curl_global_host_cache_dtor () from /usr/lib64/libcurl.so.4
#3 0x00007f62f6831c55 in curl_global_cleanup () from /usr/lib64/libcurl.so.4
#4 0x0000000000615850 in zm_shutdown_curl (type=1, module_number=13, tsrm_ls=0x24b4780) at /usr/src/php-5.6.11/ext/curl/interface.c:1260
#5 0x0000000000b50d42 in module_destructor (module=0x24dd080) at /usr/src/php-5.6.11/Zend/zend_API.c:2376
#6 0x0000000000b58441 in i_zend_hash_bucket_delete (ht=0x1263aa0, p=0x24dd020) at /usr/src/php-5.6.11/Zend/zend_hash.c:182
#7 0x0000000000b58518 in zend_hash_bucket_delete (ht=0x1263aa0, p=0x24dd020) at /usr/src/php-5.6.11/Zend/zend_hash.c:192
#8 0x0000000000b5a165 in zend_hash_graceful_reverse_destroy (ht=0x1263aa0) at /usr/src/php-5.6.11/Zend/zend_hash.c:613
#9 0x0000000000b4eaf8 in zend_destroy_modules () at /usr/src/php-5.6.11/Zend/zend_API.c:1894
#10 0x0000000000b43abf in zend_shutdown (tsrm_ls=0x24b4780) at /usr/src/php-5.6.11/Zend/zend.c:836
#11 0x0000000000a80c65 in php_module_shutdown (tsrm_ls=0x24b4780) at /usr/src/php-5.6.11/main/main.c:2461
#12 0x0000000000c15140 in main (argc=2, argv=0x24b4680) at /usr/src/php-5.6.11/sapi/cli/php_cli.c:1393
This issue has been previously reported, and someone closed the ticket claiming that this isn't really a problem. This is certainly a problem, and that infinite while loop in Curl_llist_destroy() is causing the problem
Metadata
Metadata
Assignees
Labels
No labels