#23196 [Fbk->Opn]: Strange Core Dumps

From: Date: Wed, 30 Apr 2003 12:17:13 +0000
Subject: #23196 [Fbk->Opn]: Strange Core Dumps
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38826@lists.php.net to get a copy of this message
ID: 23196 User updated by: dave at socrates dot thinkhost dot com Reported By: dave at socrates dot thinkhost dot com -Status: Feedback +Status: Open Bug Type: CGI related Operating System: FreeBSD-4.8-STABLE PHP Version: 4.3.2RC New Comment: This is the CGI, so there is no httpd.conf config that affects it. The crash below was produced from a very simple script: <?php phpinfo(); ?> Previous Comments: ------------------------------------------------------------------------ [2003-04-30 06:21:27] sniper@php.net how did you configure it in httpd.conf? what query crashes it? ------------------------------------------------------------------------ [2003-04-29 20:13:01] dave at socrates dot thinkhost dot com I am sorry the rest of the backtrace was missing, here is everything: Core was generated by `php'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libcrypt.so.2...done. Reading symbols from /usr/lib/libm.so.2...done. Reading symbols from /usr/lib/libc.so.4...done. Reading symbols from /usr/libexec/ld-elf.so.1...done. #0 0x28202975 in strlen () from /usr/lib/libc.so.4 (gdb) bt #0 0x28202975 in strlen () from /usr/lib/libc.so.4 #1 0xbfbff528 in ?? () #2 0x8162ddb in init_request_info () at /usr/local/src/php-4.3.2RC/sapi/cgi/cgi_main.c:709 #3 0x81636bb in main (argc=31, argv=0xbfbff4a8) at /usr/local/src/php-4.3.2RC/sapi/cgi/cgi_main.c:1238 #4 0x806006a in _start () ------------------------------------------------------------------------ [2003-04-29 13:45:14] wez@php.net Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. lets have a better backtrace (we need to see more than just the top frame), and a short, self-contained reproducing script. ------------------------------------------------------------------------ [2003-04-29 11:29:38] dave at socrates dot thinkhost dot com Core was generated by `php'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libcrypt.so.2...done. Reading symbols from /usr/lib/libm.so.2...done. Reading symbols from /usr/lib/libc.so.4...done. Reading symbols from /usr/libexec/ld-elf.so.1...done. #0 0x28202975 in strlen () from /usr/lib/libc.so.4 4.3.1 Source works fine. 4.3.2RC1 and latest CVS Snap produce the above What is wrong? ------------------------------------------------------------------------ [2003-04-29 10:20:39] sniper@php.net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/23196 -- Edit this bug report at http://bugs.php.net/?id=23196&edit=1

« previous php.bugs (#38826) next »