moneroexamples / onion-monero-blockchain-explorer

Onion Monero Blockchain Explorer
https://xmrchain.net
BSD 3-Clause "New" or "Revised" License
361 stars 269 forks source link

Running xmrblocks in ghcr.io/moneroexamples/xmrblocks:release-v0.18 results in "Illegal instruction" error #307

Closed victoru closed 6 months ago

victoru commented 6 months ago
$ docker run -uroot --rm -it --entrypoint /bin/bash ghcr.io/moneroexamples/xmrblocks:release-v0.18
** <apt-get install gdb> **
root@ea35431beaf2:/home/monero# gdb --args ./xmrblocks --help
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2
This GDB was configured as "x86_64-linux-gnu".
...
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./xmrblocks...
(gdb) run
Starting program: /home/monero/xmrblocks --help
warning: Error disabling address space randomization: Operation not permitted
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGILL, Illegal instruction.
0x00005616e746c16d in boost::multiprecision::number<boost::multiprecision::backends::cpp_int_backend<128u, 128u, (boost::multiprecision::cpp_integer_type)0, (boost::multiprecision::cpp_int_check_type)0, void>, (boost::multiprecision::expression_template_option)0> std::detail::get_max<128u, 128u, (boost::multiprecision::cpp_integer_type)0, (boost::multiprecision::cpp_int_check_type)0, void, (boost::multiprecision::expression_template_option)0>(mpl_::bool_<true> const&, mpl_::bool_<false> const&) [clone .isra.0] ()
victoru commented 6 months ago

I was able to successfully rebuild after disabling trezor support and the new image works fine, so perhaps the xmrblocks:release-v0.18 image just needs to be rebuilt as well.