Bitcoin Forum
November 18, 2024, 11:48:31 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 [5] 6 »  All
  Print  
Author Topic: [FIXED] MacOS X LevelDB Corruption Bounty (10.00 BTC + 200.2 LTC)  (Read 83881 times)
doof
Hero Member
*****
Offline Offline

Activity: 765
Merit: 503


View Profile WWW
December 04, 2013, 11:46:06 PM
 #81

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.
wtogami (OP)
Sr. Member
****
Offline Offline

Activity: 263
Merit: 250



View Profile
December 05, 2013, 12:59:52 AM
 #82

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.

If you appreciate my work please consider making a small donation.
BTC:  1LkYiL3RaouKXTUhGcE84XLece31JjnLc3      LTC:  LYtrtYZsVSn5ymhPepcJMo4HnBeeXXVKW9
GPG: AEC1884398647C47413C1C3FB1179EB7347DC10D
gamefixer
Sr. Member
****
Offline Offline

Activity: 440
Merit: 250


View Profile
December 05, 2013, 01:35:10 AM
 #83

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.
toffoo
Sr. Member
****
Offline Offline

Activity: 408
Merit: 261



View Profile
December 05, 2013, 03:39:53 AM
Last edit: December 05, 2013, 06:58:52 AM by toffoo
 #84

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.

doof
Hero Member
*****
Offline Offline

Activity: 765
Merit: 503


View Profile WWW
December 05, 2013, 04:55:03 AM
 #85

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.
doof
Hero Member
*****
Offline Offline

Activity: 765
Merit: 503


View Profile WWW
December 05, 2013, 04:57:12 AM
 #86

Now I have applied both patches, Ill kill the power on litecoin-qt and see if it happens again.
wtogami (OP)
Sr. Member
****
Offline Offline

Activity: 263
Merit: 250



View Profile
December 05, 2013, 06:09:45 AM
 #87

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".

If you appreciate my work please consider making a small donation.
BTC:  1LkYiL3RaouKXTUhGcE84XLece31JjnLc3      LTC:  LYtrtYZsVSn5ymhPepcJMo4HnBeeXXVKW9
GPG: AEC1884398647C47413C1C3FB1179EB7347DC10D
doof
Hero Member
*****
Offline Offline

Activity: 765
Merit: 503


View Profile WWW
December 05, 2013, 09:12:04 AM
 #88

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
gamefixer
Sr. Member
****
Offline Offline

Activity: 440
Merit: 250


View Profile
December 05, 2013, 11:55:52 AM
 #89

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
gamefixer
Sr. Member
****
Offline Offline

Activity: 440
Merit: 250


View Profile
December 05, 2013, 09:01:20 PM
 #90

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.
wtogami (OP)
Sr. Member
****
Offline Offline

Activity: 263
Merit: 250



View Profile
December 06, 2013, 01:52:38 AM
 #91

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.

If you appreciate my work please consider making a small donation.
BTC:  1LkYiL3RaouKXTUhGcE84XLece31JjnLc3      LTC:  LYtrtYZsVSn5ymhPepcJMo4HnBeeXXVKW9
GPG: AEC1884398647C47413C1C3FB1179EB7347DC10D
gamefixer
Sr. Member
****
Offline Offline

Activity: 440
Merit: 250


View Profile
December 06, 2013, 01:58:19 AM
 #92


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.
gamefixer
Sr. Member
****
Offline Offline

Activity: 440
Merit: 250


View Profile
December 06, 2013, 02:26:17 AM
 #93


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.
kwaaak
Full Member
***
Offline Offline

Activity: 139
Merit: 100


View Profile
December 06, 2013, 04:03:18 AM
 #94

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.
wtogami (OP)
Sr. Member
****
Offline Offline

Activity: 263
Merit: 250



View Profile
December 06, 2013, 04:29:37 AM
 #95

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.

If you appreciate my work please consider making a small donation.
BTC:  1LkYiL3RaouKXTUhGcE84XLece31JjnLc3      LTC:  LYtrtYZsVSn5ymhPepcJMo4HnBeeXXVKW9
GPG: AEC1884398647C47413C1C3FB1179EB7347DC10D
wtogami (OP)
Sr. Member
****
Offline Offline

Activity: 263
Merit: 250



View Profile
December 11, 2013, 08:14:28 PM
 #96

https://bitcointalk.org/index.php?topic=337294.msg3718821#msg3718821
Build list updated.  Official 0.8.6 releases of Bitcoin and Litecoin and OMG with additional features all contain the same patches.

If you appreciate my work please consider making a small donation.
BTC:  1LkYiL3RaouKXTUhGcE84XLece31JjnLc3      LTC:  LYtrtYZsVSn5ymhPepcJMo4HnBeeXXVKW9
GPG: AEC1884398647C47413C1C3FB1179EB7347DC10D
wtogami (OP)
Sr. Member
****
Offline Offline

Activity: 263
Merit: 250



View Profile
December 12, 2013, 09:59:04 AM
 #97

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.

If you appreciate my work please consider making a small donation.
BTC:  1LkYiL3RaouKXTUhGcE84XLece31JjnLc3      LTC:  LYtrtYZsVSn5ymhPepcJMo4HnBeeXXVKW9
GPG: AEC1884398647C47413C1C3FB1179EB7347DC10D
nazgul104
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
December 27, 2013, 01:45:21 AM
 #98

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...
dewdeded
Legendary
*
Offline Offline

Activity: 1232
Merit: 1011


Monero Evangelist


View Profile
December 28, 2013, 08:28:53 AM
 #99

Fixed.
Bismarck
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
January 15, 2014, 11:38:14 PM
 #100

Well, I have applied the 8.6.2-beta patch and it still immediately crashes upon finding peers. 

Help!?
Pages: « 1 2 3 4 [5] 6 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!