[imp] IMP 2.3.6 seg faults apache. WHY!?

Steve Paraka sparaka@hotmail.com
Sun, 04 Feb 2001 00:17:41 -0500


> > >If you are running PHP-cvs, you need to do a lot more troubleshooting
> > >for segfaults.

it looks like PHP is getting hung up on mcrypt.  take a look at this gdb 
trace:

(gdb) run
Starting program: /usr/local/apache/bin/httpd httpd -X
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
__strtol_internal (nptr=0x8417e80 " ÿ=\b q=\b", endptr=0x40044470, 
base=138505828,
    group=0) at eval.c:36
36      eval.c: No such file or directory.
        in eval.c
(gdb) backtrace
#0  __strtol_internal (nptr=0x8417e80 " ÿ=\b q=\b", endptr=0x40044470,
    base=138505828, group=0) at eval.c:36
#1  0x40043a43 in mcrypt_enc_is_block_algorithm (td=0x8417e80)
    at mcrypt_modules.c:333
#2  0x4004370c in mcrypt_module_open (algorithm=0x83f69d4 "blowfish",
    a_directory=0x0, mode=0x8416e64 "ecb", m_directory=0x0) at 
mcrypt_modules.c:169
#3  0x080cff16 in ?? () at eval.c:41
#4  0x0815003b in ?? () at eval.c:41
#5  0x0815022a in ?? () at eval.c:41
#6  0x0815022a in ?? () at eval.c:41
#7  0x0812a10a in ?? () at eval.c:41
#8  0x080b0053 in ?? () at eval.c:41
#9  0x08135952 in ?? () at eval.c:41
#10 0x080adb3c in ?? () at eval.c:41
#11 0x080adb71 in ?? () at eval.c:41
#12 0x0815a48b in ?? () at eval.c:41
#13 0x0816e667 in ?? () at eval.c:41
#14 0x0816e6c8 in ?? () at eval.c:41
#15 0x08165b05 in ?? () at eval.c:41
#16 0x08165cd4 in ?? () at eval.c:41
#17 0x08165e48 in ?? () at eval.c:41
#18 0x08166497 in ?? () at eval.c:41
#19 0x08166ccf in ?? () at eval.c:41
#20 0x401c4f11 in __libc_start_main (main=0x816691c, argc=3, 
ubp_av=0xbffffaec,
    init=0x807e4f8, fini=0x826c64c, rtld_fini=0x4000e214 <_dl_fini>,
    stack_end=0xbffffae4) at ../sysdeps/generic/libc-start.c:129


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com