ID: 24146
Updated by: [EMAIL PROTECTED]
Reported By: gk at online dot dp dot ua
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Red Hat Linux 7.3
PHP Version: 4.3.2
New Comment:
Not PHP bug. (the crash happens inside the sybase libs, not much we can
do about that)
Previous Comments:
------------------------------------------------------------------------
[2003-06-13 05:48:03] gk at online dot dp dot ua
I don't know why, but 'make install' works! Only what I did - reboot.
First time I didn't have set SYBASE env, but I add it to /etc/profile
and logout/login. Set |grep SYBASE returns SYBASE, but make install
crash. After reboot it works...
------------------------------------------------------------------------
[2003-06-12 10:20:16] gk at online dot dp dot ua
Yes - LANG=en_US.iso885915, SYBASE=/opt/sybase-11.9.2
------------------------------------------------------------------------
[2003-06-12 08:33:48] [EMAIL PROTECTED]
Do you have SYBASE abd LANG environment variables set when
running 'make install' ??
------------------------------------------------------------------------
[2003-06-12 07:42:28] gk at online dot dp dot ua
Starting program: /backup/INST/1/php-4.3.2/sapi/cli/php -n
-dsafe_mode=0 pear/install-pear.php pear/package-*.xml
Program received signal SIGSEGV, Segmentation fault.
0x4212dfd0 in main_arena () from /lib/i686/libc.so.6
(gdb) bt
#0 0x4212dfd0 in main_arena () from /lib/i686/libc.so.6
#1 0x4205535f in buffered_vfprintf () from /lib/i686/libc.so.6
#2 0x42050437 in vfprintf () from /lib/i686/libc.so.6
#3 0x4205a297 in fprintf () from /lib/i686/libc.so.6
#4 0x40098ffe in com_perr () from /opt/sybase-11.9.2/lib/libcomn.so
#5 0x4008ae1d in com_intl_verify_ctxloc () from
/opt/sybase-11.9.2/lib/libcomn.so
#6 0x4012c4ad in cs_ctx_alloc () from /opt/sybase-11.9.2/lib/libcs.so
#7 0x080d52ba in php_sybase_init_globals (sybase_globals=0x81758c0)
at /backup/INST/1/php-4.3.2/ext/sybase_ct/php_sybase_ct.c:312
#8 0x080d5496 in zm_startup_sybase (type=1, module_number=3) at
/backup/INST/1/php-4.3.2/ext/sybase_ct/php_sybase_ct.c:372
#9 0x08122ebf in zend_startup_module (module=0x816c9e0) at
/backup/INST/1/php-4.3.2/Zend/zend_API.c:1005
#10 0x080f901f in php_startup_extensions (ptr=0x81733d0, count=10) at
/backup/INST/1/php-4.3.2/main/main.c:1033
#11 0x0813bc49 in php_startup_internal_extensions () at
main/internal_functions_cli.c:69
#12 0x080f9469 in php_module_startup (sf=0x8173340,
additional_modules=0x0, num_additional_modules=0)
at /backup/INST/1/php-4.3.2/main/main.c:1200
#13 0x0813af09 in main (argc=7, argv=0xbfffe984) at
/backup/INST/1/php-4.3.2/sapi/cli/php_cli.c:520
#14 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
------------------------------------------------------------------------
[2003-06-12 07:30:48] [EMAIL PROTECTED]
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Get the backtrace like this:
# gdb sapi/cli/php
(gdb) run -n -dsafe_mode=0 pear/install-pear.php pear/package-*.xml
<wait for crash..>
(gdb) bt
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/24146
--
Edit this bug report at http://bugs.php.net/?id=24146&edit=1