You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/08/20 02:49:05 UTC

DO NOT REPLY [Bug 30767] New: - Apache doesn't start - Segmentation Fault

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30767>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30767

Apache doesn't start - Segmentation Fault

           Summary: Apache doesn't start - Segmentation Fault
           Product: Apache httpd-1.3
           Version: 1.3.31
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Major
          Priority: Other
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: francisco.puente@ericsson.ca


I've compiled PHP4.3.8 as:
./configure --enable-gd-imgstrttf --with-gd --with-jpeg --with-
apache=../apache_1.3.31 --with-mysql --with-pspell 

--with-ttf --with-zlib --enable-bcmath --enable-filepro --enable-ftp --enable-
track-vars --enable-calendar --enable-ctype 

--enable-exif --enable-trans-sid --enable-shmop --enable-sockets --enable-
sysvsem --enable-sysvshm --enable-wddx 

--with-sybase-ct=/opt/sybase-11.9.2 --enable-sigchild --with-oci8=/ora/9iR2 --
with-oracle=/ora/9iR2 --without-pear

#make all
#make install
#cd ../apache_1.3.31
#cp src/modules/php4/libphp4.module src/modules/php4/libphp4.a
#./configure --prefix=/usr/local/apache --enable-module=most --enable-module=so 
--activate-module=src/modules/php4/libphp4.a
#make all
#make install
#cd ../php-4.3.8
#cp php.ini-dist /usr/local/lib/php.ini

...no errors so far....
# /usr/local/apache/bin/apachectl start
/usr/local/apache/bin/apachectl: line 186: 16158 Trace/breakpoint trap   $HTTPD
/usr/local/apache/bin/apachectl start: httpd could not be started
fls:/sources/php-4.3.8# ldd /usr/local/apache/bin/httpd 
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x4001d000)
        libinsck.so => /opt/sybase-11.9.2/lib/libinsck.so (0x4004a000)
        libsybtcl.so => /opt/sybase-11.9.2/lib/libsybtcl.so (0x4004e000)
        libintl.so => /opt/sybase-11.9.2/lib/libintl.so (0x40070000)
        libcomn.so => /opt/sybase-11.9.2/lib/libcomn.so (0x40078000)
        libct.so => /opt/sybase-11.9.2/lib/libct.so (0x400d0000)
        libcs.so => /opt/sybase-11.9.2/lib/libcs.so (0x4012d000)
        libpspell.so.4 => /usr/lib/libpspell.so.4 (0x4013a000)
        libpng.so.2 => /usr/lib/libpng.so.2 (0x40157000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40182000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40191000)
        libm.so.6 => /lib/libm.so.6 (0x401a1000)
        libdl.so.2 => /lib/libdl.so.2 (0x401c2000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x401c5000)
        libclntsh.so.9.0 => /ora/9iR2/lib/libclntsh.so.9.0 (0x401d9000)
        libdb.so.2 => /lib/libdb.so.2 (0x40baa000)
        libc.so.6 => /lib/libc.so.6 (0x40bb7000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40cd4000)
        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 
(0x40ce9000)
        libltdl.so.3 => /usr/lib/libltdl.so.3 (0x40d32000)
        libpspell-modules.so.1 => /usr/lib/libpspell-modules.so.1 (0x40d38000)
        libwtc9.so => /ora/9iR2/lib/libwtc9.so (0x40d3a000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


# gdb /usr/local/apache/bin/httpd 
GNU gdb 2002-04-01-cvs
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...
(gdb) b ap_process_request
Breakpoint 1 at 0x81c8f8a
(gdb) run -X -d /usr/local/apache
Starting program: /usr/local/apache/bin/httpd -X -d /usr/local/apache
[New Thread 1024 (LWP 16166)]

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 1024 (LWP 16166)]
0x40ccc6bb in __morecore () from /lib/libc.so.6
(gdb) s
Single stepping until exit from function __morecore, 
which has no line number information.

Program received signal SIGILL, Illegal instruction.
0x40ccc6c5 in __morecore () from /lib/libc.so.6
(gdb) n
Single stepping until exit from function __morecore, 
which has no line number information.
Cannot find user-level thread for LWP 16166: generic error
(gdb) s
Cannot find thread 1024: generic error

I've compiled this two with all the options but Sybase and Oracle, Now I've 
managed to install both on Debian/Woody and wanted to use them from Apache/PHP.

Good luck!!
Francisco Puente

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org