Subject: pkg/12922: php sigsegv
To: None <email@example.com>
From: Kimmo Suominen <firstname.lastname@example.org>
Date: 05/12/2001 23:48:49
>Synopsis: php sigsegv
>Arrival-Date: Sat May 12 20:48:00 PDT 2001
>Originator: Kimmo Suominen
>Release: 1.4.3A (2001-04-05)
System: NetBSD hrothgar.gw.com 1.4.3A NetBSD 1.4.3A (GW-GENERIC) #9: Sat Apr 7 22:19:05 EEST 2001 email@example.com:/net/pyry/src-2/NetBSD/cvsroot/src/sys/arch/i386/compile/GW-GENERIC i386
The php command from php-22.214.171.124nb1 dumps core, with or without
a /usr/pkg/etc/php.ini file.
I also have the following installed:
The apache module should not matter here, and the mysql module
only matters if I have a php.ini file in place.
The exact same setup works on my 1.5V machine (i386).
It seems that either there are no symbols in my libraries or that gdb
does not like to find them. I haven't tried compiling php with -g.
Type "php" at any command prompt...
Segmentation fault (core dumped)
hrothgar:~...junk/cgi> gdb /usr/pkg/bin/php php.core
GNU gdb 4.17
Copyright 1998 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--netbsd"...(no debugging symbols found)...
Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.so...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libresolv.so.1.0...
(no debugging symbols found)...done.
Reading symbols from /usr/lib/libz.so.0.1...(no debugging symbols found)...
Reading symbols from /usr/lib/libm.so.0.1...(no debugging symbols found)...
Reading symbols from /usr/lib/libcrypt.so.0.0...(no debugging symbols found)...
Reading symbols from /usr/lib/libc.so.12.40.2...(no debugging symbols found)...
#0 0xa7d5d2e in ?? ()
#0 0xa7d5d2e in ?? ()
#1 0x7b524 in register_standard_class ()
#2 0x7b6e4 in zend_startup ()
#3 0x466d in php_module_startup ()
#4 0x25e6 in main ()