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

Missing/invalid LOCALE on Solaris results in stacktrace on startup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: 2.4.5
    • Fix Version/s: None
    • Component/s: Stability
    • Labels:
    • Environment:
      Solaris Version 5.10 Generic_147441-01 64-bit in Virtual machine
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      Solaris

      Description

      Hi guys,

      I'm trying to start mongod process from a local directory using ssh accessing my virtual machine. Unfortunately mongod crashes with teh following code:

      bash-3.2$ cd /export/home/mongodb/mongodb/bin

      bash-3.2$ ./mongod --config mongodb.conf

      warning: bind_ip of 0.0.0.0 is unnecessary; listens on all ips by default
      Mon Aug 19 09:40:04.694 terminate() called, printing stack (if implemented for platform):
      0xdd3988 0x92a6ea 0xfffffd7fff1a1f7b 0xfffffd7fff1a1fb3 0xfffffd7fff1a20b2 0xfffffd7fff13e126 0xfffffd7fff19ff29 0xfffffd7fff1468ce 0xfffffd7fff147f85 0xdee220 0xdf0003 0xde633c 0xb3f2de 0x1168439 0x92a49c
      /export/home/mongodb/mongodb/bin/mongod'_ZN5mongo15printStackTraceERSo+0x28 [0xdd3988]
      /export/home/mongodb/mongodb/bin/mongod'_ZN5mongo11myterminateEv+0x3a [0x92a6ea]
      /lib/amd64/libstdc++.so.6'ZN10cxxabiv111_terminateEPFvvE+0xb [0xfffffd7fff1a1f7b]
      /lib/amd64/libstdc++.so.6'_ZSt9terminatev+0x13 [0xfffffd7fff1a1fb3]
      /lib/amd64/libstdc++.so.6'__cxa_throw+0x62 [0xfffffd7fff1a20b2]
      /lib/amd64/libstdc++.so.6'ZSt21_throw_runtime_errorPKc+0x66 [0xfffffd7fff13e126]
      /lib/amd64/libstdc++.so.6'ZNSt6locale5facet18_S_create_c_localeERPiPKcS1+0x29 [0xfffffd7fff19ff29]
      /lib/amd64/libstdc++.so.6'_ZNSt6locale5_ImplC1EPKcm+0x4e [0xfffffd7fff1468ce]
      /lib/amd64/libstdc++.so.6'_ZNSt6localeC1EPKc+0x5d5 [0xfffffd7fff147f85]
      /export/home/mongodb/mongodb/bin/mongod'_ZN5boost11filesystem34path21wchar_t_codecvt_facetEv+0x40 [0xdee220]
      /export/home/mongodb/mongodb/bin/mongod'_ZNK5boost11filesystem34path14root_directoryEv+0x103 [0xdf0003]
      /export/home/mongodb/mongodb/bin/mongod'ZN5boost11filesystem38absoluteERKNS0_4pathES3+0x2c [0xde633c]
      /export/home/mongodb/mongodb/bin/mongod'_ZN5mongo27initializeServerGlobalStateEb+0x41e [0xb3f2de]
      /export/home/mongodb/mongodb/bin/mongod'main+0x289 [0x1168439]
      /export/home/mongodb/mongodb/bin/mongod'_start+0x6c [0x92a49c]
      Mon Aug 19 09:40:04.701 Got signal: 6 (Abort).

      Mon Aug 19 09:40:04.702 Backtrace:
      0xdd3988 0x92b07e 0xfffffd7ffef6d296 0xfffffd7ffef61b62 0xfffffd7ffef72a9a 0xfffffd7ffef17d59 0xfffffd7ffeef688e 0x92a6ef 0xfffffd7fff1a1f7b 0xfffffd7fff1a1fb3 0xfffffd7fff1a20b2 0xfffffd7fff13e126 0xfffffd7fff19ff29 0xfffffd7fff1468ce 0xfffffd7fff147f85 0xdee220 0xdf0003 0xde633c 0xb3f2de 0x1168439
      /export/home/mongodb/mongodb/bin/mongod'_ZN5mongo15printStackTraceERSo+0x28 [0xdd3988]
      /export/home/mongodb/mongodb/bin/mongod'_ZN5mongo10abruptQuitEi+0x3ce [0x92b07e]
      /lib/amd64/libc.so.1'smt_pause+0x166 [0xfffffd7ffef6d296]
      /lib/amd64/libc.so.1'_sema_post+0x422 [0xfffffd7ffef61b62]
      /lib/amd64/libc.so.1'__lwp_kill+0xa [0xfffffd7ffef72a9a]
      /lib/amd64/libc.so.1'raise+0x19 [0xfffffd7ffef17d59]
      /lib/amd64/libc.so.1'abort+0x5e [0xfffffd7ffeef688e]
      /export/home/mongodb/mongodb/bin/mongod'_ZN5mongo11myterminateEv+0x3f [0x92a6ef]
      /lib/amd64/libstdc++.so.6'ZN10cxxabiv111_terminateEPFvvE+0xb [0xfffffd7fff1a1f7b]
      /lib/amd64/libstdc++.so.6'_ZSt9terminatev+0x13 [0xfffffd7fff1a1fb3]
      /lib/amd64/libstdc++.so.6'__cxa_throw+0x62 [0xfffffd7fff1a20b2]
      /lib/amd64/libstdc++.so.6'ZSt21_throw_runtime_errorPKc+0x66 [0xfffffd7fff13e126]
      /lib/amd64/libstdc++.so.6'ZNSt6locale5facet18_S_create_c_localeERPiPKcS1+0x29 [0xfffffd7fff19ff29]
      /lib/amd64/libstdc++.so.6'_ZNSt6locale5_ImplC1EPKcm+0x4e [0xfffffd7fff1468ce]
      /lib/amd64/libstdc++.so.6'_ZNSt6localeC1EPKc+0x5d5 [0xfffffd7fff147f85]
      /export/home/mongodb/mongodb/bin/mongod'_ZN5boost11filesystem34path21wchar_t_codecvt_facetEv+0x40 [0xdee220]
      /export/home/mongodb/mongodb/bin/mongod'_ZNK5boost11filesystem34path14root_directoryEv+0x103 [0xdf0003]
      /export/home/mongodb/mongodb/bin/mongod'ZN5boost11filesystem38absoluteERKNS0_4pathES3+0x2c [0xde633c]
      /export/home/mongodb/mongodb/bin/mongod'_ZN5mongo27initializeServerGlobalStateEb+0x41e [0xb3f2de]
      /export/home/mongodb/mongodb/bin/mongod'main+0x289 [0x1168439]

      Is there any way to fix this error?

      P.S.: Sorry for my bad english but I'm from Germany

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: