Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-4427

Assertion failure la <= 0xffffff db/btree.h 241

    • OS X

      > db.hello.find().sort(

      {"moe":1}

      ).min(

      {"moe":1234}

      ).limit(10);
      error:

      { "$err" : "assertion db/btree.h:241" }

      Mon Dec 5 11:24:06 [initandlisten] MongoDB starting : pid=8553 port=27017 dbpath=/Users/bearice/Working/mongodb-osx-x86_64-2.0.1/data 64-bit host=Bearice-Mac-Air.icybear.net
      Mon Dec 5 11:24:06 [initandlisten] db version v2.0.1, pdfile version 4.5
      Mon Dec 5 11:24:06 [initandlisten] git version: 3a5cf0e2134a830d38d2d1aae7e88cac31bdd684
      Mon Dec 5 11:24:06 [initandlisten] build info: Darwin erh2.10gen.cc 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_40
      Mon Dec 5 11:24:06 [initandlisten] options:

      { dbpath: "/Users/bearice/Working/mongodb-osx-x86_64-2.0.1/data", rest: true }

      Mon Dec 5 11:24:06 [initandlisten] journal dir=/Users/bearice/Working/mongodb-osx-x86_64-2.0.1/data/journal
      Mon Dec 5 11:24:06 [initandlisten] recover : no journal files present, no recovery needed
      Mon Dec 5 11:24:06 [websvr] admin web console waiting for connections on port 28017
      Mon Dec 5 11:24:06 [initandlisten] waiting for connections on port 27017
      Mon Dec 5 11:25:06 [clientcursormon] mem (MB) res:14 virt:2434 mapped:0
      Mon Dec 5 11:30:04 [initandlisten] connection accepted from 127.0.0.1:56162 #1
      Mon Dec 5 11:30:06 [clientcursormon] mem (MB) res:14 virt:2434 mapped:0
      Mon Dec 5 11:30:15 [conn1] query hello.hello ntoreturn:10 ntoskip:10 nscanned:1000003 scanAndOrder:1 nreturned:10 reslen:530 4128ms
      Mon Dec 5 11:30:35 [conn1] build index hello.hello

      { moe: -1.0 }

      Mon Dec 5 11:30:39 [conn1] build index done 1000003 records 3.92 secs
      Mon Dec 5 11:30:39 [conn1] insert hello.system.indexes 3921ms
      Mon Dec 5 11:31:07 [clientcursormon] mem (MB) res:125 virt:2945 mapped:208
      Mon Dec 5 11:31:19 [conn1] query hello.hello ntoreturn:10 ntoskip:100000 nscanned:100011 nreturned:10 reslen:530 145ms
      Mon Dec 5 11:32:40 [conn1] hello.hello Assertion failure la <= 0xffffff db/btree.h 241
      0x10007e393 0x100088b7c 0x1002d28ea 0x1002ccb25 0x1002d17a0 0x1002d1990 0x100395f6f 0x1003957e2 0x10039b371 0x100438251 0x1004b3096 0x100426b43 0x100427003 0x10042a5d5 0x10042df80 0x10043172e 0x100433bcb 0x100436cba 0x1004a2aaa 0x1003d62bf
      0 mongod 0x000000010007e393 _ZN5mongo12sayDbContextEPKc + 195
      1 mongod 0x0000000100088b7c _ZN5mongo8assertedEPKcS1_j + 300
      2 mongod 0x00000001002d28ea _ZN5mongo12DiskLoc56BitaSERKNS_7DiskLocE + 106
      3 mongod 0x00000001002ccb25 _ZNK5mongo11BtreeBucketINS_12BtreeData_V1EE4findERKNS_12IndexDetailsERKNS_5KeyV1ERKNS_7DiskLocERKNS_8OrderingERib + 69
      4 mongod 0x00000001002d17a0 _ZNK5mongo11BtreeBucketINS_12BtreeData_V1EE6locateERKNS_12IndexDetailsERKNS_7DiskLocERKNS_5KeyV1ERKNS_8OrderingERiRbS8_i + 80
      5 mongod 0x00000001002d1990 _ZNK5mongo11BtreeBucketINS_12BtreeData_V1EE6locateERKNS_12IndexDetailsERKNS_7DiskLocERKNS_7BSONObjERKNS_8OrderingERiRbS8_i + 128
      6 mongod 0x0000000100395f6f _ZN5mongo15BtreeCursorImplINS_12BtreeData_V1EE7_locateERKNS_7BSONObjERKNS_7DiskLocE + 223
      7 mongod 0x00000001003957e2 _ZN5mongo11BtreeCursor4initEv + 370
      8 mongod 0x000000010039b371 _ZN5mongo11BtreeCursor4makeEPNS_16NamespaceDetailsEiRKNS_12IndexDetailsERKNS_7BSONObjES8_bi + 961
      9 mongod 0x0000000100438251 _ZNK5mongo9QueryPlan9newCursorERKNS_7DiskLocEi + 513
      10 mongod 0x00000001004b3096 _ZN5mongo11UserQueryOp5_initEv + 214
      11 mongod 0x0000000100426b43 _ZN5mongo7QueryOp4initEv + 323
      12 mongod 0x0000000100427003 _ZN5mongo12QueryPlanSet6Runner6initOpERNS_7QueryOpE + 35
      13 mongod 0x000000010042a5d5 _ZN5mongo12QueryPlanSet6Runner4initEv + 245
      14 mongod 0x000000010042df80 _ZN5mongo12QueryPlanSet6Runner22runUntilFirstCompletesEv + 32
      15 mongod 0x000000010043172e _ZN5mongo12QueryPlanSet5runOpERNS_7QueryOpE + 334
      16 mongod 0x0000000100433bcb _ZN5mongo16MultiPlanScanner9runOpOnceERNS_7QueryOpE + 1115
      17 mongod 0x0000000100436cba _ZN5mongo16MultiPlanScanner5runOpERNS_7QueryOpE + 26
      18 mongod 0x00000001004a2aaa ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1 + 3178
      19 mongod 0x00000001003d62bf _ZN5mongo13receivedQueryERNS_6ClientERNS_10DbResponseERNS_7MessageE + 623
      Mon Dec 5 11:32:40 [conn1] assertion 0 assertion db/btree.h:241 ns:hello.hello query:{ query: {}, orderby:

      { moe: 1.0 }

      , $min:

      { moe: 12345.0 }

      }
      Mon Dec 5 11:32:40 [conn1] ntoskip:0 ntoreturn:10

            Assignee:
            Unassigned Unassigned
            Reporter:
            bearice Bearice Ren
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: