|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58209 svn_ls function causes segfault
Submitted: 2008-06-02 12:54 UTC Modified: 2008-06-03 20:36 UTC
From: pecl-bugs at flyvy dot com Assigned:
Status: Closed Package: svn (PECL)
PHP Version: 5.2.5 OS: Gentoo Linux
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: pecl-bugs at flyvy dot com
New email:
PHP Version: OS:


 [2008-06-02 12:54 UTC] pecl-bugs at flyvy dot com
PECL SVN extension causes PHP to seg fault when svn_ls() is passed a HTTP based SVN URL.  (works as expected when passed a local file:/// based URL).

Reproduce code:

$ls = svn_ls('');

Expected result:
Array containing the SVN file/directory listing.

Actual result:
# gdb /usr/sbin/apache2
GNU gdb 6.7.1
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/".
Starting program: /usr/sbin/apache2 -d /usr/lib/apache2 -f /etc/apache2/httpd.conf -D DYNAMIC_VHOSTS -D SSL -D SSL_DEFAULT_VHOST -D DAV -D DAV_FS -D SVN -D SVN_AUTHZ -D PHP5 -X
(no debugging symbols found)
*above message repeats 16 times*
[Thread debugging using libthread_db enabled]
[New Thread 0x4000 (LWP 15375)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x4000 (LWP 15375)]
0xb778ec19 in svn_auth_set_parameter () from /usr/lib/


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-06-02 13:01 UTC]
I'm pretty sure this is fixed in the latest CVS version if you could try.

I'll hopefully do a release later this week once I resolve some final issues in the filesystem functions.
 [2008-06-02 14:37 UTC] pecl-bugs at flyvy dot com
Thanks for the quick response; the CVS version works.  ;-)
 [2008-06-03 20:36 UTC]
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PECL better.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Nov 29 15:03:13 2021 UTC