Kaizen_Kintsugi_ has quit [Ping timeout: 268 seconds]
<bitcoin-git>
[bitcoin] MarcoFalke opened pull request #25984: rpc, refactor: Check nPruneTarget instead of ArgsManager for automatic pruning (master...2209-rpc-prune-🚚) https://github.com/bitcoin/bitcoin/pull/25984
szkl has joined #bitcoin-core-dev
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
Kaizen_Kintsugi_ has quit [Ping timeout: 244 seconds]
bitdex_ has quit [Quit: = ""]
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
Kaizen_Kintsugi_ has quit [Ping timeout: 252 seconds]
Guyver2 has joined #bitcoin-core-dev
<willcl_ark>
Are there any good ways to debug a corrupt txindex index? moving the dir and running with --reindex fixed the issue (which was causing SIGBUS exit with no log entries), but I am curious as to what went wrong...
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
Kaizen_Kintsugi_ has quit [Ping timeout: 244 seconds]
Guest86 has joined #bitcoin-core-dev
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
Kaizen_Kintsugi_ has quit [Ping timeout: 244 seconds]
Guest86 has quit [Quit: Client closed]
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
Kaizen_Kintsugi_ has quit [Ping timeout: 252 seconds]
<vasild>
willcl_ark: try to run it in gdb (or lldb) and get a backtrace
<vasild>
that should boil down to something like "gdb ./src/bitcoind", inside gdb press "r" to start it, as soon as it crashes type "bt" to get the backtrace
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
<willcl_ark>
vasild: I did try this here https://pastebin.com/LL4fQrk3 but not _really_ sure how to interpret the error on L198 (I added breakpoints at each thread, but can be ignored)
<willcl_ark>
ah, I did not get backtrace then
<willcl_ark>
I will see if I can reproduce. thanks for the `bt` tip
Kaizen_Kintsugi_ has quit [Ping timeout: 244 seconds]
<vasild>
when "Thread 2.37 "bitcoind" received signal SIGBUS, Bus error." happens, instead of "c" type "bt"
<vasild>
so, leveldb::DecodeFixed32() crashes for you in leveldb/util/coding.h:112
<vasild>
in src/leveldb/table/format.cc:88 DecodeFixed32() is called with an argument like data + n + 1 which seems to be some bogus pointer, but earlier it has been checked that contents.size() == n + kBlockTrailerSize
<vasild>
so, data + n + 1 will not overflow the size, hmm
<willcl_ark>
strange
Kaizen_Kintsugi_ has quit [Ping timeout: 268 seconds]
<vasild>
p *(uint32_t*)(data + 4116)
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
<willcl_ark>
evidently a file is corrupt on disk, just seems a shame that we can't handle a broken txindex file without a crash
<vasild>
how do you know it is corrupt on disk?
Kaizen_Kintsugi_ has quit [Ping timeout: 252 seconds]
<willcl_ark>
oh, yes there is one more piece I didnt share (sorry). If I try to copy the dir I get an IO error: https://pastebin.com/y2HT7aHh
<willcl_ark>
`mv` works ok though
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
<vasild>
ooo :(
<vasild>
poor disk :/
<bitcoin-git>
[bitcoin] fanquake opened pull request #25985: Revert "build: Use Homebrew's sqlite package if it is available" (master...revert_slow_macos_sqlite) https://github.com/bitcoin/bitcoin/pull/25985
Kaizen_Kintsugi_ has quit [Ping timeout: 268 seconds]
jonatack has quit [Ping timeout: 268 seconds]
<lightlike>
if just the index is corrupt, it would have been sufficient to just delete/move the folder. With the next start, it will rebuild itself, no -reindex necessary
<sipa>
depends, is it the chainstate or the block index?
<sipa>
the block index doesn't get automatically rebuilt, you need -reindex
<lightlike>
txindex from what I read above
<sipa>
the chainstate is automatically rebuilt if the block index is ahead of it
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
<sipa>
ah, txindex is also automaticaly rebuilt iirc
Kaizen_K_ has joined #bitcoin-core-dev
<willcl_ark>
Yeah it was txindex. As there was no discernable error message I first tried chainstate/ then next moved to the nuclear option of blocks/ chainstate/ and indexes/
Kaizen_Kintsugi_ has quit [Ping timeout: 244 seconds]
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
kexkey has joined #bitcoin-core-dev
yanmaani2 has quit [Remote host closed the connection]
andrewtoth_ has quit [Remote host closed the connection]
kexkey_ has joined #bitcoin-core-dev
yanmaani2 has joined #bitcoin-core-dev
Kaizen_K_ has quit [Ping timeout: 244 seconds]
andrewtoth_ has joined #bitcoin-core-dev
Kaizen_Kintsugi_ has quit [Ping timeout: 244 seconds]
kexkey has quit [Ping timeout: 252 seconds]
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
ari0x has joined #bitcoin-core-dev
ari0x has quit [Write error: Broken pipe]
halosghost has joined #bitcoin-core-dev
Kaizen_Kintsugi_ has quit [Remote host closed the connection]
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
Kaizen_Kintsugi_ has quit [Remote host closed the connection]
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
yanmaani2 has quit [Remote host closed the connection]
yanmaani2 has joined #bitcoin-core-dev
Kaizen_Kintsugi_ is now known as Kaizen
Kaizen is now known as Kaizen_Kintsugi_
jarthur has quit [Ping timeout: 252 seconds]
dougefish has joined #bitcoin-core-dev
jarthur has joined #bitcoin-core-dev
SpellChecker has quit [Ping timeout: 258 seconds]
SpellChecker has joined #bitcoin-core-dev
<vasild>
willcl_ark: given the IO errors, probably nothing on that disk is safe, even if it appears to read ok now, corruptions tend to spread
<willcl_ark>
erg. It's a new nvme drive too :(
<vasild>
willcl_ark: :( maybe try to dd if=/dev/thatdisk of=/dev/null bs=1M (just to read the entrie disk)
Kaizen_Kintsugi_ has quit [Remote host closed the connection]
aleggg has joined #bitcoin-core-dev
achow101 has quit [*.net *.split]
Ara has quit [*.net *.split]
kalle has quit [*.net *.split]
theStack has quit [*.net *.split]
hugohn_ has quit [*.net *.split]
arik has quit [*.net *.split]
achow101 has joined #bitcoin-core-dev
arik has joined #bitcoin-core-dev
hugohn_ has joined #bitcoin-core-dev
theStack has joined #bitcoin-core-dev
kalle has joined #bitcoin-core-dev
Ara has joined #bitcoin-core-dev
sudoforge has joined #bitcoin-core-dev
<bitcoin-git>
[bitcoin] fanquake opened pull request #25987: build: compile depends sqlite with more recommended options (master...sqlite3_reccomended_compile_opts) https://github.com/bitcoin/bitcoin/pull/25987
real_or_random_ has quit []
real_or_random_ has joined #bitcoin-core-dev
real_or_random_ has quit [Client Quit]
real_or_random has joined #bitcoin-core-dev
Guest44 has joined #bitcoin-core-dev
Guest44 has quit [Client Quit]
sudoforge has quit [Ping timeout: 252 seconds]
jonatack has joined #bitcoin-core-dev
Guest88 has joined #bitcoin-core-dev
Guest88 has quit [Client Quit]
sipsorcery has joined #bitcoin-core-dev
sudoforge has joined #bitcoin-core-dev
<bitcoin-git>
[bitcoin] stickies-v opened pull request #25988: test: revert #25865 for wallet_groups.py (quick fix) (master...test-fix-walletgroup-test) https://github.com/bitcoin/bitcoin/pull/25988
sipsorcery has quit [Ping timeout: 244 seconds]
sipsorcery has joined #bitcoin-core-dev
halosghost has quit [Quit: WeeChat 3.6]
dougefish has quit [Remote host closed the connection]
dougefish has joined #bitcoin-core-dev
Zamolxe has joined #bitcoin-core-dev
andrewtoth_ has quit [Remote host closed the connection]
andrewtoth_ has joined #bitcoin-core-dev
Bilnon has joined #bitcoin-core-dev
mudsip has joined #bitcoin-core-dev
mudsip has quit []
andrewtoth_ has quit [Remote host closed the connection]
andrewtoth_ has joined #bitcoin-core-dev
Zamolxe has quit [Remote host closed the connection]
_andrewtoth_ has joined #bitcoin-core-dev
andrewtoth_ has quit [Remote host closed the connection]
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
Kaizen_Kintsugi_ has quit [Ping timeout: 268 seconds]
_andrewtoth_ has quit [Remote host closed the connection]
andrewtoth has joined #bitcoin-core-dev
andrewtoth has quit [Remote host closed the connection]
andrewtoth has joined #bitcoin-core-dev
mudsip has joined #bitcoin-core-dev
Guyver2 has left #bitcoin-core-dev [Closing Window]
mudsip has quit []
<bitcoin-git>
[bitcoin] mzumsande opened pull request #25989: init: abort if i2p/cjdns are chosen via -onlynet but unreachable (master...202208_onlynet_init) https://github.com/bitcoin/bitcoin/pull/25989
bitdex has joined #bitcoin-core-dev
Talkless has joined #bitcoin-core-dev
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
adithyavikramraj has joined #bitcoin-core-dev
adithyavikramraj has quit []
Kaizen_Kintsugi_ has quit [Remote host closed the connection]
Bilnon has quit [Quit: Leaving]
Kaizen_Kintsugi_ has joined #bitcoin-core-dev
brunoerg has quit []
Kaizen_K_ has joined #bitcoin-core-dev
sipsorcery has quit [Ping timeout: 244 seconds]
Talkless has quit [Quit: Konversation terminated!]
Kaizen_Kintsugi_ has quit [Ping timeout: 268 seconds]
sipsorcery has joined #bitcoin-core-dev
Kaizen_K_ has quit [Remote host closed the connection]