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

Aggregation pipeline error: Illegal instruction: 4

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 4.0.0
    • Querying
    • None
    • ALL
      1. Start a 4.0.0 mongod.
      2. Connect with the mongo shell and run repro.js on any database.

    Description

      Here are the mongod logs:

      mongod --dbpath ccc
      2018-08-02T16:56:12.474-0400 I CONTROL  [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
      2018-08-02T16:56:12.507-0400 I CONTROL  [initandlisten] MongoDB starting : pid=70466 port=27017 dbpath=ccc 64-bit host=Wisdom-MacBook-Pro.local
      2018-08-02T16:56:12.507-0400 I CONTROL  [initandlisten] db version v4.0.0
      2018-08-02T16:56:12.507-0400 I CONTROL  [initandlisten] git version: 3b07af3d4f471ae89e8186d33bbb1d5259597d51
      2018-08-02T16:56:12.507-0400 I CONTROL  [initandlisten] allocator: system
      2018-08-02T16:56:12.507-0400 I CONTROL  [initandlisten] modules: enterprise 
      2018-08-02T16:56:12.507-0400 I CONTROL  [initandlisten] build environment:
      2018-08-02T16:56:12.507-0400 I CONTROL  [initandlisten]     distarch: x86_64
      2018-08-02T16:56:12.507-0400 I CONTROL  [initandlisten]     target_arch: x86_64
      2018-08-02T16:56:12.507-0400 I CONTROL  [initandlisten] options: { storage: { dbPath: "ccc" } }
      2018-08-02T16:56:12.507-0400 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=7680M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),
      2018-08-02T16:56:13.033-0400 I STORAGE  [initandlisten] WiredTiger message [1533243373:33257][70466:0x7fff8fcd2380], txn-recover: Set global recovery timestamp: 0
      2018-08-02T16:56:13.062-0400 I RECOVERY [initandlisten] WiredTiger recoveryTimestamp. Ts: Timestamp(0, 0)
      2018-08-02T16:56:13.110-0400 I CONTROL  [initandlisten] 
      2018-08-02T16:56:13.110-0400 I CONTROL  [initandlisten] ** WARNING: Access control is not enabled for the database.
      2018-08-02T16:56:13.110-0400 I CONTROL  [initandlisten] **          Read and write access to data and configuration is unrestricted.
      2018-08-02T16:56:13.110-0400 I CONTROL  [initandlisten] 
      2018-08-02T16:56:13.110-0400 I CONTROL  [initandlisten] ** WARNING: This server is bound to localhost.
      2018-08-02T16:56:13.110-0400 I CONTROL  [initandlisten] **          Remote systems will be unable to connect to this server. 
      2018-08-02T16:56:13.110-0400 I CONTROL  [initandlisten] **          Start the server with --bind_ip <address> to specify which IP 
      2018-08-02T16:56:13.110-0400 I CONTROL  [initandlisten] **          addresses it should serve responses from, or with --bind_ip_all to
      2018-08-02T16:56:13.110-0400 I CONTROL  [initandlisten] **          bind to all interfaces. If this behavior is desired, start the
      2018-08-02T16:56:13.110-0400 I CONTROL  [initandlisten] **          server with --bind_ip 127.0.0.1 to disable this warning.
      2018-08-02T16:56:13.110-0400 I CONTROL  [initandlisten] 
      2018-08-02T16:56:13.117-0400 I STORAGE  [initandlisten] createCollection: admin.system.version with provided UUID: 6763f5b2-3fc1-4ff1-a717-401b653ff4e2
      2018-08-02T16:56:13.154-0400 I COMMAND  [initandlisten] setting featureCompatibilityVersion to 4.0
      2018-08-02T16:56:13.157-0400 I STORAGE  [initandlisten] createCollection: local.startup_log with generated UUID: 5722a9df-b47e-42ba-802c-a0bc644f18d4
      2018-08-02T16:56:13.196-0400 I FTDC     [initandlisten] Initializing full-time diagnostic data capture with directory 'ccc/diagnostic.data'
      2018-08-02T16:56:13.197-0400 I NETWORK  [initandlisten] waiting for connections on port 27017
      2018-08-02T16:56:13.197-0400 I STORAGE  [LogicalSessionCacheRefresh] createCollection: config.system.sessions with generated UUID: 96fc2f18-479a-4a03-93b3-9cf85b90ff8c
      2018-08-02T16:56:13.241-0400 I INDEX    [LogicalSessionCacheRefresh] build index on: config.system.sessions properties: { v: 2, key: { lastUse: 1 }, name: "lsidTTLIndex", ns: "config.system.sessions", expireAfterSeconds: 1800 }
      2018-08-02T16:56:13.241-0400 I INDEX    [LogicalSessionCacheRefresh] 	 building index using bulk method; build may temporarily use up to 500 megabytes of RAM
      2018-08-02T16:56:13.245-0400 I INDEX    [LogicalSessionCacheRefresh] build index done.  scanned 0 total records. 0 secs
      2018-08-02T16:56:17.167-0400 I NETWORK  [listener] connection accepted from 127.0.0.1:63304 #1 (1 connection now open)
      2018-08-02T16:56:17.167-0400 I NETWORK  [conn1] received client metadata from 127.0.0.1:63304 conn1: { application: { name: "MongoDB Shell" }, driver: { name: "MongoDB Internal Client", version: "4.0.0" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.5.0" } }
      2018-08-02T16:56:17.183-0400 I NETWORK  [conn1] end connection 127.0.0.1:63304 (0 connections now open)
      2018-08-02T16:56:20.921-0400 I NETWORK  [listener] connection accepted from 127.0.0.1:63308 #2 (1 connection now open)
      2018-08-02T16:56:20.921-0400 I NETWORK  [conn2] received client metadata from 127.0.0.1:63308 conn2: { application: { name: "MongoDB Shell" }, driver: { name: "MongoDB Internal Client", version: "4.0.0" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.5.0" } }
      2018-08-02T16:56:30.460-0400 I NETWORK  [conn2] end connection 127.0.0.1:63308 (0 connections now open)
      2018-08-02T16:56:43.527-0400 I NETWORK  [listener] connection accepted from 127.0.0.1:63312 #3 (1 connection now open)
      2018-08-02T16:56:43.528-0400 I NETWORK  [conn3] received client metadata from 127.0.0.1:63312 conn3: { application: { name: "MongoDB Shell" }, driver: { name: "MongoDB Internal Client", version: "4.0.0" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.5.0" } }
      2018-08-02T16:56:43.530-0400 I STORAGE  [conn3] createCollection: test.baseCollection with generated UUID: 0d17cba1-e6c4-49bf-bc6b-0753fd55d861
      Illegal instruction: 4


      This fails reliably on OS X 10.13.4 (High Sierra).

      Attachments

        Activity

          People

            Unassigned Unassigned
            adinoyi.omuya@mongodb.com Adinoyi Omuya
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: