ports/153882: lang/php5 + databases/php5-dba crash on RELENG_7

Doug Barton dougb at FreeBSD.org
Tue Jan 11 05:40:08 UTC 2011


>Number:         153882
>Category:       ports
>Synopsis:       lang/php5 + databases/php5-dba crash on RELENG_7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 11 05:40:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Doug Barton
>Release:        FreeBSD 7.4-RC1 i386
>Organization:
AAAG
>Environment:
	FreeBSD 7.3-RELEASE-p3 i386 and FreeBSD 7.4-RC1 i386
	The same code on RELENG_8 is fine

>Description:

gdb /usr/local/bin/php
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"...
(gdb) run /dev/null
Starting program: /usr/local/bin/php /dev/null
[New LWP 100092]
[New Thread 0x287c3040 (LWP 100092)]
[New LWP 100092]
suspend error: generic error
[Switching to LWP 100092]
Stopped due to shared library event
(gdb) bt
#0  0x282bbef0 in r_debug_state () from /libexec/ld-elf.so.1
#1  0x282bfd0b in dlclose () from /libexec/ld-elf.so.1
#2  0x081a5728 in zend_hash_apply_deleter (ht=0x82d3940, p=0x28770b80)
    at /usr/local/tmp/mnt/opti/home/ports/lang/php5/work/php-5.3.5/Zend/zend_has
h.c:614
#3  0x081a5968 in zend_hash_graceful_reverse_destroy (ht=0x82d3940)
    at /usr/local/tmp/mnt/opti/home/ports/lang/php5/work/php-5.3.5/Zend/zend_has
h.c:649
#4  0x0819a1be in zend_shutdown ()
    at /usr/local/tmp/mnt/opti/home/ports/lang/php5/work/php-5.3.5/Zend/zend.c:7
59
#5  0x081485fa in php_module_shutdown ()
    at /usr/local/tmp/mnt/opti/home/ports/lang/php5/work/php-5.3.5/main/main.c:2
143
#6  0x0821a303 in main (argc=2, argv=0xbfbfebb4)
    at /usr/local/tmp/mnt/opti/home/ports/lang/php5/work/php-5.3.5/sapi/cli/php_
cli.c:1388

>How-To-Repeat:
	Install a clean 7.3-RELEASE or 7.4-RC1 system
	Install lang/php5
	Install databases/db47
	Install databases/php5-dba
		Enable Berkeley DB4 support in OPTIONS, leave others at default

	gdb /usr/local/bin/php
	(gdb) run /dev/null

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list