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

Atomic Integer Implementations Not Compatible with Very Old Processors

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: 2.1.1
    • Fix Version/s: None
    • Component/s: Stability
    • Labels:
      None
    • Operating System:
      ALL

      Description

      A report from a user:

      I can't start mongod with --directoryperdb option. Last known working version was 2012-04-03, first known with error 2012-04-14
      without --directoryperdb works fine

      |1.9.3| bin/mongodb/bin> ./mongod --dbpath /home/kfl62/.data/db --directoryperdb
      db level locking enabled: 1
      Tue Apr 17 19:23:28 
      Tue Apr 17 19:23:28 warning: 32-bit servers don't have journaling enabled by default. Please use --journal if you want durability.
      Tue Apr 17 19:23:28 
      Tue Apr 17 19:23:28 [initandlisten] MongoDB starting : pid=19546 port=27017 dbpath=/home/kfl62/.data/db 32-bit host=kfl62
      Tue Apr 17 19:23:28 [initandlisten] 
      Tue Apr 17 19:23:28 [initandlisten] ** NOTE: This is a development version (2.1.1-pre-) of MongoDB.
      Tue Apr 17 19:23:28 [initandlisten] **       Not recommended for production.
      Tue Apr 17 19:23:28 [initandlisten] 
      Tue Apr 17 19:23:28 [initandlisten] ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data
      Tue Apr 17 19:23:28 [initandlisten] **       see http://blog.mongodb.org/post/137788967/32-bit-limitations
      Tue Apr 17 19:23:28 [initandlisten] **       with --journal, the limit is lower
      Tue Apr 17 19:23:28 [initandlisten] 
      Tue Apr 17 19:23:28 [initandlisten] db version v2.1.1-pre-, pdfile version 4.5
      Tue Apr 17 19:23:28 [initandlisten] git version: 458f5d6e356bb2ff18fbfb58d3fa069d8edaf6c7
      Tue Apr 17 19:23:28 [initandlisten] build info: Linux domU-12-31-39-01-70-B4 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:39:36 EST 2008 i686 BOOST_LIB_VERSION=1_49
      Tue Apr 17 19:23:28 [initandlisten] options: { dbpath: "/home/kfl62/.data/db", directoryperdb: true }
      Tue Apr 17 19:23:28 Invalid operation at address: 0x818d283 from thread: initandlisten
       
      Tue Apr 17 19:23:28 Got signal: 4 (Illegal instruction).
       
      Tue Apr 17 19:23:28 Backtrace:
      0x8640bda 0x8161012 0x816168f 0xb772640c 0x818d283 0x838cb03 0x853b134 0x853d688 0x853d805 0x87e1d79 0x87e3c1d 0x857cf84 0x857f3e6 0x8580fbf 0x83d6693 0x87aba3b 0x8572d97 0x8165264 0x8165ec5 0x8166bc5 
       ./mongod(_ZN5mongo15printStackTraceERSo+0x2a) [0x8640bda]
       ./mongod(_ZN5mongo10abruptQuitEi+0x3a2) [0x8161012]
       ./mongod(_ZN5mongo24abruptQuitWithAddrSignalEiP7siginfoPv+0x2af) [0x816168f]
       [0xb772640c]
       ./mongod(_ZNK5mongo7BSONObj4copyEv+0x33) [0x818d283]
       ./mongod(_ZN5mongo16MultiPlanScannerC1EPKcRKNS_7BSONObjES5_RKN5boost10shared_ptrIKNS_11ParsedQueryEEES5_NS_12QueryPlanSet18RecordedPlanPolicyES5_S5_+0x433) [0x838cb03]
       ./mongod(_ZN5mongo15CursorGenerator19setMultiPlanScannerEv+0x114) [0x853b134]
       ./mongod(_ZN5mongo15CursorGenerator8generateEv+0x78) [0x853d688]
       ./mongod(_ZN5mongo25NamespaceDetailsTransient9getCursorEPKcRKNS_7BSONObjES5_RKNS_24QueryPlanSelectionPolicyEPbRKN5boost10shared_ptrIKNS_11ParsedQueryEEEPNS_16QueryPlanSummaryE+0x65) [0x853d805]
       ./mongod(_ZN5mongo23queryWithQueryOptimizerERNS_7MessageEiPKcRKNS_7BSONObjERNS_5CurOpES6_S6_RKN5boost10shared_ptrINS_11ParsedQueryEEES6_RKNS_17ShardChunkVersionES1_+0xd9) [0x87e1d79]
       ./mongod(_ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1_+0x7ad) [0x87e3c1d]
       ./mongod() [0x857cf84]
       ./mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0x476) [0x857f3e6]
       ./mongod(_ZN5mongo14DBDirectClient4callERNS_7MessageES2_bPSs+0x7f) [0x8580fbf]
       ./mongod(_ZN5mongo14DBClientCursor4initEv+0xc3) [0x83d6693]
       ./mongod(_ZN5mongo12DBClientBase5queryERKSsNS_5QueryEiiPKNS_7BSONObjEii+0xbb) [0x87aba3b]
       ./mongod(_ZN5mongo14DBDirectClient5queryERKSsNS_5QueryEiiPKNS_7BSONObjEii+0x77) [0x8572d97]
       ./mongod(_ZN5mongo19clearTmpCollectionsEv+0x234) [0x8165264]
       ./mongod(_ZN5mongo14_initAndListenEi+0x495) [0x8165ec5]
       ./mongod(_ZN5mongo13initAndListenEi+0x25) [0x8166bc5]
       
      Logstream::get called in uninitialized state
      Tue Apr 17 19:23:28 [initandlisten] ERROR: Client::~Client _context should be null but is not; client:initandlisten
      Logstream::get called in uninitialized state
      Tue Apr 17 19:23:28 [initandlisten] ERROR: Client::shutdown not called: initandlisten

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: