Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2559

Windows segfault in logging code

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.9.0, 3.0.13, 3.2.7, 3.3.8
    • Affects Version/s: None
    • Component/s: None
    • None

      The Jenkins Windows YCSB build failed recently. The failure is:

      http://build.wiredtiger.com:8080/job/mongodb-perf-ycsb-windows/638/

      It presents as a hang, but there was a WiredTiger crash, with call stack:

      2016-04-15T11:22:14.605+0000 I CONTROL  [WTJournalFlusher] *** unhandled exception (access violation) at 0x00007FF775B7499E, terminating
      2016-04-15T11:22:14.605+0000 I CONTROL  [WTJournalFlusher] *** access violation was a read from 0x0000000000000000
      2016-04-15T11:22:14.605+0000 I CONTROL  [WTJournalFlusher] *** stack trace for unhandled exception:
      2016-04-15T11:22:15.765+0000 I CONTROL  [WTJournalFlusher] mongod.exe    ...\src\third_party\wiredtiger\src\log\log.c(134)                                __wt_log_force_sync+0x13e
      2016-04-15T11:22:15.765+0000 I CONTROL  [WTJournalFlusher] mongod.exe    ...\src\third_party\wiredtiger\src\log\log.c(2152)                               __wt_log_flush+0x306
      2016-04-15T11:22:15.765+0000 I CONTROL  [WTJournalFlusher] mongod.exe    ...\src\third_party\wiredtiger\src\session\session_api.c(561)                    __session_log_flush+0x204
      2016-04-15T11:22:15.765+0000 I CONTROL  [WTJournalFlusher] mongod.exe    ...\src\mongo\db\storage\wiredtiger\wiredtiger_session_cache.cpp(211)            mongo::WiredTigerSessionCache::waitUntilDurable+0x261
      2016-04-15T11:22:15.765+0000 I CONTROL  [WTJournalFlusher] mongod.exe    ...\src\mongo\db\storage\wiredtiger\wiredtiger_kv_engine.cpp(97)                 mongo::WiredTigerKVEngine::WiredTigerJournalFlusher::run+0x1a8
      2016-04-15T11:22:15.765+0000 I CONTROL  [WTJournalFlusher] mongod.exe    ...\src\mongo\util\background.cpp(151)                                           mongo::BackgroundJob::jobBody+0x1b1
      2016-04-15T11:22:15.765+0000 I CONTROL  [WTJournalFlusher] mongod.exe    c:\program files (x86)\microsoft visual studio 12.0\vc\include\thr\xthread(188)  std::_LaunchPad<std::_Bind<0,void,std::_Bind<1,void * __ptr64,void * __ptr64 (__cdecl*const)(void * __ptr64),mongo::`anonymous namespace'::MessagingPortWithHandler * __ptr64> > >::_Go+0x1c
      2016-04-15T11:22:15.765+0000 I CONTROL  [WTJournalFlusher] mongod.exe    f:\dd\vctools\crt\crtw32\stdcpp\thr\threadcall.cpp(28)                           _Call_func+0x14
      2016-04-15T11:22:15.765+0000 I CONTROL  [WTJournalFlusher] mongod.exe    f:\dd\vctools\crt\crtw32\startup\threadex.c(376)                                 _callthreadstartex+0x17
      2016-04-15T11:22:15.765+0000 I CONTROL  [WTJournalFlusher] mongod.exe    f:\dd\vctools\crt\crtw32\startup\threadex.c(354)                                 _threadstartex+0x102
      2016-04-15T11:22:15.765+0000 I CONTROL  [WTJournalFlusher] KERNEL32.DLL                                                                                   BaseThreadInitThunk+0x22
      2016-04-15T11:22:15.765+0000 I -        [WTJournalFlusher] 
      2016-04-15T11:22:16.447+0000 I CONTROL  [WTJournalFlusher] writing minidump diagnostic file Z:\jenkins\workspace\mongodb-perf-ycsb-windows\mongod.2016-04-15T11-22-15.mdmp
      2016-04-15T11:22:16.546+0000 I CONTROL  [WTJournalFlusher] *** immediate exit due to unhandled exception
      

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: