Pages:
Author

Topic: [FIXED] MacOS X LevelDB Corruption Bounty (10.00 BTC + 200.2 LTC) (Read 83881 times)

administrator
Activity: 5222
Merit: 13032
So did this bounty ever get paid?  Who won it and when?

The bounty was split equally between Cory Fields, Patrick Strateman, and Robert Escriva.
sr. member
Activity: 408
Merit: 261

These were the original bounty conditions.  After consulting with core Bitcoin devs, it turns out "into Bitcoin git master" was a bad idea.  What was shipped in 0.8.6 was correct and needed for Bitcoin users as quick as possible.  There is a desire to be far more deliberate in testing the code that goes into git master for what will eventually become Bitcoin 0.9.  For this reason we are exercising the "These terms may be changed at any time for any or no reason." clause.

The final term will be changed, s/merged into Bitcoin git master/merged into Bitcoin/.

The apportionment of the bounty to split to different contributors involved in fixing the issue will be the decision of Bitcoin devs including myself, Gavin, laanwj and others.  Depending on the country where the various contributors are located tax forms may be required to make payments.  If they refuse to do required tax forms then they may opt for their portion to be instead directed at a Bitcoin-accepting charitable organization like the FSF or EFF.

So did this bounty ever get paid?  Who won it and when?
newbie
Activity: 14
Merit: 0
Well, I have applied the 8.6.2-beta patch and it still immediately crashes upon finding peers. 

Help!?
legendary
Activity: 1232
Merit: 1011
Monero Evangelist
newbie
Activity: 8
Merit: 0
Is the mac LevelDB corruption issues fixed in 0.8.6?
I was trying to look for the version history but couldn't find much information in there. Could you pls confirm or point me to the right place where I can get more info on this version.  By the way, I'm running OMG10 right now (thanks for that) and its been good so far without any crashes...
sr. member
Activity: 263
Merit: 250
Quote
Conditions
The bounty may be awarded under the following conditions.

Document how anyone can consistently reproduce the data corruption.
Explain why it happens.
Write a code fix that is acceptable to the Bitcoin core developers and merged into Bitcoin git master.

The Bitcoin developers have ultimate deciding power of how to apportion the bounty award(s) based upon the merit of the contributions  This may encourage collaboration that may lead to a fix rather than hoarding of information.  Non-developers may be able to figure out #1.

These terms may be changed at any time for any or no reason.

These were the original bounty conditions.  After consulting with core Bitcoin devs, it turns out "into Bitcoin git master" was a bad idea.  What was shipped in 0.8.6 was correct and needed for Bitcoin users as quick as possible.  There is a desire to be far more deliberate in testing the code that goes into git master for what will eventually become Bitcoin 0.9.  For this reason we are exercising the "These terms may be changed at any time for any or no reason." clause.

The final term will be changed, s/merged into Bitcoin git master/merged into Bitcoin/.

The apportionment of the bounty to split to different contributors involved in fixing the issue will be the decision of Bitcoin devs including myself, Gavin, laanwj and others.  Depending on the country where the various contributors are located tax forms may be required to make payments.  If they refuse to do required tax forms then they may opt for their portion to be instead directed at a Bitcoin-accepting charitable organization like the FSF or EFF.
sr. member
Activity: 263
Merit: 250
https://bitcointalksearch.org/topic/m.3718821
Build list updated.  Official 0.8.6 releases of Bitcoin and Litecoin and OMG with additional features all contain the same patches.
sr. member
Activity: 263
Merit: 250
Bitcoin 0.8.5-OMG10 December 5th
http://download1.rpmfusion.org/~warren/bitcoin-0.8.5-OMG10/macosx/
https://github.com/litecoin-project/bitcoinomg/commits/0.8.5-OMG10
This build uses PR #3340 which switches away from mmap for writes on MacOS X.  Previous OMG builds had an intermittent crash during GUI Send on MacOS X only.  We think this separate MacOS-only issue may be fixed, but tests of tx sending would be very helpful.  Please use Testnet.

Sent a tx on mainnet, no crash, broadcasts well.

The old crash was like a 1 out of 50 random event.  Please use testnet and test many sends.
full member
Activity: 139
Merit: 100
Bitcoin 0.8.5-OMG10 December 5th
http://download1.rpmfusion.org/~warren/bitcoin-0.8.5-OMG10/macosx/
https://github.com/litecoin-project/bitcoinomg/commits/0.8.5-OMG10
This build uses PR #3340 which switches away from mmap for writes on MacOS X.  Previous OMG builds had an intermittent crash during GUI Send on MacOS X only.  We think this separate MacOS-only issue may be fixed, but tests of tx sending would be very helpful.  Please use Testnet.

Sent a tx on mainnet, no crash, broadcasts well.
sr. member
Activity: 440
Merit: 250

Can you join us in Freenode channel #bitcoin-dev?  We need details from you to debug this issue.

Please preserve a copy of the chainstate/ directory, compress it into a .tar.bz2 or .tar.xz archive and upload it to somewhere like Dropbox for the devs to analyze.

