ID: 10072
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Reproduceable crash
Assigned To:
Comments:
User feedback:
--------------
I recompiled Apache with --enable-rule=SHARED_CORE and now it works
correctly.
(Previously I had enabled mod_so but not SHARED_CORE. I wish they'd tell you
these things..)
--------------
Closed.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-04-03 20:14:04] [EMAIL PROTECTED]
Using latest gcc and gmake, but using Sun's /usr/ccs/bin/ld (1 Sep 1998). I guess the
next step is to try GNU ld..
Matt.
---------------------------------------------------------------------------
[2001-04-03 09:06:07] [EMAIL PROTECTED]
Which compiler / linker do you use? GNU?
--Jani
---------------------------------------------------------------------------
[2001-04-03 03:18:39] [EMAIL PROTECTED]
I got the latest snap, php4-200104022145, and rebuilt as you suggest. I also used a
smaller configure line:
./configure --with-apxs --enable-debug
and got the same segfault. The gdb output is identical, and the truss output is an
identical structure but a couple of different mmap base addresses and sizes.
Judging by the gdb, maybe this is a problem with either apxs on Solaris 7, or with
PHP's usage of it?
The /x/informix you see in the truss are because of the environment variables:
LD_LIBRARY_PATH=/usr/local/lib
LD_RUN_PATH=:/x/informix/lib/esql:/x/informix/lib
I will try recompiling with the static (non-apxs) form tomorrow.
Matt.
---------------------------------------------------------------------------
[2001-04-01 13:17:06] [EMAIL PROTECTED]
Can you please try the latest CVS snapshot from http://snaps.php.net/ ?
And I saw some informix related stuff in that truss output
so it might be something left in there. Check your php.ini
and also do 'make clean' after configuring PHP.
--Jani
---------------------------------------------------------------------------
[2001-03-30 17:07:16] [EMAIL PROTECTED]
I'm not sure what you mean. My PHP configure line already has --enable-debug, and
contains no source dirs except jpeg-6b (I can take that out and recompile I guess).
../../mysql = /usr/local/mysql, which is where it installed
Or are you referring to my Apache configure line (the example installation specified
to use those source dirs).
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the
comments, please view the bug report online.
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10072&edit=2
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]