|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58150 Segfaults/libssh 0.17
Submitted: 2008-04-10 12:51 UTC Modified: 2008-12-20 12:27 UTC
From: nick at commcarepharmacy dot com Assigned:
Status: Not a bug Package: ssh2 (PECL)
PHP Version: 5.2.4 OS: RHEL4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: nick at commcarepharmacy dot com
New email:
PHP Version: OS:


 [2008-04-10 12:51 UTC] nick at commcarepharmacy dot com
Downloaded and compiled against libssh2 0.17 on RHEL4 running PHP 5.2.4 and ZendCore.

While attempting anything that calls ssh2 module.

It segfaults.  Zend core is compiled with --disable_debug.  Here is an strace:

Reproduce code:
$sftp_connection = ssh2_connect("$sftp_server", $sftp_port);
ssh2_auth_password($sftp_connection, "$sftp_user", "$sftp_password");


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-04-10 16:36 UTC] nick at commcarepharmacy dot com
Recompiled with libssh2 0.17/ssh2 0.11 (source) w/ x86_64 diff/php 5.2.4 and obtain same segfault
 [2008-12-20 12:27 UTC]
Thank you for taking the time to report a problem with the package.
Unfortunately you are not using a current version of the package -- 
the problem might already be fixed. Please download a new
version from

If you are able to reproduce the bug with one of the latest
versions, please change the package version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PECL.

Your backtrace file isn't there any more and there's a newer release now. If you have the problem with the newer version, please provide a backtrace.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Feb 29 14:01:30 2020 UTC