|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-08-01 22:32 UTC] fat@php.net
-Assigned To:
+Assigned To: fat
[2011-08-01 23:20 UTC] fat@php.net
-Status: Assigned
+Status: Analyzed
[2011-08-01 23:20 UTC] fat@php.net
[2011-08-02 00:58 UTC] fat@php.net
[2011-08-02 00:59 UTC] fat@php.net
-Status: Analyzed
+Status: Closed
[2011-08-02 00:59 UTC] fat@php.net
[2012-04-18 09:49 UTC] laruence@php.net
[2012-07-24 23:40 UTC] rasmus@php.net
[2013-11-17 09:37 UTC] laruence@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 04:00:02 2025 UTC |
Description: ------------ Segmentation fault when used with some arguments. Test script: --------------- $ php-fpm -h $ php-fpm --help $ php-fpm -v And maybe some others. Expected result: ---------------- Console output. Actual result: -------------- Core was generated by `php-fpm -h'. Program terminated with signal 11, Segmentation fault. #0 0x086aa5f4 in fcgi_write (req=0x0, type=FCGI_STDOUT, str=0xb68ba064 "Usage: php [-n] [-e] [-h] [-i] [-m] [-v] [-t] [-p <prefix>] [-g <pid>] [-c <file>] [-d foo[=bar]] [-y <file>]\n -c <path>|<file> Look for php.ini file in this directory\n -n", ' ' <repeats 15 times>, "No php.ini f"..., len=839) at /storage/builds/php/php5.4-201108010030/sapi/fpm/fpm/fastcgi.c:957 957 if (req->out_hdr && req->out_hdr->type != type) { (gdb) bt #0 0x086aa5f4 in fcgi_write (req=0x0, type=FCGI_STDOUT, str=0xb68ba064 "Usage: php [-n] [-e] [-h] [-i] [-m] [-v] [-t] [-p <prefix>] [-g <pid>] [-c <file>] [-d foo[=bar]] [-y <file>]\n -c <path>|<file> Look for php.ini file in this directory\n -n", ' ' <repeats 15 times>, "No php.ini f"..., len=839) at /storage/builds/php/php5.4-201108010030/sapi/fpm/fpm/fastcgi.c:957 #1 0x086b2689 in sapi_cgibin_single_write ( str=0xb68ba064 "Usage: php [-n] [-e] [-h] [-i] [-m] [-v] [-t] [-p <prefix>] [-g <pid>] [-c <file>] [-d foo[=bar]] [-y <file>]\n -c <path>|<file> Look for php.ini file in this directory\n -n", ' ' <repeats 15 times>, "No php.ini f"..., str_length=839) at /storage/builds/php/php5.4-201108010030/sapi/fpm/fpm/fpm_main.c:269 #2 0x086b26c4 in sapi_cgibin_ub_write ( str=0xb68ba064 "Usage: php [-n] [-e] [-h] [-i] [-m] [-v] [-t] [-p <prefix>] [-g <pid>] [-c <file>] [-d foo[=bar]] [-y <file>]\n -c <path>|<file> Look for php.ini file in this directory\n -n", ' ' <repeats 15 times>, "No php.ini f"..., str_length=839) at /storage/builds/php/php5.4-201108010030/sapi/fpm/fpm/fpm_main.c:283 #3 0x0853305c in php_output_op (op=0, str=0xb68ba064 "Usage: php [-n] [-e] [-h] [-i] [-m] [-v] [-t] [-p <prefix>] [-g <pid>] [-c <file>] [-d foo[=bar]] [-y <file>]\n -c <path>|<file> Look for php.ini file in this directory\n -n", ' ' <repeats 15 times>, "No php.ini f"..., len=839) at /storage/builds/php/php5.4-201108010030/main/output.c:1022 #4 0x08531321 in php_output_write ( str=0xb68ba064 "Usage: php [-n] [-e] [-h] [-i] [-m] [-v] [-t] [-p <prefix>] [-g <pid>] [-c <file>] [-d foo[=bar]] [-y <file>]\n -c <path>|<file> Look for php.ini file in this directory\n -n", ' ' <repeats 15 times>, "No php.ini f"..., len=839) at /storage/builds/php/php5.4-201108010030/main/output.c:201 #5 0x0851b47c in php_printf ( format=0x8bb54b8 "Usage: %s [-n] [-e] [-h] [-i] [-m] [-v] [-t] [-p <prefix>] [-g <pid>] [-c <file>] [-d foo[=bar]] [-y <file>]\n -c <path>|<file> Look for php.ini file in this directory\n -n", ' ' <repeats 15 times>, "No php.ini fi"...) at /storage/builds/php/php5.4-201108010030/main/main.c:607 #6 0x086b38c0 in php_cgi_usage (argv0=0xbf8f1c54 "php-fpm") at /storage/builds/php/php5.4-201108010030/sapi/fpm/fpm/fpm_main.c:854 #7 0x086b4ff3 in main (argc=2, argv=0xbf8f0004) at /storage/builds/php/php5.4-201108010030/sapi/fpm/fpm/fpm_main.c:1622