[SERVER-26173] Segfault on server startup Created: 19/Sep/16  Updated: 08/Jan/24  Resolved: 26/Apr/17

Status: Closed
Project: Core Server
Component/s: Admin
Affects Version/s: 3.2.9
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Michael O'Brien Assignee: Backlog - Storage Execution Team
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Storage Execution
Participants:

 Description   

Using 3.2.9, on OSX.

   2016-09-19T15:45:13.879-0400 I CONTROL  [initandlisten] MongoDB starting : pid=68945 port=26000 dbpath=/tmp/dbpath 64-bit host=Michaels-MacBook-Pro-5.local
   2016-09-19T15:45:13.879-0400 I CONTROL  [initandlisten] db version v3.2.9
   2016-09-19T15:45:13.879-0400 I CONTROL  [initandlisten] git version: 22ec9e93b40c85fc7cae7d56e7d6a02fd811088c
   2016-09-19T15:45:13.879-0400 I CONTROL  [initandlisten] OpenSSL version: OpenSSL 0.9.8zg 14 July 2015
   2016-09-19T15:45:13.879-0400 I CONTROL  [initandlisten] allocator: system
   2016-09-19T15:45:13.879-0400 I CONTROL  [initandlisten] modules: none
   2016-09-19T15:45:13.879-0400 I CONTROL  [initandlisten] build environment:
   2016-09-19T15:45:13.880-0400 I CONTROL  [initandlisten]     distarch: x86_64
   2016-09-19T15:45:13.880-0400 I CONTROL  [initandlisten]     target_arch: x86_64
   2016-09-19T15:45:13.880-0400 I CONTROL  [initandlisten] options: { net: { port: 26000 }, storage: { dbPath: "/tmp/dbpath" }, systemLog: { destination: "file", logAppend: true, path: "/tmp/dbpath/mongod.log" } }
   2016-09-19T15:45:13.880-0400 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=9G,session_max=20000,eviction=(threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=   snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),
   2016-09-19T15:45:14.335-0400 E STORAGE  [initandlisten] WiredTiger (2) [1474314314:335725][68945:0x7fff7a10b000], file:collection-0-6309514982269115712.wt, WT_SESSION.open_cursor: /tmp/dbpath/collection-0-6309514982269115712.wt: handle   -open: open: No such file or directory
   2016-09-19T15:45:14.335-0400 E STORAGE  [initandlisten] no cursor for uri: table:collection-0-6309514982269115712
   2016-09-19T15:45:14.335-0400 F -        [initandlisten] Invalid access at address: 0x58
   2016-09-19T15:45:14.369-0400 F -        [initandlisten] Got signal: 11 (Segmentation fault: 11).
 
    0x10119693a 0x10119646f 0x7fff9b37c52a 0x7fff991349cf 0x100f3358c 0x100f33ca8 0x100f2be45 0x100e99a4a 0x100e9c411 0x100f28420 0x100e7295b 0x10086c732 0x10086bb43 0x10087022c 0x10086bb24
   ----- BEGIN BACKTRACE -----

Prior to this, I was getting an error when running "show dbs" from the shell:

> show dbs
2016-09-19T15:44:08.118-0400 E QUERY    [thread1] Error: listDatabases failed:{
	"ok" : 0,
	"errmsg" : "unable to open cursor at URI statistics:table:collection-0-6309514982269115712. reason: No such file or directory",
	"code" : 43
} :

I then shut down the server cleanly, but now it can't come back up due to the segfault. This is the second time I've encountered this, so I may be able to reproduce it again, hopefully.



 Comments   
Comment by Ian Whalen (Inactive) [ 31/Mar/17 ]

Closing as it has been a year since this was seen and we do not have enough artifacts (core dump, etc.) to go on.

Comment by Daniel Pasette (Inactive) [ 19/Sep/16 ]

Do you have the rest of the log file and backtrace?

Generated at Thu Feb 08 04:11:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.