-
Adreik
I had a couple of unexpected computer shutdowns and now when I try to open my wallet it is stating that it can't because the .keys program is opened by another wallet program (it is not).
-
Adreik
Fortunately I have a backup that is not too old, but anyone know how to fix this?
-
moneromooo
Does your user have rw permissions on that keys file ?
-
Adreik
Yes
-
moneromooo
Run with strace, eg: strace -o foo.log ./monero-wallet-cli your-usual-args-here
-
Adreik
I have force-moved the files to another folder, renamed and moved back. Which seems to work
-
moneromooo
Then check near the end of foo.log which syscall fails and with what errno.
-
Adreik
It is windows by the way
-
moneromooo
My condolences.
-
moneromooo
I'm just realizing I do not know what a condolence actually is...
-
» moneromooo goes find out
-
Adreik
So i've noticed that if you get monerod to print a miner tx, it says it is pruned even if the blockchain is not pruned (because obviously coinbases do not have RingCT, signature etc data); is this potentially misleading in that someone might think that their blockchain is pruned when it isn'/t?
-
moneromooo
Probably.
-
ndorf
yeah someone was confused by exactly that a while ago
-
derpy_bridge
<[discord] bemore#3657>: I wish i had some kind of scavenger hunt prepared for expensivebead
-
Adreik
Is there any function in monerod to, given a global index of a pubkey in the blockchain (from e.g. the first offset mentioned in a transaction or the second added to the first, and so on) find the transaction hash associated with it?
-
Adreik
e.g. for the transaction 154e84777811d9c07c732e1a9b47fe7d14dcc9c2aedc3dc7a6730816597d2e12 (picked arbitrarily because it is the first in a recent block, block 2139697) there are the key offsets:
-
Adreik
[ 5901669, 12083962, 5250, 89498, 268573, 298673, 194549, 21000, 10999, 22530, 2027]
-
Adreik
How does one go from that to the transactions originating those pubkeys?
-
Adreik
Presumably monerod itself does so somewhere in the background otherwise it couldn't verify the signature and similar data
-
Adreik
-
Adreik
Is there an equivalent command for that with non-rpc monerod?
-
expensivebead
Anyone take a prepaid card for btc?
-
expensivebead
Whose here
-
expensivebead
Skrimant
-
rah
my monerod keeps crashing :-(
-
rah
I was on 0.15 and it crashed so I upgraded to 0.16 and it's still crashing
-
rah
any clue?
-
moneromooo
Did your computer crash or similar ?
-
rah
no
-
rah
well, I may have suspended it[6~
-
rah
*it
-
moneromooo
Do you have a stack trace ?
-
rah
not at present
-
rah
I take it this isn't a known issue then?
-
moneromooo
I can't know without the info first :)
-
rah
are there known issues of monerod crashing randomly?
-
rah
are you saying you can't determine which of the many issues of monerod crashing randomly I'm experiencing?
-
moneromooo
Yes. LMDB likes to crash a lot when the underlying db is corrupted.
-
moneromooo
That's the only known crash I can think of.
-
gingeropolous
what operating system rah ?
-
rah
gingeropolous: Debian GNU/Linux
-
xmrpow
rah: Which version do you have? I had issues with 16.0.0
-
gingeropolous
GUI or CLI?
-
rah
xmrpow: 0.16.0.1-release
-
rah
gingeropolous: CLI
-
gingeropolous
yeah, if u wanna debug we can go that route, or if you just want it working, probably delete your data.mdb and resync.
-
gingeropolous
or you can copy the data.mdb to a different name and then upload it to a server that i have yet to host so that someone can investigate the database corruption
-
gingeropolous
if its that
-
gingeropolous
u on a spinny or a ssd?
-
rah
it seems to be syncing the blockchain
-
rah
it crashes, downloads a bit, crashes, downloads a bit, etc.
-
rah
(I've set it up to automatically restart)
-
rah
UI/SitRepPanel.cpp
-
rah
oops
-
derpy_bridge
<[discord] Yonatan#6948>: I have a dumb question
-
derpy_bridge
<[discord] Yonatan#6948>: I see here that there's a monero node that's near me:
monerohash.com/nodes-distribution.html
-
derpy_bridge
<[discord] Yonatan#6948>: But I can't view it for some reason
-
derpy_bridge
<[discord] Yonatan#6948>: Does anyone know why?
-
moneromooo
If it crashes all the time, should be simple to get a stack trace: gdb monerod; run $your-usual-options; bt
-
jbg
if you move data.mdb to a different name and start it up, so that it starts syncing from scratch, does it still crash?
-
rah
I don't want to run it with gdb just yet, I want to try and actually use it :-)
-
jbg
how are you going to use it if it keeps crashing?
-
jbg
in case it's not obvious, a single crash is not normal, let alone repeated crashes
-
moneromooo
gdb should not make it crash more fwiw.
-
rah
2020-07-11 15:02:04.430 I Monero 'Nitrogen Nebula' (v0.16.0.1-release)
-
rah
Forking to background...
-
rah
2020-07-11 15:08:02.261 I Monero 'Nitrogen Nebula' (v0.16.0.1-release)
-
rah
Forking to background...
-
rah
2020-07-11 15:15:01.222 I Monero 'Nitrogen Nebula' (v0.16.0.1-release)
-
rah
jbg: good question, I guess I'll find out when I try
-
rah
moneromooo: the critical word there is "should" :-)
-
rah
gdb will slow it down though regardless
-
jbg
you might want to remove --detach from the options if you run it under gdb so that it doesn't fork
-
jbg
sure, but crashing slows it down too
-
jbg
and there is probably some underlying thing wrong like a corrupted db, so trying to use it might not be very smart
-
rah
-
rah
looks like it's segfaulting in epee::net_utils::network_address::serialize_map
-
moneromooo
I don't see anything obviously wrong in the code. If I give you a log patch, can you build it and paste the output ?
-
rah
I suppose
-
rah
I suspect it's a problem with the IPv6 stack
-
rah
everything seems to have problems with v6 addresses on the machine
-
rah
I could be wrong though
-
rah
something to bear in mind at least
-
moneromooo
Building with asan would be even better if you can :)
-
moneromooo
There's a fuzz target for this. It'll build with asan enabled.
-
moneromooo
ie, make fuzz
-
rah
moneromooo: are you going to give me a patch?
-
moneromooo
Yes.
-
moneromooo
I'm building it first.
-
rah
ok
-
moneromooo
-
moneromooo
I'm only interested in the dozen lines or so before it crashes.
-
rah
moneromooo: ok, I'm off for a few hours but I'll sort it out when I get back
-
moneromooo
Sounds good, thanks.
-
rah
-
rah
just a quick browse through the (lots and lots of) ouput previous to that, I can't see any "IPv6"
-
rah
it seems like that was the first
-
rah
nope, tell a lie, there was at least one was at least one before that
-
rah
s/was at least one was at least one/was at least one/
-
moneromooo
Looks like the crash is in boost. The internal representation is a 16 byte buffer so I'm not sure why it'd crash, even if uninitialized.
-
moneromooo
What boost version, and are you sure you did not use mismatched boost versions ?
-
doktoroesperanto
:)
-
moneromooo
saluton
-
doktoroesperanto
saluton mia amiko moneromooo
-
doktoroesperanto
that's all the esperanto I know, been meaning to learn more.
-
moneromooo
I don't actually speak esperanto either, but I could understand what you said. It works :)