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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
41 - 10 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Mar 28 20:01:28 2024 UTC