Bug 1303864
Summary: | mongod crashes on armv7hl | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> |
Component: | mongodb | Assignee: | Marek Skalický <mskalick> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 24 | CC: | admiller, fedora, jdornak, johan.o.hedin, jpacner, mskalick, npmccallum, strobert, tdawson |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | armv7hl | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | mongodb-3.2.3-2.fc24 mongodb-3.0.11-1.fc23 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-04-22 01:25:45 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Petr Pisar
2016-02-02 09:26:47 UTC
It crashes even with default storage engine: + mkdir test_db + mongod --fork --logpath /builddir/build/BUILD/MongoDB-v0.708.4.0/mongod.log --pidfilepath /builddir/build/BUILD/MongoDB-v0.708.4.0/mongod.pid --dbpath /builddir/build/BUILD/MongoDB-v0.708.4.0/test_db/ 2016-02-02T09:29:20.295+0000 F - [main] Invalid access at address: 0 2016-02-02T09:29:20.308+0000 F - [main] Got signal: 11 (Segmentation fault). 0x8046c940 0x8046b71c 0x8046c290 0xb60c7a90 0x804475fc 0x8044eea0 0x8044ee34 0x80455ae0 0x8045b104 0x8045f130 0x7f95ea6c 0x7f96a87c 0x7f96acc8 0x7f96af88 0x7f90d934 0xb60acd7c ----- BEGIN BACKTRACE ----- {"backtrace":[{"b":"7F5D1000","o":"E9B940"},{"b":"7F5D1000","o":"E9A71C"},{"b":"7F5D1000","o":"E9B290"},{"b":"B6096000","o":"31A90"},{"b":"7F5D1000","o":"E765FC"},{"b":"7F5D1000","o":"E7DEA0"},{"b":"7F5D1000","o":"E7DE34"},{"b":"7F5D1000","o":"E84AE0"},{"b":"7F5D1000","o":"E8A104"},{"b":"7F5D1000","o":"E8E130"},{"b":"7F5D1000","o":"38DA6C"},{"b":"7F5D1000","o":"39987C"},{"b":"7F5D1000","o":"399CC8"},{"b":"7F5D1000","o":"399F88"},{"b":"7F5D1000","o":"33C934"},{"b":"B6096000","o":"16D7C"}]} mongod(_ZN5mongo15printStackTraceERSo+0x60) [0x8046c940] mongod(+0xE9A71C) [0x8046b71c] mongod(+0xE9B290) [0x8046c290] libc.so.6(__default_rt_sa_restorer+0x0) [0xb60c7a90] mongod(_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N5mongo17optionenvironment5ValueEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESM_IJEEEEESt17_Rb_tree_iteratorISB_ESt23_Rb_tree_const_iteratorISB_EDpOT_+0x60) [0x804475fc] mongod(_ZNK5mongo17optionenvironment13OptionSection11getDefaultsEPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_5ValueESt4lessIS8_ESaISt4pairIKS8_S9_EEE+0x2AC) [0x8044eea0] mongod(_ZNK5mongo17optionenvironment13OptionSection11getDefaultsEPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_5ValueESt4lessIS8_ESaISt4pairIKS8_S9_EEE+0x240) [0x8044ee34] mongod(_ZN5mongo17optionenvironment13OptionsParser16addDefaultValuesERKNS0_13OptionSectionEPNS0_11EnvironmentE+0x64) [0x80455ae0] mongod(_ZN5mongo17optionenvironment13OptionsParser3runERKNS0_13OptionSectionERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISB_EERKSt3mapISB_SB_St4lessISB_ESaISt4pairIKSB_SB_EEEPNS0_11EnvironmentE+0x6E0) [0x8045b104] mongod(_ZN5mongo17optionenvironment46_mongoInitializerFunction_StartupOptions_ParseEPNS_18InitializerContextE+0x68) [0x8045f130] mongod(_ZNSt17_Function_handlerIFN5mongo6StatusEPNS0_18InitializerContextEEPS4_E9_M_invokeERKSt9_Any_dataOS3_+0x34) [0x7f95ea6c] mongod(_ZNK5mongo11Initializer7executeERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EERKSt3mapIS7_S7_St4lessIS7_ESaISt4pairIKS7_S7_EEE+0x1C0) [0x7f96a87c] mongod(_ZN5mongo21runGlobalInitializersERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKSt3mapIS6_S6_St4lessIS6_ESaISt4pairIKS6_S6_EEE+0x4C) [0x7f96acc8] mongod(_ZN5mongo21runGlobalInitializersEiPKPKcS3_+0x298) [0x7f96af88] mongod(main+0x78) [0x7f90d934] libc.so.6(__libc_start_main+0x114) [0xb60acd7c] ----- END BACKTRACE ----- This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase Same issue on F23 See https://kojipkgs.fedoraproject.org/work/tasks/9529/13179529/build.log + mongod --journal --bind_ip 127.0.0.1 --unixSocketPrefix /tmp --logpath /builddir/build/BUILD/mongo-c-driver-1.3.3/server.log --pidfilepath /builddir/build/BUILD/mongo-c-driver-1.3.3/server.pid --dbpath /builddir/build/BUILD/mongo-c-driver-1.3.3/dbtest --fork 2016-02-29T18:28:25.890+0000 F - Invalid access at address: 0 2016-02-29T18:28:25.902+0000 F - Got signal: 11 (Segmentation fault). 0x802023f4 0x802017e8 0x8020224c 0xb62f5c10 0x801d9c9c 0x801e2880 0x801e2814 0x801e92dc 0x801ee810 0x801f2d5c 0x7f8d6038 0x7f8e1144 0x7f8e15c0 0x7f8e18b8 0x7f89431c 0xb62ddb54 ----- BEGIN BACKTRACE ----- {"backtrace":[{"b":"7F5FF000","o":"C033F4","s":"_ZN5mongo15printStackTraceERSo"},{"b":"7F5FF000","o":"C027E8"},{"b":"7F5FF000","o":"C0324C"},{"b":"B62C7000","o":"2EC10","s":"__default_rt_sa_restorer"},{"b":"7F5FF000","o":"BDAC9C","s":"_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N5mongo17optionenvironment5ValueEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESM_IJEEEEESt17_Rb_tree_iteratorISB_ESt23_Rb_tree_const_iteratorISB_EDpOT_"},{"b":"7F5FF000","o":"BE3880","s":"_ZNK5mongo17optionenvironment13OptionSection11getDefaultsEPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_5ValueESt4lessIS8_ESaISt4pairIKS8_S9_EEE"},{"b":"7F5FF000","o":"BE3814","s":"_ZNK5mongo17optionenvironment13OptionSection11getDefaultsEPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_5ValueESt4lessIS8_ESaISt4pairIKS8_S9_EEE"},{"b":"7F5FF000","o":"BEA2DC","s":"_ZN5mongo17optionenvironment13OptionsParser16addDefaultValuesERKNS0_13OptionSectionEPNS0_11EnvironmentE"},{"b":"7F5FF000","o":"BEF810","s":"_ZN5mongo17optionenvironment13OptionsParser3runERKNS0_13OptionSectionERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISB_EERKSt3mapISB_SB_St4lessISB_ESaISt4pairIKSB_SB_EEEPNS0_11EnvironmentE"},{"b":"7F5FF000","o":"BF3D5C","s":"_ZN5mongo17optionenvironment46_mongoInitializerFunction_StartupOptions_ParseEPNS_18InitializerContextE"},{"b":"7F5FF000","o":"2D7038","s":"_ZNSt17_Function_handlerIFN5mongo6StatusEPNS0_18InitializerContextEEPS4_E9_M_invokeERKSt9_Any_dataOS3_"},{"b":"7F5FF000","o":"2E2144","s":"_ZNK5mongo11Initializer7executeERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EERKSt3mapIS7_S7_St4lessIS7_ESaISt4pairIKS7_S7_EEE"},{"b":"7F5FF000","o":"2E25C0","s":"_ZN5mongo21runGlobalInitializersERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKSt3mapIS6_S6_St4lessIS6_ESaISt4pairIKS6_S6_EEE"},{"b":"7F5FF000","o":"2E28B8","s":"_ZN5mongo21runGlobalInitializersEiPKPKcS3_"},{"b":"7F5FF000","o":"29531C","s":"main"},{"b":"B62C7000","o":"16B54","s":"__libc_start_main"}]} mongod(_ZN5mongo15printStackTraceERSo+0x58) [0x802023f4] mongod(+0xC027E8) [0x802017e8] mongod(+0xC0324C) [0x8020224c] libc.so.6(__default_rt_sa_restorer+0x0) [0xb62f5c10] mongod(_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N5mongo17optionenvironment5ValueEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESM_IJEEEEESt17_Rb_tree_iteratorISB_ESt23_Rb_tree_const_iteratorISB_EDpOT_+0x5C) [0x801d9c9c] mongod(_ZNK5mongo17optionenvironment13OptionSection11getDefaultsEPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_5ValueESt4lessIS8_ESaISt4pairIKS8_S9_EEE+0x2AC) [0x801e2880] mongod(_ZNK5mongo17optionenvironment13OptionSection11getDefaultsEPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_5ValueESt4lessIS8_ESaISt4pairIKS8_S9_EEE+0x240) [0x801e2814] mongod(_ZN5mongo17optionenvironment13OptionsParser16addDefaultValuesERKNS0_13OptionSectionEPNS0_11EnvironmentE+0x64) [0x801e92dc] mongod(_ZN5mongo17optionenvironment13OptionsParser3runERKNS0_13OptionSectionERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISB_EERKSt3mapISB_SB_St4lessISB_ESaISt4pairIKSB_SB_EEEPNS0_11EnvironmentE+0x6A4) [0x801ee810] mongod(_ZN5mongo17optionenvironment46_mongoInitializerFunction_StartupOptions_ParseEPNS_18InitializerContextE+0x68) [0x801f2d5c] mongod(_ZNSt17_Function_handlerIFN5mongo6StatusEPNS0_18InitializerContextEEPS4_E9_M_invokeERKSt9_Any_dataOS3_+0x34) [0x7f8d6038] mongod(_ZNK5mongo11Initializer7executeERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EERKSt3mapIS7_S7_St4lessIS7_ESaISt4pairIKS7_S7_EEE+0x1C0) [0x7f8e1144] mongod(_ZN5mongo21runGlobalInitializersERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKSt3mapIS6_S6_St4lessIS6_ESaISt4pairIKS6_S6_EEE+0x4C) [0x7f8e15c0] mongod(_ZN5mongo21runGlobalInitializersEiPKPKcS3_+0x2D0) [0x7f8e18b8] mongod(main+0x8C) [0x7f89431c] libc.so.6(__libc_start_main+0x114) [0xb62ddb54] ----- END BACKTRACE ----- mongodb-3.0.10-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ad367c57b0 mongodb-3.2.3-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-150e04ec3b This bug is fixed in above mentioned update. So please test it... For Fedora rawhide (F25) builds are not done yet. It is because new version of gcc with fix is failing to build. Scratch build of mongo-c-driver aginst 3.2.3-2 http://koji.fedoraproject.org/koji/taskinfo?taskID=13526945 The arm failure is not related to mongodb. In all arch, server start/stop as expected. mongodb-3.0.10-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ad367c57b0 mongodb-3.2.3-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-150e04ec3b mongodb-3.2.3-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. mongodb-3.0.11-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-a2501d314c mongodb-3.0.11-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-a2501d314c For you information, mongodb-server-3.2.3-2.fc24.aarch64 crashes on aarch64 platform (scratch build <http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=3501816>) like this: + mongod --fork --logpath /builddir/build/BUILD/MongoDB-v1.2.3/mongod.log --pidfilepath /builddir/build/BUILD/MongoDB-v1.2.3/mongod.pid --dbpath /builddir/build/BUILD/MongoDB-v1.2.3/test_db/ --smallfiles about to fork child process, waiting until server is ready for connections. forked process: 31134 ERROR: child process failed, exited with error number 51 Error: Could not start mongod server + test_rc=51 + '[' -n 51 ']' + printf 'Error: Could not start mongod server\n' + cat mongod.log 2016-04-13T07:59:08.030+0000 I CONTROL [initandlisten] MongoDB starting : pid=31134 port=27017 dbpath=/builddir/build/BUILD/MongoDB-v1.2.3/test_db/ 64-bit host=aarch64-10a.arm.fedoraproject.org 2016-04-13T07:59:08.030+0000 I CONTROL [initandlisten] db version v3.2.4 2016-04-13T07:59:08.030+0000 I CONTROL [initandlisten] git version: e2ee9ffcf9f5a94fad76802e28cc978718bb7a30 2016-04-13T07:59:08.030+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g-fips 1 Mar 2016 2016-04-13T07:59:08.030+0000 I CONTROL [initandlisten] allocator: tcmalloc 2016-04-13T07:59:08.030+0000 I CONTROL [initandlisten] modules: none 2016-04-13T07:59:08.030+0000 I CONTROL [initandlisten] build environment: 2016-04-13T07:59:08.030+0000 I CONTROL [initandlisten] distarch: arm64 2016-04-13T07:59:08.030+0000 I CONTROL [initandlisten] target_arch: arm64 2016-04-13T07:59:08.030+0000 I CONTROL [initandlisten] options: { processManagement: { fork: true, pidFilePath: "/builddir/build/BUILD/MongoDB-v1.2.3/mongod.pid" }, storage: { dbPath: "/builddir/build/BUILD/MongoDB-v1.2.3/test_db/", mmapv1: { smallFiles: true } }, systemLog: { destination: "file", path: "/builddir/build/BUILD/MongoDB-v1.2.3/mongod.log" } } 2016-04-13T07:59:08.078+0000 I JOURNAL [initandlisten] journal dir=/builddir/build/BUILD/MongoDB-v1.2.3/test_db/journal 2016-04-13T07:59:08.078+0000 I JOURNAL [initandlisten] recover : no journal files present, no recovery needed 2016-04-13T07:59:08.263+0000 I - [initandlisten] Fatal Assertion 16143 2016-04-13T07:59:08.263+0000 I - [initandlisten] ***aborting after fassert() failure 2016-04-13T07:59:08.270+0000 F - [initandlisten] Got signal: 6 (Aborted). [...] mongod(_ZN5mongo15printStackTraceERSo+0x48) [0x2aabfa6f760] mongod(+0xE2E708) [0x2aabfa6e708] mongod(+0xE2EFC8) [0x2aabfa6efc8] linux-vdso.so.1(__kernel_rt_sigreturn+0x0) [0x3ffb7350510] libc.so.6(gsignal+0x38) [0x3ffb61237f8] libc.so.6(abort+0x124) [0x3ffb61253ec] mongod(_ZN5mongo13fassertFailedEi+0xA0) [0x2aabfa01af8] mongod(_ZN5mongo7LogFile17synchronousAppendEPKvm+0x2B8) [0x2aabf7a9590] mongod(_ZN5mongo3dur20_preallocateIsFasterEv+0x16C) [0x2aabf781ac4] mongod(_ZN5mongo3dur19preallocateIsFasterEv+0x3C) [0x2aabf782074] mongod(_ZN5mongo3dur16preallocateFilesEv+0x4A0) [0x2aabf788468] mongod(_ZN5mongo3dur7startupEv+0x64) [0x2aabf777f74] mongod(_ZN5mongo20ServiceContextMongoD29initializeGlobalStorageEngineEv+0xA9C) [0x2aabf711504] mongod(_ZN5mongo13initAndListenEi+0x430) [0x2aabf0483f0] mongod(main+0x658) [0x2aabf001f40] libc.so.6(__libc_start_main+0xE8) [0x3ffb610f810] mongod(+0x403A0C) [0x2aabf043a0c] If this will present even with mongodb-3.2.4 that has not yet been built for aarch64, I will open a new bug. mongodb-3.0.11-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. |