ryansch / docker-unifi-rpi

Unifi Controller for Raspberry Pi 3+ and x86
https://hub.docker.com/r/ryansch/unifi-rpi/
347 stars 42 forks source link

Mongo 2.4.14 is suddenly crashing on arm32v7 #93

Closed ryansch closed 2 years ago

ryansch commented 2 years ago

I've honestly been waiting for this day for a while now.

The old package in the raspbian stretch repo is now crashing with the following error:

ri Jun 24 13:15:32.640 Invalid access at address: 0xbb35e3 from thread:

Fri Jun 24 13:15:32.645 Got signal: 7 (Bus error).

Fri Jun 24 13:15:32.656 Backtrace:
0x6d509c 0x173720 0x1738c0 0x3f7a8fe0 0x186b58 0x40a7f4 0x40d9ac 0x6d5498 0x15843c 0x3f79a4aa
 bin/mongod(_ZN5mongo15printStackTraceERSo+0x1c) [0x6d509c]
 bin/mongod(_ZN5mongo10abruptQuitEi+0xec) [0x173720]
 bin/mongod(_ZN5mongo24abruptQuitWithAddrSignalEiP9siginfo_tPv+0xf4) [0x1738c0]
 /lib/arm-linux-gnueabihf/libc.so.6(+0x24fe0) [0x3f7a8fe0]
 bin/mongod(_ZN5mongo14BSONObjBuilder6appendERKNS_10StringDataEx+0xdc) [0x186b58]
 bin/mongod(_ZN5mongo12BsonUnitTest10testboundsEv+0x64) [0x40a7f4]
 bin/mongod(_ZN5mongo12BsonUnitTest3runEv+0x34c) [0x40d9ac]
 bin/mongod(_ZN5mongo11StartupTest8runTestsEv+0x4c) [0x6d5498]
 bin/mongod(main+0x230) [0x15843c]
 /lib/arm-linux-gnueabihf/libc.so.6(__libc_start_main+0x9d) [0x3f79a4aa]

Mongo 4.4 and later have native arm64 packages but nothing for 32-bit arm. Unifi needs mongo <= 3.6.

ryansch commented 2 years ago

I encountered this while trying to cut a release for 7.1.67.

ryansch commented 2 years ago

We're dropping support for arm32v7.