-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.0.1
-
Component/s: Index Maintenance
-
None
-
Environment:centos/el5
-
ALL
Query was:
Wed Nov 2 17:15:39 [conn858] update jerome5.Example query:
{ _id: ObjectId('4eb16c97e4b00a0fece5de5e') }update: { _id: ObjectId('4eb16c97e4b00a0fece5de5e'), text: "Bahasa sepanyol", tHash: 3093440108297981957, tLeft: "Bahasa sepanyol", textLc: "bahasa sepanyol", tLcHash: -6337897907027439579, tLcLeft: "bahasa sepanyol", allCaps: false, l:
{ $ref: "Language", $id: "may" }, date: new Date(1320250519277), createDate: new Date(1320250519277), owner: 1501, user:
{ $ref: "User", $id: ObjectId('4df3712f71123b7848e818b5') }, group: "all", type: "PLAIN", wrongLanguage: false, pattern: false, random: 8415112, indices: [
{ text: "Bahasa", textLc: "bahasa", hashLc: -1396533818, pos: 0 },
{ text: "Bahasa sepanyol", textLc: "bahasa sepanyol", hashLc: 324432965, pos: 0 },
{ text: "sepanyol", textLc: "sepanyol", hashLc: 1302727467, pos: 7 }], indicesSize: 3, cluster:
{ $ref: "Cluster", $id: ObjectId('4eb16c9be4b00a0fece5deac') }, cl: ObjectId('4eb16c9be4b00a0fece5deac'), clExists: true, transLangs: [
{ $ref: "Language", $id: "cym" },
{ $ref: "Language", $id: "scr" },
{ $ref: "Language", $id: "uig" },
{ $ref: "Language", $id: "afr" },
{ $ref: "Language", $id: "cor" },
{ $ref: "Language", $id: "oci" },
{ $ref: "Language", $id: "por" },
{ $ref: "Language", $id: "hin" },
{ $ref: "Language", $id: "slv" },
{ $ref: "Language", $id: "ltz" },
{ $ref: "Language", $id: "arg" },
{ $ref: "Language", $id: "mlg" },
{ $ref: "Language", $id: "est" },
{ $ref: "Language", $id: "ind" },
{ $ref: "Language", $id: "pol" },
{ $ref: "Language", $id: "kur" },
{ $ref: "Language", $id: "arm" },
{ $ref: "Language", $id: "bre" },
{ $ref: "Language", $id: "vie" },
{ $ref: "Language", $id: "geo" },
{ $ref: "Language", $id: "nds" },
{ $ref: "Language", $id: "fas" },
{ $ref: "Language", $id: "gai" },
{ $ref: "Language", $id: "tur" },
{ $ref: "Language", $id: "ben" },
{ $ref: "Language", $id: "bel" },
{ $ref: "Language", $id: "chi" },
{ $ref: "Language", $id: "ita" },
{ $ref: "Language", $id: "jbo" },
{ $ref: "Language", $id: "epo" },
{ $ref: "Language", $id: "roh" },
{ $ref: "Language", $id: "deu" },
{ $ref: "Language", $id: "chi_TW" },
{ $ref: "Language", $id: "fra" },
{ $ref: "Language", $id: "mac" },
{ $ref: "Language", $id: "nno" },
{ $ref: "Language", $id: "ces" },
{ $ref: "Language", $id: "nah" },
{ $ref: "Language", $id: "hsb" },
{ $ref: "Language", $id: "war" },
{ $ref: "Language", $id: "lad" },
{ $ref: "Language", $id: "als" },
{ $ref: "Language", $id: "que" },
{ $ref: "Language", $id: "por_BR" },
{ $ref: "Language", $id: "eng" },
{ $ref: "Language", $id: "lat" },
{ $ref: "Language", $id: "lit" },
{ $ref: "Language", $id: "ilo" },
{ $ref: "Language", $id: "sve" },
{ $ref: "Language", $id: "esl" },
{ $ref: "Language", $id: "hun" },
{ $ref: "Language", $id: "ido" },
{ $ref: "Language", $id: "alb" },
{ $ref: "Language", $id: "pap" },
{ $ref: "Language", $id: "bul" },
{ $ref: "Language", $id: "frp" },
{ $ref: "Language", $id: "dut" },
{ $ref: "Language", $id: "tha" },
{ $ref: "Language", $id: "bos" },
{ $ref: "Language", $id: "nav" },
{ $ref: "Language", $id: "sme" } ], tlc: 61, tls: "#cym#scr#uig#afr#cor#oci#por#hin#slv#ltz#arg#mlg#est#ind#pol#kur#arm#bre#vie#geo#nds#fas#gai#tur#ben#bel#chi#ita#jbo#epo#roh#deu#chi_TW#fra#mac#nno#ce...", length: 15, lengthPlain: 15, wordCount: 2, avgWL: 7.0, v: 1, sig: "W_W", topicCount: 0, pageCount: 0 } idhack:1 moved:1 128ms
Wed Nov 2 17:15:40 [conn858] update jerome5.Example query:
update: { _id: ObjectId('4eb16c97e4b00a0fece5de62'), text: "Î<99>Ï<83>Ï<80>ανική γλÏ<8e>Ï<83>Ï<83>α", tHash: -9171615794007969792, tLeft: "Î<99>Ï<83>Ï<80>ανική γλÏ<8e>Ï<83>Ï<83>α", textLc: "ιÏ<83>Ï<80>ανική γλÏ<8e>Ï<83>Ï<83>α", tLcHash: -156209735623839712, tLcLeft: "ιÏ<83>Ï<80>ανική γλÏ<8e>Ï<83>Ï<83>α", allCaps: false, l:
{ $ref: "Language", $id: "ell" }, date: new Date(1320250519472), createDate: new Date(1320250519472), owner: 1501, user:
{ $ref: "User", $id: ObjectId('4df3712f71123b7848e818b5') }, group: "all", type: "PLAIN", wrongLanguage: false, pattern: false, random: 14675764, indices: [
{ text: "γλÏ<8e>Ï<83>Ï<83>α", textLc: "γλÏ<8e>Ï<83>Ï<83>α", hashLc: -2041029845, pos: 9 },
{ text: "Î<99>Ï<83>Ï<80>ανική", textLc: "ιÏ<83>Ï<80>ανική", hashLc: 1329823467, pos: 0 },
{ text: "Î<99>Ï<83>Ï<80>ανική γλÏ<8e>Ï<83>Ï<83>α", textLc: "ιÏ<83>Ï<80>ανική γλÏ<8e>Ï<83>Ï<83>α", hashLc: -498682368, pos: 0 }], indicesSize: 3, cluster:
{ $ref: "Cluster", $id: ObjectId('4eb16c9be4b00a0fece5deac') }, cl: ObjectId('4eb16c9be4b00a0fece5deac'), clExists: true, transLangs: [
{ $ref: "Language", $id: "cym" },
{ $ref: "Language", $id: "scr" },
{ $ref: "Language", $id: "uig" },
{ $ref: "Language", $id: "afr" },
{ $ref: "Language", $id: "cor" },
{ $ref: "Language", $id: "oci" },
{ $ref: "Language", $id: "por" },
{ $ref: "Language", $id: "hin" },
{ $ref: "Language", $id: "slv" },
{ $ref: "Language", $id: "ltz" },
{ $ref: "Language", $id: "arg" },
{ $ref: "Language", $id: "mlg" },
{ $ref: "Language", $id: "est" },
{ $ref: "Language", $id: "ind" },
{ $ref: "Language", $id: "pol" },
{ $ref: "Language", $id: "kur" },
{ $ref: "Language", $id: "arm" },
{ $ref: "Language", $id: "bre" },
{ $ref: "Language", $id: "vie" },
{ $ref: "Language", $id: "geo" },
{ $ref: "Language", $id: "nds" },
{ $ref: "Language", $id: "fas" },
{ $ref: "Language", $id: "gai" },
{ $ref: "Language", $id: "tur" },
{ $ref: "Language", $id: "ben" },
{ $ref: "Language", $id: "bel" },
{ $ref: "Language", $id: "chi" },
{ $ref: "Language", $id: "ita" },
{ $ref: "Language", $id: "jbo" },
{ $ref: "Language", $id: "epo" },
{ $ref: "Language", $id: "roh" },
{ $ref: "Language", $id: "deu" },
{ $ref: "Language", $id: "chi_TW" },
{ $ref: "Language", $id: "fra" },
{ $ref: "Language", $id: "mac" },
{ $ref: "Language", $id: "nno" },
{ $ref: "Language", $id: "ces" },
{ $ref: "Language", $id: "nah" },
{ $ref: "Language", $id: "hsb" },
{ $ref: "Language", $id: "war" },
{ $ref: "Language", $id: "lad" },
{ $ref: "Language", $id: "als" },
{ $ref: "Language", $id: "que" },
{ $ref: "Language", $id: "por_BR" },
{ $ref: "Language", $id: "eng" },
{ $ref: "Language", $id: "lat" },
{ $ref: "Language", $id: "lit" },
{ $ref: "Language", $id: "ilo" },
{ $ref: "Language", $id: "sve" },
{ $ref: "Language", $id: "may" },
{ $ref: "Language", $id: "esl" },
{ $ref: "Language", $id: "hun" },
{ $ref: "Language", $id: "ido" },
{ $ref: "Language", $id: "alb" },
{ $ref: "Language", $id: "pap" },
{ $ref: "Language", $id: "bul" },
{ $ref: "Language", $id: "frp" },
{ $ref: "Language", $id: "dut" },
{ $ref: "Language", $id: "tha" },
{ $ref: "Language", $id: "bos" },
{ $ref: "Language", $id: "nav" },
{ $ref: "Language", $id: "sme" }], tlc: 62, tls: "#cym#scr#uig#afr#cor#oci#por#hin#slv#ltz#arg#mlg#est#ind#pol#kur#arm#bre#vie#geo#nds#fas#gai#tur#ben#bel#chi#ita#jbo#epo#roh#deu#chi_TW#fra#mac#nno#ce...", length: 15, lengthPlain: 15, wordCount: 2, avgWL: 7.0, v: 1, sig: "W_W", topicCount: 0, pageCount: 0 } idhack:1 moved:1 161ms
got a crash including:
2af3b3fff000-2af3b4000000 ---p 2af3b3fff000 00:00 0
2b3568b24000-2b3568b26000 rw-p 2b3568b24000 00:00 0
2b3568b39000-2b3568b3c000 rw-p 2b3568b39000 00:00 0
7fff86370000-7fff86385000 rw-p 7ffffffe9000 00:00 0 [stack]
7fff863fc000-7fff86400000 r-xp 7fff863fc000 00:00 0 [vdso]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vsyscall]
Wed Nov 2 17:15:42 Got signal: 6 (Aborted).
Wed Nov 2 17:15:42 Backtrace:
0xa89b19 0x360fc302d0 0x360fc30265 0x360fc31d10 0x360fc6a99b 0x360fc7245f 0x360fc74782 0x360fc753e2 0x504232 0x50a73e 0x508e40 0x50a6a2 0x509a22 0x50a6a2 0x8938fc 0x88c31d 0x50a80a 0x88902c 0xa9c576 0x638937
/usr/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) [0xa89b19]
/lib64/libc.so.6 [0x360fc302d0]
/lib64/libc.so.6(gsignal+0x35) [0x360fc30265]
/lib64/libc.so.6(abort+0x110) [0x360fc31d10]
/lib64/libc.so.6 [0x360fc6a99b]
/lib64/libc.so.6 [0x360fc7245f]
/lib64/libc.so.6 [0x360fc74782]
/lib64/libc.so.6(realloc+0x102) [0x360fc753e2]
/usr/bin/mongod(_ZN5mongo11_BufBuilderINS_16TrivialAllocatorEE15grow_reallocateEv+0x42) [0x504232]
/usr/bin/mongod(_ZNK5mongo7BSONObj8toStringERNS_13StringBuilderEbb+0x26e) [0x50a73e]
/usr/bin/mongod(_ZNK5mongo11BSONElement8toStringERNS_13StringBuilderEbb+0x5d0) [0x508e40]
/usr/bin/mongod(_ZNK5mongo7BSONObj8toStringERNS_13StringBuilderEbb+0x1d2) [0x50a6a2]
/usr/bin/mongod(_ZNK5mongo11BSONElement8toStringERNS_13StringBuilderEbb+0x11b2) [0x509a22]
/usr/bin/mongod(_ZNK5mongo7BSONObj8toStringERNS_13StringBuilderEbb+0x1d2) [0x50a6a2]
/usr/bin/mongod(_ZNK5mongo7OpDebug8toStringEv+0x1fc) [0x8938fc]
/usr/bin/mongod(_ZNK5mongo14LazyStringImplINS_7OpDebugEE3valEv+0xd) [0x88c31d]
/usr/bin/mongod(_ZN5mongo9LogstreamlsERKNS_10LazyStringE+0x1a) [0x50a80a]
/usr/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0x95c) [0x88902c]
/usr/bin/mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x76) [0xa9c576]
/usr/bin/mongod(_ZN5mongo3pms9threadRunEPNS_13MessagingPortE+0x287) [0x638937]
Wed Nov 2 17:15:42 Invalid access at address: 0x4
Wed Nov 2 17:15:42 Got signal: 11 (Segmentation fault).
Wed Nov 2 17:15:42 Backtrace:
0xa89b19 0xa8a0f0 0x361080eb10 0x54b812 0x55a947 0x55b831 0x55c104 0x8dba1e 0x963fb2 0x882407 0x888c2c 0xa9c576 0x638937 0x361080673d 0x360fcd44bd
/usr/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) [0xa89b19]
/usr/bin/mongod(_ZN5mongo24abruptQuitWithAddrSignalEiP7siginfoPv+0x220) [0xa8a0f0]
/lib64/libpthread.so.0 [0x361080eb10]
/usr/bin/mongod(ZN5mongo10FieldRangeaNERKS0+0x362) [0x54b812]
/usr/bin/mongod(_ZN5mongo13FieldRangeSet16processOpElementEPKcRKNS_11BSONElementEbb+0x97) [0x55a947]
/usr/bin/mongod(_ZN5mongo13FieldRangeSet17processQueryFieldERKNS_11BSONElementEb+0x4a1) [0x55b831]
/usr/bin/mongod(_ZN5mongo13FieldRangeSetC1EPKcRKNS_7BSONObjEbb+0x194) [0x55c104]
/usr/bin/mongod(_ZN5mongo16MultiPlanScannerC1EPKcRKNS_7BSONObjES5_PKNS_11BSONElementEbS5_S5_bb+0x21e) [0x8dba1e]
/usr/bin/mongod(ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1+0x6c2) [0x963fb2]
/usr/bin/mongod [0x882407]
/usr/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0x55c) [0x888c2c]
/usr/bin/mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x76) [0xa9c576]
/usr/bin/mongod(_ZN5mongo3pms9threadRunEPNS_13MessagingPortE+0x287) [0x638937]
/lib64/libpthread.so.0 [0x361080673d]
/lib64/libc.so.6(clone+0x6d) [0x360fcd44bd]
- depends on
-
SERVER-4609 StringBuilder signed integer max buffer size spec is too low, can cause allocated memory buffer overflow upon call to BSONObj::toString()
- Closed