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

Invariant failure in logical_session_cache_stats_gen.cpp

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 4.0.0-rc1
    • Fix Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Environment:
      Windows
    • Operating System:
      ALL
    • Backport Requested:
      v4.0
    • Sprint:
      Sharding 2018-07-02
    • Linked BF Score:
      50

      Description

      I recently started testing the Tools on Windows against server 4.0 and observed two intermittent failures due to an invariant exception. Here are links to the two cases I saw:

      Here is an example of the output:

      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.000+0000 d20510| 2018-06-01T02:45:04.000+0000 F -        [ftdc] Invariant failure _hasLastSessionsCollectionJobTimestamp && _hasLastTransactionReaperJobTimestamp build\cached\mongo\db\logical_session_cache_stats_gen.cpp 228
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.017+0000 d20510| 2018-06-01T02:45:04.018+0000 F -        [ftdc]
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.017+0000 d20510|
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.017+0000 d20510| ***aborting after invariant() failure
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.017+0000 d20510|
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.017+0000 d20510|
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.038+0000 d20510| 2018-06-01T02:45:04.038+0000 F -        [ftdc] Got signal: 22 (SIGABRT).
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.038+0000 d20510| mongod.exe      index_collator_extension+0x13659683x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.038+0000 d20510| mongod.exe      index_collator_extension+0x13672884x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.038+0000 d20510| mongod.exe      index_collator_extension+0x13666981x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.038+0000 d20510| ucrtbase.DLL    raise+0x488x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.039+0000 d20510| ucrtbase.DLL    abort+0x49x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.039+0000 d20510| mongod.exe      index_collator_extension+0x13696122x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.039+0000 d20510| mongod.exe      index_collator_extension+0x9860391x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.039+0000 d20510| mongod.exe      index_collator_extension+0x9860663x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.039+0000 d20510| mongod.exe      index_collator_extension+0x9623920x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.039+0000 d20510| mongod.exe      ???
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.039+0000 d20510| mongod.exe      index_collator_extension+0x9858434x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.039+0000 d20510| mongod.exe      index_collator_extension+0x10555100x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.039+0000 d20510| mongod.exe      index_collator_extension+0x10556063x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.039+0000 d20510| mongod.exe      index_collator_extension+0x294208x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.039+0000 d20510| mongod.exe      index_collator_extension+0x390427x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.039+0000 d20510| mongod.exe      index_collator_extension+0x382419x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.039+0000 d20510| mongod.exe      index_collator_extension+0x381015x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.039+0000 d20510| mongod.exe      queryableWtFsCreate+0x37241x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.039+0000 d20510| ucrtbase.DLL    crt_at_quick_exit+0x125x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.039+0000 d20510| kernel32.dll    BaseThreadInitThunk+0x13x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.039+0000 d20510| 2018-06-01T02:45:04.038+0000 I CONTROL  [ftdc] *** unhandled exception 0x0000000E at 0x000007FEFCD4A06D, terminating
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.039+0000 d20510| 2018-06-01T02:45:04.038+0000 I CONTROL  [ftdc] *** stack trace for unhandled exception:
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.043+0000 d20510| 2018-06-01T02:45:04.044+0000 I -        [ftdc] KERNELBASE.dll    RaiseException+0x61x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.043+0000 d20510| mongod.exe        index_collator_extension+0x13667005x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.043+0000 d20510| ucrtbase.DLL      raise+0x488x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.043+0000 d20510| ucrtbase.DLL      abort+0x49x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.043+0000 d20510| mongod.exe        index_collator_extension+0x13696122x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.045+0000 d20510| mongod.exe        index_collator_extension+0x9860391x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.045+0000 d20510| mongod.exe        index_collator_extension+0x9860663x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.045+0000 d20510| mongod.exe        index_collator_extension+0x9623920x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.045+0000 d20510| mongod.exe        ???
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.045+0000 d20510| mongod.exe        index_collator_extension+0x9858434x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.045+0000 d20510| mongod.exe        index_collator_extension+0x10555100x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.045+0000 d20510| mongod.exe        index_collator_extension+0x10556063x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.045+0000 d20510| mongod.exe        index_collator_extension+0x294208x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.045+0000 d20510| mongod.exe        index_collator_extension+0x390427x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.045+0000 d20510| mongod.exe        index_collator_extension+0x382419x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.045+0000 d20510| mongod.exe        index_collator_extension+0x381015x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.045+0000 d20510| mongod.exe        queryableWtFsCreate+0x37241x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.045+0000 d20510| ucrtbase.DLL      crt_at_quick_exit+0x125x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.045+0000 d20510| kernel32.dll      BaseThreadInitThunk+0x13x
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.045+0000 d20510| 2018-06-01T02:45:04.044+0000 I CONTROL  [ftdc] writing minidump diagnostic file C:\data\mci\5a31afcc8e2f4b3e305d231fbed67da8\src\test\qa-tests\mongod.2018-06-01T02-45-04.mdmp
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:04.063+0000 d20510| 2018-06-01T02:45:04.063+0000 I NETWORK  [listener] connection accepted from 127.0.0.1:54598 #3 (2 connections now open)
      [js_test:mode_upsert_id_subdoc] 2018-06-01T02:45:05.187+0000 d20510| 2018-06-01T02:45:05.188+0000 I CONTROL  [ftdc] *** immediate exit due to unhandled exception
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jack.mulrow Jack Mulrow
              Reporter:
              david.golden David Golden
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: