php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51162 Mongo driver crashes complete system
Submitted: 2010-02-26 22:25 UTC Modified: 2010-02-27 01:19 UTC
From: cap at unagon dot com Assigned:
Status: Not a bug Package: *Database Functions
PHP Version: 5.2.13 OS: Debian Lenny
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:
38 - 15 = ?
Subscribe to this entry?

 
 [2010-02-26 22:25 UTC] cap at unagon dot com
Description:
------------
$m = new Mongo("mongodb://dbuser:pass@localhost/"); 

produces a completely empty page, even when this is enclosed in a try..catch..finally.

$m = new Mongo("mongodb://dbuser:pass@localhost");

opens the mongo db as expected 

this uses the 1.0.4 Mongo driver on Debian Lenny 64 bit.

Reproduce code:
---------------
$m = new Mongo("mongodb://dbuser:pass@localhost/"); 


Expected result:
----------------
Either an exception or the same result as $m = new Mongo("mongodb://dbuser:pass@localhost"); (opening the db) 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-27 01:19 UTC] pajoye@php.net
Please report PECL bug at http://pecl.php.net/mongo
 [2010-02-27 01:19 UTC] pajoye@php.net
.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 06:01:29 2024 UTC