Re: Another Followup: SEGV_MAPPER Error in Apache Startup
| From: | Brandon Knitter | Date: | Tue, 17 Sep 2002 00:51:38 +0000 |
| Subject: | Re: Another Followup: SEGV_MAPPER Error in Apache Startup | ||
| References: | 1 2 3 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-8478@lists.php.net to get a copy of this message | ||
Okay, so I found that by loading the mod_ssl module as a DSO, and then AFTER the php LoadModule directive, things worked fine. Now that I figured that out, I need to check the FAQ and see if it was there all the time! GRRRRRRRRR!
--
-bk
Brandon Knitter wrote:
Full apache and such: [Mon Sep 16 15:53:44 2002] [notice] Apache/1.3.26 (Unix) mod_gzip/1.3.19.1a Resin/2.0.5 mod_ssl/2.8.10 OpenSSL/0.9.6g configured -- resuming normal operations Thanks, bk Brandon Knitter wrote:Got my debugger all working, this is my core stack: (gdb) where #0 0xff1b2e88 in strcmp () from /usr/lib/libc.so.1 #1 0x11b8a8 in obj_name_cmp () #2 0x119808 in getrn () #3 0x119440 in lh_insert () #4 0x11b384 in OBJ_NAME_add () #5 0xfef53464 in OpenSSL_add_all_ciphers () from /usr/local/apache/libexec/libphp4.so #6 0xfee11434 in zm_startup_openssl (type=1, module_number=7) at openssl.c:519 #7 0xfedc6968 in zend_startup_module (module=0xff06929c) at zend_API.c:1007 #8 0xfedd9958 in php_startup_extensions (ptr=0xff068774, count=10)at main.c:833 #9 0xfedeacc8 in php_startup_internal_extensions () at internal_functions.c:64#10 0xfedd9fcc in php_module_startup (sf=0xff064c64) at main.c:991 #11 0xfedd4dd8 in php_apache_startup (sapi_module=0xff064c64) at mod_php4.c:280 #12 0xfedd610c in php_init_handler (s=0x1c8978, p=0x1c8950) at mod_php4.c:841 #13 0x87878 in ap_init_modules () #14 0x969d8 in standalone_main () #15 0x97748 in main () (gdb) Thanks for the help. -- -bk Brandon Knitter wrote:Solaris 8 Apache 1.3.26 PHP 4.1.2, 4.2.2, 4.2.3 Of course, things were working /just fine/ before I attempted to upgrade from 4.1.2 to 4.2.3. My configure: ./configure \--with-apxs=/usr/local/apache/bin/apxs \ --with-gettext \ --with-openssl=/usr/local/ssl/ \ --with-pgsql \ --with-ldap=shared \ --with-imap \ --with-gettext \ --with-mysql=noPreviously I had compiled with mcal support, but I got rid of that dependency. Now, every time I compile and try to use 4.1.2, 4.2.2, or 4.2.3 Apache just doesn't start. If I truss the process, I get the following at the end of the output:25504: open("./php.ini", O_RDONLY) Err#2 ENOENT 25504: open("/usr/local/lib/php.ini", O_RDONLY) = 3 25504: pathconf(".", _PC_PATH_MAX) = 1024 25504: stat64("./", 0xFFBEE1C0) = 0 25504: stat64("/", 0xFFBEE128) = 0 25504: open64("./../", O_RDONLY|O_NDELAY) = 5 25504: fcntl(5, F_SETFD, 0x00000001) = 0 25504: fstat64(5, 0xFFBED748) = 0 25504: fstat64(5, 0xFFBEE1C0) = 0 25504: close(5) = 0 25504: resolvepath("/usr/local/lib/php.ini", "/usr/local/lib/php.ini", 1024) = 22 25504: ioctl(3, TCGETA, 0xFFBEF25C) Err#25 ENOTTY 25504: fstat64(3, 0xFFBEE2E8) = 0 25504: ioctl(3, TCGETA, 0xFFBEE274) Err#25 ENOTTY25504: read(3, " [ P H P ]\n ; $ I d :".., 8192) = 8192 25504: read(3, " n t o e n d u s e".., 8192) = 8192 25504: read(3, " c o n n e c t ( ) w i".., 8192) = 777425504: read(3, 0x00277BA4, 8192) = 0 25504: ioctl(3, TCGETA, 0xFFBEE34C) Err#25 ENOTTY 25504: llseek(3, 0, SEEK_CUR) = 24158 25504: close(3) = 0 25504: Incurred fault #6, FLTBOUNDS %pc = 0xFF1B2E88 25504: siginfo: SIGSEGV SEGV_MAPERR addr=0xFE7A0CE8 25504: Received signal #11, SIGSEGV [default] 25504: siginfo: SIGSEGV SEGV_MAPERR addr=0xFE7A0CE8 25504: *** process killed ***What am I doing wrong? Why is this failing. I am trying to get a debug version and gdb up and running here soas to debug this. Until them, I'm down hard! Thanks, bk