php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45397 php 5.2.6 crash after upggrading from 5.2.5
Submitted: 2008-07-01 00:35 UTC Modified: 2008-07-01 09:39 UTC
From: bishal at baayu dot com dot np Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.2.6 OS: FreeBSD 6.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bishal at baayu dot com dot np
New email:
PHP Version: OS:

 

 [2008-07-01 00:35 UTC] bishal at baayu dot com dot np
Description:
------------
I have updated php 5.2.5 to 5.2.6. Now my php crash with core dump. While running any php script it crash with segmentation fault core dump. Even querying version gave core dump.

localhost# /usr/local/bin/php -v
PHP 5.2.6 with Suhosin-Patch 0.9.6.2 (cli) (built: Jun 30 2008 08:27:20) 
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
Segmentation fault (core dumped)

 Below is the backtrace output:

localhost# gdb /usr/local/bin/php php.core 
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 "i386-marcel-freebsd"...(no debugging symbols found)...
Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.3
Reading symbols from /lib/libm.so.4...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.4
Reading symbols from /usr/local/lib/libxml2.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libxml2.so.5
Reading symbols from /lib/libz.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.3
Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/local/lib/php/20060613/session.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/session.so
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x29920f54 in __do_global_dtors_aux () from /usr/local/lib/php/20060613/session.so
#2  0x299277b8 in _fini () from /usr/local/lib/php/20060613/session.so
#3  0x2824b018 in tls_dtv_generation () from /libexec/ld-elf.so.1
#4  0x2824c3d8 in ?? () from /libexec/ld-elf.so.1
#5  0xbfbfea48 in ?? ()
#6  0x28233076 in elf_hash () from /libexec/ld-elf.so.1
#7  0x28235958 in dlclose () from /libexec/ld-elf.so.1
#8  0x08137410 in zend_hash_apply_deleter ()
#9  0x081374ab in zend_hash_graceful_reverse_destroy ()
#10 0x0812d9a4 in zend_shutdown ()
#11 0x080f466f in php_module_shutdown ()
#12 0x081ab2b2 in main ()

Reproduce code:
---------------
localhost# /usr/local/bin/php -v


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-01 09:39 UTC] jani@php.net
You have some 3rd party stuff applied which we don't support.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Dec 16 03:00:01 2025 UTC