php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11301 libpfpro.so causes SEG FAULT when mod_ssl is used
Submitted: 2001-06-05 20:41 UTC Modified: 2001-06-06 01:56 UTC
From: tjw at webteam dot net Assigned:
Status: Closed Package: Verisign Payflow Pro related
PHP Version: 4.0.6RC2 OS: RedHat 7.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tjw at webteam dot net
New email:
PHP Version: OS:

 

 [2001-06-05 20:41 UTC] tjw at webteam dot net
Payflow Pro functionality seems to work fine with 
'apachectl start', but when I load mod_ssl with 
'apachectl startssl', i get a seg fault.  I saw a similar
problem mentioned earlier, but it is supposedly fixed
for newer versions (v3) of libpfpro.so. 

Payflow Pro Version: L300 (from phpinfo())
OpenSSL Version: 0.9.6a (built with no-threads -fPIC)
Apache Version: 1.3.20
PHP Version: 4.0.6RC2

PHP Config:
./configure --with-apxs=/usr/local/apache/bin/apxs \                     --with-config-file-path=/etc/httpd \
            --with-mysql=/usr \
            --enable-track-vars \
            --with-zlib \
            --with-pfpro \
            --enable-debug 


[root@sydney apache]# gdb ./bin/httpd -c core 
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `./bin/httpd -DSSL -X'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/local/apache/libexec/mod_env.so...done.
Loaded symbols for /usr/local/apache/libexec/mod_env.so
Reading symbols from /usr/local/apache/libexec/mod_log_config.so...done.
Loaded symbols for /usr/local/apache/libexec/mod_log_config.so
Reading symbols from /usr/local/apache/libexec/mod_mime.so...done.
Loaded symbols for /usr/local/apache/libexec/mod_mime.so
Reading symbols from /usr/local/apache/libexec/mod_negotiation.so...done.
Loaded symbols for /usr/local/apache/libexec/mod_negotiation.so
Reading symbols from /usr/local/apache/libexec/mod_status.so...done.
Loaded symbols for /usr/local/apache/libexec/mod_status.so
Reading symbols from /usr/local/apache/libexec/mod_include.so...done.
Loaded symbols for /usr/local/apache/libexec/mod_include.so
Reading symbols from /usr/local/apache/libexec/mod_autoindex.so...done.
Loaded symbols for /usr/local/apache/libexec/mod_autoindex.so
Reading symbols from /usr/local/apache/libexec/mod_dir.so...done.
Loaded symbols for /usr/local/apache/libexec/mod_dir.so
Reading symbols from /usr/local/apache/libexec/mod_cgi.so...done.
Loaded symbols for /usr/local/apache/libexec/mod_cgi.so
Reading symbols from /usr/local/apache/libexec/mod_asis.so...done.
Loaded symbols for /usr/local/apache/libexec/mod_asis.so
Reading symbols from /usr/local/apache/libexec/mod_imap.so...done.
Loaded symbols for /usr/local/apache/libexec/mod_imap.so
Reading symbols from /usr/local/apache/libexec/mod_actions.so...done.
Loaded symbols for /usr/local/apache/libexec/mod_actions.so
Reading symbols from /usr/local/apache/libexec/mod_userdir.so...done.
Loaded symbols for /usr/local/apache/libexec/mod_userdir.so
Reading symbols from /usr/local/apache/libexec/mod_alias.so...done.
Loaded symbols for /usr/local/apache/libexec/mod_alias.so
Reading symbols from /usr/local/apache/libexec/mod_rewrite.so...done.
Loaded symbols for /usr/local/apache/libexec/mod_rewrite.so
Reading symbols from /usr/local/apache/libexec/mod_access.so...done.
Loaded symbols for /usr/local/apache/libexec/mod_access.so
Reading symbols from /usr/local/apache/libexec/mod_auth.so...done.
Loaded symbols for /usr/local/apache/libexec/mod_auth.so
Reading symbols from /usr/local/apache/libexec/mod_setenvif.so...done.
Loaded symbols for /usr/local/apache/libexec/mod_setenvif.so
Reading symbols from /usr/local/apache/libexec/libphp4.so...done.
Loaded symbols for /usr/local/apache/libexec/libphp4.so
Reading symbols from /lib/libpam.so.0...done.
Loaded symbols for /lib/libpam.so.0
Reading symbols from /usr/local/lib/libpfpro.so...done.
Loaded symbols for /usr/local/lib/libpfpro.so
Reading symbols from /usr/lib/mysql/libmysqlclient.so.10...done.
Loaded symbols for /usr/lib/mysql/libmysqlclient.so.10
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libpthread.so.0...done.
rw_common (): write: Success.

warning: unable to set global thread event mask
[New Thread 1024 (LWP 16465)]
rw_common (): write: Success.

warning: stop_or_attach_thread: generic error
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/local/apache/libexec/libssl.so...done.
Loaded symbols for /usr/local/apache/libexec/libssl.so
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_nisplus.so.2...done.
Loaded symbols for /lib/libnss_nisplus.so.2
Reading symbols from /lib/libnss_nis.so.2...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
#0  0x403f5364 in pfproVersion () from /usr/local/lib/libpfpro.so
(gdb) 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-05 23:40 UTC] tjw at webteam dot net
By an odd stroke of luck, changing the order of
LoadModule directives from:

LoadModule php4_module        libexec/libphp4.so
LoadModule ssl_module         libexec/libssl.so

to:

LoadModule ssl_module         libexec/libssl.so
LoadModule php4_module        libexec/libphp4.so

seems to get rid of the seg fault.

Even stranger is the fact that the pfpro functions work and
apache appears stable.

I'm not sure that the PHP team will be able to do anything
about this since the problem stems from the closed source
libpfpro.so library from Verisign.  However, I'm leaving 
the bug open just in case I'm missing something.
 [2001-06-06 01:56 UTC] sniper@php.net
Not PHP problem. Report this to Verisign.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 09:01:29 2024 UTC