473,386 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Core dump on new PHP install

Hi. I've successfully installed PHP in the past but am having problems
compiling it all of a sudden. To try to fix the problem I downloaded a
fresh copy of Apache 1.3.29 and PHP 4.3.5 and kept the config simple.

My Apache config:

../configure \
"--prefix=/usr/local/src/internet/services/apache/php/core-fix-test/http
d" \
"--enable-module=so"

I installed Apache and then configured PHP like so:

HTTP_ROOT=/usr/local/src/internet/services/apache/php/core-fix-test/http
d
../configure --without-mysql --with-apxs=$HTTP_ROOT/bin/apxs --with-confi
g-file-path=$HTTP_ROOT/etc

When I run the resulting php binary, using sapi/cli/php -v as a test, I
get an immediate core dump. The gdb backtrace for this is at the end of
this post.

Something must have changed on my Linux box but I can't figure out what.
Or I've totally messed up the build procedure. Any pointers or helpful
hints? Any other information I can provide?

Thanks,
-Mike / mike _at_ orb dreamhost com

$ uname -a
Linux XXX 2.4.18-6mdksecure #1 SMP Fri Mar 15 01:57:24 CET 2002 i686
unknown

$ gcc -v
Reading specs from
/usr/local/packages/gcc3/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/specs
Configured with: ./configure --prefix=/usr/local/packages/gcc3
Thread model: posix
gcc version 3.3.2

$ gdb sapi/cli/php core
GNU gdb 5.1.1
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-mandrake-linux"...
Core was generated by
`/usr/local/src/internet/services/apache/php/core-fix-test/php-4.3.5/sap
i/cli/ph'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0 0x080fba90 in sapi_initialize_empty_request ()
(gdb) bt full
#0 0x080fba90 in sapi_initialize_empty_request ()
No symbol table info available.
#1 0x080f56e1 in php_module_startup ()
No symbol table info available.
#2 0x001b9280 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
Jul 17 '05 #1
1 4309
"Mike Orb" <_r****************************@orb.dreamhost.co m> wrote in
message news:nE*****************@newssvr23.news.prodigy.co m...
Hi. I've successfully installed PHP in the past but am having problems
compiling it all of a sudden. To try to fix the problem I downloaded a
fresh copy of Apache 1.3.29 and PHP 4.3.5 and kept the config simple.


How's that possible? According to the PHP home page, version 4.3.5 "is by
far the most stable release of PHP to date."

Wink ;-)
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dave Harrison | last post by:
Hi all, got a problem combinging mx and MySQLdb, when I build and install both for my Python2.1 install on a Solaris 9 box I can import mx fine, but importing MySQLdb causing python to core dump. ...
1
by: Martin | last post by:
I use dbx and i got the following error: Reading GL_CliConnMgr core file header read successfully Reading ld.so.1 dbx: core file read error: address 0xff3e6000 not available dbx: core file...
10
by: ken | last post by:
hello, i'm writing a c program on a linux system. i'm debugging a segmentation fault but i don't want it to dump a core file because the memory footprint of the program is over 300Mb and i don't...
10
by: John Liu | last post by:
We upgraded from 7.2 to 7.4, it looks like everything working, but when I issue a query such as select * from tab (tab has about 2-3 million records), it causes core dump. I tuned some the...
3
by: John Liu | last post by:
AIX pg version 7.4 Select * from document2 core dump. Did a few more experiments with select * from document2 limit... I limit to 500000 it works, 600000 it exits but says "calloc:...
10
by: wong_powah | last post by:
I want to find out where (which line) my C program core dump. How to do that? Is there a web site describing the procedure? One approach is to use stack trace of the mdb debugger, but I does not...
4
by: inetquestion | last post by:
php has been configured with the following two configure lines and core's during "make install" on the PEAR section. Is there something simple i'm missing? Any help would be appreciated. ...
1
by: gquiring | last post by:
I get a core dump while trying make install for PHP 5.2.4. Solaris 9 (Sparc), gcc 3.4.6. Configure options: ../buildconf --force ../configure '--enable-pdo' '--with-pdo-informix=/u/informix'...
5
by: johnericaturnbull | last post by:
Hi - I am very new to python. I get this random core dump and am looking for a good way to catch the error. I know the function my core dump occurs. Is there any error catching/handling that I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.