From: [EMAIL PROTECTED] Operating system: Solaris 2.6 PHP version: 4.0.4pl1 PHP Bug Type: Apache related Bug description: DSO loading and core dumped I've tried to load the PHP 4.0.4pl1 shared object module(named "libphp4.so"). and I've captured the truss message. If I don't load the php DSO module, apache works very well. But whenever I tried to load the php DSO module, apache core dumped. When I examine the truss message, I think there is no problem to load the php DSO module. But, other function causes the core dump. I compiled the php DSO module as follows ./configure --with-apxs=/usr/local/apache/bin/apxs \ --enable-debug Is this a php's bug or my mistake? * truss message * ----------------------------------------------------------- open("/web/httpd/libexec/libphp4.so", O_RDONLY) = 5 fstat(5, 0xEFFFB20C) = 0 mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0xEF780000 mmap(0x00000000, 1253376, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0xEF400000 munmap(0xEF500000, 57344) = 0 mmap(0xEF50E000, 57580, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 5, 1040384) = 0xEF50E000 open("/dev/zero", O_RDONLY) = 6 mmap(0xEF51E000, 76524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 6, 0) = 0xEF51E000 mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 6, 0) = 0xEF670000 close(5) = 0 open("/usr/lib/libpam.so.1", O_RDONLY) = 5 fstat(5, 0xEFFFB14C) = 0 mmap(0xEF780000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 5, 0) = 0xEF780000 mmap(0x00000000, 90112, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0xEF650000 munmap(0xEF656000, 57344) = 0 mmap(0xEF664000, 7087, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 5, 16384) = 0xEF664000 close(5) = 0 open("/usr/lib/libresolv.so.2", O_RDONLY) = 5 fstat(5, 0xEFFFB14C) = 0 mmap(0xEF780000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 5, 0) = 0xEF780000 mmap(0x00000000, 139264, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0xEF550000 munmap(0xEF55E000, 57344) = 0 mmap(0xEF56C000, 6819, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 5, 49152) = 0xEF56C000 mmap(0xEF56E000, 11524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 6, 0) = 0xEF56E000 close(5) = 0 open("/usr/lib/libm.so.1", O_RDONLY) = 5 fstat(5, 0xEFFFB14C) = 0 mmap(0xEF780000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 5, 0) = 0xEF780000 mmap(0x00000000, 155648, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0xEF3D0000 munmap(0xEF3E6000, 57344) = 0 mmap(0xEF3F4000, 7309, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 5, 81920) = 0xEF3F4000 close(5) = 0 mprotect(0xEF400000, 1045756, PROT_READ|PROT_WRITE|PROT_EXEC) = 0 mprotect(0xEF400000, 1045756, PROT_READ|PROT_EXEC) = 0 close(6) = 0 ... stat("/web/httpd/conf.www/conf/srm.conf", 0xEFFFF838) = 0 open("/web/httpd/conf.www/conf/srm.conf", O_RDONLY) = 3 fstat(3, 0xEFFFF740) = 0 fstat64(3, 0xEFFFD590) = 0 ioctl(3, TCGETA, 0xEFFFD51C) Err#25 ENOTTY read(3, " #\n # T h i s c o n".., 8192) = 1599 read(3, 0x000C4A5C, 8192) = 0 llseek(3, 0, SEEK_CUR) = 1599 close(3) = 0 stat("/web/httpd/conf.www/conf/access.conf", 0xEFFFF838) = 0 open("/web/httpd/conf.www/conf/access.conf", O_RDONLY) = 3 fstat(3, 0xEFFFF740) = 0 fstat64(3, 0xEFFFD590) = 0 ioctl(3, TCGETA, 0xEFFFD51C) Err#25 ENOTTY read(3, " #\n # T h i s c o n".., 8192) = 1509 read(3, 0x000C4A5C, 8192) = 0 llseek(3, 0, SEEK_CUR) = 1509 close(3) = 0 Incurred fault #6, FLTBOUNDS %pc = 0xEF44DC64 siginfo: SIGSEGV SEGV_MAPERR addr=0x00000018 Received signal #11, SIGSEGV [default] siginfo: SIGSEGV SEGV_MAPERR addr=0x00000018 *** process killed *** * gdb stack log * ---------------------------------------------------------- #0 0xef34dc64 in ?? () #1 0xef35b7b0 in ?? () #2 0xef6bed44 in ?? () #3 0xef6c2824 in ?? () #4 0xef6c2ee0 in ?? () #5 0xef6d41c8 in ?? () Cannot access memory at address 0x10000 -- Edit Bug report at: http://bugs.php.net/?id=10473&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]