[SERVER-551] web server assert crashes server( WAS: viewing config/chunks via browser crashes mongod) Created: 17/Jan/10  Updated: 12/Jul/16  Resolved: 19/Jan/10

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 1.2.1
Fix Version/s: 1.3.1

Type: Bug Priority: Major - P3
Reporter: kenneth everett Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

osx


Participants:

 Description   

While testing sharding I found a scenario that reliably crashes the mongod server. Really enjoying my evaluation with mongodb. Best of luck!
~K

Here's my setup:
mongod --shardsvr --dbpath /Users/kae/dev/shard-test/1/db --port 40000
mongod --shardsvr --dbpath /Users/kae/dev/shard-test/2/db --port 40001
mongos --configdb localhost:40000

To recreate the crash,
browse to: http://localhost:41000/config/chunks/

EXPECTED:
I was hoping view information about chunk usage.

ACTUAL:
The mongod referenced crashes with the message:

terminate called after throwing an instance of 'mongo::MsgAssertionException'
what(): Cannot create a properly formatted JSON string with element: lastmod: Timestamp 1263785266000|1 of type: 17
Sun Jan 17 19:39:47 Got signal: 6 (Abort trap).
Abort trap



 Comments   
Comment by auto [ 19/Jan/10 ]

Author:

{'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}

Message: compile fix for windows SERVER-551
http://github.com/mongodb/mongo/commit/b7b8ac1a43828280a9c16b31cb2118e0127fda35

Comment by auto [ 19/Jan/10 ]

Author:

{'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}

Message: catch exceptions in webserver SERVER-551
http://github.com/mongodb/mongo/commit/069d9e9c3cfd20ed7e6c370e36526b4fe6408cae

Comment by kenneth everett [ 17/Jan/10 ]

Thanks..

Comment by Eliot Horowitz (Inactive) [ 17/Jan/10 ]

note: for looking at sharding data, you should use db.printShardingStatus() in the shell

Generated at Thu Feb 08 02:54:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.