php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24146 Installer crash
Submitted: 2003-06-12 06:57 UTC Modified: 2003-06-13 08:17 UTC
From: gk at online dot dp dot ua Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.2 OS: Red Hat Linux 7.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: gk at online dot dp dot ua
New email:
PHP Version: OS:

 

 [2003-06-12 06:57 UTC] gk at online dot dp dot ua
Description:
------------
After "make install":

...
Installing shared extensions:     /usr/local/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment:      /usr/local/lib/php/
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2

"./configure" \
"--with-apxs=/usr/local/apache/bin/apxs" \
"--with-sybase-ct=/opt/sybase-11.9.2" \
"--enable-track-vars"
                                                                                                                                 



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-12 07:30 UTC] sniper@php.net
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

 [2003-06-12 07:42 UTC] 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 08:33 UTC] sniper@php.net
Do you have SYBASE abd LANG environment variables set when
running 'make install' ??


 [2003-06-12 10:20 UTC] gk at online dot dp dot ua
Yes - LANG=en_US.iso885915, SYBASE=/opt/sybase-11.9.2
 [2003-06-13 05:48 UTC] 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-13 08:17 UTC] sniper@php.net
Not PHP bug. (the crash happens inside the sybase libs, not much we can do about that)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Sep 17 00:01:28 2024 UTC