[SERVER-4650] Malformed aggregation runCommand invocation crashes mongod process Created: 09/Jan/12 Updated: 29/May/12 Resolved: 13/Jan/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Remon van Vliet | Assignee: | Chris Westin |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | aggregation, crash | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Confirmed on Windows x64 |
||
| Issue Links: |
|
||||||||||||||||
| Operating System: | Windows | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Executing the following malformed aggregation will crash mongod on (at least) Win64 : db.runCommand({ aggregate : "t", pipeline : [{ $project:{b:{$gt:["$c"]}}}]}) With mongod output : unhandled windows exMon Jan 09 16:34:31 access violation Adding another operand to the $gt resolves the issue. |
| Comments |
| Comment by Chris Westin [ 13/Jan/12 ] |
|
After fixing { |
| Comment by Chris Westin [ 10/Jan/12 ] |
|
Crash: required for 2.2, hence linked to |