Bug #10652 Updated: payflow pro support core dumps ftp
| From: | sander@php.net | Date: | Tue, 18 Dec 2001 12:15:38 +0000 |
| Subject: | Bug #10652 Updated: payflow pro support core dumps ftp | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-74243@lists.php.net to get a copy of this message | ||
ID: 10652
Updated by: sander
Reported By: brad@omnis.com
Old Status: Feedback
Status: Closed
Bug Type: Verisign Payflow Pro related
Operating System: Linux 6.2 EE
PHP Version: 4.0 Latest CVS (03/05/2001)
New Comment:
No feedback. Closing.
Previous Comments:
------------------------------------------------------------------------
[2001-11-27 05:27:23] sander@php.net
Does this problem still occur with the latest RC? http://download.php.net/~zeev/php-4.1.0RC3.tar.gz
------------------------------------------------------------------------
[2001-05-03 17:41:34] brad@omnis.com
Latest CVS and the latest SDK for Payflow Pro will produce a core dump when using the FTP command
set. This has also happened on prior 4.0.x versions and previous versions of the pfpro SDK.
This is compiled as a CGI for use with Zeus webserver however the crash will occur regardless of if
Simple Script:
<?
$ftp = ftp_connect("ftp.domain.com");
$login = ftp_login($ftp,"user","pass");
$list = ftp_rawlist($ftp);
ftp_quit($ftp);
?>
Configure:
'./configure' '--with-mysql=/usr/local/mysql'
'--with-config-file-path=/etc' '--with-system-regex' '--disable-debug'
'--with-exec-dir=/' '--enable-sysvshm=yes' '--enable-sysvsem=yes'
'--enable-ftp' '--enable-trans-sid' '--enable-inline-optimization'
'--with-cybercash=/usr/work/mck-3.2.0.6-i586-pc-linux-gnulibc2.1'
'--with-imap=/usr/work/imap-2000a' '--with-oci8'
'--with-pfpro=/usr/local/verisign/payflowpro/linux'
gdb backtrace:
GNU gdb 19991004
Copyright 1998 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 `./php'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libpam.so.0...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /usr/local/verisign/payflowpro/linux/lib/libpfpro.so...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libcrypt.so.1...done.
Reading symbols from /usr/lib/libz.so.1...done.
Reading symbols from /lib/libnsl.so.1...done.
Reading symbols from /usr/local/mysql/lib/mysql/libmysqlclient.so.10...done.
Reading symbols from /lib/libresolv.so.2...done.
Reading symbols from /ora/app/lib/libclntsh.so.8.0...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /lib/libpthread.so.0...done.
Reading symbols from /ora/app/lib/libwtc8.so...done.
Reading symbols from /lib/libnss_files.so.2...done.
Reading symbols from /lib/libnss_nisplus.so.2...done.
Reading symbols from /lib/libnss_nis.so.2...done.
#0 0x400cb364 in pfproVersion () from /usr/local/verisign/payflowpro/linux/lib/libpfpro.so
(gdb) bt
#0 0x400cb364 in pfproVersion () from /usr/local/verisign/payflowpro/linux/lib/libpfpro.so
#1 0x4071da75 in __new_tmpfile () at tmpfile.c:41
#2 0x806fdac in ftp_genlist (ftp=0x82391c0, cmd=0x8160926 "LIST", path=0x81f3944
".") at ftp.c:1137
#3 0x806ed8b in ftp_list (ftp=0x82391c0, path=0x81f3944 ".") at ftp.c:420
#4 0x806dc5c in php_if_ftp_rawlist (ht=2, return_value=0x82390dc, this_ptr=0x0,
return_value_used=1) at php_ftp.c:446
#5 0x8109950 in execute (op_array=0x823906c) at ./zend_execute.c:1504
#6 0x80e36f8 in zend_execute_scripts (type=8, file_count=3) at zend.c:743
#7 0x80692e8 in php_execute_script (primary_file=0xbffffaa4) at main.c:1206
#8 0x8067b11 in main (argc=1, argv=0xbffffb04) at cgi_main.c:717
(gdb) quit
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=10652&edit=1