Bug #69981 [Com]: Segmentation Fault with streams over SSH2

From: Date: Thu, 02 Jul 2015 20:00:33 +0000
Subject: Bug #69981 [Com]: Segmentation Fault with streams over SSH2
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194084@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69981&edit=1

 ID:                 69981
 Comment by:         info at josephcrawford dot com
 Reported by:        info at josephcrawford dot com
 Summary:            Segmentation Fault with streams over SSH2
 Status:             Open
 Type:               Bug
 Package:            Streams related
 Operating System:   Mac OSX 10.10
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

The version of libssh2 is currently

libssh2 version => 1.5.0


Previous Comments:
------------------------------------------------------------------------
[2015-07-02 19:59:30] langemeijer@php.net

What is your libssh2 version? You can find that information with

 php -i | grep "libssh2 version"

------------------------------------------------------------------------
[2015-07-02 19:58:30] info at josephcrawford dot com

I believe this is an issue with the ssh2_lib and the report may need to be moved from Stream Related
to SSH2 Lib.

------------------------------------------------------------------------
[2015-07-02 19:42:24] info at josephcrawford dot com

Since I was using the ssh2 extension that was installed via homebrew I was led through the process
of using pecl to reinstall the ssh2 extension.  I used the following command.

sudo pecl install ssh2

When I tested my application I received the same segmentation fault as using the homebrew installed
version of the extension.

jcrawford@Josephs-Mac-mini:~/TraderTools (dev *) # ./traders.php --action=import
Execution started at 3:26 PM
Segmentation fault: 11

------------------------------------------------------------------------
[2015-07-02 18:58:19] info at josephcrawford dot com

Also here is a directory listing showing the permissions for the folder in which I am trying to get
a directory listing from.

dr-xr--r--   1 user     group           0 Jul  2 12:00 Images

------------------------------------------------------------------------
[2015-07-02 18:49:05] info at josephcrawford dot com

I should also note that everything else is working properly.  I can connect, upload, download files
without any issues.  It is solely when I tried to list the directory contents that the segmentation
fault is thrown.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=69981


--
Edit this bug report at https://bugs.php.net/bug.php?id=69981&edit=1


Thread (7 messages)

« previous php.bugs (#194084) next »