-
dexter
where can i find this monerod.log : ~/monero/monero/build/Linux/master/release/bin$ ./monerod --log-file monerod.log
-
moneromooo
in .
-
moneromooo
If not, there's a remote possibility it puts it in ~/.bitmonero.
-
dexter
yup i found it there (~/.bitmonero), Thanks, I am trying to build from latest commit of master branch of monero i built it successfully but on running it with following command ./bin/monerod --log-file monerod.log --detach
-
dexter
i see a error
-
dexter
how do i share my monerod.log
-
dexter
or if this works :
-
dexter
2020-12-29 04:00:13.520 7f5c10930c00 INFO global src/daemon/p2p.h:63 Initializing p2p server...
-
dexter
2020-12-29 04:00:13.524 7f5c10930c00 INFO stacktrace src/common/stack_trace.cpp:133 Exception: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >
-
moneromooo
Try asking in #monero after running with --log-level 1 and pasting the relevant log to pastebin.com or similar.
-
dexter
Appreciated v
-
Mmmmmmmmmm
Hello, what is "COMMAND_RPC_DESCRIBE_TRANSFER" in
github.com/monero-project/monero/bl…t/wallet_rpc_server_commands_defs.h (Line 586). What is its purpose? I thought one would only need to provide unsigned_txset in the Request, but multisig_txset is also needed. Is this a multisig-only
-
Mmmmmmmmmm
request?
-
moneromooo
It parses a transfer, can be either multisig or signed from a cold wallet IIRC. If it needs multisig, it's buggy.
-
Mmmmmmmmmm
I see, well if a field is optional it is serialized with KV_SERIALIZE_OPT instead of KV_SERIALIZE. So it looks like both are needed. Do you suggest I not support this in my library?
-
moneromooo
std::string defaults to empty, so KV_SERIALIZE_OPT is not needed.
-
Mmmmmmmmmm
Oh I see, in that case it's fine to send unsigned_txset or multisig_txset, but not both, I presume
-
Mmmmmmmmmm
Is that correct?
-
moneromooo
Yes. Both might work, but it'll likely pick the one it checks first.
-
Mmmmmmmmmm
Thanks
-
Mmmmmmmmmm
I posted this question publicly so others can see the answer in the future:
-
Mmmmmmmmmm
-
zib
Getting a strange error from monero-wallet-cli at commit b222188 . Unable to connect to daemon.
-
zib
debug log says "contrib/epee/include/storages/portable_storage_from_bin.h:168 Too many array elements"
-
Mmmmmmmmmm
Looks like there is a PR for that:
monero-project/monero #7219
-
zib
oh. Missed it since it was just listed "some people dont want it" :D
-
zib
Since the cli won't connect i'm sure alot people dont want it :D
-
selsta
zib: 7222 should also help
-
zib
thx, compilin'
-
selsta
so you need 7220 + 7222
-
selsta
sorry
-
selsta
7219 + 7222
-
zib
yeah thats what i did. Slow to compile.. ;)
-
Mmmmmmmmmm
How do I get a + beside my name?
-
Mmmmmmmmmm
Rbrunner vetted me, and I authored this, which is now in the Monero Ecosystem. Have I earned my keep?
-
Mmmmmmmmmm
-
selsta
voiced on IRC does not mean anything really
-
selsta
we used to voiced everyone due to spam issues
-
Mmmmmmmmmm
It adds clout
-
Mmmmmmmmmm
But I guess it isn't permanent anyways...
-
selsta
nice your code got added to monero-ecosystem
-
Mmmmmmmmmm
Yeah, Rbrunner gave me great advice, and I built ontop of it. Currently working on reconciling the source code with the documentation (I built all the client-side RPC calls using the documentation).
-
Mmmmmmmmmm
So there are some commands that I haven't added yet
-
zib
selsta: same error even with 7219 + 7222
-
selsta
could you post the exact error?
-
selsta
7219 removes the whole check so it is unlikely the same error
-
selsta
also did you rebase release-v0.17 to the latest version?
-
selsta
also did you restart CLI + daemon?
-
zib
let me do some verification
-
selsta
I did a full wallet scan from height zero with release-v0.17 + 7219 + 7222 and did not have issues
-
selsta
but would be good to know if there are still issues
-
zib
like you said. 7219 should have removed the error but i'm still seeing it. Maybe the make clean didnt wipe it all heh
-
zib
selsta: yeah there was some inconsitency, make clean, make again and it works.
-
zib
sorry for bugging you ;)
-
mj-xmr
@sels
-
mj-xmr
selsta: RE: ccache. Could you give me a branch name or something? I agree with hyc, that it could be linkage problem.
-
mj-xmr
but I'd like to experiment on this.
-
mj-xmr
selsta: Now that I look at the code, your error might be a result of a non-conformant main(), because it misses the argc and argv. While you're there, could you please replace main() with main(int argv, const char * argv[]) ?
-
mj-xmr
sorry, main(int argc, char * argv[])
-
hyc
the compiler doesn't care about that
-
mj-xmr
I'd ask the compiler what it thinks :)
-
hyc
it's always legal in C for a function to use fewer arguments than were passed to it, and ignore the rest.
-
hyc
and the linker won't care either, it just needs to know the function name and address.
-
mj-xmr
My suspicion is, that clang generates a warning of a non-conformant main(), and this triggers a non 0 return code. Possibly because this warning is treated as error now. Who knows without checking it.
-
hyc
which is why we need to see the stderr output, yes
-
sech1
-
sech1
so int main() {} is also perfectly ok
-
hyc
right
-
hyc
also read the note about implementation-defined forms... lots of systems passed char *env[] as 3rd argument
-
hyc
but again, it doesn't matter, because the C calling convention is defined such that functions can ignore additional arguments beyond what they know about
-
mj-xmr
Well if main() is conformant and it the program returns an integer, then I don't know.
-
hyc
most likely some other env var is wrong in the invocation that cmake spits out
-
hyc
but agai, we can't know without seeing the actual invocation and its output
-
hyc
which cmake always makes so hard to obtain...
-
mj-xmr
ccache is also not something you'd use to produce a release version of a rocket guidance computer.
-
mj-xmr
or even a car.
-
mj-xmr
But in that case, I'd try:
-
mj-xmr
execute_process(COMMAND "${ICECC_CXX_COMPILER}" "${TEMP_CPP_FILE} 2>&1 /tmp/ccache-log" RESULT_VARIABLE RET)
-
mj-xmr
and
-
mj-xmr
cat /tmp/ccache-log
-
mj-xmr
ICECC_CXX_COMPILER -> CCACHE(...)
-
SaltilloLC
ryo_ru: If i was on their place i would shit bricks daily from recognising a thought thatactually more inclined and financial backed guys can come and knock you down. So i would hurry for resolution asap
-
SaltilloLC
fice: But they are stupid and short sighted, with each release they think it is the last one, pat themselves on the back and declare mission accomplished. Welcome to Monero. Are you tired of winning yet?
-
aichi-japan
my monerod status says 2262781/2262781 (100.0%) but wallet syas Refreshed 2248083/2262781(out of sync)?
-
selsta
aichi-japan: self compiled monero?
-
aichi-japan
yes , master 2bccbee
-
selsta
ok, you need 7218 + 7221
-
selsta
we will merge them today
-
aichi-japan
fine
-
sech1
selsta what's the back story about 7218?
-
selsta
array limit broke wallet sync and wallet changes would have been required
-
selsta
though I wonder if 7221 is enough for wallet sync, can try it I guess
-
selsta
mj-xmr: will try but afaik it failed due to complaining about missing -lc++
-
mj-xmr
How did you figure it out?
-
mj-xmr
hyc: Error: ld: library not found for -lc++
-
mj-xmr
I see
-
mj-xmr
Now I understand the whole conversation :) I didn't have my coffee back then yet :)
-
mj-xmr
So this would mean, that my CMake -> CCache invocation is missing a standard library path via -L
-
mj-xmr
Maybe you can use CMAKE_CXX_FLAGS variable around the invocation, or like hyc said, add the -c option.
-
mj-xmr
I think using the CMAKE_CXX_FLAGS var would make a more versatile test - ie. testing what you would actually get from CMake in near future, after the check is done.
-
mj-xmr
execute_process(COMMAND "${CCACHE_FOUND}" "${CMAKE_CXX_COMPILER}" "${CMAKE_CXX_FLAGS}" "${TEMP_CPP_FILE}" RESULT_VARIABLE RET)
-
mj-xmr
or
-
mj-xmr
execute_process(COMMAND "${CCACHE_FOUND}" "${CMAKE_CXX_COMPILER}" "-c" "${TEMP_CPP_FILE}" RESULT_VARIABLE RET)
-
mj-xmr
Please let me know if it worked. I need a break now.
-
selsta
can a second person take a look at 7221? it works fine but a code review would be good
-
selsta
sech1 maybe :D
-
sech1
maybe
-
selsta
moneromooo: could you rereview / reapprove 7207 after I added vtnerds suggestions?
-
selsta
afterwards we have everything for the tag
-
sethsimmons
Will this be v0.17.2.0 because it contains so many fixes?
-
dEBRUYNE
I'd prefer it, but we need to get ahold of someone at Ledger to update the Monero App
-
selsta
we can’t call it v0.17.2.0 without breaking ledger support... annoying but that's how it is
-
sethsimmons
Ahh
-
sethsimmons
That’s.. obnoxious
-
selsta
I doubt that the attacks will be over after this release
-
moneromooo
OK, maybe in a couple hours. I'll need to go read asio docs for this.
-
selsta
soo we still have time for 0.17.2.0
-
selsta
ok thanks
-
binaryFate
<selsta> I doubt that the attacks will be over after this release <-- agree
-
selsta
mj-xmr: execute_process(COMMAND "${CCACHE_FOUND}" "${CMAKE_CXX_COMPILER}" "-c" "${TEMP_CPP_FILE}" RESULT_VARIABLE RET) works
-
mj-xmr
and CMAKE_CXX_FLAGS not?
-
sethsimmons
<selsta "I doubt that the attacks will be"> Yeah I’m sure we’ll have more to deal with 🙄
-
sech1
reviewed, 7221 looks pretty straight-forward
-
selsta
mj-xmr: no
-
mj-xmr
OK, thanks for confirming
-
mj-xmr
selsta: perhaps with this change the FreeBSD will work as well.
-
selsta
mj-xmr: are you going to PR it?
-
selsta
.merges
-
xmr-pr
7207 7208 7218 7219
-
selsta
.merge+ 7221 7222
-
xmr-pr
Added
-
mj-xmr
I thought it's already PRd. If not, then sure. I have 30 minutes left until I leave.
-
selsta
It is not PRed yet
-
mj-xmr
I will want to push one more change after the successful build, to see how FreeBSD reacted.
-
mj-xmr
But thanks for the quickest review, I've ever had :)
-
mj-xmr
*empty change I meant
-
mj-xmr
selsta: please see my comment at 7226
-
mj-xmr
We "fixed it" by shutting one eye :) No J/K. This is not an actual fix.
-
mj-xmr
I'll have a closer look tomorrow. At least we know what the cause is.
-
selsta
mj-xmr: ok, it used to work fine on mac, it stopped working with a recent compiler or cmake update
-
mj-xmr
No surprise for me.
-
moneromooo
selsta: approved
-
selsta
thanks, please also the branch equivalent 7208
-
selsta
luigi1111w: do you have time for merges?
-
selsta
also ping Snipa :)
-
selsta
afaik we have everything for a tag now once the current merges are done
-
Snipa
.merges
-
xmr-pr
7207 7208 7218 7219 7221 7222
-
Snipa
Kk, will scan through shortly.
-
Snipa
Just on morning standup right now.
-
selsta
nice
-
Snipa
Merged
-
selsta
ty :)
-
selsta
I guess let's wait a bit before tag
-
sethsimmons
I just built release-v0.17 after those merges and am getting stack traces:
paste.debian.net/1178785
-
sethsimmons
Seems to be working still but figured I’d share in case its helpful
-
sethsimmons
Happy to debug whatever would be helpful.
-
sethsimmons
Seems boost related, maybe? I’m compiling with 1.71 IIRC, double checking now.
-
iDunk
...randomx...LargePageAllocator...allocate...
-
iDunk
Reboot and try again. Or don't :)
-
iDunk
It's probably one of the most common traces now.
-
sethsimmons
Ah, good to know, thanks
-
sethsimmons
I’ll try that
-
sethsimmons
Probably because I just had xmrig paused and not closed when starting monerod, I suppose?
-
sethsimmons
Yeah no trace after restart
-
sethsimmons
Sorry for the bad report :)
-
sech1
If xmrig is paused it still has memory allocated so monerod didn't have enough RAM to create RandomX VM
-
sethsimmons
Yeah thats what I figured
-
selsta
luigi1111w: are you available later for tagging v0.17.1.8?
-
sethsimmons
<sech1 "If xmrig is paused it still has "> Odd, that stack trace started occurring again as soon as I started up XMRig.
-
iDunk
It probably means you don't have enough RAM for the amount of mining threads you are running, in addition to monerod doing its own randomx thing.
-
sech1
You probably need to allocate more huge pages
-
iDunk
Thus running out of huge pages.
-
sech1
I've checked the code and this exception should be caught inside RandomX lib and then the VM should be created without huge pages
-
sech1
so monerod shouldn't crash
-
sech1
It's more like a warning than an error
-
sethsimmons
I wonder what changed. All of my Xmrig and monerod config are the exact same. No RAM amount changes, still 32GB
-
sethsimmons
I can try bumping huge pages and see what happens.
-
sech1
you've run out of available huge pages. You could try to increase vm.nr_hugepages
-
sethsimmons
I forgot I never actually set it in sysctl.conf, and relied on XMRig to set.
-
sethsimmons
I’ll try increasing from the default that I think XMRig is setting.
-
sethsimmons
Any idea whats appropriate for 32GB of RAM?
-
sethsimmons
1280 is the recommended by XMRig
-
iDunk
xmrig maybe does set them, but monerod doesn't ;)
-
sethsimmons
Weird I’ve never seen this issue before now, but manually setting hugepages to 1512 seems to be working so far
-
iDunk
So if you plan running several randomx apps, set them manually to the appropriate amount.
-
sethsimmons
Thanks :)
-
augusto5
hhi
-
luigi1111w
selsta yes
-
selsta
luigi1111w: ok please tag whenever you have time
-
selsta
v0.17.1.8
-
selsta
and once you tagged please ping me
-
mnt_grrrl
can someone point me at the gitify docs please?
-
selsta
never heard of gitify
-
iDunk
contrib/gitian if you meant gitian.
-
mnt_grrrl
yes thank you!