-
m-relay
<jeffro256:monero.social> Is anyone else's compiler seg faulting very often on the core codebase? Mine started doing it a few weeks ago with g++ 12.3.0. Switching to g++ 13 didn't help AFAICT. It's infuriating. I have to rerun `make` like 30% of the time. I don't think it's from not having enough memory since peak RAM usage is 75% and swap space (8GB) is empty
-
moneromoooo
After a git pull ?
-
moneromoooo
You could try checking out the old source and seeing if that helps. Could be a compiler bug. For OOM, it should log those in dmesg.
-
m-relay
<0xfffc:matrix.org> Can you run make in verbose mode and find which command is seg faulting
-
m-relay
<jeffro256:monero.social> moneromoooo: i'll try reproducing after a git pull. seems almost entirely random at this point. The file the trace log returns as the culprit also seems random
-
m-relay
<jeffro256:monero.social> 0xFFFC: are you saying to run g++ itself in verbose mode ?
-
m-relay
<0xfffc:matrix.org> That is next step. For ninja, I use `-v`. For make I don’t remember of the top of my head since haven’t used it for few years. I believe it had `-n` which only prints the command (not run). Try with `-d`
-
m-relay
<jeffro256:monero.social> moneromooo: doesn't have to be after a git pull
-
moneromoooo
make VERBOSE=1 will show what make rnus, but not what gcc runs (ie, linker, cpp, etc).
-
moneromoooo
I did suggest a git pull, I asked whether the problem started (shortly) after a git pull.
-
moneromoooo
I did *not* suggest a git pull, I asked whether the problem started (shortly) after a git pull.
-
moneromoooo
A compiler bug often triggers on particular code.
-
moneromoooo
You then said random location though, so that looks more like OOM...
-
moneromoooo
Or broken hardware.
-
m-relay
<0xfffc:matrix.org> Yes. Once we find out which gcc command fails. Next step is to find out which component fails. And fire up gdb
-
sech1
you can edit CMakeLists.txt - find "set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG ${OPT_FLAGS_RELEASE}")" line and add "-v" flag. It will make g++ print a lot of stuff for each file, including command line and search paths for includes
-
moneromoooo
What I do when I want to run custom commands is: make target VERBOSE=1
-
moneromoooo
Then ^C when I see what I want, I copy/paste/alter that command.
-
moneromoooo
Changing CMakeLists.txt will try to rebiuld everything.
-
moneromoooo
Low tech, but works when I want to build just one file with -g -O0 :)
-
sech1
Rebuild everything is more likely to trigger the bug though, if the bug is random
-
moneromoooo
Ah, good point...
-
m-relay
<hushrom:matrix.org> Do you guys know the algorithm used by Monero wallets such as monerujo and featherwallet to create derived mnemonic seeds out of offset passphrases?
-
hyc
pretty sure it's just a standard libwallet feature, no?
-
hyc
otherwise go to their github repo and ask them...
-
wasmutable
-
m-relay
<tobtoht:monero.social> cryptonote::decrypt_key
-
selsta
jeffro256: please also open against release branch
-
m-relay
<r4v3r23:monero.social> jeffro256thanks for your review of 8617
-
m-relay
<r4v3r23:monero.social> selsta what else is needed to get this merged
-
selsta
will try to get it merged after we put out 0.18.3.2