ID: 10072
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: Reproduceable crash
Description: SIGSEGV on startup (apxs)

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.


Previous Comments:
---------------------------------------------------------------------------

[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).



---------------------------------------------------------------------------

[2001-03-30 14:37:24] [EMAIL PROTECTED]
1. Delete config.cache
2. Add --enable-debug into your configure line
3. Configure and compile and try regenerating that gdb backtrace.

And do not use the source dirs in any other configure
option of PHP than --with-apache. You should be using the
INSTALL base dirs.

--Jani



---------------------------------------------------------------------------

The remainder of the comments for this report are too long.  To view the rest of the 
comments, please view the bug report online.

Full Bug description available at: http://bugs.php.net/?id=10072


-- 
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]

Reply via email to