php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4809 segfault, when starting apache
Submitted: 2000-06-04 20:42 UTC Modified: 2000-08-02 00:00 UTC
From: fuf at fuf dot sh dot cvut dot cz Assigned:
Status: Closed Package: Sybase-ct (ctlib) related
PHP Version: 4.0.0 Release OS: linux-2.2.14pre16+some patches
Private report: No CVE-ID: None
 [2000-06-04 20:42 UTC] fuf at fuf dot sh dot cvut dot cz
hello,

i hope this is the last time. sybase 11.9.2, php4 compiled with --sybase-ct, when starting apache (1.3.12 + mod_ssl) it immediately segfaults. backtrace:
(gdb) where
#0  0x3a2538 in __morecore () from /lib/libc.so.6
#1  0x3084ce in vfprintf () from /lib/libc.so.6
#2  0x3039a6 in vfprintf () from /lib/libc.so.6
#3  0x30b9a3 in fprintf () from /lib/libc.so.6
#4  0x153ffe in com_perr () from /home/sybase/lib/libcomn.so
#5  0x145e1d in com_intl_verify_ctxloc () from /home/sybase/lib/libcomn.so
#6  0x209277 in cs_ctx_alloc () from /home/sybase/lib/libcs.so
#7  0x8112cf9 in php_minit_sybase (type=1, module_number=4)
    at php_sybase_ct.c:233
#8  0x80cc785 in zend_startup_module (module=0x8239f00) at zend_API.c:698
#9  0x80b7f27 in php_startup_extensions (ptr=0x82370e4, count=9) at main.c:768
#10 0x80b89b4 in php_startup_internal_extensions () at internal_functions.c:65
#11 0x80b8196 in php_module_startup (sf=0x8233900) at main.c:915
#12 0x80b3ef2 in php_apache_startup (sapi_module=0x8233900) at mod_php4.c:270
#13 0x80b4938 in php_init_handler (s=0x8262ab4, p=0x8262a8c) at mod_php4.c:691
#14 0x814499e in ap_init_modules (p=0x8262a8c, s=0x8262ab4)
    at http_config.c:1623
#15 0x814ce18 in main (argc=4, argv=0x7ffffb64) at http_main.c:5091

	Michal Vitecek

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-25 02:00 UTC] joey at cvs dot php dot net
Could you add:
Your configure line
What sybase version you are using
Do you have $SYBASE set for account that starts apache?
   (Try hacking it into apachectl, if you use that)
 [2000-08-01 22:53 UTC] waldschrott@php.net
no feedback, closed
 [2000-08-02 00:00 UTC] sniper@php.net
You forgot to close this.

--Jani
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Mar 20 16:01:27 2019 UTC