ID:               28029
 Updated by:       [EMAIL PROTECTED]
 Reported By:      coadmin at hostings dot pl
-Status:           Open
+Status:           Feedback
 Bug Type:         URL related
 Operating System: FreeBSD 4.9 and 5.2.1
 PHP Version:      4CVS-2004-04-16 (stable)
 New Comment:

Disable all zend extensions first..then if you still get the segfault
with non-debug build, get a backtrace of THAT, it might show
_something_..



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

[2004-04-29 13:53:41] coadmin at hostings dot pl

Hello,

I cleared my own CFLAGS and also tried to compile with exported
CFLAGS=-O but problem is still recurrent.

I can't reproduce problem in --enable-debug.

I'm waiting for any other hints.

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

[2004-04-28 21:00:36] coadmin at hostings dot pl

Hello,

I'm still doing tests. I'll post answer soon. Please keep this ticket.
Thanks.

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

[2004-04-23 18:04:28] [EMAIL PROTECTED]

When compiling PHP without debug do you export your own 
CFLAGS? It is possible that with debug your compiler over 
optimizes and consequently breaks the code. If you are not 
setting any optimization options, try doing export 
CFLAGS=-O before running configure/make/make install 
procedure. 

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

[2004-04-21 15:30:27] coadmin at hostings dot pl

Heh, the problem is *strange*...

As you reqested, I decided to compile PHP with --enable-debug. All
problems went away... The aren't any segfaults and php stream releated
functions works correctly all the time.

When I compile PHP again, without debug, it reproduces errors
quickly...

I tried PHP-4.3.3 and 4.3.7dev - both of them works preety good with
--enable-debug, and reproduce erros in not debug mode.

What's it? Other configure options are the same. In --enable-debug only
Zend doesn't work, but my scripts doesn't use it.

Please help. I don't know gow to reproduce errors with --enable-debug.

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

[2004-04-21 09:29:27] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

We really need a backtrace.

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/28029

-- 
Edit this bug report at http://bugs.php.net/?id=28029&edit=1

Reply via email to