Re: php is core-dumping
| From: | Rasmus Lerdorf | Date: | Wed, 12 Apr 2000 04:14:53 +0000 |
| Subject: | Re: php is core-dumping | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-17829@lists.php.net to get a copy of this message | ||
Hrm, you appear to have a midgard-patched version of PHP and the core dump
is a direct result of these patches. I think you should be asking the
Mindgard folks this one.
On Wed, 12 Apr 2000, Armand A. Verstappen wrote:
> Hi I followed your instructions on php.net,
>
> and here is a backtrace:
>
> [root@envida logs]# gdb /usr/sbin/httpd
> GNU gdb 4.18
> 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-redhat-linux"...
> (gdb) run -X -f/usr/local/apache/conf/httpd.conf
> Starting program: /usr/sbin/httpd -X -f/usr/local/apache/conf/httpd.conf
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x0 in ?? ()
> (gdb) bt
> #0 0x0 in ?? ()
> #1 0x40193db0 in _php3_hash_add_or_update (ht=0x40210a20,
> arKey=0x4021a5bd "create", nKeyLength=7, pData=0xbfffe7b0,
> nDataSize=16,
> pDest=0x0, flag=0) at php3_hash.c:162
> #2 0x4019a07c in add_assoc_function (arg=0x4026d294, key=0x4021a5bd
> "create",
> function_ptr=0x401d866c <midgard_oop_topic_create>)
> at internal_functions.c:344
> #3 0x401cf764 in php_midgard_oop (object=0x4026d294, class=0x40239bc0)
> at functions/midgard.c:469
> #4 0x401d1de2 in php3_mgd_get_topic (ht=0x8102bf8,
> return_value=0x4026d294,
> list=0x40272f20, plist=0x40272ee0) at functions/midgard.c:1447
> #5 0x401e2d3f in phpparse () at control_structures_inline.h:929
> #6 0x401938c0 in php3_parse (yyin=0x80fc100) at main.c:1538
> #7 0x40193b9c in apache_php3_module_main (r=0x80f4b64, fd=32,
> display_source_mode=0, preprocessed=0) at main.c:1892
> #8 0x401909c1 in send_php3 () from /usr/local/apache/modules/libphp3.so
>
> #9 0x40190a47 in send_parsed_php3 () from
> /usr/local/apache/modules/libphp3.so
> #10 0x8054d43 in ap_invoke_handler ()
> #11 0x8068279 in process_request_internal ()
> #12 0x80682dc in ap_process_request ()
> #13 0x805fb7e in child_main ()
> #14 0x805fd0c in make_child ()
> #15 0x805fe69 in startup_children ()
> #16 0x8060496 in standalone_main ()
> #17 0x8060c23 in main ()
> #18 0x4007d1eb in __libc_start_main (main=0x80608dc <main>, argc=3,
> argv=0xbffffd54, init=0x804e8fc <_init>, fini=0x8094bfc <_fini>,
> rtld_fini=0x4000a610 <_dl_fini>, stack_end=0xbffffd4c)
> at ../sysdeps/generic/libc-start.c:90
>
> Hope you guys can shed some light on this for me...
>
> Cheers,
>
> Armand.
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>