-
woodser[m]we're getting a segfault running start_mining on monerod v0.18.2.2 (starting testnet from scratch):... (full message at <libera.ems.host/_matrix/media/v3/do…5c0a15ea677c579b428c0c93a67b8972eb4>)
-
sech1can you get a call stack?
-
woodser[m]can you point me in the right direction to get that? it's not written to a file by default, and not much more is useful in the logs at level 3. something to do with the SANITIZE=ON option?
-
sech1no, just run it under gdb
-
woodser[m]#0 0x0000563127bd9d76 in randomx_init_dataset ()
-
woodser[m]#1 0x000056312784894f in rx_seedthread ()
-
woodser[m]#2 0x00007f55dde94b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
-
woodser[m]#3 0x00007f55ddf26a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
-
selstathere have been multiple reports about this now but only on testnet hmm
-
sech1yes, I reproduced it
-
woodser[m]hoping to be able to sort this out soon, since it's blocking our release ><
-
woodser[m]nevermind, we can release as-is. but our CI tests are broken until this is fixed :)
-
sech1It tries to allocate RandomX dataset despite first blocks not using RandomX
-
sech1I don't see a place in the code where it doesn't check for used algorithm before doing it
-
sech1So I'll need to investigate
-
sech1okay found it
-
woodser[m]exellent!
-
sech1woodser[m] you can try monero-project/monero #8831
-
woodser[m]ok, trying
-
selstasech1: can you add Closes #8821 to the PR description?
-
sech1ok
-
sech1and monero-project/monero #8832 for master branch
-
selstadescription, not title
-
selstaotherwise it doesn't automatically close the issue
-
selstaty
-
woodser[m]yes that works, thank you!