Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mongod crash with 3.10.9
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
exeral
n00b
n00b


Joined: 23 Jan 2013
Posts: 8

PostPosted: Mon Aug 26, 2013 1:00 pm    Post subject: mongod crash with 3.10.9 Reply with quote

Hi there

I don't know if I have to fill a bug or post here.

I updated from Linux 3.8.13 to 3.10.9
With 3.8.13 everything was fine.
With 3.10.9 mongdb services crash

If I run mongod as root it's ok
If I run mongod under mongodb user (created by portage) it crashes

The kernel is from my dedicated servers provider:
ftp://ftp.ovh.net/made-in-ovh/bzImage/

here is the (stack|back)trace

Quote:

# sudo -u mongodb mongod
mongod --help for help and startup options
Mon Aug 26 14:09:36.428 terminate() called, printing stack (if implemented for platform):
0x3ed1e00536 0x3ed190462a 0x2dfe65c6576 0x2dfe65c65b3 0x2dfe65c6792 0x2dfe6f1138c 0x3ed1df45c3 0x3ed1df50e9 0x3ed1df3464 0x3ed1df34dd 0x3ed192b7c0 0x3ed192bea5 0x3ed192c382 0x3ed192c3d3 0x3ed192c986 0x3ed18eb213 0x2dfe5c645dd 0x3ed1904395
mongod(_ZN5mongo15printStackTraceERSo+0x36) [0x3ed1e00536]
mongod(_ZN5mongo11myterminateEv+0x4a) [0x3ed190462a]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libstdc++.so.6(+0xd0576) [0x2dfe65c6576]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libstdc++.so.6(+0xd05b3) [0x2dfe65c65b3]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libstdc++.so.6(+0xd0792) [0x2dfe65c6792]
/usr/lib64/libboost_filesystem.so.1.52.0(_ZN5boost10filesystem6detail6statusERKNS0_4pathEPNS_6system10error_codeE+0x27c) [0x2dfe6f1138c]
mongod(_ZN5mongo11ProcessInfo16checkNumaEnabledEv+0x33) [0x3ed1df45c3]
mongod(_ZN5mongo11ProcessInfo10SystemInfo17collectSystemInfoEv+0x2f9) [0x3ed1df50e9]
mongod(_ZN5mongo11ProcessInfo20initializeSystemInfoEv+0xb4) [0x3ed1df3464]
mongod(_ZN5mongo36_mongoInitializerFunction_SystemInfoEPNS_18InitializerContextE+0x1d) [0x3ed1df34dd]
mongod(_ZN5boost6detail8function17function_invoker1IPFN5mongo6StatusEPNS3_18InitializerContextEES4_S6_E6invokeERNS1_15function_bufferES6_+0x20) [0x3ed192b7c0]
mongod(_ZNK5mongo11Initializer7executeERKSt6vectorISsSaISsEERKSt3mapISsSsSt4lessISsESaISt4pairIKSsSsEEE+0x195) [0x3ed192bea5]
mongod(_ZN5mongo21runGlobalInitializersERKSt6vectorISsSaISsEERKSt3mapISsSsSt4lessISsESaISt4pairIKSsSsEEE+0x42) [0x3ed192c382]
mongod(_ZN5mongo26runGlobalInitializersOrDieERKSt6vectorISsSaISsEERKSt3mapISsSsSt4lessISsESaISt4pairIKSsSsEEE+0x23) [0x3ed192c3d3]
mongod(_ZN5mongo26runGlobalInitializersOrDieEiPKPKcS3_+0x506) [0x3ed192c986]
mongod(main+0x283) [0x3ed18eb213]
/lib64/libc.so.6(__libc_start_main+0xed) [0x2dfe5c645dd]
mongod(+0x209395) [0x3ed1904395]
Mon Aug 26 14:09:36.430 Got signal: 6 (Aborted).

