PHP 4.0 Bug #3847 Updated: SEGFAULT in PHP when Sybase environment variables are not set

From: Date: Tue, 21 Nov 2000 09:01:05 +0000
Subject: PHP 4.0 Bug #3847 Updated: SEGFAULT in PHP when Sybase environment variables are not set
Groups: php.dev 
Request: Send a blank email to php-dev+get-38762@lists.php.net to get a copy of this message
ID: 3847 Updated by: sniper Reported By: joey@samaritan.com Status: Closed Bug Type: Feature/Change Request Assigned To: Comments: no feedback. Previous Comments: --------------------------------------------------------------------------- [2000-07-31 22:52:49] waldschrott@php.net Please verify that it´s still happening using the latest version of PHP (release 4.0.1pl2 or CVS). --------------------------------------------------------------------------- [2000-07-24 20:17:45] joey@php.net OK, this is not a PHP bug per-se. Still, I'm wondering if there is not some way the PHP can handle this. --------------------------------------------------------------------------- [2000-03-16 11:39:36] joey@samaritan.com Here is the backtrace...got this from someone else, but have seen the same segfault myself in php4b3... I can't figure out why #2 (and #3?) cause a segfault? #0 0x4018d0a1 in main_arena () from /lib/libc.so.6 #1 0x684018d0 in ?? () #2 0x400e4f66 in _IO_vfprintf (s=0x4018cfc0, format=0xbfffe12c "nnThe context allocation routine failed when it tried to load localization files!!n", ap=0xbfffdad8) at vfprintf.c:1029 #3 0x400ecf47 in fprintf (stream=0x4018cfc0, format=0xbfffe12c "nnThe context allocation routine failed when it tried to load localization files!!n") at fprintf.c:32 #4 0x40517ffe in com_perr () from /home/sybase-11.9.2/lib/libcomn.so #5 0x40509e1d in com_intl_verify_ctxloc () from /home/sybase-11.9.2/lib/libcomn.so #6 0x405ab4ad in cs_ctx_alloc () from /home/sybase-11.9.2/lib/libcs.so #7 0x4040be92 in php_minit_sybase (type=1, module_number=19) at php_sybase_ct.c:232 #8 0x403ac6ad in zend_startup_module (module=0x40450c20) at zend_API.c:700 #9 0x4038bdbc in php_startup_extensions (ptr=0x4044c118, count=28) at main.c:723 #10 0x4038c8b5 in php_startup_internal_extensions () at internal_functions.c:108 #11 0x4038c021 in php_module_startup (sf=0x4044c7a0) at main.c:865 #12 0x403b6f38 in php_apache_startup (sapi_module=0x4044c7a0) at mod_php4.c:266 #13 0x403b7809 in php_init_handler (s=0x8091ad4, p=0x8091aac) at mod_php4.c:641 #14 0x8054011 in ap_init_modules () #15 0x805b4ee in main () #16 0x400b81eb in __libc_start_main (main=0x805b290 <main>, argc=2, argv=0xbffffc04, init=0x804e684 <_init>, fini=0x80794ec <_fini>, rtld_fini=0x4000a610 <_dl_fini>, stack_end=0xbffffbfc) at ../sysdeps/generic/libc-start.c:90 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=3847

« previous php.dev (#38762) next »