Mongo Client RedHat EL5 UT8 Support
Posted
by
Michael Irey
on Server Fault
See other posts from Server Fault
or by Michael Irey
Published on 2012-03-16T19:09:52Z
Indexed on
2012/10/24
23:03 UTC
Read the original article
Hit count: 224
# mongo
MongoDB shell version: 1.6.4
Fri Mar 16 11:55:46 *** warning: spider monkey build without utf8 support. consider rebuilding with utf8 support
connecting to: test
Mongo Server seems to handle the utf8 characters fine, as well as my php-mongo-client driver.
But when I try to query a record that has a utf8 character from the mongo command line client I get:
> db.Users.find({age:33});
error:non ascii character detected
Fri Mar 16 11:55:43 mongo got signal 11 (Segmentation fault), stack trace:
Fri Mar 16 11:55:43 0x440b50 0x3664c302d0 0x3f47e7b6e0 0x3f47e83bbd 0x3f47e254f3 0x3f47e25660 0x3f47e256ee 0x3f47e25792 0x3f47e2876e 0x4b031d 0x443b72 0x445476 0x3664c1d994 0x43fd39
mongo(_Z12quitAbruptlyi+0x3b0) [0x440b50]
/lib64/libc.so.6 [0x3664c302d0]
/usr/lib64/libjs.so.1 [0x3f47e7b6e0]
/usr/lib64/libjs.so.1(js_CompileTokenStream+0x3d) [0x3f47e83bbd]
/usr/lib64/libjs.so.1 [0x3f47e254f3]
/usr/lib64/libjs.so.1(JS_CompileUCScriptForPrincipals+0x60) [0x3f47e25660]
/usr/lib64/libjs.so.1(JS_EvaluateUCScriptForPrincipals+0x3e) [0x3f47e256ee]
/usr/lib64/libjs.so.1(JS_EvaluateUCScript+0x22) [0x3f47e25792]
/usr/lib64/libjs.so.1(JS_EvaluateScript+0x6e) [0x3f47e2876e]
mongo(_ZN5mongo7SMScope4execERKSsS2_bbbi+0xed) [0x4b031d]
mongo(_Z5_mainiPPc+0x14a2) [0x443b72]
mongo(main+0x26) [0x445476]
/lib64/libc.so.6(__libc_start_main+0xf4) [0x3664c1d994]
mongo(__gxx_personality_v0+0x269) [0x43fd39]
Any ideas or suggestions would be welcome
© Server Fault or respective owner