|  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
 [2010-02-26 22:25 UTC] cap at unagon dot com
$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) 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-27 01:19 UTC]
Please report PECL bug at
 [2010-02-27 01:19 UTC]
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Aug 10 20:01:24 2020 UTC