php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46270 PHP will coredump with no reason
Submitted: 2008-10-10 07:57 UTC Modified: 2008-10-19 01:00 UTC
From: lzhang at aerohive dot com Assigned:
Status: No Feedback Package: Unknown/Other Function
PHP Version: 5.2.7RC1 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: lzhang at aerohive dot com
New email:
PHP Version: OS:

 

 [2008-10-10 07:57 UTC] lzhang at aerohive dot com
Description:
------------
PHP core dump, my webserver is hiawatha.
AH-02fc43:/tmp# gdb php-cgi php-cgi_pid1000_sig11_time1223606808.core 
GNU gdb 6.5 Cavium Networks Version: 1_6_0, build 30
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "mips64-octeon-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib64/libthread_db.so.1".

Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /opt/ah/lib/libah_mpi.so...
(no debugging symbols found)...done.
Loaded symbols for /opt/ah/lib/libah_mpi.so
Reading symbols from /opt/ah/lib/libah.so...done.
Loaded symbols for /opt/ah/lib/libah.so
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld.so.1...done.
Loaded symbols for /lib64/ld.so.1

Core was generated by `/usr/local/bin/php-cgi -b 127.0.0.1:2008'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000012019c180 in ini__scan_bytes ()
(gdb) bt
#0  0x000000012019c180 in ini__scan_bytes ()
#1  0x0000000120440db0 in cwd_globals ()
#2  0x0000000120440db0 in cwd_globals ()
Previous frame identical to this frame (corrupt stack?)
(gdb) 

i don't know why

Reproduce code:
---------------
i can not reproduce it. it happen random.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-10-11 10:24 UTC] scottmac@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 for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

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.

--enable-debug is important to get a better backtrace.
 [2008-10-19 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Aug 11 08:05:57 2022 UTC