Hmm... I thought I could figure out how to join you guys on freenode but I'm clearly not that smart...

Still trying, user gamefixer if I make it in there.
sr. member
Activity: 440
Merit: 250

Can you join us in Freenode channel #bitcoin-dev?  We need details from you to debug this issue.

Please preserve a copy of the chainstate/ directory, compress it into a .tar.bz2 or .tar.xz archive and upload it to somewhere like Dropbox for the devs to analyze.

I've got to go and get my kids so I'll do this when I get back.
sr. member
Activity: 263
Merit: 250
None of the new builds can fix a database corrupted from an earlier version.

Try running:

Code:
/Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt -dbcache=1000 -reindex

one time to reindex with the Bitcoin-OMG9 binary and let us know how it works out for you.  I'm running on a similar setup to you and mactest1 did cause corruption for me but the recent OMG7-8-9 builds are running good for me now...so far.

Tried it. Worked to open bitcoin-qt OMG9 one time. After I shut it down and opened it back up again I get the corruption error again.

Can you join us in Freenode channel #bitcoin-dev?  We need details from you to debug this issue.

Please preserve a copy of the chainstate/ directory, compress it into a .tar.bz2 or .tar.xz archive and upload it to somewhere like Dropbox for the devs to analyze.
sr. member
Activity: 440
Merit: 250
None of the new builds can fix a database corrupted from an earlier version.

Try running:

Code:
/Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt -dbcache=1000 -reindex

one time to reindex with the Bitcoin-OMG9 binary and let us know how it works out for you.  I'm running on a similar setup to you and mactest1 did cause corruption for me but the recent OMG7-8-9 builds are running good for me now...so far.

Tried it. Worked to open bitcoin-qt OMG9 one time. After I shut it down and opened it back up again I get the corruption error again.
sr. member
Activity: 440
Merit: 250
I'm joining the conversation as one that has tried both Bitcoin-OMG9 and MacTest1. Both crash right away with a database corruption error.

MacBook Pro 10,1 running OSX 10.8.5 if that matters.

After I re-index the data base BitCoin-Qt will allow me to close and reopen the app over and over again UNTIL I power the computer down. After that I have ot re-index.

None of the new builds can fix a database corrupted from an earlier version.

Try running:

Code:
/Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt -dbcache=1000 -reindex

one time to reindex with the Bitcoin-OMG9 binary and let us know how it works out for you.  I'm running on a similar setup to you and mactest1 did cause corruption for me but the recent OMG7-8-9 builds are running good for me now...so far.

Thanks, I will try that when I get this computer to its power adapter.

Odd thing is that I installed OMG9 on my iMac (which has never had Bitcoin-QT installed on it) and it cried about the database corruption too.  Huh
hero member
Activity: 765
Merit: 503
Now I have applied both patches, Ill kill the power on litecoin-qt and see if it happens again.

I don't know what you mean by "both patches".


I meant i patched litecoin-qt and bitcoin-qt
sr. member
Activity: 263
Merit: 250
Now I have applied both patches, Ill kill the power on litecoin-qt and see if it happens again.

I don't know what you mean by "both patches".
hero member
Activity: 765
Merit: 503
Now I have applied both patches, Ill kill the power on litecoin-qt and see if it happens again.
hero member
Activity: 765
Merit: 503
Had another power cut last night before applying the patch.  I have to get a ups.

Litecoin-qt was not running and it was fine.
Bitcoin-qt was running at the time and it had to re-index.

I've applied both patches, so Ill see how it goes.

Mac?

You do your own builds?

Please test my latest builds.  It is hard to know if your test results are accurate if you use anything else.

Yes, 2011 iMac 27" with HDD (not SSD) running OSX Mavericks.  As said before, if i kill the power on the mac, i can reproduce.

Im not at home atm, but off memory, bitcoin-qt 0.8.5 and latest build of litecoin-qt off litecoin.org

No I dont build my own, download them from litecoin-qt etc.
sr. member
Activity: 408
Merit: 261
I'm joining the conversation as one that has tried both Bitcoin-OMG9 and MacTest1. Both crash right away with a database corruption error.

MacBook Pro 10,1 running OSX 10.8.5 if that matters.

After I re-index the data base BitCoin-Qt will allow me to close and reopen the app over and over again UNTIL I power the computer down. After that I have ot re-index.

None of the new builds can fix a database corrupted from an earlier version.

Try running:

Code:
/Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt -dbcache=1000 -reindex

one time to reindex with the Bitcoin-OMG9 binary and let us know how it works out for you.  I'm running on a similar setup to you and mactest1 did cause corruption for me but the recent OMG7-8-9 builds are running good for me now...so far.
sr. member
Activity: 440
Merit: 250
I'm joining the conversation as one that has tried both Bitcoin-OMG9 and MacTest1. Both crash right away with a database corruption error.

MacBook Pro 10,1 running OSX 10.8.5 if that matters.

After I re-index the data base BitCoin-Qt will allow me to close and reopen the app over and over again UNTIL I power the computer down. After that I have ot re-index.
Pages:
Jump to: