Re: [PHP] PHP 4.0.5 - segmentation fault when using OCI8

2001-05-12 Thread Thies C. Arntzen

On Sat, May 12, 2001 at 05:36:30AM -0700, Robert Mena wrote:
> Hi Thies,
> 
> Yes, httpd is linked against pthread.
> I've compiled 4.0.4pl1 and so far it is working ok. 
> This problem (segmentation fault) seems to be
> happening quite often (after reading some posts).

a backtrace would be useful!
http://www.php.net/bugs-dos-and-donts.php
tc
> 
> ldd /usr/sbin/httpd
> libm.so.6 => /lib/libm.so.6 (0x4001a000)
> libcrypt.so.1 => /lib/libcrypt.so.1
> (0x40037000)
> libdb.so.3 => /lib/libdb.so.3 (0x40065000)
> libdl.so.2 => /lib/libdl.so.2 (0x4009f000)
> libpthread.so.0 => /lib/libpthread.so.0
> (0x400a4000)
> libc.so.6 => /lib/libc.so.6 (0x400b7000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2
> (0x4000)
> 
> - Thanks.
> --- "Thies C. Arntzen" <[EMAIL PROTECTED]> wrote:
> > On Fri, May 11, 2001 at 06:51:35AM -0700, Robert
> > Mena wrote:
> > > Hi, I have a development machine with 4.0.4pl1
> > which
> > > has been used for creating a set of scripts to
> > access
> > > oracle (using stored procedures).
> > > 
> > > It seems to be working fine (the problems that
> > I've
> > > encountered seems to be related to the
> > > oracle/procedure itself).
> > > 
> > > Last night I moved the scripts to the production
> > > server.  Eveything was working ok until I try to
> > > access the part the uses the oracle where it hangs
> > for
> > > a while and then gives me a [notice] child pid
> > X
> > > exit signal Segmentation fault (11).
> > > 
> > > I've compiled using './configure' '--with-apxs'
> > > '--with-ttf' '--with-xml' '--with-gd' '--with-ftp'
> > > '--enable-session' '--enable-trans-sid'
> > '--with-zlib'
> > > '--enable-inline-optimization'
> > > '--with-oci8=/u01/app/oracle/product/8.1.7/'
> > > --with-mcrypt  --enable-sigchild
> > 
> > is your apache linked against -lpthread?
> > 
> > please read
> > http://www.php.net/bugs-dos-and-donts.php and
> > submit a bug report (with backtrace).
> > 
> > re,
> > tc
> 
> 
> __
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/

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




Re: [PHP] PHP 4.0.5 - segmentation fault when using OCI8

2001-05-12 Thread Robert Mena

Hi Thies,

Yes, httpd is linked against pthread.
I've compiled 4.0.4pl1 and so far it is working ok. 
This problem (segmentation fault) seems to be
happening quite often (after reading some posts).

ldd /usr/sbin/httpd
libm.so.6 => /lib/libm.so.6 (0x4001a000)
libcrypt.so.1 => /lib/libcrypt.so.1
(0x40037000)
libdb.so.3 => /lib/libdb.so.3 (0x40065000)
libdl.so.2 => /lib/libdl.so.2 (0x4009f000)
libpthread.so.0 => /lib/libpthread.so.0
(0x400a4000)
libc.so.6 => /lib/libc.so.6 (0x400b7000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2
(0x4000)

- Thanks.
--- "Thies C. Arntzen" <[EMAIL PROTECTED]> wrote:
> On Fri, May 11, 2001 at 06:51:35AM -0700, Robert
> Mena wrote:
> > Hi, I have a development machine with 4.0.4pl1
> which
> > has been used for creating a set of scripts to
> access
> > oracle (using stored procedures).
> > 
> > It seems to be working fine (the problems that
> I've
> > encountered seems to be related to the
> > oracle/procedure itself).
> > 
> > Last night I moved the scripts to the production
> > server.  Eveything was working ok until I try to
> > access the part the uses the oracle where it hangs
> for
> > a while and then gives me a [notice] child pid
> X
> > exit signal Segmentation fault (11).
> > 
> > I've compiled using './configure' '--with-apxs'
> > '--with-ttf' '--with-xml' '--with-gd' '--with-ftp'
> > '--enable-session' '--enable-trans-sid'
> '--with-zlib'
> > '--enable-inline-optimization'
> > '--with-oci8=/u01/app/oracle/product/8.1.7/'
> > --with-mcrypt  --enable-sigchild
> 
> is your apache linked against -lpthread?
> 
> please read
> http://www.php.net/bugs-dos-and-donts.php and
> submit a bug report (with backtrace).
> 
> re,
> tc


__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

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




Re: [PHP] PHP 4.0.5 - segmentation fault when using OCI8

2001-05-11 Thread Thies C. Arntzen

On Fri, May 11, 2001 at 06:51:35AM -0700, Robert Mena wrote:
> Hi, I have a development machine with 4.0.4pl1 which
> has been used for creating a set of scripts to access
> oracle (using stored procedures).
> 
> It seems to be working fine (the problems that I've
> encountered seems to be related to the
> oracle/procedure itself).
> 
> Last night I moved the scripts to the production
> server.  Eveything was working ok until I try to
> access the part the uses the oracle where it hangs for
> a while and then gives me a [notice] child pid X
> exit signal Segmentation fault (11).
> 
> I've compiled using './configure' '--with-apxs'
> '--with-ttf' '--with-xml' '--with-gd' '--with-ftp'
> '--enable-session' '--enable-trans-sid' '--with-zlib'
> '--enable-inline-optimization'
> '--with-oci8=/u01/app/oracle/product/8.1.7/'
> --with-mcrypt  --enable-sigchild

is your apache linked against -lpthread?

please read http://www.php.net/bugs-dos-and-donts.php and
submit a bug report (with backtrace).

re,
tc

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




[PHP] PHP 4.0.5 - segmentation fault when using OCI8

2001-05-11 Thread Robert Mena

Hi, I have a development machine with 4.0.4pl1 which
has been used for creating a set of scripts to access
oracle (using stored procedures).

It seems to be working fine (the problems that I've
encountered seems to be related to the
oracle/procedure itself).

Last night I moved the scripts to the production
server.  Eveything was working ok until I try to
access the part the uses the oracle where it hangs for
a while and then gives me a [notice] child pid X
exit signal Segmentation fault (11).

I've compiled using './configure' '--with-apxs'
'--with-ttf' '--with-xml' '--with-gd' '--with-ftp'
'--enable-session' '--enable-trans-sid' '--with-zlib'
'--enable-inline-optimization'
'--with-oci8=/u01/app/oracle/product/8.1.7/'
--with-mcrypt  --enable-sigchild

Any ideas ?

Thanks.

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

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