03:57:39 where can i find this monerod.log : ~/monero/monero/build/Linux/master/release/bin$ ./monerod --log-file monerod.log 03:57:55 in . 03:58:33 If not, there's a remote possibility it puts it in ~/.bitmonero. 04:03:27 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 04:03:42 i see a error 04:05:07 how do i share my monerod.log 04:05:15 or if this works : 04:05:17 2020-12-29 04:00:13.520 7f5c10930c00 INFO global src/daemon/p2p.h:63 Initializing p2p server... 04:05:21 2020-12-29 04:00:13.524 7f5c10930c00 INFO stacktrace src/common/stack_trace.cpp:133 Exception: boost::exception_detail::clone_impl > 04:06:09 Try asking in #monero after running with --log-level 1 and pasting the relevant log to pastebin.com or similar. 04:07:33 Appreciated v 04:09:06 Hello, what is "COMMAND_RPC_DESCRIBE_TRANSFER" in https://github.com/monero-project/monero/blob/8286f07b265d16a87b3fe3bb53e8d7bf37b5265a/src/wallet/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 04:09:06 request? 04:10:16 It parses a transfer, can be either multisig or signed from a cold wallet IIRC. If it needs multisig, it's buggy. 04:12:14 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? 04:12:42 std::string defaults to empty, so KV_SERIALIZE_OPT is not needed. 04:13:41 Oh I see, in that case it's fine to send unsigned_txset or multisig_txset, but not both, I presume 04:14:01 Is that correct? 04:14:08 Yes. Both might work, but it'll likely pick the one it checks first. 04:14:15 Thanks 05:34:08 I posted this question publicly so others can see the answer in the future: 05:34:09 https://monero.stackexchange.com/questions/12586/what-is-the-difference-between-sweep-all-and-sweep-single 05:52:21 Getting a strange error from monero-wallet-cli at commit b222188 . Unable to connect to daemon. 05:52:28 debug log says "contrib/epee/include/storages/portable_storage_from_bin.h:168 Too many array elements" 05:53:19 Looks like there is a PR for that: https://github.com/monero-project/monero/pull/7219 05:54:45 oh. Missed it since it was just listed "some people dont want it" :D 05:55:01 Since the cli won't connect i'm sure alot people dont want it :D 06:01:33 zib: 7222 should also help 06:03:12 thx, compilin' 06:08:31 so you need 7220 + 7222 06:09:02 sorry 06:09:09 7219 + 7222 06:15:22 yeah thats what i did. Slow to compile.. ;) 06:31:35 How do I get a + beside my name? 06:32:09 Rbrunner vetted me, and I authored this, which is now in the Monero Ecosystem. Have I earned my keep? 06:32:10 https://github.com/monero-ecosystem/csharp-monero-rpc-client 06:34:44 voiced on IRC does not mean anything really 06:34:54 we used to voiced everyone due to spam issues 06:35:09 It adds clout 06:35:36 But I guess it isn't permanent anyways... 06:37:23 nice your code got added to monero-ecosystem 06:38:24 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). 06:38:51 So there are some commands that I haven't added yet 07:05:12 selsta: same error even with 7219 + 7222 07:05:35 could you post the exact error? 07:05:58 7219 removes the whole check so it is unlikely the same error 07:07:01 also did you rebase release-v0.17 to the latest version? 07:08:03 also did you restart CLI + daemon? 07:08:07 let me do some verification 07:08:50 I did a full wallet scan from height zero with release-v0.17 + 7219 + 7222 and did not have issues 07:09:08 but would be good to know if there are still issues 07:09:23 like you said. 7219 should have removed the error but i'm still seeing it. Maybe the make clean didnt wipe it all heh 08:21:01 selsta: yeah there was some inconsitency, make clean, make again and it works. 08:21:08 sorry for bugging you ;) 09:23:20 @sels 09:24:09 selsta: RE: ccache. Could you give me a branch name or something? I agree with hyc, that it could be linkage problem. 09:24:29 but I'd like to experiment on this. 09:59:42 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[]) ? 10:00:06 sorry, main(int argc, char * argv[]) 10:02:39 the compiler doesn't care about that 10:03:58 I'd ask the compiler what it thinks :) 10:04:41 it's always legal in C for a function to use fewer arguments than were passed to it, and ignore the rest. 10:05:32 and the linker won't care either, it just needs to know the function name and address. 10:07:17 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. 10:09:38 which is why we need to see the stderr output, yes 10:10:19 hyc this is C++ we're talking about here, but https://en.cppreference.com/w/cpp/language/main_function 10:10:28 so int main() {} is also perfectly ok 10:10:58 right 10:11:59 also read the note about implementation-defined forms... lots of systems passed char *env[] as 3rd argument 10:12:51 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 10:14:20 Well if main() is conformant and it the program returns an integer, then I don't know. 10:15:15 most likely some other env var is wrong in the invocation that cmake spits out 10:15:34 but agai, we can't know without seeing the actual invocation and its output 10:15:44 which cmake always makes so hard to obtain... 10:20:55 ccache is also not something you'd use to produce a release version of a rocket guidance computer. 10:21:10 or even a car. 10:27:04 But in that case, I'd try: 10:27:05 execute_process(COMMAND "${ICECC_CXX_COMPILER}" "${TEMP_CPP_FILE} 2>&1 /tmp/ccache-log" RESULT_VARIABLE RET) 10:27:15 and 10:27:21 cat /tmp/ccache-log 10:27:40 ICECC_CXX_COMPILER -> CCACHE(...) 12:03:17 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 12:03:18 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? 12:38:46 my monerod status says 2262781/2262781 (100.0%) but wallet syas Refreshed 2248083/2262781(out of sync)? 12:42:42 aichi-japan: self compiled monero? 12:43:19 yes , master 2bccbee 12:44:35 ok, you need 7218 + 7221 12:44:48 we will merge them today 12:45:21 fine 12:46:19 selsta what's the back story about 7218? 12:51:08 array limit broke wallet sync and wallet changes would have been required 12:51:48 though I wonder if 7221 is enough for wallet sync, can try it I guess 12:59:19 mj-xmr: will try but afaik it failed due to complaining about missing -lc++ 13:00:05 How did you figure it out? 13:01:03 hyc: Error: ld: library not found for -lc++ 13:01:05 I see 13:02:01 Now I understand the whole conversation :) I didn't have my coffee back then yet :) 13:03:15 So this would mean, that my CMake -> CCache invocation is missing a standard library path via -L 13:05:43 Maybe you can use CMAKE_CXX_FLAGS variable around the invocation, or like hyc said, add the -c option. 13:06:34 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. 13:07:44 execute_process(COMMAND "${CCACHE_FOUND}" "${CMAKE_CXX_COMPILER}" "${CMAKE_CXX_FLAGS}" "${TEMP_CPP_FILE}" RESULT_VARIABLE RET) 13:07:54 or 13:08:03 execute_process(COMMAND "${CCACHE_FOUND}" "${CMAKE_CXX_COMPILER}" "-c" "${TEMP_CPP_FILE}" RESULT_VARIABLE RET) 13:08:24 Please let me know if it worked. I need a break now. 16:38:55 can a second person take a look at 7221? it works fine but a code review would be good 16:38:58 sech1 maybe :D 16:39:33 maybe 16:39:37 moneromooo: could you rereview / reapprove 7207 after I added vtnerds suggestions? 16:39:44 afterwards we have everything for the tag 16:40:44 Will this be v0.17.2.0 because it contains so many fixes? 16:41:18 I'd prefer it, but we need to get ahold of someone at Ledger to update the Monero App 16:41:19 we can’t call it v0.17.2.0 without breaking ledger support... annoying but that's how it is 16:41:50 Ahh 16:41:54 That’s.. obnoxious 16:43:57 I doubt that the attacks will be over after this release 16:44:04 OK, maybe in a couple hours. I'll need to go read asio docs for this. 16:44:12 soo we still have time for 0.17.2.0 16:44:13 ok thanks 16:44:57 I doubt that the attacks will be over after this release <-- agree 16:46:00 mj-xmr: execute_process(COMMAND "${CCACHE_FOUND}" "${CMAKE_CXX_COMPILER}" "-c" "${TEMP_CPP_FILE}" RESULT_VARIABLE RET) works 16:46:23 and CMAKE_CXX_FLAGS not? 16:46:53 Yeah I’m sure we’ll have more to deal with 🙄 16:47:42 reviewed, 7221 looks pretty straight-forward 16:47:46 mj-xmr: no 16:47:53 OK, thanks for confirming 16:51:19 selsta: perhaps with this change the FreeBSD will work as well. 16:53:16 mj-xmr: are you going to PR it? 16:53:24 .merges 16:53:24 -xmr-pr- 7207 7208 7218 7219 16:53:29 .merge+ 7221 7222 16:53:29 Added 16:53:58 I thought it's already PRd. If not, then sure. I have 30 minutes left until I leave. 16:55:04 It is not PRed yet 17:01:36 I will want to push one more change after the successful build, to see how FreeBSD reacted. 17:01:54 But thanks for the quickest review, I've ever had :) 17:02:04 *empty change I meant 17:42:40 selsta: please see my comment at 7226 17:43:10 We "fixed it" by shutting one eye :) No J/K. This is not an actual fix. 17:43:32 I'll have a closer look tomorrow. At least we know what the cause is. 17:48:22 mj-xmr: ok, it used to work fine on mac, it stopped working with a recent compiler or cmake update 17:52:16 No surprise for me. 18:02:30 selsta: approved 18:03:02 thanks, please also the branch equivalent 7208 18:03:25 luigi1111w: do you have time for merges? 18:22:21 also ping Snipa :) 18:22:28 afaik we have everything for a tag now once the current merges are done 18:24:30 .merges 18:24:31 -xmr-pr- 7207 7208 7218 7219 7221 7222 18:24:39 Kk, will scan through shortly. 18:24:44 Just on morning standup right now. 18:26:19 nice 18:48:11 Merged 18:49:25 ty :) 18:49:42 I guess let's wait a bit before tag 20:23:56 I just built release-v0.17 after those merges and am getting stack traces: https://paste.debian.net/1178785/ 20:25:33 Seems to be working still but figured I’d share in case its helpful 20:25:41 Happy to debug whatever would be helpful. 20:26:57 Seems boost related, maybe? I’m compiling with 1.71 IIRC, double checking now. 20:27:32 ...randomx...LargePageAllocator...allocate... 20:27:55 Reboot and try again. Or don't :) 20:28:41 It's probably one of the most common traces now. 20:29:25 Ah, good to know, thanks 20:29:27 I’ll try that 20:30:16 Probably because I just had xmrig paused and not closed when starting monerod, I suppose? 20:31:29 Yeah no trace after restart 20:31:34 Sorry for the bad report :) 20:31:38 If xmrig is paused it still has memory allocated so monerod didn't have enough RAM to create RandomX VM 20:38:11 Yeah thats what I figured 22:13:13 luigi1111w: are you available later for tagging v0.17.1.8? 22:14:23 Odd, that stack trace started occurring again as soon as I started up XMRig. 22:16:35 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. 22:16:47 You probably need to allocate more huge pages 22:16:53 Thus running out of huge pages. 22:23:04 I've checked the code and this exception should be caught inside RandomX lib and then the VM should be created without huge pages 22:23:10 so monerod shouldn't crash 22:24:18 It's more like a warning than an error 22:24:23 I wonder what changed. All of my Xmrig and monerod config are the exact same. No RAM amount changes, still 32GB 22:24:51 I can try bumping huge pages and see what happens. 22:25:02 you've run out of available huge pages. You could try to increase vm.nr_hugepages 22:27:25 I forgot I never actually set it in sysctl.conf, and relied on XMRig to set. 22:27:37 I’ll try increasing from the default that I think XMRig is setting. 22:28:18 Any idea whats appropriate for 32GB of RAM? 22:28:24 1280 is the recommended by XMRig 22:28:47 xmrig maybe does set them, but monerod doesn't ;) 22:29:42 Weird I’ve never seen this issue before now, but manually setting hugepages to 1512 seems to be working so far 22:29:50 So if you plan running several randomx apps, set them manually to the appropriate amount. 22:30:07 Thanks :) 22:38:41 hhi 22:46:02 selsta yes 23:09:45 luigi1111w: ok please tag whenever you have time 23:09:57 v0.17.1.8 23:10:02 and once you tagged please ping me 23:28:23 can someone point me at the gitify docs please? 23:31:16 never heard of gitify 23:35:30 contrib/gitian if you meant gitian. 23:59:20 yes thank you!