From: me at bereal dot ru
Operating system:
PHP version: 5.0.3
PHP Bug Type: *General Issues
Bug description: SSH2 + "Segmentaion Fault"
Description:
------------
We've got the "Segmentation Fault" error when trying to send more than 2
files via ssh2_scp_send within one connection.
But its all okay when we use new connection for each file upload.
Reproduce code:
---------------
$ssh2 = $this->Connect($host);
@ssh2_scp_send($ssh2, $from, $path1.basename($from));
@ssh2_scp_send($ssh2, $from, $path2.basename($from));
@ssh2_scp_send($ssh2, $from, $path3.basename($from));
@ssh2_scp_send($ssh2, $from, $path4.basename($from));
Expected result:
----------------
Segmentation fault
Actual result:
--------------
Segmentation fault
--
Edit bug report at http://bugs.php.net/?id=32132&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32132&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=32132&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=32132&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32132&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32132&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32132&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32132&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32132&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32132&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32132&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=32132&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=32132&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32132&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32132&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32132&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32132&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32132&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32132&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32132&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32132&r=mysqlcfg