strands-project / mongodb_store

MongoDB tools for storing and analysing runs of ROS systems.
BSD 3-Clause "New" or "Revised" License
49 stars 72 forks source link

Exit code=14 - ARM support? #169

Closed ButlerRobotics closed 8 years ago

ButlerRobotics commented 8 years ago

Does mongodb_store work on ARM?

I have managed to get everything to work on my workstation but when I follow the exact steps on the Jetson TX1 (64-bit ARM) I get an error when trying to run the server:

[ERROR] MongoDB process stopped!
[ERROR] Mongo process error! Exit code=14

I have seen the other issues with exit code=100 but those solutions do not seem to apply to this case.

Possible issue with MongoDB itself?

hawesie commented 8 years ago

Please try running mongod in its own, and then you’ll get the full error log so we can see if it’s down to mongo or the wrapping we do.

ButlerRobotics commented 8 years ago

Ah yes, when I run mongod I get an error: Got signal: 7 (Bus error)

So it must be an issue with MongoDB running on ARM. Looks like I'll have to go back to old SQL :( Pity, I had everything set up nicely with mongodb_store.

ButlerRobotics commented 8 years ago

The full log for reference:

***** SERVER RESTARTED *****

Sat May 21 10:19:03.425 Invalid access at address: 0x28e360b from thread: 

Sat May 21 10:19:03.425 Got signal: 7 (Bus error).

Sat May 21 10:19:03.427 Backtrace:
0x3ddb2c 0x15d374 0x15d522 0xf69f2b10 0x286e44 0x2886c8 0x3dde56 0x14b126 0xf69e3632 
 /usr/bin/mongod(_ZN5mongo15printStackTraceERSo+0x17) [0x3ddb2c]
 /usr/bin/mongod(_ZN5mongo10abruptQuitEi+0x97) [0x15d374]
 /usr/bin/mongod(_ZN5mongo24abruptQuitWithAddrSignalEiP9siginfo_tPv+0x13d) [0x15d522]
 /lib/arm-linux-gnueabihf/libc.so.6(+0x26b10) [0xf69f2b10]
 /usr/bin/mongod(_ZN5mongo12BsonUnitTest10testboundsEv+0x7f) [0x286e44]
 /usr/bin/mongod(_ZN5mongo12BsonUnitTest3runEv+0x45b) [0x2886c8]
 /usr/bin/mongod(_ZN5mongo11StartupTest8runTestsEv+0x25) [0x3dde56]
 /usr/bin/mongod(main+0x1ad) [0x14b126]
 /lib/arm-linux-gnueabihf/libc.so.6(__libc_start_main+0x99) [0xf69e3632]
hawesie commented 8 years ago

A bit of googling shows that there are mongodb distributions for ARM, so don’t give up so easily! What OS are you using?

ButlerRobotics commented 8 years ago

Ah, there is still hope then :)

The TX1 is running on Ubuntu 14.04 Linux 64-bit. But it's been made for the Tegra boards - L4T (Linux 4 Tegra). More details here: [https://developer.nvidia.com/embedded/develop/software]

ButlerRobotics commented 8 years ago

Any recommendations about which one to try. I am very new to mongodb so am not familiar with building from source and getting mongdb_store to work with it.

hawesie commented 8 years ago

Try starting from https://github.com/mongodb/mongo/blob/master/docs/building.md

ButlerRobotics commented 8 years ago

Great thanks, good starting point. I'll close now considering this is a MongoDB issue. Appreciate the help all the same. Cheers!