Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Originating-IP: [203.90.98.131]
Reply-To: "Sukhwinder Singh" <ssruprai@hotmail.com>
From: "Sukhwinder Singh" <ssruprai@hotmail.com>
To: "Stipe Tolj" <tolj@wapme-systems.de>
Cc: <cygwin@cygwin.com>
References: <01ufduo7c330fgmratp0qgfrgqkdv7upa8@4ax.com> <3CD92533.9B0A0147@wapme-systems.de> <r9didu847jsnm4qhbr3gl87muukivim0e5@4ax.com> <71hidu8lr0qssqnne37377r6aac6t40l8n@4ax.com> <3CDA53EC.D3866B26@wapme-systems.de>
Subject: Re: apache PHP segmentation fault
Date: Fri, 10 May 2002 15:11:22 +0530
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <OE592yjwD74QXqoHiYi0000564f@hotmail.com>
X-OriginalArrivalTime: 09 May 2002 21:42:15.0991 (UTC) FILETIME=[62F28C70:01C1F7A2]

>neither of both has been used while building php4.

I think that it is not cygwin specific error because I faced same problems
after compiling php 4.2 and apache 2.0 on
Linux. Problems were with java and swf extensions.

I think person who has compiled this php module will be in a better position
to find the cause of this fault.

But you can try it yourself also.

If you know that php module was compiled with --enable-debug option and want
to try yourself, then gdb (GNU debugger) can be used to find the cause.

Follow the steps provided at
http://bugs.php.net/bugs-generating-backtrace.php


If debugging wasn't enabled when compiling php then do you know support for
which extensions is enabled (extensions enabled using --with-xxx options
when compiling php). If you know then list them and I'll try to compile php
using those extensions and see if this also causes problems on Linux.

Other option is to try to compile php and apache yourself using cygwin. The
earlier link http://www.geocities.com/honey_jal/index.htm provides
information about how to compile php and apache on Linux. I think same
procedure may be followed when compiling using cygwin.

If you want to compile php and apache yourself to see what is causing
problems then you can do this:

First try to compile php without enabling any extension. If everything
works, then it is possible that some extension is causing this problem.

Then compile php again with options you want to use but this time also
use --enable-debug option. Now follow the steps provided at
http://bugs.php.net/bugs-generating-backtrace.php

Sukhwinder Singh


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

