pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mongodb PaX failures



Just got the unifi controller running, which requires mongodb.
While databases/mongodb disables PaX MPROTECT on bin/mongo, it appears
it also needs disabling on bin/mongod, otherwise it crashes reliably:

2017-09-12T21:58:09.694+1000 F -        [js] Invalid access at address: 0
2017-09-12T21:58:09.696+1000 F -        [js] Got signal: 11 (Segmentation fault).

 0x37b3ac54 0x37b39e8a 0x37b3a423 0x37d63e64
----- BEGIN BACKTRACE -----
{"backtrace":[{"b":"36A00000","o":"113AC54","s":"_ZN5mongo15printStackTraceERSo"},{"b":"36A00000","o":"1139E8A","s":"_ZN5mongo27startSignalProcessingThreadEv"},{"b":"36A00000","o":"113A423","s":"_ZN5mongo29reportOutOfMemoryErrorAndExitEv"},{"b":"36A00000","o":"1363E64","s":"_ZNK2js11AsmJSModule16lookupHeapAccessEPv"}],"processInfo":{ "mongodbVersion" : "3.4.4", "gitVersion" : "888390515874a9debd1b6c5d36559ca86b44babd", "compiledModules" : [], "uname" : { "sysname" : "NetBSD", "release" : "8.0_BETA", "version" : "NetBSD 8.0_BETA (SLAVE) #0: Sat Sep  9 12:02:11 AEST 2017  stix@slave:/home/netbsd/netbsd-8/obj.amd64/home/netbsd/netbsd-8/src/sys/arch/amd64/compile/SLAVE", "machine" : "amd64" } }}
 mongod(_ZN5mongo15printStackTraceERSo+0x42) [0x37b3ac54]
 mongod(_ZN5mongo27startSignalProcessingThreadEv+0x58F) [0x37b39e8a]
 mongod(_ZN5mongo29reportOutOfMemoryErrorAndExitEv+0x29A) [0x37b3a423]
 mongod(_ZNK2js11AsmJSModule16lookupHeapAccessEPv+0xF6) [0x37d63e64]
-----  END BACKTRACE  -----

pkgsrc-2017Q2 on netbsd-8 amd64.

-- 
Paul Ripke
"Great minds discuss ideas, average minds discuss events, small minds
 discuss people."
-- Disputed: Often attributed to Eleanor Roosevelt. 1948.


Home | Main Index | Thread Index | Old Index