[SERVER-6538] Invalid access at address: 0x7f2e34021000 from thread: repl prefetch worker Created: 20/Jul/12  Updated: 11/Jul/16  Resolved: 01/Aug/12

Status: Closed
Project: Core Server
Component/s: Stability
Affects Version/s: 2.2.0-rc0
Fix Version/s: 2.2.0-rc1

Type: Bug Priority: Critical - P2
Reporter: NOVALUE yangfenqiang Assignee: Aaron Staple
Resolution: Done Votes: 0
Labels: crash
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 12.04 LTS
Linux yz-uc-core-a08 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux


Attachments: Text File shard7_2_rs2.log    
Issue Links:
Depends
Duplicate
duplicates SERVER-6585 stale_clustered.js fails during overf... Closed
Related
related to SERVER-6539 Mongos crashed because of mongod cann... Closed
Operating System: Linux
Participants:

 Description   

Fri Jul 20 16:22:32 [initandlisten] connection accepted from 192.168.130.17:5972 #402 (10 connections now open)
Fri Jul 20 16:22:44 Invalid access at address: 0x7f2e34021000 from thread: repl prefetch worker

Fri Jul 20 16:22:44 Got signal: 11 (Segmentation fault).

Fri Jul 20 16:22:44 Invalid access at address: 0x7f2e34021000 from thread: repl prefetch worker

Fri Jul 20 16:22:44 Got signal: 11 (Segmentation fault).

Fri Jul 20 16:22:44 Invalid access at address: 0x7f2e34021000 from thread: repl prefetch worker

Fri Jul 20 16:22:44 Invalid access at address: 0x7f2e34021000 from thread: repl prefetch worker
Fri Jul 20 16:22:44 Got signal: 11 (Segmentation fault).

Fri Jul 20 16:22:44 Got signal: 11 (Segmentation fault).

Fri Jul 20 16:22:44 Invalid access at address: 0x7f2e34021000 from thread: repl prefetch worker

Fri Jul 20 16:22:44 Got signal: 11 (Segmentation fault).

Fri Jul 20 16:22:44 Invalid access at address: 0x7f2e34021000 from thread: repl prefetch worker

Fri Jul 20 16:22:44 Got signal: 11 (Segmentation fault).

Fri Jul 20 16:22:44 Invalid access at address: 0x7f2e34021000 from thread: repl prefetch worker

Fri Jul 20 16:22:44 Got signal: 11 (Segmentation fault).

Fri Jul 20 16:22:44 Invalid access at address: 0x7f2e34021000 from thread: repl prefetch worker

Fri Jul 20 16:22:44 Got signal: 11 (Segmentation fault).

Fri Jul 20 16:22:44 Invalid access at address: 0x7f2e34021000 from thread: repl prefetch worker

Fri Jul 20 16:22:44 Got signal: 11 (Segmentation fault).

Fri Jul 20 16:22:44 Backtrace:
0x6236d1 0x5516b9 0x551c42 0x7f2f34ae4cb0 0x7f2f33e4d672 0xb0723d 0x7f12bf 0xb03846 0xb04acd 0x91e56a 0x5db6cd 0x969799 0x7f2f34adce9a 0x7f2f33df24bd
/home/mongo/.bin/mongod(_ZN5mongo15printStackTraceERSo+0x21) [0x6236d1]
/home/mongo/.bin/mongod(_ZN5mongo10abruptQuitEi+0x399) [0x5516b9]
/home/mongo/.bin/mongod(_ZN5mongo24abruptQuitWithAddrSignalEiP7siginfoPv+0x262) [0x551c42]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7f2f34ae4cb0]
/lib/x86_64-linux-gnu/libc.so.6(+0x14d672) [0x7f2f33e4d672]
/home/mongo/.bin/mongod(_ZNK5mongo9IndexSpec7getKeysERKNS_7BSONObjERSt3setIS1_NS_10BSONObjCmpESaIS1_EE+0x13d) [0xb0723d]
/home/mongo/.bin/mongod(_ZN5mongo19fetchIndexInsertersERSt3setINS_7BSONObjENS_10BSONObjCmpESaIS1_EERNS_14IndexInterface13IndexInserterEPNS_16NamespaceDetail
sEiRKS1_NS_7DiskLocE+0x4f) [0x7f12bf]
/home/mongo/.bin/mongod(_ZN5mongo18prefetchIndexPagesEPNS_16NamespaceDetailsERKNS_7BSONObjE+0xd6) [0xb03846]
/home/mongo/.bin/mongod(_ZN5mongo28prefetchPagesForReplicatedOpERKNS_7BSONObjE+0x2dd) [0xb04acd]
/home/mongo/.bin/mongod(_ZN5mongo7replset8SyncTail10prefetchOpERKNS_7BSONObjE+0x13a) [0x91e56a]
/home/mongo/.bin/mongod(_ZN5mongo10threadpool6Worker4loopEv+0x26d) [0x5db6cd]
/home/mongo/.bin/mongod() [0x969799]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a) [0x7f2f34adce9a]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f2f33df24bd]



 Comments   
Comment by auto [ 02/Aug/12 ]

Author:

{u'date': u'2012-08-02T10:48:10-07:00', u'email': u'aaron@10gen.com', u'name': u'Aaron'}

Message: SERVER-6538 Add a replica set prefetch key generation stress test.
Branch: master
https://github.com/mongodb/mongo/commit/910d0198d28f164b7d326a121c012e945aec8953

Comment by auto [ 31/Jul/12 ]

@aaron i confirmed that the size tracker is being invoked by the prefetcher. and then made the change below.

Author:

{u'date': u'2012-07-31T10:24:28-07:00', u'email': u'dwight@10gen.com', u'name': u'Dwight'}

Message: SERVER-6538 make BSONSizeTracker threadsafe
Branch: master
https://github.com/mongodb/mongo/commit/bb2b218b02b60e03ddd3487f7bf159497645f7e9

Comment by NOVALUE yangfenqiang [ 20/Jul/12 ]

this mongod crashed. lead mongos crashed too. see "SERVER-6539"

Generated at Thu Feb 08 03:12:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.