php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8443 Segmentation Fault
Submitted: 2000-12-27 15:16 UTC Modified: 2001-01-11 16:25 UTC
From: jpintoc at uol dot com dot co Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0.4 OS: linux 2.2.13 SUSE 6.3
Private report: No CVE-ID: None
 [2000-12-27 15:16 UTC] jpintoc at uol dot com dot 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-02 10:07 UTC] 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
 [2001-01-10 17:18 UTC] jpintoc at uol dot com dot co
I changed php version to 4.0.0 but it works tha same

 [2001-01-10 17:26 UTC] jpintoc at uol dot com dot co
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)

 [2001-01-10 19:27 UTC] sniper@php.net
You need to set the SYBASE abd LANG environment variables.
-- 
Ignacio Vazquez-Abrams  <ignacio@openservices.net>


If this doesn't help, reopen this bug report. Also, you should try 
PHP 4.0.4 before doing this.

--Jani


 [2001-01-11 16:25 UTC] jpintoc at uol dot com dot co
Thanks a lot for your help. It works fine.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 24 20:01:29 2024 UTC