Details
-
Bug
-
Resolution: Duplicate
-
Minor - P4
-
None
-
1.8.1
-
Linux
-
(copied to CRM)
Description
If a query gets stuck the use of CTRL-C breaks the request but it also breaks the shell session. Each subsequent request to the shell gets the same stack trace response.
> chunk = db.chunks.findOne({"shard":"repset_a"})
|
|
|
<CTL-C here>
|
|
|
Fri Apr 22 08:31:24 Error: error doing query: unknown shell/collection.js:150
|
Fri Apr 22 08:31:26 ERROR: MessagingPort::call() wrong id got:715dbf7d expect:715dbf7f
|
toSend op: 2004
|
response msgid:2801932464
|
response len: 36
|
response op: 1
|
farEnd: 127.0.0.1:7322
|
Fri Apr 22 08:31:26 Assertion failure false util/message.cpp 512
|
0x4d4e7e 0x4d7491 0x53ab7e 0x53bd94 0x4ec014 0x4ff2a0 0x4dfc1a 0x4f08e1 0x4eb8bc 0x4efa9c 0x478dcb 0x47b5a3 0x47cde6 0x3e9ee1d994 0x475e99
|
./bin/mongo(_ZN5mongo12sayDbContextEPKc+0xae) [0x4d4e7e]
|
./bin/mongo(_ZN5mongo8assertedEPKcS1_j+0x111) [0x4d7491]
|
./bin/mongo(_ZN5mongo13MessagingPort4recvERKNS_7MessageERS1_+0x32e) [0x53ab7e]
|
./bin/mongo(_ZN5mongo13MessagingPort4callERNS_7MessageES2_+0x34) [0x53bd94]
|
./bin/mongo(_ZN5mongo18DBClientConnection4callERNS_7MessageES2_bPSs+0x34) [0x4ec014]
|
./bin/mongo(_ZN5mongo14DBClientCursor4initEv+0x150) [0x4ff2a0]
|
./bin/mongo(_ZN5mongo12DBClientBase5queryERKSsNS_5QueryEiiPKNS_7BSONObjEii+0x32a) [0x4dfc1a]
|
./bin/mongo(_ZN5mongo18DBClientConnection5queryERKSsNS_5QueryEiiPKNS_7BSONObjEii+0xa1) [0x4f08e1]
|
./bin/mongo(_ZN5mongo17DBClientInterface7findOneERKSsRKNS_5QueryEPKNS_7BSONObjEi+0x7c) [0x4eb8bc]
|
./bin/mongo(_ZN5mongo20DBClientWithCommands10runCommandERKSsRKNS_7BSONObjERS3_i+0x8c) [0x4efa9c]
|
./bin/mongo(_Z21sayReplSetMemberStatev+0x30b) [0x478dcb]
|
./bin/mongo(_Z5_mainiPPc+0x1b53) [0x47b5a3]
|
./bin/mongo(main+0x26) [0x47cde6]
|
/lib64/libc.so.6(__libc_start_main+0xf4) [0x3e9ee1d994]
|
./bin/mongo(_ZNSt15basic_streambufIcSt11char_traitsIcEE6xsputnEPKcl+0x51) [0x475e99]
|
> use config
|
switched to db config
|
Fri Apr 22 08:31:36 ERROR: MessagingPort::call() wrong id got:715dbf7f expect:715dbf80
|
toSend op: 2004
|
response msgid:2801932465
|
response len: 114
|
response op: 1
|
farEnd: 127.0.0.1:7322
|
Fri Apr 22 08:31:36 Assertion failure false util/message.cpp 512
|
0x4d4e7e 0x4d7491 0x53ab7e 0x53bd94 0x4ec014 0x4ff2a0 0x4dfc1a 0x4f08e1 0x4eb8bc 0x4efa9c 0x478dcb 0x47b5a3 0x47cde6 0x3e9ee1d994 0x475e99
|
./bin/mongo(_ZN5mongo12sayDbContextEPKc+0xae) [0x4d4e7e]
|
./bin/mongo(_ZN5mongo8assertedEPKcS1_j+0x111) [0x4d7491]
|
./bin/mongo(_ZN5mongo13MessagingPort4recvERKNS_7MessageERS1_+0x32e) [0x53ab7e]
|
./bin/mongo(_ZN5mongo13MessagingPort4callERNS_7MessageES2_+0x34) [0x53bd94]
|
./bin/mongo(_ZN5mongo18DBClientConnection4callERNS_7MessageES2_bPSs+0x34) [0x4ec014]
|
./bin/mongo(_ZN5mongo14DBClientCursor4initEv+0x150) [0x4ff2a0]
|
./bin/mongo(_ZN5mongo12DBClientBase5queryERKSsNS_5QueryEiiPKNS_7BSONObjEii+0x32a) [0x4dfc1a]
|
./bin/mongo(_ZN5mongo18DBClientConnection5queryERKSsNS_5QueryEiiPKNS_7BSONObjEii+0xa1) [0x4f08e1]
|
./bin/mongo(_ZN5mongo17DBClientInterface7findOneERKSsRKNS_5QueryEPKNS_7BSONObjEi+0x7c) [0x4eb8bc]
|
./bin/mongo(_ZN5mongo20DBClientWithCommands10runCommandERKSsRKNS_7BSONObjERS3_i+0x8c) [0x4efa9c]
|
./bin/mongo(_Z21sayReplSetMemberStatev+0x30b) [0x478dcb]
|
./bin/mongo(_Z5_mainiPPc+0x1b53) [0x47b5a3]
|
./bin/mongo(main+0x26) [0x47cde6]
|
/lib64/libc.so.6(__libc_start_main+0xf4) [0x3e9ee1d994]
|
./bin/mongo(_ZNSt15basic_streambufIcSt11char_traitsIcEE6xsputnEPKcl+0x51) [0x475e99]
|
> use config
|
switched to db config
|
Fri Apr 22 08:31:39 ERROR: MessagingPort::call() wrong id got:715dbf80 expect:715dbf81
|
toSend op: 2004
|
response msgid:2801932861
|
response len: 114
|
response op: 1
|
farEnd: 127.0.0.1:7322
|
Fri Apr 22 08:31:39 Assertion failure false util/message.cpp 512
|
0x4d4e7e 0x4d7491 0x53ab7e 0x53bd94 0x4ec014 0x4ff2a0 0x4dfc1a 0x4f08e1 0x4eb8bc 0x4efa9c 0x478dcb 0x47b5a3 0x47cde6 0x3e9ee1d994 0x475e99
|
./bin/mongo(_ZN5mongo12sayDbContextEPKc+0xae) [0x4d4e7e]
|
./bin/mongo(_ZN5mongo8assertedEPKcS1_j+0x111) [0x4d7491]
|
./bin/mongo(_ZN5mongo13MessagingPort4recvERKNS_7MessageERS1_+0x32e) [0x53ab7e]
|
./bin/mongo(_ZN5mongo13MessagingPort4callERNS_7MessageES2_+0x34) [0x53bd94]
|
./bin/mongo(_ZN5mongo18DBClientConnection4callERNS_7MessageES2_bPSs+0x34) [0x4ec014]
|
./bin/mongo(_ZN5mongo14DBClientCursor4initEv+0x150) [0x4ff2a0]
|
./bin/mongo(_ZN5mongo12DBClientBase5queryERKSsNS_5QueryEiiPKNS_7BSONObjEii+0x32a) [0x4dfc1a]
|
./bin/mongo(_ZN5mongo18DBClientConnection5queryERKSsNS_5QueryEiiPKNS_7BSONObjEii+0xa1) [0x4f08e1]
|
./bin/mongo(_ZN5mongo17DBClientInterface7findOneERKSsRKNS_5QueryEPKNS_7BSONObjEi+0x7c) [0x4eb8bc]
|
./bin/mongo(_ZN5mongo20DBClientWithCommands10runCommandERKSsRKNS_7BSONObjERS3_i+0x8c) [0x4efa9c]
|
./bin/mongo(_Z21sayReplSetMemberStatev+0x30b) [0x478dcb]
|
./bin/mongo(_Z5_mainiPPc+0x1b53) [0x47b5a3]
|
./bin/mongo(main+0x26) [0x47cde6]
|
/lib64/libc.so.6(__libc_start_main+0xf4) [0x3e9ee1d994]
|
./bin/mongo(_ZNSt15basic_streambufIcSt11char_traitsIcEE6xsputnEPKcl+0x51) [0x475e99]
|
> exit
|
bye
|
[root@migsrv-d001 mongodb]# ./bin/mongo --port=7322
|
MongoDB shell version: 1.8.1
|
connecting to: 127.0.0.1:7322/test
|
> use config
|
switched to db config
|
> chunk = db.chunks.findOne({"shard":"repset_a"})
|
> chunk = db.chunks.findOne({"shard":"repset_a"})
|
{
|
"_id" : "MigOidDB.MigOidCol-_id_\"buggzeeann_30324171\"",
|
"lastmod" : {
|
"t" : 903000,
|
"i" : 0
|
},
|
"ns" : "MigOidDB.MigOidCol",
|
"min" : {
|
"_id" : "buggzeeann_30324171"
|
},
|
"max" : {
|
"_id" : "bugsylek_25718329"
|
},
|
"shard" : "repset_a"
|
}
|
Attachments
Issue Links
- duplicates
-
SERVER-23168 Shell killOperationsOnAllConnections doesn't handle currentOp failure
-
- Closed
-
- is duplicated by
-
SERVER-4926 segfault in mongo shell
-
- Closed
-
-
SERVER-7616 Assertion error in mongo shell
-
- Closed
-
-
SERVER-7835 Shell crashes when canceling a query
-
- Closed
-
- related to
-
SERVER-9947 Shell is stuck when primary node stopped (Ctrl-z)
-
- Closed
-
-
SERVER-4460 Improve ctrl-C handling in the shell
-
- Closed
-