Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Nov 2022 13:13:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267668] databases/mongo60: 6.0.2 Segmentation fault
Message-ID:  <bug-267668-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267668

            Bug ID: 267668
           Summary: databases/mongo60: 6.0.2 Segmentation fault
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jason.d.jenkins@gmail.com

A couple of points:

After a fresh install (I have tried with precompiled package and built pack=
age
from ports) mongod fails to start. See below for more details.

1. When starting mongod using service control, mongod fails to start with t=
he
following error:

Starting mongod.
/usr/local/etc/rc.d/mongod: WARNING: failed to start mongod

2. When starting mongod using the direct command, it fails to start as well=
 (on
the first attempt). The output is below:
mongod --dbpath /pools/db/mongod/6.0.2 --bind_ip_all

{"t":{"$date":"2022-11-09T06:14:07.732+00:00"},"s":"I",  "c":"NETWORK",=20
"id":4915701, "ctx":"-","msg":"Initialized wire
specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0=
,"maxWireVersion":17},"incomingInternalClient":{"minWireVersion":0,"maxWire=
Version":17},"outgoing":{"minWireVersion":6,"maxWireVersion":17},"isInterna=
lClient":true}}}
{"t":{"$date":"2022-11-09T06:14:07.734+00:00"},"s":"I",  "c":"CONTROL",=20
"id":23285,   "ctx":"-","msg":"Automatically disabling TLS 1.0, to force-en=
able
TLS 1.0 specify --sslDisabledProtocols 'none'"}
{"t":{"$date":"2022-11-09T06:14:07.735+00:00"},"s":"I",  "c":"NETWORK",=20
"id":4648602, "ctx":"thread1","msg":"Implicit TCP FastOpen in use."}
{"t":{"$date":"2022-11-09T06:14:07.736+00:00"},"s":"I",  "c":"REPL",=20=20=
=20=20
"id":5123008, "ctx":"thread1","msg":"Successfully registered
PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","namesp=
ace":"config.tenantMigrationDonors"}}
{"t":{"$date":"2022-11-09T06:14:07.736+00:00"},"s":"I",  "c":"REPL",=20=20=
=20=20
"id":5123008, "ctx":"thread1","msg":"Successfully registered
PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","na=
mespace":"config.tenantMigrationRecipients"}}
{"t":{"$date":"2022-11-09T06:14:07.736+00:00"},"s":"I",  "c":"REPL",=20=20=
=20=20
"id":5123008, "ctx":"thread1","msg":"Successfully registered
PrimaryOnlyService","attr":{"service":"ShardSplitDonorService","namespace":=
"config.tenantSplitDonors"}}
{"t":{"$date":"2022-11-09T06:14:07.736+00:00"},"s":"I",  "c":"CONTROL",=20
"id":5945603, "ctx":"thread1","msg":"Multi threading initialized"}
{"t":{"$date":"2022-11-09T06:14:07.737+00:00"},"s":"I",  "c":"CONTROL",=20
"id":4615611, "ctx":"initandlisten","msg":"MongoDB
starting","attr":{"pid":2484,"port":27017,"dbPath":".","architecture":"64-b=
it","host":"dart"}}
{"t":{"$date":"2022-11-09T06:14:07.737+00:00"},"s":"I",  "c":"CONTROL",=20
"id":23403,   "ctx":"initandlisten","msg":"Build
Info","attr":{"buildInfo":{"version":"6.0.2","gitVersion":"nogitversion","o=
penSSLVersion":"OpenSSL
1.1.1o-freebsd  3 May
2022","modules":[],"allocator":"system","environment":{"distarch":"x86_64",=
"target_arch":"x86_64"}}}}
{"t":{"$date":"2022-11-09T06:14:07.737+00:00"},"s":"I",  "c":"CONTROL",=20
"id":51765,   "ctx":"initandlisten","msg":"Operating
System","attr":{"os":{"name":"FreeBSD","version":"FreeBSD 13.1-RELEASE-p3
GENERIC\n"}}}
{"t":{"$date":"2022-11-09T06:14:07.737+00:00"},"s":"I",  "c":"CONTROL",=20
"id":21951,   "ctx":"initandlisten","msg":"Options set by command
line","attr":{"options":{"net":{"bindIp":"*"},"storage":{"dbPath":"."}}}}
{"t":{"$date":"2022-11-09T06:14:07.738+00:00"},"s":"I",  "c":"STORAGE",=20
"id":22315,   "ctx":"initandlisten","msg":"Opening
WiredTiger","attr":{"config":"create,cache_size=3D7608M,session_max=3D33000=
,eviction=3D(threads_min=3D4,threads_max=3D4),config_base=3Dfalse,statistic=
s=3D(fast),log=3D(enabled=3Dtrue,remove=3Dtrue,path=3Djournal,compressor=3D=
snappy),builtin_extension_config=3D(zstd=3D(compression_level=3D6)),file_ma=
nager=3D(close_idle_time=3D600,close_scan_interval=3D10,close_handle_minimu=
m=3D2000),statistics_log=3D(wait=3D0),json_output=3D(error,message),verbose=
=3D[recovery_progress:1,checkpoint_progress:1,compact_progress:1,backup:0,c=
heckpoint:0,compact:0,evict:0,history_store:0,recovery:0,rts:0,salvage:0,ti=
ered:0,timestamp:0,transaction:0,verify:0,log:0],"}}
{"t":{"$date":"2022-11-09T06:14:08.357+00:00"},"s":"I",  "c":"STORAGE",=20
"id":4795906, "ctx":"initandlisten","msg":"WiredTiger
opened","attr":{"durationMillis":619}}
{"t":{"$date":"2022-11-09T06:14:08.357+00:00"},"s":"I",  "c":"RECOVERY",
"id":23987,   "ctx":"initandlisten","msg":"WiredTiger
recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":0,"i":0}}=
}}
{"t":{"$date":"2022-11-09T06:14:08.366+00:00"},"s":"W",  "c":"CONTROL",=20
"id":22120,   "ctx":"initandlisten","msg":"Access control is not enabled for
the database. Read and write access to data and configuration is
unrestricted","tags":["startupWarnings"]}
{"t":{"$date":"2022-11-09T06:14:08.366+00:00"},"s":"W",  "c":"CONTROL",=20
"id":22138,   "ctx":"initandlisten","msg":"You are running this process as =
the
root user, which is not recommended","tags":["startupWarnings"]}
{"t":{"$date":"2022-11-09T06:14:08.366+00:00"},"s":"I",  "c":"STORAGE",=20
"id":20320,=20=20
"ctx":"initandlisten","msg":"createCollection","attr":{"namespace":"admin.s=
ystem.version","uuidDisposition":"provided","uuid":{"uuid":{"$uuid":"27d41c=
ee-da5b-430c-a60e-f7b3121b3725"}},"options":{"uuid":{"$uuid":"27d41cee-da5b=
-430c-a60e-f7b3121b3725"}}}}
{"t":{"$date":"2022-11-09T06:14:08.372+00:00"},"s":"I",  "c":"INDEX",=20=20=
=20
"id":20345,   "ctx":"initandlisten","msg":"Index build: done
building","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"27d41=
cee-da5b-430c-a60e-f7b3121b3725"}},"namespace":"admin.system.version","inde=
x":"_id_","ident":"index-1-156332478393131353","collectionIdent":"collectio=
n-0-156332478393131353","commitTimestamp":null}}
{"t":{"$date":"2022-11-09T06:14:08.372+00:00"},"s":"I",  "c":"REPL",=20=20=
=20=20
"id":20459,   "ctx":"initandlisten","msg":"Setting
featureCompatibilityVersion","attr":{"newVersion":"6.0"}}
{"t":{"$date":"2022-11-09T06:14:08.372+00:00"},"s":"I",  "c":"REPL",=20=20=
=20=20
"id":5853300, "ctx":"initandlisten","msg":"current featureCompatibilityVers=
ion
value","attr":{"featureCompatibilityVersion":"6.0","context":"setFCV"}}
{"t":{"$date":"2022-11-09T06:14:08.372+00:00"},"s":"I",  "c":"NETWORK",=20
"id":4915702, "ctx":"initandlisten","msg":"Updated wire
specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion=
":0,"maxWireVersion":17},"incomingInternalClient":{"minWireVersion":0,"maxW=
ireVersion":17},"outgoing":{"minWireVersion":6,"maxWireVersion":17},"isInte=
rnalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"=
maxWireVersion":17},"incomingInternalClient":{"minWireVersion":17,"maxWireV=
ersion":17},"outgoing":{"minWireVersion":17,"maxWireVersion":17},"isInterna=
lClient":true}}}
{"t":{"$date":"2022-11-09T06:14:08.372+00:00"},"s":"I",  "c":"NETWORK",=20
"id":4915702, "ctx":"initandlisten","msg":"Updated wire
specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion=
":0,"maxWireVersion":17},"incomingInternalClient":{"minWireVersion":17,"max=
WireVersion":17},"outgoing":{"minWireVersion":17,"maxWireVersion":17},"isIn=
ternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0=
,"maxWireVersion":17},"incomingInternalClient":{"minWireVersion":17,"maxWir=
eVersion":17},"outgoing":{"minWireVersion":17,"maxWireVersion":17},"isInter=
nalClient":true}}}
{"t":{"$date":"2022-11-09T06:14:08.372+00:00"},"s":"I",  "c":"REPL",=20=20=
=20=20
"id":5853300, "ctx":"initandlisten","msg":"current featureCompatibilityVers=
ion
value","attr":{"featureCompatibilityVersion":"6.0","context":"startup"}}
{"t":{"$date":"2022-11-09T06:14:08.372+00:00"},"s":"I",  "c":"STORAGE",=20
"id":5071100, "ctx":"initandlisten","msg":"Clearing temp directory"}
{"t":{"$date":"2022-11-09T06:14:08.372+00:00"},"s":"I",  "c":"CONTROL",=20
"id":20536,   "ctx":"initandlisten","msg":"Flow Control is enabled on this
deployment"}
{"t":{"$date":"2022-11-09T06:14:08.372+00:00"},"s":"I",  "c":"FTDC",=20=20=
=20=20
"id":20625,   "ctx":"initandlisten","msg":"Initializing full-time diagnostic
data capture","attr":{"dataDirectory":"./diagnostic.data"}}
{"t":{"$date":"2022-11-09T06:14:08.373+00:00"},"s":"F",  "c":"CONTROL",=20
"id":6384300, "ctx":"initandlisten","msg":"Writing fatal
message","attr":{"message":"Invalid access at address: 0x0\n"}}
{"t":{"$date":"2022-11-09T06:14:08.373+00:00"},"s":"F",  "c":"CONTROL",=20
"id":6384300, "ctx":"initandlisten","msg":"Writing fatal
message","attr":{"message":"Got signal: 11 (Segmentation fault).\n"}}
{"t":{"$date":"2022-11-09T06:14:08.432+00:00"},"s":"E",  "c":"CONTROL",=20
"id":31430,   "ctx":"initandlisten","msg":"Error collecting stack
trace","attr":{"error":"unw_get_proc_name(7FFFFFFFF8A3): unspecified (gener=
al)
error\nunw_get_proc_name(806310008): unspecified (general)
error\nunw_get_proc_name(7FFFFFFFF8A3): unspecified (general)
error\nunw_get_proc_name(806310008): unspecified (general) error\n"}}
{"t":{"$date":"2022-11-09T06:14:08.432+00:00"},"s":"I",  "c":"CONTROL",=20
"id":31380,=20=20
"ctx":"initandlisten","msg":"BACKTRACE","attr":{"bt":{"backtrace":[{"a":"61=
16D20","b":"1021000","o":"50F5D20","s":"_ZN5mongo15printStackTraceERNS_14St=
ackTraceSinkE","C":"mongo::printStackTrace(mongo::StackTraceSink&)","s+":"1=
30"},{"a":"61135D4","b":"1021000","o":"50F25D4","s":"abruptQuitWithAddrSign=
al","C":"signed
char","s+":"184"},{"a":"8072E958E","b":"8072CF000","o":"1A58E","s":"_pthrea=
d_sigmask","s+":"54E"},{"a":"8072E8B3F","b":"8072CF000","o":"19B3F","s":"_p=
thread_setschedparam","s+":"82F"},{"a":"7FFFFFFFF8A3"},{"a":"4D6B84A","b":"=
1021000","o":"3D4A84A","s":"_ZN5mongo8LockHead27migratePartitionedLockHeads=
Ev","C":"mongo::LockHead::migratePartitionedLockHeads()","s+":"AA"},{"a":"4=
D6C9F7","b":"1021000","o":"3D4B9F7","s":"_ZN5mongo11LockManager4lockENS_10R=
esourceIdEPNS_11LockRequestENS_8LockModeE","C":"mongo::LockManager::lock(mo=
ngo::ResourceId,
mongo::LockRequest*,
mongo::LockMode)","s+":"1E7"},{"a":"4D7AF81","b":"1021000","o":"3D59F81","s=
":"_ZN5mongo10LockerImpl10_lockBeginEPNS_16OperationContextENS_10ResourceId=
ENS_8LockModeE","C":"mongo::LockerImpl::_lockBegin(mongo::OperationContext*,
mongo::ResourceId,
mongo::LockMode)","s+":"C91"},{"a":"4D755BB","b":"1021000","o":"3D545BB","s=
":"_ZN5mongo10LockerImpl4lockEPNS_16OperationContextENS_10ResourceIdENS_8Lo=
ckModeENS_6Date_tE","C":"mongo::LockerImpl::lock(mongo::OperationContext*,
mongo::ResourceId, mongo::LockMode,
mongo::Date_t)","s+":"2B"},{"a":"4D69FB9","b":"1021000","o":"3D48FB9","s":"=
_ZN5mongo4Lock6DBLockC2EPNS_16OperationContextENS_10StringDataENS_8LockMode=
ENS_6Date_tEb","C":"mongo::Lock::DBLock::DBLock(mongo::OperationContext*,
mongo::StringData, mongo::LockMode, mongo::Date_t,
bool)","s+":"E9"},{"a":"4663DE4","b":"1021000","o":"3642DE4","s":"_ZN5mongo=
9AutoGetDbC2EPNS_16OperationContextENS_10StringDataENS_8LockModeENS_6Date_t=
ERKNSt3__13setIS3_NS6_4lessIS3_EENS6_9allocatorIS3_EEEE","C":"mongo::AutoGe=
tDb::AutoGetDb(mongo::OperationContext*,
mongo::StringData, mongo::LockMode, mongo::Date_t,
std::__1::set<mongo::StringData, std::__1::less<mongo::StringData>,
std::__1::allocator<mongo::StringData> >
const&)","s+":"E4"},{"a":"30A8BA7","b":"1021000","o":"2087BA7","s":"_ZN5mon=
go11mongod_mainEiPPc","C":"mongo::mongod_main(int,
char**)","s+":"88C7"},{"a":"30A6980","b":"1021000","o":"2085980","s":"_ZN5m=
ongo11mongod_mainEiPPc","C":"mongo::mongod_main(int,
char**)","s+":"66A0"},{"a":"30A06BC","b":"1021000","o":"207F6BC","s":"_ZN5m=
ongo11mongod_mainEiPPc","C":"mongo::mongod_main(int,
char**)","s+":"3DC"},{"a":"30995E9","b":"1021000","o":"20785E9","s":"main",=
"C":"unsigned
long","s+":"9"},{"a":"309939D","b":"1021000","o":"207839D","s":"_start","s+=
":"10D"},{"a":"806310008"}],"processInfo":{"mongodbVersion":"6.0.2","gitVer=
sion":"nogitversion","compiledModules":[]}}},"tags":[]}
{"t":{"$date":"2022-11-09T06:14:08.432+00:00"},"s":"I",  "c":"CONTROL",=20
"id":31445,=20=20
"ctx":"initandlisten","msg":"Frame","attr":{"frame":{"a":"6116D20","b":"102=
1000","o":"50F5D20","s":"_ZN5mongo15printStackTraceERNS_14StackTraceSinkE",=
"C":"mongo::printStackTrace(mongo::StackTraceSink&)","s+":"130"}}}
{"t":{"$date":"2022-11-09T06:14:08.432+00:00"},"s":"I",  "c":"CONTROL",=20
"id":31445,=20=20
"ctx":"initandlisten","msg":"Frame","attr":{"frame":{"a":"61135D4","b":"102=
1000","o":"50F25D4","s":"abruptQuitWithAddrSignal","C":"signed
char","s+":"184"}}}
{"t":{"$date":"2022-11-09T06:14:08.432+00:00"},"s":"I",  "c":"CONTROL",=20
"id":31445,=20=20
"ctx":"initandlisten","msg":"Frame","attr":{"frame":{"a":"8072E958E","b":"8=
072CF000","o":"1A58E","s":"_pthread_sigmask","s+":"54E"}}}
{"t":{"$date":"2022-11-09T06:14:08.432+00:00"},"s":"I",  "c":"CONTROL",=20
"id":31445,=20=20
"ctx":"initandlisten","msg":"Frame","attr":{"frame":{"a":"8072E8B3F","b":"8=
072CF000","o":"19B3F","s":"_pthread_setschedparam","s+":"82F"}}}
{"t":{"$date":"2022-11-09T06:14:08.432+00:00"},"s":"I",  "c":"CONTROL",=20
"id":31445,=20=20
"ctx":"initandlisten","msg":"Frame","attr":{"frame":{"a":"7FFFFFFFF8A3"}}}
{"t":{"$date":"2022-11-09T06:14:08.432+00:00"},"s":"I",  "c":"CONTROL",=20
"id":31445,=20=20
"ctx":"initandlisten","msg":"Frame","attr":{"frame":{"a":"4D6B84A","b":"102=
1000","o":"3D4A84A","s":"_ZN5mongo8LockHead27migratePartitionedLockHeadsEv"=
,"C":"mongo::LockHead::migratePartitionedLockHeads()","s+":"AA"}}}
{"t":{"$date":"2022-11-09T06:14:08.432+00:00"},"s":"I",  "c":"CONTROL",=20
"id":31445,=20=20
"ctx":"initandlisten","msg":"Frame","attr":{"frame":{"a":"4D6C9F7","b":"102=
1000","o":"3D4B9F7","s":"_ZN5mongo11LockManager4lockENS_10ResourceIdEPNS_11=
LockRequestENS_8LockModeE","C":"mongo::LockManager::lock(mongo::ResourceId,
mongo::LockRequest*, mongo::LockMode)","s+":"1E7"}}}
{"t":{"$date":"2022-11-09T06:14:08.432+00:00"},"s":"I",  "c":"CONTROL",=20
"id":31445,=20=20
"ctx":"initandlisten","msg":"Frame","attr":{"frame":{"a":"4D7AF81","b":"102=
1000","o":"3D59F81","s":"_ZN5mongo10LockerImpl10_lockBeginEPNS_16OperationC=
ontextENS_10ResourceIdENS_8LockModeE","C":"mongo::LockerImpl::_lockBegin(mo=
ngo::OperationContext*,
mongo::ResourceId, mongo::LockMode)","s+":"C91"}}}
{"t":{"$date":"2022-11-09T06:14:08.432+00:00"},"s":"I",  "c":"CONTROL",=20
"id":31445,=20=20
"ctx":"initandlisten","msg":"Frame","attr":{"frame":{"a":"4D755BB","b":"102=
1000","o":"3D545BB","s":"_ZN5mongo10LockerImpl4lockEPNS_16OperationContextE=
NS_10ResourceIdENS_8LockModeENS_6Date_tE","C":"mongo::LockerImpl::lock(mong=
o::OperationContext*,
mongo::ResourceId, mongo::LockMode, mongo::Date_t)","s+":"2B"}}}
{"t":{"$date":"2022-11-09T06:14:08.432+00:00"},"s":"I",  "c":"CONTROL",=20
"id":31445,=20=20
"ctx":"initandlisten","msg":"Frame","attr":{"frame":{"a":"4D69FB9","b":"102=
1000","o":"3D48FB9","s":"_ZN5mongo4Lock6DBLockC2EPNS_16OperationContextENS_=
10StringDataENS_8LockModeENS_6Date_tEb","C":"mongo::Lock::DBLock::DBLock(mo=
ngo::OperationContext*,
mongo::StringData, mongo::LockMode, mongo::Date_t, bool)","s+":"E9"}}}
{"t":{"$date":"2022-11-09T06:14:08.432+00:00"},"s":"I",  "c":"CONTROL",=20
"id":31445,=20=20
"ctx":"initandlisten","msg":"Frame","attr":{"frame":{"a":"4663DE4","b":"102=
1000","o":"3642DE4","s":"_ZN5mongo9AutoGetDbC2EPNS_16OperationContextENS_10=
StringDataENS_8LockModeENS_6Date_tERKNSt3__13setIS3_NS6_4lessIS3_EENS6_9all=
ocatorIS3_EEEE","C":"mongo::AutoGetDb::AutoGetDb(mongo::OperationContext*,
mongo::StringData, mongo::LockMode, mongo::Date_t,
std::__1::set<mongo::StringData, std::__1::less<mongo::StringData>,
std::__1::allocator<mongo::StringData> > const&)","s+":"E4"}}}
{"t":{"$date":"2022-11-09T06:14:08.432+00:00"},"s":"I",  "c":"CONTROL",=20
"id":31445,=20=20
"ctx":"initandlisten","msg":"Frame","attr":{"frame":{"a":"30A8BA7","b":"102=
1000","o":"2087BA7","s":"_ZN5mongo11mongod_mainEiPPc","C":"mongo::mongod_ma=
in(int,
char**)","s+":"88C7"}}}
{"t":{"$date":"2022-11-09T06:14:08.432+00:00"},"s":"I",  "c":"CONTROL",=20
"id":31445,=20=20
"ctx":"initandlisten","msg":"Frame","attr":{"frame":{"a":"30A6980","b":"102=
1000","o":"2085980","s":"_ZN5mongo11mongod_mainEiPPc","C":"mongo::mongod_ma=
in(int,
char**)","s+":"66A0"}}}
{"t":{"$date":"2022-11-09T06:14:08.432+00:00"},"s":"I",  "c":"CONTROL",=20
"id":31445,=20=20
"ctx":"initandlisten","msg":"Frame","attr":{"frame":{"a":"30A06BC","b":"102=
1000","o":"207F6BC","s":"_ZN5mongo11mongod_mainEiPPc","C":"mongo::mongod_ma=
in(int,
char**)","s+":"3DC"}}}
{"t":{"$date":"2022-11-09T06:14:08.432+00:00"},"s":"I",  "c":"CONTROL",=20
"id":31445,=20=20
"ctx":"initandlisten","msg":"Frame","attr":{"frame":{"a":"30995E9","b":"102=
1000","o":"20785E9","s":"main","C":"unsigned
long","s+":"9"}}}
{"t":{"$date":"2022-11-09T06:14:08.432+00:00"},"s":"I",  "c":"CONTROL",=20
"id":31445,=20=20
"ctx":"initandlisten","msg":"Frame","attr":{"frame":{"a":"309939D","b":"102=
1000","o":"207839D","s":"_start","s+":"10D"}}}
{"t":{"$date":"2022-11-09T06:14:08.432+00:00"},"s":"I",  "c":"CONTROL",=20
"id":31445,=20=20
"ctx":"initandlisten","msg":"Frame","attr":{"frame":{"a":"806310008"}}}
Segmentation fault

I ran the command a second time after the initial failure and the mongo dae=
mon
starts properly. Shutting down the daemon (after successful 2nd attempt) and
restarting it causes a segmentation fault.

I tried this again on a different machine (amd64) and it started the first =
time
if I used the -vvvvv flag. However, it failed to start again due to another
segmentation fault.

One other note, this issue also applies to arm64 as well. I compiled mongod=
b60
from the ports on my pine64 (RockPro). Both times they failed to start with=
 a
segmentation fault.

When compiling on arm64 machines, I received multiple failures during
compilation. Usually error -9 or -1. I made a few modifications to get them=
 to
compile:

1. sysctl vm.pageout_oom_seq=3D120
2. use an NVME drive as swap
3. turned on powerd using adaptive mode

I was only able to successfully compile on my pine64 (RockPro) after using a
NVME drive as swap. Swap space went up to about 12GB used at its peak. I was
not able to compile on my Raspberry Pi 4. I used a packaged version of the
build from the RockPro device to test on Raspberry Pi 4.

Please let me know if you need any additional information or have any
questions.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267668-7788>