PHP3.0.12 binary Segmentation fault on Solaris 2.5.1
| From: | Atsushi Kuroda | Date: | Fri, 03 Dec 1999 03:23:34 +0000 |
| Subject: | PHP3.0.12 binary Segmentation fault on Solaris 2.5.1 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-13392@lists.php.net to get a copy of this message | ||
Hi all,
I successfully compiled php3.0.12 binary on Solaris 2.5.1 with Sybase.
I'm trying to use cgi version because we plan to use netscape enterprise server 3.1.
But I had a core dump when I run a small example script like:
#!/home/kuroda/5bin/php
<?
echo "argv=$argv[1]";
?>
Configuration is:
./configure --with-sybase=/opt/sybase --with-sybase-ct=/opt/sybase --enable-debug
gcc version is egcs-2.91.66 and Sybase Openclient Ver. 11.1.1.
This is a gdb message when I got a segmentation fault.
warning: Unable to find dynamic linker breakpoint function.
warning: GDB will be unable to debug shared library initializers
warning: and track explicitly loaded dynamic code.
Content-type: text/html
Program received signal SIGSEGV, Segmentation fault.
0xef323e3c in strlen ()
(gdb) bt
#0 0xef323e3c in strlen ()
#1 0xef36272c in _doprnt ()
#2 0xef36b684 in vfprintf ()
#3 0x2b54c in php3_printf (
format=0x80bf0 "<br>\n<b>%s</b>: %s in <b>%s</b> on line
<b>%d</b><br>\n") at main.c:322
#4 0x2b790 in php3_error (type=32,
format=0x82218 "Module load failed - duplicate function name - %s") at
main.c:399
#5 0x3557c in register_functions (functions=0x9e03c) at internal_functions.
c:591
#6 0x3563c in register_module (module=0x9e1f8) at internal_functions.c:631
#7 0x35424 in module_startup_modules () at internal_functions.c:535
#8 0x2cb20 in php3_module_startup () at main.c:1252
#9 0x2d794 in main (argc=2, argv=0xeffff0b4) at main.c:1762
Thank you very much for your any help.
-----------------------------------------------------------------
Atsushi Kuroda (kuroda@tkitdsn1.eq.gs.com,atsushi.kuroda@gs.com)
Client Service Technology (5563-7463)
Goldman Sachs (Japan) Ltd.
-----------------------------------------------------------------