php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58267 Bus error in child apache process
Submitted: 2008-07-08 17:02 UTC Modified: 2008-07-08 18:51 UTC
From: evan dot kaufman at gmail dot com Assigned:
Status: Not a bug Package: svn (PECL)
PHP Version: 5.2.5 OS: Mac OS X 10.5.4
Private report: No CVE-ID: None
 [2008-07-08 17:02 UTC] evan dot kaufman at gmail dot com
Description:
------------
Using the MAMP Pro distribution (www.mamp.info), I have successfully compiled and installed the latest 0.1.4 beta via pecl, and added the extension to my php.ini.  phpinfo() indeed reports the 0.4.1 extension and the 1.4.4 client installed on the server.

However, when I try to invoke any svn_* functions from the extension, the PHP process (and I think the apache child it's part of) dies.  I get no output to the browser, and an error message in the apache error log.

Reproduce code:
---------------
<b>Some static content that should always appear...</b><br>
<?php

// of course, replace this with an actual path to an
// svn working copy
var_dump(
  svn_info('/path/to/a/working/copy')
);


Expected result:
----------------
Static content, followed by an array structure detailing version details of the given working copy.

Actual result:
--------------
NO output at all to the client browser, and the following in the apache error_log:

[Tue Jul 08 15:24:28 2008] [notice] child pid 3303 exit signal Bus error (10)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-08 18:51 UTC] scottmac@php.net
The version of Apache in MAMP and svn on OS X differ, the one 
in MAMP is 0.9 where the one for svn is 1.2.

Either upgrade the MAMP apache to 2.2 or compile your own 
subversion binary against the older apr and compile the pecl 
extension with that.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 10 12:01:27 2024 UTC