Mon Aug 26 14:09:36.432 Backtrace:
0x3ed1e00536 0x3ed1905119 0x2dfe5c77c00 0x2dfe5c77b85 0x2dfe5c78ffb 0x3ed190462f 0x2dfe65c6576 0x2dfe65c65b3 0x2dfe65c6792 0x2dfe6f1138c 0x3ed1df45c3 0x3ed1df50e9 0x3ed1df3464 0x3ed1df34dd 0x3ed192b7c0 0x3ed192bea5 0x3ed192c382 0x3ed192c3d3 0x3ed192c986 0x3ed18eb213
mongod(_ZN5mongo15printStackTraceERSo+0x36) [0x3ed1e00536]
mongod(_ZN5mongo10abruptQuitEi+0x369) [0x3ed1905119]
/lib64/libc.so.6(+0x37c00) [0x2dfe5c77c00]
/lib64/libc.so.6(gsignal+0x35) [0x2dfe5c77b85]
/lib64/libc.so.6(abort+0x17b) [0x2dfe5c78ffb]
mongod(_ZN5mongo11myterminateEv+0x4f) [0x3ed190462f]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libstdc++.so.6(+0xd0576) [0x2dfe65c6576]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libstdc++.so.6(+0xd05b3) [0x2dfe65c65b3]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libstdc++.so.6(+0xd0792) [0x2dfe65c6792]
/usr/lib64/libboost_filesystem.so.1.52.0(_ZN5boost10filesystem6detail6statusERKNS0_4pathEPNS_6system10error_codeE+0x27c) [0x2dfe6f1138c]
mongod(_ZN5mongo11ProcessInfo16checkNumaEnabledEv+0x33) [0x3ed1df45c3]
mongod(_ZN5mongo11ProcessInfo10SystemInfo17collectSystemInfoEv+0x2f9) [0x3ed1df50e9]
mongod(_ZN5mongo11ProcessInfo20initializeSystemInfoEv+0xb4) [0x3ed1df3464]
mongod(_ZN5mongo36_mongoInitializerFunction_SystemInfoEPNS_18InitializerContextE+0x1d) [0x3ed1df34dd]
mongod(_ZN5boost6detail8function17function_invoker1IPFN5mongo6StatusEPNS3_18InitializerContextEES4_S6_E6invokeERNS1_15function_bufferES6_+0x20) [0x3ed192b7c0]
mongod(_ZNK5mongo11Initializer7executeERKSt6vectorISsSaISsEERKSt3mapISsSsSt4lessISsESaISt4pairIKSsSsEEE+0x195) [0x3ed192bea5]
mongod(_ZN5mongo21runGlobalInitializersERKSt6vectorISsSaISsEERKSt3mapISsSsSt4lessISsESaISt4pairIKSsSsEEE+0x42) [0x3ed192c382]
mongod(_ZN5mongo26runGlobalInitializersOrDieERKSt6vectorISsSaISsEERKSt3mapISsSsSt4lessISsESaISt4pairIKSsSsEEE+0x23) [0x3ed192c3d3]
mongod(_ZN5mongo26runGlobalInitializersOrDieEiPKPKcS3_+0x506) [0x3ed192c986]
mongod(main+0x283) [0x3ed18eb213]



emerge --info mongodb
Quote:
Portage 2.1.12.2 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.8.13-xxxx-grs-ipv6-64 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.8.13-xxxx-grs-ipv6-64-x86_64-Intel-R-_Xeon-R-_CPU_E3-1245_V2_@_3.40GHz-with-gentoo-2.2
KiB Mem: 32916580 total, 32194436 free
KiB Swap: 1050616 total, 1050616 free
Timestamp of tree: Mon, 26 Aug 2013 02:05:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash: 4.2_p45
dev-java/java-config: 2.1.12-r1
dev-lang/python: 2.7.5, 3.2.5-r1
dev-util/cmake: 2.8.10.2-r2
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.11.6, 1.12.6
sys-devel/binutils: 2.23.1
sys-devel/gcc: 4.6.3
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories: gentoo MP-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles ftp://mirror.ovh.net/gentoo-distfiles"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/custome_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx modules mudflap multilib ncurses nls openmp pam pcre readline session sse sse2 ssl tcpd unicode zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="dummy fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
Package Settings
=================================================================

dev-db/mongodb-2.4.5 was built with the following:
USE="(multilib) ssl -kerberos -mms-agent -sharedclient -spidermonkey -static-libs" ABI_X86="64"



any ideas ?
thanks
Back to top
View user's profile Send private message
Titinux
n00b
n00b


Joined: 12 Mar 2013
Posts: 2

PostPosted: Tue Nov 26, 2013 11:47 pm    Post subject: Reply with quote

Hi, any news on that ?

I have the same problem here

Kernel : 3.11.2-hardened
Mongodb : 2.4.8

thanks
Back to top
View user's profile Send private message
gotyaoi
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2013
Posts: 137

PostPosted: Wed Nov 27, 2013 9:02 am    Post subject: Reply with quote

Might have something to do with the locale, see https://jira.mongodb.org/browse/SERVER-9032

That might explain why the OPs root account could run it, if the root account was using the basic C locale but the mongodb user had something set that didn't exist on the system?


Last edited by gotyaoi on Thu Nov 28, 2013 1:46 am; edited 1 time in total
Back to top
View user's profile Send private message
Titinux
n00b
n00b


Joined: 12 Mar 2013
Posts: 2

PostPosted: Wed Nov 27, 2013 5:42 pm    Post subject: Reply with quote

The two account have the same locales

LANG=fr_FR.utf8
LC_CTYPE="fr_FR.utf8"
LC_NUMERIC="fr_FR.utf8"
LC_TIME="fr_FR.utf8"
LC_COLLATE=C
LC_MONETARY="fr_FR.utf8"
LC_MESSAGES="fr_FR.utf8"
LC_PAPER="fr_FR.utf8"
LC_NAME="fr_FR.utf8"
LC_ADDRESS="fr_FR.utf8"
LC_TELEPHONE="fr_FR.utf8"
LC_MEASUREMENT="fr_FR.utf8"
LC_IDENTIFICATION="fr_FR.utf8"
LC_ALL=

I've tried many things without success for now. :?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum