-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.2.0
-
Component/s: Logging
-
Environment:Linux web-stage-1 3.0.0-15-virtual #25-Ubuntu SMP Mon Jan 2 20:45:15 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Running Ubuntu
$ cat /etc/debian_version
wheezy/sid
On Amazon EC2. Condensed MongoDB Cluster w/ 9 Daemons
db version v2.2.0, pdfile version 4.5
Thu Sep 20 12:04:51 git version: f5e83ea
kyle@db-stage-1:~$ pip freeze dex
Warning: cannot find svn location for distribute==0.6.16dev-r0
BeautifulSoup==3.2.1
Cheetah==2.4.4
Dex==0.4.1
GnuPGInterface==0.3.2
Landscape-Client==11.07.1.1
M2Crypto==0.20.1
PAM==0.4.2
PyYAML==3.10
Twisted-Core==11.0.0
Twisted-Web==11.0.0
apt-xapian-index==0.44
argparse==1.2.1
boto==2.0
chardet==2.0.1
cloud-init==0.6.1
command-not-found==0.2.44
configobj==4.7.2
dargparse==0.2.1
FIXME: could not find svn URL in dependency_links for this package:
distribute==0.6.16dev-r0
euca2ools==2.0.0
httplib2==0.7.1
iotop==0.4.3
keyring==0.6.2
launchpadlib==1.9.8
lazr.restfulclient==0.11.2
lazr.uri==1.0.2
oauth==1.0.1
paramiko==1.7.7.1
pexpect==2.3
pyOpenSSL==0.12
pycrypto==2.3
pycurl==7.19.0
pymongo==2.3
pyserial==2.5
python-apt==0.8.0ubuntu9
python-debian==0.1.20ubuntu2
simplejson==2.1.6
smart==1.4
stripogram==1.5
ufw==0.30.1-2ubuntu1
unattended-upgrades==0.1
wadllib==1.2.0
wsgiref==0.1.2
zope.interface==3.6.1
kyle@db-stage-1:~$Linux web-stage-1 3.0.0-15-virtual #25-Ubuntu SMP Mon Jan 2 20:45:15 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux Running Ubuntu $ cat /etc/debian_version wheezy/sid On Amazon EC2. Condensed MongoDB Cluster w/ 9 Daemons db version v2.2.0, pdfile version 4.5 Thu Sep 20 12:04:51 git version: f5e83ea kyle@db-stage-1 :~$ pip freeze dex Warning: cannot find svn location for distribute==0.6.16dev-r0 BeautifulSoup==3.2.1 Cheetah==2.4.4 Dex==0.4.1 GnuPGInterface==0.3.2 Landscape-Client==11.07.1.1 M2Crypto==0.20.1 PAM==0.4.2 PyYAML==3.10 Twisted-Core==11.0.0 Twisted-Web==11.0.0 apt-xapian-index==0.44 argparse==1.2.1 boto==2.0 chardet==2.0.1 cloud-init==0.6.1 command-not-found==0.2.44 configobj==4.7.2 dargparse==0.2.1 FIXME: could not find svn URL in dependency_links for this package: distribute==0.6.16dev-r0 euca2ools==2.0.0 httplib2==0.7.1 iotop==0.4.3 keyring==0.6.2 launchpadlib==1.9.8 lazr.restfulclient==0.11.2 lazr.uri==1.0.2 oauth==1.0.1 paramiko==1.7.7.1 pexpect==2.3 pyOpenSSL==0.12 pycrypto==2.3 pycurl==7.19.0 pymongo==2.3 pyserial==2.5 python-apt==0.8.0ubuntu9 python-debian==0.1.20ubuntu2 simplejson==2.1.6 smart==1.4 stripogram==1.5 ufw==0.30.1-2ubuntu1 unattended-upgrades==0.1 wadllib==1.2.0 wsgiref==0.1.2 zope.interface==3.6.1 kyle@db-stage-1 :~$
-
Linux
I am finding data like the data shown below in my system.profile collection for various databases. I've tried disabling profiling, clearing the collection, and re-enabling, at which point the errors occur again after a few minutes.
This is affecting our ability to analyze the profile collection,, and can't be a good thing.
I created this bug with the creator of dex and he suggested I open a bug with the mongo team: https://github.com/mongolab/dex/issues/4
Thu Sep 20 13:50:45 Assertion: 10320:BSONElement: bad type 121 0x511fa1 0x573f0b 0x4b0cc8 0x7160d6 0x516d05 0x5197fc 0x6af7ca 0x6be534 0x52b51e 0x6bdf6c 0x6af9e5 0x6bdaff 0x584c26 0x584ca2 0x5860ae 0x71e6d4 0x4a46e5 0x4a6726 0x7f569b45030d 0x49f5a9 mongo(ZN5mongo15printStackTraceERSo+0x21) [0x511fa1] mongo(_ZN5mongo11msgassertedEiPKc+0x9b) [0x573f0b] mongo(_ZNK5mongo11BSONElement4sizeEv+0x1d8) [0x4b0cc8] mongo(_ZN5mongo16resolveBSONFieldEP9JSContextP8JSObjectljPS3+0x146) [0x7160d6] mongo(jsLookupPropertyWithFlags+0x3f5) [0x516d05] mongo(js_GetProperty+0x7c) [0x5197fc] mongo(js_Interpret+0x10ea) [0x6af7ca] mongo(js_Invoke+0x9d4) [0x6be534] mongo() [0x52b51e] mongo(js_Invoke+0x40c) [0x6bdf6c] mongo(js_Interpret+0x1305) [0x6af9e5] mongo(js_Execute+0x36f) [0x6bdaff] mongo(JS_EvaluateUCScriptForPrincipals+0x66) [0x584c26] mongo(JS_EvaluateUCScript+0x22) [0x584ca2] mongo(JS_EvaluateScript+0x6e) [0x5860ae] mongo(_ZN5mongo7SMScope4execERKNS_10StringDataERKSsbbbi+0x144) [0x71e6d4] mongo(_Z5_mainiPPc+0x2455) [0x4a46e5] mongo(main+0x26) [0x4a6726] /lib/x86_64-linux-gnu/libc.so.6(libc_start_main+0xed) [0x7f569b45030d] mongo(_gxx_personality_v0+0x2a1) [0x49f5a9] Error: BSONElement: bad type 121
Fri Sep 21 12:02:39 Assertion: 10320:BSONElement: bad type -116 0x511fa1 0x573f0b 0x4b0cc8 0x7160d6 0x516d05 0x5197fc 0x6af7ca 0x6bdaff 0x584c26 0x584ca2 0x5860ae 0x71e6d4 0x4a4954 0x4a6726 0x7f9131be630d 0x49f5a9 mongo(_ZN5mongo15printStackTraceERSo+0x21) [0x511fa1] mongo(_ZN5mongo11msgassertedEiPKc+0x9b) [0x573f0b] mongo(_ZNK5mongo11BSONElement4sizeEv+0x1d8) [0x4b0cc8] mongo(_ZN5mongo16resolveBSONFieldEP9JSContextP8JSObjectljPS3_+0x146) [0x7160d6] mongo(js_LookupPropertyWithFlags+0x3f5) [0x516d05] mongo(js_GetProperty+0x7c) [0x5197fc] mongo(js_Interpret+0x10ea) [0x6af7ca] mongo(js_Execute+0x36f) [0x6bdaff] mongo(JS_EvaluateUCScriptForPrincipals+0x66) [0x584c26] mongo(JS_EvaluateUCScript+0x22) [0x584ca2] mongo(JS_EvaluateScript+0x6e) [0x5860ae] mongo(_ZN5mongo7SMScope4execERKNS_10StringDataERKSsbbbi+0x144) [0x71e6d4] mongo(_Z5_mainiPPc+0x26c4) [0x4a4954] mongo(main+0x26) [0x4a6726] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f9131be630d] mongo(__gxx_personality_v0+0x2a1) [0x49f5a9] Error: BSONElement: bad type -116