Re: PHP 4.0 Bug #8443 Updated: Segmentation Fault

From: Date: Wed, 10 Jan 2001 22:56:32 +0000
Subject: Re: PHP 4.0 Bug #8443 Updated: Segmentation Fault
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-43741@lists.php.net to get a copy of this message
On 10 Jan 2001 jpintoc@uol.com.co wrote: > ID: 8443 > User Update by: jpintoc@uol.com.co > Status: Open > Bug Type: Apache related > Description: Segmentation Fault > > This is the gdb backtrace: > > linux:/usr/local/apache/bin # gdb /usr/local/apache/bin/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-suse-linux-gnu"... > (no debugging symbols found)... > (gdb) run -X > Starting program: /usr/local/apache/bin/httpd -X > (no debugging symbols found)... > Program received signal SIGSEGV, Segmentation fault. > 0x40242bc5 in main_arena () from /lib/libc.so.6 > (gdb) bt > #0 0x40242bc5 in main_arena () from /lib/libc.so.6 > #1 0x40199dfc in buffered_vfprintf (s=0x40242b20, format=0xbfffdff4 "\n\nThe context > allocation routine failed when it tried to load localization files!!\n", args=0xbfffdfd0) at > vfprintf.c:1767 > #2 0x401949f6 in _IO_vfprintf (s=0x40242b20, format=0xbfffdff4 "\n\nThe context > allocation routine failed when it tried to load localization files!!\n", ap=0xbfffdfd0) at > vfprintf.c:1029 > #3 0x4019d821 in fprintf (stream=0x40242b20, format=0xbfffdff4 "\n\nThe context > allocation routine failed when it tried to load localization files!!\n") at fprintf.c:32 > #4 0x40068a68 in com_perr () from /opt/sybase/lib/libcomn.so > #5 0x40065c45 in com_intl_verify_ctxloc () from /opt/sybase/lib/libcomn.so > #6 0x400d67bc in cs_ctx_alloc () from /opt/sybase/lib/libcs.so > #7 0x80dad16 in php_print_credits () > #8 0x80daeb1 in php_minit_sybase () > #9 0x80f45e0 in zend_startup_module () > #10 0x8081198 in php_startup_extensions () > #11 0x8081e4f in php_startup_internal_extensions () > #12 0x8081445 in php_module_startup () > #13 0x807ec7c in sapi_apache_send_headers () > #14 0x807f8c2 in php_init_handler () > #15 0x812e2d9 in ap_init_modules () > #16 0x8139afd in main () > #17 0x40166313 in __libc_start_main (main=0x8139730 <main>, argc=2, > argv=0xbffff594, init=0x8062780 <_init>, fini=0x8170c68 <_fini>, > rtld_fini=0x4000ac70 <_dl_fini>, stack_end=0xbffff58c) > at ../sysdeps/generic/libc-start.c:90 > (gdb) > > > Previous Comments: > --------------------------------------------------------------------------- > > [2001-01-10 17:18:29] jpintoc@uol.com.co > I changed php version to 4.0.0 but it works tha same > > > --------------------------------------------------------------------------- > > [2001-01-02 10:07:03] sniper@php.net > Add --enable-debug into your configure line and recompile. > Then generate a gdb backtrace of the crash and add it > into this bug report. > > http://bugs.php.net/bugs-generating-backtrace.php > > --Jani > > --------------------------------------------------------------------------- > > [2000-12-27 15:16:45] jpintoc@uol.com.co > I'm trying to link apache 1.3.14 and php 4.0.3pl1. I'm using all the instructions in > INSTALL file. > All ./configure ad mak/make install seems to work ok, but when I try to start apache (apachectl > start) i get Segmentation fault $HTTPD > > Configure line : > ./configure --with-apache=/usr/apache/apache_1.3. > 14 --with-sybase-ct=/opt/sybase > > > > --------------------------------------------------------------------------- > > > Full Bug description available at: http://bugs.php.net/?id=8443 > You need to set the SYBASE abd LANG environment variables. -- Ignacio Vazquez-Abrams <ignacio@openservices.net>

« previous php.dev (#43741) next »