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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cap at unagon dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 11:01:28 2025 UTC