Re: php4 segfault
| From: | Zeev Suraski | Date: | Wed, 28 Jun 2000 17:46:00 +0000 |
| Subject: | Re: php4 segfault | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-22660@lists.php.net to get a copy of this message | ||
Can you try setting a breakpoint on that line to figure what goes wrong
that makes it crash?
Zeev
On Wed, 28 Jun 2000, Michael L. Welles wrote:
>
>
> I wrote about a week ago with problems using php4 with oci8 as a DSO on
> apache with mod_perl staticly linked. I finally just ran php as a cgi,
> and it did finally work. In order to improve speed, I gave a try at
> building php staticly linked, and it's causing segfaults now. Has this
> happened to anyone else?
>
> The details:
>
> OS: Solaris 8
> Apache: 1.3.12
> mod_perl: 1.23 (staticly linked)
> php: php4-200006190845 (staticly linked)
> oracle: 8.1.6
>
> php build options:
> --without-mysql --prefix=/usr/local/apache-1.3.12
> --with-apache=../apache_1.3.12 --with-oci8=/opt/oracle8i/OraHome
> --enable-track-vars --with-config-file-path=/usr/local/apache-1.3.12/conf
> --disable-magic-quotes
>
> When accessing a php page, apache segfaults. Follows is the stack trace:
>
> ----------------------------------------
>
> Program received signal SIGSEGV, Segmentation fault.
> send_php (r=0x500100, display_source_mode=0, filename=0x0) at
> mod_php4.c:450
> 450 zend_hash_apply((HashTable *) per_dir_conf, (int (*)(void
> *)) php_apache_alter_ini_entries);
> (gdb) where
> #0 send_php (r=0x500100, display_source_mode=0, filename=0x0)
> at mod_php4.c:450
> #1 0x5b638 in send_parsed_php (r=0x500100) at mod_php4.c:524
> #2 0x127fa8 in ap_invoke_handler ()
> #3 0x14486c in process_request_internal ()
> #4 0x1448f0 in ap_process_request ()
> #5 0x138348 in child_main ()
> #6 0x1386d4 in make_child ()
> #7 0x1387f8 in startup_children ()
> #8 0x1391e8 in standalone_main ()
> #9 0x139de4 in main ()
>
>
>
> Any ideas? Suggestions?
>
>
>
>
--
Zeev Suraski <zeev@zend.com>
http://www.zend.com/