[SERVER-5252] server fails on some request Created: 08/Mar/12  Updated: 26/Apr/12  Resolved: 12/Mar/12

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: 2.1.0
Fix Version/s: None

Type: Bug Priority: Trivial - P5
Reporter: Serg Assignee: Chris Westin
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows x64

in console server write
[initandlisten] build info: windows sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1') BOOST_LIB_VERSION=1_42


Issue Links:
Duplicate
duplicates SERVER-5012 Aggregation Framework $project Crashe... Closed
Operating System: Windows
Participants:

 Description   

db.test.remove();
db.test.insert({name: "test", tags: [

{x:1}

,

{y:2}

]});

works
db.test.aggregate({$project: {tags: 1, _id: 1}}, {$unwind: "$tags"}, {$project: {is_x: "$tags.x"}});

fails
db.test.aggregate({$project: {tags: 1, _id: 0}}, {$unwind: "$tags"}, {$project: {is_x: "$tags.x"}});

in console i see

Thu Mar 08 23:27:20 [conn1] boost assertion failure px != 0 const class mongo::Value *__cdecl boost::intrusive_ptr<class mongo::Value const >::operator ->(void) const D:\boost\boost/smart_ptr/intrusive_ptr.hpp 166 unhandled windows access violation


Generated at Thu Feb 08 03:08:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.