php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58104 Segfault on svn_commit()
Submitted: 2008-03-17 10:51 UTC Modified: 2008-03-20 11:50 UTC
From: emilsedgh at gmail dot com Assigned: scottmac (profile)
Status: Closed Package: svn (PECL)
PHP Version: 5.2.1 OS: Kubuntu
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: emilsedgh at gmail dot com
New email:
PHP Version: OS:

 

 [2008-03-17 10:51 UTC] emilsedgh at gmail dot com
Description:
------------
i cannot use svn_commit()

when i try to use svn_commit() a segfault happens:
[Mon Mar 17 19:06:57 2008] [notice] child pid 15432 exit
signal Aborted (6)
[Mon Mar 17 19:08:51 2008] [notice] child pid 14788 exit
signal Segmentation fault (11)




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-03-17 11:21 UTC] scottmac@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PECL.


I need a reproduce script or something more to try and track this down.
 [2008-03-19 12:56 UTC] scottmac@php.net
I've tracked this down now took a while to find.

If init_svn_client fails during the early stages it doesn't initialise an authentication baton and the first function to try to do something requiring authentication will die.

A fix will be fairly large as none of this code does proper checking.
 [2008-03-20 11:50 UTC] scottmac@php.net
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 pecl.php.net.

In case this was a pecl.php.net 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.

I've fixed the segfault now.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 17:01:29 2024 UTC