Pages:
Author

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

sr. member
Activity: 263
Merit: 250
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.
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.
sr. member
Activity: 263
Merit: 250
I just fired up my Virtual machine and poped my wallet.dat into a win build. Waiting for this DB sucks.

Why virtual machine?

The latest builds here have zero reports of new database corruption on MacOS X.
newbie
Activity: 4
Merit: 0
I just fired up my Virtual machine and poped my wallet.dat into a win build. Waiting for this DB sucks.
sr. member
Activity: 263
Merit: 250
I'm not sure spaming users with Bitcoin-OMG builds (what does that name mean anyway -_-) is the right thing to do. It's nice you are doing this, but IMHO you try to be too quickly perhaps and I'm also not sure all testers are understanding, what they are testing really...

Dia

Prior to this bounty, the Bitcoin OMG branch has brought useful, highly tested features to a relatively stable 0.8 Bitcoin branch.  This bounty was a bit tumultuous in testing of various Mac patches and the discovery of another Mac-specific GUI crash in code that was completely stable on Linux and Windows.  I agree the process has been confusing but I believe it has been fruitful in exploring multiple solutions to the important Mac corruption issue and unexpectedly finding and fixing other bugs that may be an issue in HEAD.
hero member
Activity: 772
Merit: 500
I'm not sure spaming users with Bitcoin-OMG builds (what does that name mean anyway -_-) is the right thing to do. It's nice you are doing this, but IMHO you try to be too quickly perhaps and I'm also not sure all testers are understanding, what they are testing really...

Dia
sr. member
Activity: 263
Merit: 250
https://bitcointalksearch.org/topic/m.3718821
Test now!  Entirely different from yesterday.
sr. member
Activity: 263
Merit: 250
Having always used Electrum I have never used Bitcoin-QT
I'm running 10.8.5 still. I could check for errors on a clean download of the block.
I did download 0.8.5.1-beta Litecoin-QT 2days ago and it seems to be fine.

Corruption of Bitcoin-Qt or Litecoin-Qt on MacOS X 10.8+ seems to be rare, affecting only particular machines for reasons we do not understand.
newbie
Activity: 36
Merit: 0
Having always used Electrum I have never used Bitcoin-QT
I'm running 10.8.5 still. I could check for errors on a clean download of the block.
I did download 0.8.5.1-beta Litecoin-QT 2days ago and it seems to be fine.
sr. member
Activity: 263
Merit: 250
Tried all of the above betas. Bitcoin-QT will start up and I can use it UNLESS it is connected to the internet. Soon as it finds Peers, Boom I get a force close, and the error. Where do I go from here?  I have a few thousand worth of BTC and I need to move it.

These builds with hypothetical Mac fixes will not fix an already corrupted database.  Please consider using -reindex.  Use 0.8.5-OMG7-no-mmap2 for now.  New builds coming soon.
newbie
Activity: 4
Merit: 0
Updated: December 2nd, 2013
The following binaries contain the patch from Robert Escriva to workaround leveldb issue 197.  Testing is needed by ALL MacOS X users, Your detailed reports of success or failure including exactly what you tested is needed.

Bitcoin 0.8.6-mactest1
http://download1.rpmfusion.org/~warren/bitcoin-0.8.6-mactest1/
https://github.com/bitcoin/bitcoin/commits/0.8.6
Includes only rescriv's patch.  toffoo had corruption with this build.

Bitcoin 0.8.5-OMG7 (two variants)
http://download1.rpmfusion.org/~warren/bitcoin-0.8.5-OMG7/
https://github.com/litecoin-project/bitcoinomg/commits/0.8.5-OMG7-no-mmap
OMG7-no-mmap2 variant includes phantomcircuit's no-mmap patch and cfields mem barrier patch
https://github.com/litecoin-project/bitcoinomg/commits/0.8.5-OMG7
OMG7 - like OMG5 includes rescriv's patch and cfields' mem barrier patch

Litecoin 0.8.5.3-rc4
http://download1.rpmfusion.org/~warren/litecoin-0.8.5.3-rc4/macosx/
https://github.com/litecoin-project/litecoin/commits/exp-0.8.5.3-rc4

https://github.com/bitcoin/bitcoin/issues/2770
Read the latest status here.  There are possibly more corruption bugs. =(

Tried all of the above betas. Bitcoin-QT will start up and I can use it UNLESS it is connected to the internet. Soon as it finds Peers, Boom I get a force close, and the error. Where do I go from here?  I have a few thousand worth of BTC and I need to move it.

http://pastebin.com/3bFSwP5Z <- thats the whole thing.

Code:
Process:         Bitcoin-Qt [2476]
Path:            /Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt
Identifier:      org.bitcoinfoundation.Bitcoin-Qt
Version:         0.8.5 (0.8.5)
Code Type:       X86 (Native)
Parent Process:  launchd [158]
Responsible:     Bitcoin-Qt [2476]
User ID:         501

Date/Time:       2013-12-02 18:02:32.333 -0500
OS Version:      Mac OS X 10.9 (13A603)
Report Version:  11
Anonymous UUID:  D662DB4B-470F-F949-F8D5-CF867DE9A380

Sleep/Wake UUID: 8ADB2AB8-A9E9-4031-8BC2-BB6377E35E83

Crashed Thread:  18

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
Assertion failed: (pindexFirst), function GetNextWorkRequired, file src/main.cpp, line 1151.
 

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib         0x92763f7a mach_msg_trap + 10
1   libsystem_kernel.dylib         0x9276316c mach_msg + 68
2   com.apple.CoreFoundation       0x934caf69 __CFRunLoopServiceMachPort + 169
3   com.apple.CoreFoundation       0x934ca541 __CFRunLoopRun + 1393
4   com.apple.CoreFoundation       0x934c9d5a CFRunLoopRunSpecific + 394
5   com.apple.CoreFoundation       0x934c9bbb CFRunLoopRunInMode + 123
6   com.apple.HIToolbox           0x9a138e2d RunCurrentEventLoopInMode + 259
7   com.apple.HIToolbox           0x9a138bb2 ReceiveNextEventCommon + 526
8   com.apple.HIToolbox           0x9a13898d _BlockUntilNextEventMatchingListInModeWithFilter + 92
9   com.apple.AppKit               0x950d45a9 _DPSNextEvent + 1602
10  com.apple.AppKit               0x950d3ad0 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119
11  com.apple.AppKit               0x950c635c -[NSApplication run] + 727
12  QtGui                         0x00d8d7fa QDesktopWidget::resizeEvent(QResizeEvent*) + 12890
13  QtCore                         0x019f7471 QEventLoop::processEvents(QFlags) + 65
14  QtCore                         0x019f784a QEventLoop::exec(QFlags) + 314
15  QtCore                         0x019f9f26 QCoreApplication::exec() + 182
16  org.bitcoinfoundation.Bitcoin-Qt 0x0002562a main + 7402
17  org.bitcoinfoundation.Bitcoin-Qt 0x00022341 start + 53

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib         0x92769992 kevent64 + 10
1   libdispatch.dylib             0x9128e8bd _dispatch_mgr_invoke + 238
2   libdispatch.dylib             0x9128e556 _dispatch_mgr_thread + 52

Thread 2:
0   libsystem_kernel.dylib         0x92769046 __workq_kernreturn + 10
1   libsystem_pthread.dylib       0x962cadcf _pthread_wqthread + 372
2   libsystem_pthread.dylib       0x962cecce start_wqthread + 30

Thread 3:
0   libsystem_kernel.dylib         0x92769046 __workq_kernreturn + 10
1   libsystem_pthread.dylib       0x962cadcf _pthread_wqthread + 372
2   libsystem_pthread.dylib       0x962cecce start_wqthread + 30

Thread 4:: com.apple.CFSocket.private
0   libsystem_kernel.dylib         0x92768ace __select + 10
1   com.apple.CoreFoundation       0x9351adc6 __CFSocketManager + 1158
2   libsystem_pthread.dylib       0x962c95fb _pthread_body + 144
3   libsystem_pthread.dylib       0x962c9485 _pthread_start + 130
4   libsystem_pthread.dylib       0x962cecf2 thread_start + 34

Thread 5:
0   libsystem_kernel.dylib         0x92763f7a mach_msg_trap + 10
1   libsystem_kernel.dylib         0x9276316c mach_msg + 68
2   com.apple.CoreFoundation       0x934caf69 __CFRunLoopServiceMachPort + 169
3   com.apple.CoreFoundation       0x934ca541 __CFRunLoopRun + 1393
4   com.apple.CoreFoundation       0x934c9d5a CFRunLoopRunSpecific + 394
5   com.apple.CoreFoundation       0x934c9bbb CFRunLoopRunInMode + 123
6   com.apple.AppKit               0x9527df18 _NSEventThread + 283
7   libsystem_pthread.dylib       0x962c95fb _pthread_body + 144
8   libsystem_pthread.dylib       0x962c9485 _pthread_start + 130
9   libsystem_pthread.dylib       0x962cecf2 thread_start + 34

Thread 6:
0   libsystem_kernel.dylib         0x92768ace __select + 10
1   QtCore                         0x01a29a90 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 320
2   QtCore                         0x01a2ddda QEventDispatcherUNIXPrivate::doSelect(QFlags, timeval*) + 394
3   QtCore                         0x01a2e26f QEventDispatcherUNIX::processEvents(QFlags) + 175
4   QtCore                         0x019f7471 QEventLoop::processEvents(QFlags) + 65
5   QtCore                         0x019f784a QEventLoop::exec(QFlags) + 314
6   QtCore                         0x018d5a45 QThread::exec() + 261
7   QtCore                         0x018d90d3 QThread::terminate() + 787
8   libsystem_pthread.dylib       0x962c95fb _pthread_body + 144
9   libsystem_pthread.dylib       0x962c9485 _pthread_start + 130
10  libsystem_pthread.dylib       0x962cecf2 thread_start + 34

Thread 7:
0   libsystem_kernel.dylib         0x927687ca __psynch_cvwait + 10
1   libsystem_pthread.dylib       0x962cbd1d _pthread_cond_wait + 728
2   libsystem_pthread.dylib       0x962cdbd9 pthread_cond_wait$UNIX2003 + 71
3   org.bitcoinfoundation.Bitcoin-Qt 0x000cb9f8 boost::condition_variable::wait(boost::unique_lock&) + 216
4   org.bitcoinfoundation.Bitcoin-Qt 0x00132210 CCheckQueue::Loop(bool) + 432
5   org.bitcoinfoundation.Bitcoin-Qt 0x000e6973 ThreadScriptCheck() + 67
6   libboost_thread-mt.dylib       0x00d202e2 boost::thread::interruption_requested() const + 250
7   libsystem_pthread.dylib       0x962c95fb _pthread_body + 144
8   libsystem_pthread.dylib       0x962c9485 _pthread_start + 130
9   libsystem_pthread.dylib       0x962cecf2 thread_start + 34

Thread 8:
0   libsystem_kernel.dylib         0x927687ca __psynch_cvwait + 10
1   libsystem_pthread.dylib       0x962cbd1d _pthread_cond_wait + 728
2   libsystem_pthread.dylib       0x962cdbd9 pthread_cond_wait$UNIX2003 + 71
3   org.bitcoinfoundation.Bitcoin-Qt 0x000cb9f8 boost::condition_variable::wait(boost::unique_lock&) + 216
4   org.bitcoinfoundation.Bitcoin-Qt 0x00132210 CCheckQueue::Loop(bool) + 432
5   org.bitcoinfoundation.Bitcoin-Qt 0x000e6973 ThreadScriptCheck() + 67
6   libboost_thread-mt.dylib       0x00d202e2 boost::thread::interruption_requested() const + 250
7   libsystem_pthread.dylib       0x962c95fb _pthread_body + 144
8   libsystem_pthread.dylib       0x962c9485 _pthread_start + 130
9   libsystem_pthread.dylib       0x962cecf2 thread_start + 34

Thread 9:
0   libsystem_kernel.dylib         0x927687ca __psynch_cvwait + 10
1   libsystem_pthread.dylib       0x962cbd1d _pthread_cond_wait + 728
2   libsystem_pthread.dylib       0x962cdbd9 pthread_cond_wait$UNIX2003 + 71
3   org.bitcoinfoundation.Bitcoin-Qt 0x000cb9f8 boost::condition_variable::wait(boost::unique_lock&) + 216
4   org.bitcoinfoundation.Bitcoin-Qt 0x00132210 CCheckQueue::Loop(bool) + 432
5   org.bitcoinfoundation.Bitcoin-Qt 0x000e6973 ThreadScriptCheck() + 67
6   libboost_thread-mt.dylib       0x00d202e2 boost::thread::interruption_requested() const + 250
7   libsystem_pthread.dylib       0x962c95fb _pthread_body + 144
8   libsystem_pthread.dylib       0x962c9485 _pthread_start + 130
9   libsystem_pthread.dylib       0x962cecf2 thread_start + 34

Thread 10:
0   libsystem_kernel.dylib         0x927687ca __psynch_cvwait + 10
1   libsystem_pthread.dylib       0x962cbd1d _pthread_cond_wait + 728
2   libsystem_pthread.dylib       0x962cdbd9 pthread_cond_wait$UNIX2003 + 71
3   org.bitcoinfoundation.Bitcoin-Qt 0x000cb9f8 boost::condition_variable::wait(boost::unique_lock&) + 216
4   org.bitcoinfoundation.Bitcoin-Qt 0x00132210 CCheckQueue::Loop(bool) + 432
5   org.bitcoinfoundation.Bitcoin-Qt 0x000e6973 ThreadScriptCheck() + 67
6   libboost_thread-mt.dylib       0x00d202e2 boost::thread::interruption_requested() const + 250
7   libsystem_pthread.dylib       0x962c95fb _pthread_body + 144
8   libsystem_pthread.dylib       0x962c9485 _pthread_start + 130
9   libsystem_pthread.dylib       0x962cecf2 thread_start + 34

Thread 11:
0   libsystem_kernel.dylib         0x927687ca __psynch_cvwait + 10
1   libsystem_pthread.dylib       0x962cbd1d _pthread_cond_wait + 728
2   libsystem_pthread.dylib       0x962cdbd9 pthread_cond_wait$UNIX2003 + 71
3   org.bitcoinfoundation.Bitcoin-Qt 0x000cb9f8 boost::condition_variable::wait(boost::unique_lock&) + 216
4   org.bitcoinfoundation.Bitcoin-Qt 0x00132210 CCheckQueue::Loop(bool) + 432
5   org.bitcoinfoundation.Bitcoin-Qt 0x000e6973 ThreadScriptCheck() + 67
6   libboost_thread-mt.dylib       0x00d202e2 boost::thread::interruption_requested() const + 250
7   libsystem_pthread.dylib       0x962c95fb _pthread_body + 144
8   libsystem_pthread.dylib       0x962c9485 _pthread_start + 130
9   libsystem_pthread.dylib       0x962cecf2 thread_start + 34

Thread 12:
0   libsystem_kernel.dylib         0x927687ca __psynch_cvwait + 10
1   libsystem_pthread.dylib       0x962cbd1d _pthread_cond_wait + 728
2   libsystem_pthread.dylib       0x962cdbd9 pthread_cond_wait$UNIX2003 + 71
3   org.bitcoinfoundation.Bitcoin-Qt 0x000cb9f8 boost::condition_variable::wait(boost::unique_lock&) + 216
4   org.bitcoinfoundation.Bitcoin-Qt 0x00132210 CCheckQueue::Loop(bool) + 432
5   org.bitcoinfoundation.Bitcoin-Qt 0x000e6973 ThreadScriptCheck() + 67
6   libboost_thread-mt.dylib       0x00d202e2 boost::thread::interruption_requested() const + 250
7   libsystem_pthread.dylib       0x962c95fb _pthread_body + 144
8   libsystem_pthread.dylib       0x962c9485 _pthread_start + 130
9   libsystem_pthread.dylib       0x962cecf2 thread_start + 34

Thread 13:
0   libsystem_kernel.dylib         0x927687ca __psynch_cvwait + 10
1   libsystem_pthread.dylib       0x962cbd1d _pthread_cond_wait + 728
2   libsystem_pthread.dylib       0x962cdbd9 pthread_cond_wait$UNIX2003 + 71
3   org.bitcoinfoundation.Bitcoin-Qt 0x000cb9f8 boost::condition_variable::wait(boost::unique_lock&) + 216
4   org.bitcoinfoundation.Bitcoin-Qt 0x00132210 CCheckQueue::Loop(bool) + 432
5   org.bitcoinfoundation.Bitcoin-Qt 0x000e6973 ThreadScriptCheck() + 67
6   libboost_thread-mt.dylib       0x00d202e2 boost::thread::interruption_requested() const + 250
7   libsystem_pthread.dylib       0x962c95fb _pthread_body + 144
8   libsystem_pthread.dylib       0x962c9485 _pthread_start + 130
9   libsystem_pthread.dylib       0x962cecf2 thread_start + 34

Thread 14:
0   libsystem_kernel.dylib         0x927687ca __psynch_cvwait + 10
1   libsystem_pthread.dylib       0x962cbd1d _pthread_cond_wait + 728
2   libsystem_pthread.dylib       0x962cdc25 pthread_cond_timedwait$UNIX2003 + 71
3   libboost_thread-mt.dylib       0x00d25ead boost::condition_variable::do_wait_until(boost::unique_lock&, timespec const&) + 145
4   libboost_thread-mt.dylib       0x00d21828 boost::this_thread::hiden::sleep_for(timespec const&) + 238
5   org.bitcoinfoundation.Bitcoin-Qt 0x00105b60 void boost::this_thread::sleep_for >(boost::chrono::duration > const&) + 208
6   org.bitcoinfoundation.Bitcoin-Qt 0x0015bcb2 ThreadMapPort() + 706
7   org.bitcoinfoundation.Bitcoin-Qt 0x0016be7e void TraceThread >(char const*, boost::function) + 206
8   org.bitcoinfoundation.Bitcoin-Qt 0x00169ce4 boost::detail::thread_data), boost::_bi::list2, boost::_bi::value > > >::run() + 132
9   libboost_thread-mt.dylib       0x00d202e2 boost::thread::interruption_requested() const + 250
10  libsystem_pthread.dylib       0x962c95fb _pthread_body + 144
11  libsystem_pthread.dylib       0x962c9485 _pthread_start + 130
12  libsystem_pthread.dylib       0x962cecf2 thread_start + 34

Thread 15:
0   libsystem_kernel.dylib         0x92768ace __select + 10
1   org.bitcoinfoundation.Bitcoin-Qt 0x0016523c ThreadSocketHandler() + 2604
2   org.bitcoinfoundation.Bitcoin-Qt 0x0016bc7e void TraceThread(char const*, void (*)()) + 110
3   org.bitcoinfoundation.Bitcoin-Qt 0x001674eb boost::detail::thread_data, boost::_bi::value > > >::run() + 59
4   libboost_thread-mt.dylib       0x00d202e2 boost::thread::interruption_requested() const + 250
5   libsystem_pthread.dylib       0x962c95fb _pthread_body + 144
6   libsystem_pthread.dylib       0x962c9485 _pthread_start + 130
7   libsystem_pthread.dylib       0x962cecf2 thread_start + 34

Thread 16:
0   libsystem_kernel.dylib         0x927687ca __psynch_cvwait + 10
1   libsystem_pthread.dylib       0x962cbd1d _pthread_cond_wait + 728
2   libsystem_pthread.dylib       0x962cdc25 pthread_cond_timedwait$UNIX2003 + 71
3   libboost_thread-mt.dylib       0x00d25ead boost::condition_variable::do_wait_until(boost::unique_lock&, timespec const&) + 145
4   libboost_thread-mt.dylib       0x00d21828 boost::this_thread::hiden::sleep_for(timespec const&) + 238
5   org.bitcoinfoundation.Bitcoin-Qt 0x00105b60 void boost::this_thread::sleep_for >(boost::chrono::duration > const&) + 208
6   org.bitcoinfoundation.Bitcoin-Qt 0x0016047a ThreadOpenAddedConnections() + 2794
7   org.bitcoinfoundation.Bitcoin-Qt 0x0016bc7e void TraceThread(char const*, void (*)()) + 110
8   org.bitcoinfoundation.Bitcoin-Qt 0x001674eb boost::detail::thread_data, boost::_bi::value > > >::run() + 59
9   libboost_thread-mt.dylib       0x00d202e2 boost::thread::interruption_requested() const + 250
10  libsystem_pthread.dylib       0x962c95fb _pthread_body + 144
11  libsystem_pthread.dylib       0x962c9485 _pthread_start + 130
12  libsystem_pthread.dylib       0x962cecf2 thread_start + 34

Thread 17:
0   libsystem_kernel.dylib         0x92768ace __select + 10
1   org.bitcoinfoundation.Bitcoin-Qt 0x000b1bd7 ConnectSocketDirectly(CService const&, unsigned int&, int) + 679
2   org.bitcoinfoundation.Bitcoin-Qt 0x000b2387 ConnectSocket(CService const&, unsigned int&, int) + 119
3   org.bitcoinfoundation.Bitcoin-Qt 0x0015efa1 ConnectNode(CAddress, char const*) + 1105
4   org.bitcoinfoundation.Bitcoin-Qt 0x0015f553 OpenNetworkConnection(CAddress const&, CSemaphoreGrant*, char const*, bool) + 531
5   org.bitcoinfoundation.Bitcoin-Qt 0x00162462 ThreadOpenConnections() + 3202
6   org.bitcoinfoundation.Bitcoin-Qt 0x0016bc7e void TraceThread(char const*, void (*)()) + 110
7   org.bitcoinfoundation.Bitcoin-Qt 0x001674eb boost::detail::thread_data, boost::_bi::value > > >::run() + 59
8   libboost_thread-mt.dylib       0x00d202e2 boost::thread::interruption_requested() const + 250
9   libsystem_pthread.dylib       0x962c95fb _pthread_body + 144
10  libsystem_pthread.dylib       0x962c9485 _pthread_start + 130
11  libsystem_pthread.dylib       0x962cecf2 thread_start + 34

Thread 18 Crashed:
0   libsystem_kernel.dylib         0x92768952 __pthread_kill + 10
1   libsystem_pthread.dylib       0x962ca167 pthread_kill + 101
2   libsystem_c.dylib             0x964f9340 abort + 155
3   libsystem_c.dylib             0x964c443e __assert_rtn + 347
4   org.bitcoinfoundation.Bitcoin-Qt 0x000d2b0a GetNextWorkRequired(CBlockIndex const*, CBlockHeader const*) + 3466
5   org.bitcoinfoundation.Bitcoin-Qt 0x000f258c CBlock::AcceptBlock(CValidationState&, CDiskBlockPos*) + 1612
6   org.bitcoinfoundation.Bitcoin-Qt 0x000f39b6 ProcessBlock(CValidationState&, CNode*, CBlock*, CDiskBlockPos*) + 1718
7   org.bitcoinfoundation.Bitcoin-Qt 0x000faec9 ProcessMessage(CNode*, std::string, CDataStream&) + 23929
8   org.bitcoinfoundation.Bitcoin-Qt 0x000fca9d ProcessMessages(CNode*) + 1293
9   org.bitcoinfoundation.Bitcoin-Qt 0x0015d671 ThreadMessageHandler() + 865
10  org.bitcoinfoundation.Bitcoin-Qt 0x0016bc7e void TraceThread(char const*, void (*)()) + 110
11  org.bitcoinfoundation.Bitcoin-Qt 0x001674eb boost::detail::thread_data, boost::_bi::value > > >::run() + 59
12  libboost_thread-mt.dylib       0x00d202e2 boost::thread::interruption_requested() const + 250
13  libsystem_pthread.dylib       0x962c95fb _pthread_body + 144
14  libsystem_pthread.dylib       0x962c9485 _pthread_start + 130
15  libsystem_pthread.dylib       0x962cecf2 thread_start + 34

Thread 19:
0   libsystem_kernel.dylib         0x927687ca __psynch_cvwait + 10
1   libsystem_pthread.dylib       0x962cbd1d _pthread_cond_wait + 728
2   libsystem_pthread.dylib       0x962cdc25 pthread_cond_timedwait$UNIX2003 + 71
3   libboost_thread-mt.dylib       0x00d25ead boost::condition_variable::do_wait_until(boost::unique_lock&, timespec const&) + 145
4   libboost_thread-mt.dylib       0x00d21828 boost::this_thread::hiden::sleep_for(timespec const&) + 238
5   org.bitcoinfoundation.Bitcoin-Qt 0x00105b60 void boost::this_thread::sleep_for >(boost::chrono::duration > const&) + 208
6   org.bitcoinfoundation.Bitcoin-Qt 0x0016bae1 void LoopForever(char const*, void (*)(), long long) + 145
7   org.bitcoinfoundation.Bitcoin-Qt 0x0016748e boost::detail::thread_data, boost::_bi::value, boost::_bi::value > > >::run() + 78
8   libboost_thread-mt.dylib       0x00d202e2 boost::thread::interruption_requested() const + 250
9   libsystem_pthread.dylib       0x962c95fb _pthread_body + 144
10  libsystem_pthread.dylib       0x962c9485 _pthread_start + 130
11  libsystem_pthread.dylib       0x962cecf2 thread_start + 34

Thread 20:
0   libsystem_kernel.dylib         0x927687ca __psynch_cvwait + 10
1   libsystem_pthread.dylib       0x962cbd1d _pthread_cond_wait + 728
2   libsystem_pthread.dylib       0x962cdc25 pthread_cond_timedwait$UNIX2003 + 71
3   libboost_thread-mt.dylib       0x00d25ead boost::condition_variable::do_wait_until(boost::unique_lock&, timespec const&) + 145
4   libboost_thread-mt.dylib       0x00d21828 boost::this_thread::hiden::sleep_for(timespec const&) + 238
5   org.bitcoinfoundation.Bitcoin-Qt 0x00105b60 void boost::this_thread::sleep_for >(boost::chrono::duration > const&) + 208
6   org.bitcoinfoundation.Bitcoin-Qt 0x001848f9 ThreadFlushWalletDB(std::string const&) + 297
7   libboost_thread-mt.dylib       0x00d202e2 boost::thread::interruption_requested() const + 250
8   libsystem_pthread.dylib       0x962c95fb _pthread_body + 144
9   libsystem_pthread.dylib       0x962c9485 _pthread_start + 130
10  libsystem_pthread.dylib       0x962cecf2 thread_start + 34

Thread 18 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0xa0baccec  ecx: 0xb0a4880c  edx: 0x92768952
  edi: 0xb0a4a000  esi: 0x00000006  ebp: 0xb0a48828  esp: 0xb0a4880c
   ss: 0x00000023  efl: 0x00000206  eip: 0x92768952   cs: 0x0000000b
   ds: 0x00000023   es: 0x00000023   fs: 0x00000023   gs: 0x0000000f
  cr2: 0x07cd1000
  
Logical CPU:     0
Error Code:      0x00080148
Trap Number:     132


Binary Images:
    0x1000 -   0x623fff +org.bitcoinfoundation.Bitcoin-Qt (0.8.5 - 0.8.5) /Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt
  0x8c7000 -   0x8ccfe7 +libqrencode.3.dylib (5.1) /Applications/Bitcoin-Qt.app/Contents/Frameworks/libqrencode.3.dylib
  0x8d0000 -   0x8d7ff7 +libminiupnpc.8.dylib (0) /Applications/Bitcoin-Qt.app/Contents/Frameworks/libminiupnpc.8.dylib
  0x8db000 -   0x928fef +libssl.1.0.0.dylib (1) /Applications/Bitcoin-Qt.app/Contents/Frameworks/libssl.1.0.0.dylib
  0x942000 -   0xa79fef +libcrypto.1.0.0.dylib (1) <494A2CA1-85D4-CDC2-DBCE-25BBF7DBF689> /Applications/Bitcoin-Qt.app/Contents/Frameworks/libcrypto.1.0.0.dylib
  0xae4000 -   0xc3dfff +libdb_cxx-4.8.dylib (0) /Applications/Bitcoin-Qt.app/Contents/Frameworks/libdb_cxx-4.8.dylib
  0xc67000 -   0xc6aff3 +libboost_system-mt.dylib (0) <795B1155-4061-F652-DBDD-6FB349176C3B> /Applications/Bitcoin-Qt.app/Contents/Frameworks/libboost_system-mt.dylib
  0xc6e000 -   0xc81ffb +libboost_filesystem-mt.dylib (0) /Applications/Bitcoin-Qt.app/Contents/Frameworks/libboost_filesystem-mt.dylib
  0xc8d000 -   0xcd1ff3 +libboost_program_options-mt.dylib (0) <5B0D175C-6C15-A3FB-189B-008E7C369F1D> /Applications/Bitcoin-Qt.app/Contents/Frameworks/libboost_program_options-mt.dylib
  0xd1c000 -   0xd2aff7 +libboost_thread-mt.dylib (0) <929BEDDE-5048-A781-6E3B-13495561B53C> /Applications/Bitcoin-Qt.app/Contents/Frameworks/libboost_thread-mt.dylib
  0xd40000 -   0xd45ff3 +libboost_chrono-mt.dylib (0) /Applications/Bitcoin-Qt.app/Contents/Frameworks/libboost_chrono-mt.dylib
  0xd4d000 -  0x16ddfe3 +QtGui (4.8.4) <45E39CCC-CCF6-0EE0-D7F6-7D271638DA91> /Applications/Bitcoin-Qt.app/Contents/Frameworks/QtGui.framework/Versions/4/QtGui
 0x18b4000 -  0x1b63ffb +QtCore (4.8.4) /Applications/Bitcoin-Qt.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore
 0x1bd5000 -  0x1cfbfe7 +QtNetwork (4.8.4) <34A4DF29-3114-AA6C-E5C6-1EEB4797E8C8> /Applications/Bitcoin-Qt.app/Contents/Frameworks/QtNetwork.framework/Versions/4/QtNetwork
 0x1d37000 -  0x1d48ff7 +libz.1.dylib (1.2.8) /Applications/Bitcoin-Qt.app/Contents/Frameworks/libz.1.dylib
 0x1d4c000 -  0x1d69fe7 +libpng15.15.dylib (33) <7C8FEA11-5B44-61F7-281B-F41900DCC62A> /Applications/Bitcoin-Qt.app/Contents/Frameworks/libpng15.15.dylib
 0x7000000 -  0x70b0fff  ColorSyncDeprecated.dylib (426) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/Resources/ColorSyncDeprecated.dylib
 0x7c09000 -  0x7c0dff3 +libqgif.dylib (0) <88247A6C-7963-6E25-F271-07D15F98CF45> /Applications/Bitcoin-Qt.app/Contents/PlugIns/imageformats/libqgif.dylib
 0x7c12000 -  0x7c16fff +libqico.dylib (0) <7AE39AE4-C88A-D835-F6DB-43C38C12D8C9> /Applications/Bitcoin-Qt.app/Contents/PlugIns/imageformats/libqico.dylib
 0x7c1b000 -  0x7c1ffff +libqjpeg.dylib (0) <79F89247-529B-F274-D63C-3BC66954A5E1> /Applications/Bitcoin-Qt.app/Contents/PlugIns/imageformats/libqjpeg.dylib
 0x7c25000 -  0x7c56ff7 +libjpeg.9.dylib (10) /Applications/Bitcoin-Qt.app/Contents/Frameworks/libjpeg.9.dylib
 0x7c5c000 -  0x7c5fff7 +libqmng.dylib (0) /Applications/Bitcoin-Qt.app/Contents/PlugIns/imageformats/libqmng.dylib
 0x7c64000 -  0x7cb1fe7 +libmng.1.dylib (2) /Applications/Bitcoin-Qt.app/Contents/Frameworks/libmng.1.dylib
 0x7cc6000 -  0x7cc8ffb +libqtga.dylib (0) /Applications/Bitcoin-Qt.app/Contents/PlugIns/imageformats/libqtga.dylib
 0xaa00000 -  0xaa28fe7 +liblcms.1.dylib (2.19) <22FC09D8-B2D7-0356-CEE7-A8736EFC883A> /Applications/Bitcoin-Qt.app/Contents/Frameworks/liblcms.1.dylib
 0xaa32000 -  0xaa37ff7 +libqtiff.dylib (0) /Applications/Bitcoin-Qt.app/Contents/PlugIns/imageformats/libqtiff.dylib
 0xaa3c000 -  0xaa97ff7 +libtiff.5.dylib (8) <501C7645-645E-2088-1796-25500F82C440> /Applications/Bitcoin-Qt.app/Contents/Frameworks/libtiff.5.dylib
 0xaaa1000 -  0xaabdfe7 +liblzma.5.dylib (6.5) <3275FD00-2EBD-9440-0772-91484DE37BC8> /Applications/Bitcoin-Qt.app/Contents/Frameworks/liblzma.5.dylib
 0xae80000 -  0xaea5ff9  com.apple.framework.familycontrols (4.1 - 410) /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls
 0xaeba000 -  0xaec5ffa  com.apple.CommerceCore (1.0 - 42) /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore
 0xd40c000 -  0xd447ff3 +libqtaccessiblewidgets.dylib (0) /Applications/Bitcoin-Qt.app/Contents/PlugIns/accessible/libqtaccessiblewidgets.dylib
0x8fe24000 - 0x8fe56417  dyld (239.3) <4B280BB1-55F8-313F-86A6-8ADD644ED69E> /usr/lib/dyld
0x900a7000 - 0x900a7fff  com.apple.Cocoa (6.8 - 20) <407DC9E6-BBCE-3D34-9BBB-00C90584FFDF> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x900a8000 - 0x900abffb  libutil.dylib (34) /usr/lib/libutil.dylib
0x900ac000 - 0x900fcff7  libcorecrypto.dylib (161.1) <135FD99E-2211-3DF4-825C-C9F816107F0C> /usr/lib/system/libcorecrypto.dylib
0x900fd000 - 0x90135fff  com.apple.LDAPFramework (2.4.28 - 194.5) <0C42A932-15E8-3CD1-AC35-1DF7D41B25A2> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x90136000 - 0x90221ff4  com.apple.DiskImagesFramework (10.9 - 371.1) /System/Library/PrivateFrameworks/DiskImages.framework/Versions/A/DiskImages
0x90222000 - 0x90234fff  libsystem_asl.dylib (217.1.4) <51EB17C9-9F5B-39F3-B6CD-8EF238B05B89> /usr/lib/system/libsystem_asl.dylib
0x90235000 - 0x90241ffe  libkxld.dylib (2422.1.72) /usr/lib/system/libkxld.dylib
0x90251000 - 0x90289ff7  com.apple.MediaKit (15 - 709) <82E0F8C0-313C-379C-9994-4D21587D0C0C> /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
0x9028a000 - 0x902b5ff7  libsystem_network.dylib (241.3) <71EBA489-386D-3608-ADE6-CB50EBD1AB1B> /usr/lib/system/libsystem_network.dylib
0x902b6000 - 0x905a8ff8  com.apple.CoreImage (9.0.54) /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage
0x905c7000 - 0x905e2ff5  com.apple.openscripting (1.4 - 157) <5C161A52-8D2F-3D56-A988-05727BED7A59> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x905e3000 - 0x905ebffe  libGFXShared.dylib (9.0.83) <35644AAA-B1E7-367C-90C0-378024F8A46A> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
0x905ec000 - 0x906b9ff7  com.apple.backup.framework (1.5 - 1.5) /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
0x906ba000 - 0x906c5ffb  libcommonCrypto.dylib (60049) /usr/lib/system/libcommonCrypto.dylib
0x906c6000 - 0x9073bff1  com.apple.ApplicationServices.ATS (360 - 363.1) <5C9BC698-0CC1-3F6A-9F9D-BCC3A9C3D6DC> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x9073c000 - 0x9078ffff  com.apple.htmlrendering (77 - 1.1.4) <408FA30F-4FE9-3162-9FFD-677E8569C1EA> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x907c1000 - 0x907d1ff5  com.apple.LangAnalysis (1.7.0 - 1.7.0) <71DE7754-0A47-3F35-B1BF-B1FE7E1311E0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x907d2000 - 0x907d3ffc  com.apple.TrustEvaluationAgent (2.0 - 25) <064B485D-56E0-3DD7-BBE2-E08A5BFFF8B3> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
0x907d4000 - 0x90870fff  com.apple.QD (3.50 - 298) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x90a5d000 - 0x90a6bff3  com.apple.opengl (9.0.83 - 9.0.83) <16CFFD50-217E-3E18-88AF-7F2AD980628B> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x90ac2000 - 0x90d26fff  com.apple.CoreData (107 - 481) /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x90d27000 - 0x90d27fff  libodfde.dylib (20) <98FC02AE-C596-3ED5-80D1-C502FF6115ED> /usr/lib/libodfde.dylib
0x90d28000 - 0x90d56ff3  com.apple.DebugSymbols (106 - 106) /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
0x90d57000 - 0x90d95ff7  com.apple.NavigationServices (3.8 - 215) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x90d96000 - 0x90d99ffe  com.apple.LoginUICore (3.0 - 3.0) <6FE961A4-3C17-3004-B50B-FD78FDC28350> /System/Library/PrivateFrameworks/LoginUIKit.framework/Versions/A/Frameworks/LoginUICore.framework/Versions/A/LoginUICore
0x90e63000 - 0x90e7bff7  libsystem_malloc.dylib (23.1.10) <69F485C9-B3E7-3E36-A06C-D7DFD29D22E1> /usr/lib/system/libsystem_malloc.dylib
0x90e7c000 - 0x90e8bfff  libGL.dylib (9.0.83) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x90e8c000 - 0x90eb8ff7  com.apple.DictionaryServices (1.2 - 208) <33873336-BECD-3F62-A315-C45F24C1818C> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x90eb9000 - 0x90ebbffb  libRadiance.dylib (1038) /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x90ebc000 - 0x911bdff7  com.apple.CoreServices.CarbonCore (1077.13 - 1077.13) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x911be000 - 0x911c7fff  com.apple.DiskArbitration (2.6 - 2.6) <6379523D-3196-370C-AE4A-8EA586E36909> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x911c8000 - 0x91226ffd  com.apple.AE (665.5 - 665.5) <54F2F247-160C-3A22-A6E3-5D49655A67AB> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x9128b000 - 0x912a3ffd  libdispatch.dylib (339.1.9) <6249BAE5-044F-3A7A-9CCC-03FF7E6B405B> /usr/lib/system/libdispatch.dylib
0x912a4000 - 0x916d8ff7  com.apple.vision.FaceCore (3.0.0 - 3.0.0) <5B12F3E9-84F6-3183-B85D-FD19EF800ADB> /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
0x91858000 - 0x91875ffb  libresolv.9.dylib (54) <3EC12A7F-6BA1-3976-9F1F-6A4B76303028> /usr/lib/libresolv.9.dylib
0x91878000 - 0x91888ff7  libsasl2.2.dylib (170) /usr/lib/libsasl2.2.dylib
0x91889000 - 0x918a3ff7  com.apple.GenerationalStorage (2.0 - 160.2) <8755F7F1-2402-387C-A32A-2270E7D680C8> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
0x91c5c000 - 0x91d93ff3  com.apple.desktopservices (1.8 - 1.8) <4D853961-F911-3FE2-A7DF-3130EA1D8CEB> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x91d94000 - 0x91d9dffa  com.apple.CommonAuth (4.0 - 2.0) <6CB82D57-3C55-39E5-9036-8047DF3E6F57> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
0x91d9e000 - 0x91dedfff  com.apple.opencl (2.3.57 - 2.3.57) <93385E1C-00D9-31BE-9652-7F3C09484B3E> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x91dee000 - 0x91e64ff3  com.apple.securityfoundation (6.0 - 55122) <25149798-A37E-316F-84AB-93029EAF33D8> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
0x91e6e000 - 0x91f1affb  libvMisc.dylib (423.32) <43873EFF-FB43-3301-BEE8-F2C3A046D7A6> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x91f1b000 - 0x92205fd2  com.apple.vImage (7.0 - 7.0) <256972F0-3DBC-3CE1-9EE8-B48243868729> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x9252d000 - 0x92549fff  libCRFSuite.dylib (34) /usr/lib/libCRFSuite.dylib
0x92708000 - 0x92714ff7  com.apple.OpenDirectory (10.9 - 173.1.1) <2AA24814-2DC6-3E28-B71B-186B686F0F19> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x92747000 - 0x92750fff  com.apple.speech.recognition.framework (4.2.4 - 4.2.4) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x92751000 - 0x9276eff4  libsystem_kernel.dylib (2422.1.72) /usr/lib/system/libsystem_kernel.dylib
0x9276f000 - 0x927d0ff7  com.apple.Symbolication (1.4 - 129) /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
0x927d1000 - 0x9282affa  libTIFF.dylib (1038) <691DAAFD-D72B-3BE9-AE5C-84AF86BE66CD> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x9282b000 - 0x929d34af  libobjc.A.dylib (551.1) <31CBE178-E972-30D1-ADC6-4B8345CAE326> /usr/lib/libobjc.A.dylib
0x92d1b000 - 0x92d90ffb  com.apple.framework.IOKit (2.0.1 - 907.1.13) <86D72735-9DFB-35C8-83F7-CE0DCF17D354> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x92d91000 - 0x92db9ff7  libRIP.A.dylib (599.7) <461297C0-DDA9-3613-8F27-D7F1AC57208F> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x92dc2000 - 0x92dcfff7  com.apple.AppleFSCompression (56 - 1.0) <0C44B3E4-C4A7-3A65-9C1A-334CA3E35BDB> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
0x92dd0000 - 0x92ebcff7  libxml2.2.dylib (26) <32040145-6FD6-3AD2-B98B-39F73BF9AC47> /usr/lib/libxml2.2.dylib
0x92ebd000 - 0x92f3dff7  com.apple.CoreServices.OSServices (600.4 - 600.4) <1227DF22-E2DA-3764-A1CA-10CC0CEBE377> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x92f3e000 - 0x92f69ff5  com.apple.ChunkingLibrary (2.0 - 155.1) <50BBBBF8-F30B-39EA-A512-11A47F429F2C> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary
0x92f6a000 - 0x92f6afff  com.apple.Accelerate (1.9 - Accelerate 1.9) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x92f6b000 - 0x92f93fff  libsystem_info.dylib (449.1.3) /usr/lib/system/libsystem_info.dylib
0x9305b000 - 0x9305eff7  com.apple.help (1.3.3 - 46) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x9305f000 - 0x93063ffc  libpam.2.dylib (20) <50623D44-795F-3E28-AA85-23E0E7E2AE0E> /usr/lib/libpam.2.dylib
0x93087000 - 0x9311fff7  com.apple.Metadata (10.7.0 - 800.12) <0AE4CD6B-FDFC-31ED-9F2C-FE870155CAF9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x93120000 - 0x93132fff  libbsm.0.dylib (33) <1BE92DB5-0D2F-3BB5-BCC6-8A71EF2A3450> /usr/lib/libbsm.0.dylib
0x93133000 - 0x93170ffb  libGLImage.dylib (9.0.83) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x93171000 - 0x93174fff  libdyld.dylib (239.3) <729B32AC-EEE2-3739-8CE3-F90838D51906> /usr/lib/system/libdyld.dylib
0x93175000 - 0x9317cff2  com.apple.NetFS (6.0 - 4.0) <915AA303-C02B-3B0C-8208-D8AAA4350DB4> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x9317d000 - 0x93181fff  com.apple.CommonPanels (1.2.6 - 96) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x9328b000 - 0x932affff  libJPEG.dylib (1038) <212B0986-9227-397C-9493-BCB190EC020E> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x9332c000 - 0x933cbff7  libCoreStorage.dylib (380) <55467C87-E1A3-3057-B428-9BCEFD39E36D> /usr/lib/libCoreStorage.dylib
0x933cc000 - 0x9341aff9  com.apple.HIServices (1.22 - 466) <30636237-408A-3552-90C1-1279348DF7CB> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x93454000 - 0x93656ff7  com.apple.CoreFoundation (6.9 - 855.11) <50F70E07-043A-3A2F-87EF-A36BA6C5C9D9> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x93657000 - 0x93658fff  libDiagnosticMessagesClient.dylib (100) /usr/lib/libDiagnosticMessagesClient.dylib
0x93659000 - 0x93805ff1  com.apple.QuartzCore (1.8 - 332.0) <07F9B77F-35A2-3D21-99FA-CD3FCE5B9C7B> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x93806000 - 0x938c9ff1  com.apple.CoreText (352.0 - 367.15) <746AD442-F7B4-3273-A36D-C7103D26F727> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
0x938ca000 - 0x9390cfff  libGLU.dylib (9.0.83) <0D9BFE5A-435E-3C66-AF96-D3567B8FC87B> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x939a8000 - 0x939cffff  com.apple.CoreVideo (1.8 - 117.2) /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x939d0000 - 0x93a16fff  libcurl.4.dylib (78) /usr/lib/libcurl.4.dylib
0x93a17000 - 0x93a48ffd  com.apple.GSS (4.0 - 2.0) <6BA01155-4DAD-30EE-B480-D224650EA010> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x93aac000 - 0x93b7cfef  libvDSP.dylib (423.32) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x93b7d000 - 0x93b7efff  liblangid.dylib (117) /usr/lib/liblangid.dylib
0x93b7f000 - 0x93c73fff  libFontParser.dylib (111.1) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
0x93c74000 - 0x93cd0ffa  com.apple.print.framework.PrintCore (9.0 - 428) <3E248391-2669-328B-B84F-8763FE8E92BB> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x93cd1000 - 0x93d62fff  com.apple.ColorSync (4.9.0 - 4.9.0) <8366AE10-0396-3100-B87A-A176E8ECE7B6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x93d63000 - 0x93d68ff6  libcompiler_rt.dylib (35) <9924DF2E-D80B-3A21-920D-544A4597203F> /usr/lib/system/libcompiler_rt.dylib
0x93d69000 - 0x93dafff7  libFontRegistry.dylib (127) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x94034000 - 0x94073ff7  com.apple.bom (12.0 - 192) <50F9D23C-9C9A-38BF-B4E2-66D93BE2A174> /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x94fc6000 - 0x950acff7  com.apple.coreui (2.1 - 231) <1C1AE894-C5C2-3F1C-BF29-B152ECD9BD88> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x950ad000 - 0x95cc8ff3  com.apple.AppKit (6.9 - 1265) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x95cc9000 - 0x95da4ff7  com.apple.LaunchServices (572.23 - 572.23) <7E52FB5C-9ECF-3CB9-BF18-6652B8D8CDE0> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x95da5000 - 0x95da7ff2  com.apple.EFILogin (2.0 - 2) /System/Library/PrivateFrameworks/EFILogin.framework/Versions/A/EFILogin
0x95dc8000 - 0x95dd0fff  libsystem_dnssd.dylib (522.1.11) <1C015806-B971-34F9-B162-3DF7897351D0> /usr/lib/system/libsystem_dnssd.dylib
0x95dd1000 - 0x95e68ff7  com.apple.ink.framework (10.9 - 207) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x95e69000 - 0x95e69fff  com.apple.Accelerate.vecLib (3.9 - vecLib 3.9) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x95e6a000 - 0x95e6cfff  libquarantine.dylib (71) /usr/lib/system/libquarantine.dylib
0x95e6d000 - 0x96265ff3  com.apple.CoreGraphics (1.600.0 - 599.7) /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x96266000 - 0x96271ff6  com.apple.NetAuth (5.0 - 5.0) <3B2E9615-EE12-38FC-BDCF-09529FF9464B> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
0x962c8000 - 0x962cfffb  libsystem_pthread.dylib (53.1.4) <8B1B7B84-1B5D-32A8-AC0D-1E689E5C8A4C> /usr/lib/system/libsystem_pthread.dylib
0x96300000 - 0x96303ffa  libCGXType.A.dylib (599.7) <2738FF52-4B47-31AD-B7E5-412F6AFACC2A> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
0x96304000 - 0x96307ff9  com.apple.TCC (1.0 - 1) /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
0x96308000 - 0x9630dff7  com.apple.print.framework.Print (9.0 - 260) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x9649c000 - 0x9652effe  libsystem_c.dylib (997.1.1) /usr/lib/system/libsystem_c.dylib
0x9666f000 - 0x96679ff7  com.apple.DirectoryService.Framework (10.9 - 173.1.1) /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService
0x9667a000 - 0x966cfff7  com.apple.audio.CoreAudio (4.2.0 - 4.2.0) <0F1C111F-1E64-33BB-A69F-14643B3037D5> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x966d0000 - 0x966d4ffe  libCoreVMClient.dylib (58.1) <0EB8FFD7-AFED-3A63-810E-29629831D43D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
0x9698a000 - 0x96993fff  com.apple.audio.SoundManager (4.1 - 4.1) <68B7CEB7-AF09-3E24-8548-6ABF065B5186> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x96994000 - 0x969c5ffa  libsystem_m.dylib (3047.16) <28E614E8-7802-3E84-960A-AD4721EF10F7> /usr/lib/system/libsystem_m.dylib
0x969c6000 - 0x969d1fff  com.apple.CrashReporterSupport (10.9 - 538) <7A5FF845-433C-33E3-99B5-F6AA5B825734> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
0x96b3a000 - 0x96b5dff7  libc++abi.dylib (48) <5367BE5A-D475-3FB4-972D-E1DC999A709A> /usr/lib/libc++abi.dylib
0x96b5e000 - 0x96b88fff  libxslt.1.dylib (13) <249D54AB-1D82-38FE-ABEC-0D575450C73B> /usr/lib/libxslt.1.dylib
0x96b89000 - 0x96badfff  libxpc.dylib (300.1.17) <252BC88F-A5CA-3E67-AEDB-3D7B9F4537E2> /usr/lib/system/libxpc.dylib
0x96bae000 - 0x96bb0fff  libsystem_configuration.dylib (596.12) <1C31C3F6-568D-3854-AE03-A5DA2F39297E> /usr/lib/system/libsystem_configuration.dylib
0x96bb7000 - 0x96d0dff0  libBLAS.dylib (1094.5) <74310C2F-4FDB-3995-A01A-5AFB83010A43> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x96d0e000 - 0x96d44fff  com.apple.IconServices (25 - 25.17) /System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconServices
0x971ed000 - 0x97258ff9  com.apple.Heimdal (4.0 - 2.0) /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
0x9725a000 - 0x9736cffc  libsqlite3.dylib (158) /usr/lib/libsqlite3.dylib
0x9736d000 - 0x973e0fff  com.apple.SearchKit (1.4.0 - 1.4.0) <6F607AB6-7553-37BA-BEC5-98FD7C27FAD7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x973e1000 - 0x973e1fff  com.apple.Carbon (154 - 157) <6E680560-FD53-3C00-BDF7-7AFA28747DC8> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x974b7000 - 0x974b7fff  libkeymgr.dylib (28) <1B097DEA-011E-3B1C-86D5-6C7FAD5C765A> /usr/lib/system/libkeymgr.dylib
0x974b8000 - 0x974c3fff  libcsfde.dylib (380) /usr/lib/libcsfde.dylib
0x977f6000 - 0x977f7fff  libsystem_blocks.dylib (63) <2AC67D5E-ECD4-3644-A53C-9684F9B7AA33> /usr/lib/system/libsystem_blocks.dylib
0x977f8000 - 0x97828ff7  com.apple.CoreServicesInternal (184.8 - 184.8) <88528205-9452-3EEC-BB27-DAAA7EC81E04> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
0x9782b000 - 0x9799dffb  com.apple.audio.toolbox.AudioToolbox (1.9 - 1.9) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x9799e000 - 0x979d3ffd  libssl.0.9.8.dylib (50) /usr/lib/libssl.0.9.8.dylib
0x979d4000 - 0x97a03fff  com.apple.framework.SystemAdministration (1.0 - 1.0) <05E81260-7DC7-3546-B45D-15B3E5DF056D> /System/Library/PrivateFrameworks/SystemAdministration.framework/Versions/A/SystemAdministration
0x97a04000 - 0x97a05fff  libSystem.B.dylib (1197.1.1) /usr/lib/libSystem.B.dylib
0x97a06000 - 0x97a06fff  com.apple.ApplicationServices (48 - 48) <7967F6FA-2984-3CC3-AD9A-7B9AEC562A2A> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x97a07000 - 0x97a0bfff  libheimdal-asn1.dylib (323.12) <9EA2A221-301B-3B9A-BBF2-38134145B5A8> /usr/lib/libheimdal-asn1.dylib
0x97a20000 - 0x97a29fff  libsystem_notify.dylib (121) <623269F5-1518-3035-A916-8AF83C972154> /usr/lib/system/libsystem_notify.dylib
0x97a2a000 - 0x97a76ff7  libcups.2.dylib (372) <9A2BE8DC-37E4-3019-B665-1036FE7868EA> /usr/lib/libcups.2.dylib
0x97a77000 - 0x97a81ff7  com.apple.speech.synthesis.framework (4.6.2 - 4.6.2) <16E20DCD-89F4-3C8E-9DBA-EED359807038> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x97a82000 - 0x97aebfff  com.apple.SystemConfiguration (1.13 - 1.13) <542075CD-9085-3F30-B84B-DD0277D6A40E> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x97aec000 - 0x97aedffd  libunc.dylib (28) <22A126A1-DCFB-3BE5-A66B-C973F0A5D839> /usr/lib/system/libunc.dylib
0x97aee000 - 0x97b57fff  com.apple.datadetectorscore (5.0 - 354.0) <0C6C812D-3E7A-31A4-BFDE-CD3316AA35B6> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
0x97b58000 - 0x97b66ff7  com.apple.Sharing (132.2 - 132.2) <87DBFC7A-9689-3B8E-AD16-5A9DFF9DE625> /System/Library/PrivateFrameworks/Sharing.framework/Versions/A/Sharing
0x97cd8000 - 0x97dd6fff  libJP2.dylib (1038) /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x97dd7000 - 0x97deafff  com.apple.ImageCapture (9.0 - 9.0) <63D5C96F-1893-3F35-ADFB-EE451AFD87E6> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x97deb000 - 0x97df9fff  libxar.1.dylib (202) /usr/lib/libxar.1.dylib
0x97dfa000 - 0x97e42fff  com.apple.PerformanceAnalysis (1.47 - 47) <16935C0F-7F9F-316E-9D46-11973DE0904A> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
0x97e43000 - 0x97e44ffa  libsystem_sandbox.dylib (278.10) /usr/lib/system/libsystem_sandbox.dylib
0x97e68000 - 0x97fcaff3  com.apple.CFNetwork (673.0.3 - 673.0.3) <5E0E9AE8-073B-3F2B-B0C7-A0129DE787F6> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x97fcb000 - 0x98021ff6  com.apple.ScalableUserInterface (1.0 - 1) <2C81641B-FA30-32FF-8B3E-3CB9BF53B2D9> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableUserInterface.framework/Versions/A/ScalableUserInterface
0x98022000 - 0x98024fff  com.apple.securityhi (9.0 - 55005) <51765C73-80D1-33E3-9589-3E88380CE007> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x98025000 - 0x98031ffc  libbz2.1.0.dylib (29) <3CEF1E92-BA42-3F8A-8E8D-9E1F7658E5C7> /usr/lib/libbz2.1.0.dylib
0x98032000 - 0x9803ffff  com.apple.Librarian (1.2 - 1) /System/Library/PrivateFrameworks/Librarian.framework/Versions/A/Librarian
0x98040000 - 0x98040fff  com.apple.CoreServices (59 - 59) <06747539-5035-3307-8645-9BC4E7F89023> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x98041000 - 0x98047ff7  com.apple.AOSNotification (1.7.0 - 760.3) <63F7E7F8-6FA3-38D3-9907-CDF360CA9354> /System/Library/PrivateFrameworks/AOSNotification.framework/Versions/A/AOSNotification
0x98809000 - 0x989cfffb  libicucore.A.dylib (511.25) <44DDE9A4-578E-3D23-A41A-D8795D000A18> /usr/lib/libicucore.A.dylib
0x989d0000 - 0x989e8fff  com.apple.CFOpenDirectory (10.9 - 173.1.1) <630A5CCF-8FC3-379D-B0BD-41DCE1F0B624> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
0x98a50000 - 0x98b33ff7  libcrypto.0.9.8.dylib (50) /usr/lib/libcrypto.0.9.8.dylib
0x98bda000 - 0x98bdaffd  libOpenScriptingUtil.dylib (157) <4D06E8ED-D312-34EA-A448-DFF45ADC3CE5> /usr/lib/libOpenScriptingUtil.dylib
0x98c01000 - 0x98c01ffd  com.apple.audio.units.AudioUnit (1.9 - 1.9) <8A37963C-DF6F-3DFF-94E9-407DC5DFEDA9> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x9a103000 - 0x9a107ffc  com.apple.IOSurface (91 - 91) /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x9a108000 - 0x9a10cffa  libGIF.dylib (1038) <5CEB4EDF-B0B6-33A6-BDDE-8C0D3226FA72> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x9a10d000 - 0x9a482ff9  com.apple.HIToolbox (2.1 - 695) <74E2DE33-E48E-3206-BD78-AFB988235A83> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x9a483000 - 0x9a491ff7  libz.1.dylib (53) <858B4D9F-D87E-3D81-B07A-DF9632BD185F> /usr/lib/libz.1.dylib
0x9a492000 - 0x9a49aff7  libCGCMS.A.dylib (599.7) /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGCMS.A.dylib
0x9a49b000 - 0x9a708ff6  com.apple.security (7.0 - 55471) <5FCF76B2-92C6-3404-87D3-91B3F6E203AA> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x9a71d000 - 0x9aae2ff6  libLAPACK.dylib (1094.5) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x9aae3000 - 0x9aae5ffe  libCVMSPluginSupport.dylib (9.0.83) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
0x9aae6000 - 0x9aaeaffa  libcache.dylib (62) <9730D7F2-D226-3F30-8D26-BF598CB781F6> /usr/lib/system/libcache.dylib
0x9aaeb000 - 0x9aaecfff  libremovefile.dylib (33) /usr/lib/system/libremovefile.dylib
0x9aaed000 - 0x9aaf2ff3  libsystem_platform.dylib (24.1.4) <875321B9-34EF-3FCC-880C-633FA05223F5> /usr/lib/system/libsystem_platform.dylib
0x9aaf3000 - 0x9ab7cfff  com.apple.CoreSymbolication (3.0 - 141) <178DDF5C-B6DA-39BD-84F5-FD3FA7E93BF8> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
0x9ab7d000 - 0x9ab83ffb  libunwind.dylib (35.3) <099D1A6F-A1F0-3D05-BF1C-0A7BB32D39C2> /usr/lib/system/libunwind.dylib
0x9ac0e000 - 0x9ac12ff7  libmacho.dylib (845) /usr/lib/system/libmacho.dylib
0x9ac13000 - 0x9ad03ffb  libiconv.2.dylib (41) <848FEBA7-2E3E-3ECB-BD59-007F32468787> /usr/lib/libiconv.2.dylib
0x9ad04000 - 0x9ad55ff1  libstdc++.6.dylib (60) <354F284B-2343-3810-9CA2-E28038824F6E> /usr/lib/libstdc++.6.dylib
0x9af1e000 - 0x9af32ff9  com.apple.MultitouchSupport.framework (245.13 - 245.13) <6860A0D0-3654-3B02-B2E9-C4D2637167B8> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
0x9af4b000 - 0x9b057fff  com.apple.ImageIO.framework (3.3.0 - 1038) <0B4A6607-9FBC-3A6C-984A-0542DE8385FB> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x9b058000 - 0x9b094ff4  com.apple.RemoteViewServices (2.0 - 94) /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
0x9b095000 - 0x9b3c0ff6  com.apple.Foundation (6.9 - 1056) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x9b6e4000 - 0x9b7abff7  com.apple.DiscRecording (8.0 - 8000.4.6) <84A7EC09-3BBD-3E04-A88C-6D3B724448FF> /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
0x9bd1a000 - 0x9bd22fff  liblaunch.dylib (842.1.4) <3798500D-4436-3AEB-B273-7F2428C33A4A> /usr/lib/system/liblaunch.dylib
0x9bdfd000 - 0x9be19ff9  com.apple.Ubiquity (1.3 - 289) <1CED
sr. member
Activity: 263
Merit: 250
So this boils down to mmap() is just broken on OS X?  Wow.  Just wow.

hero member
Activity: 563
Merit: 500
So this boils down to mmap() is just broken on OS X?  Wow.  Just wow.
sr. member
Activity: 263
Merit: 250
https://bitcointalksearch.org/topic/m.3718821
Updated Bitcoin build to match the 0.8.6 work in progress branch at 6003954be08586092d652ca2828e86e92d96c660
This includes the patch by Robert Escriva.
member
Activity: 98
Merit: 10
nearly dead
Maybe try contacting one of the OSX developers responsible for the memory management ? Check the darwin-kernel maillist.

People that claim something is clearly broken, yet there are many other databases running in this same OS, might just not know how to do it properly (hard to accept it, I know). I'm not saying it's an easy problem (but maybe it is, for someone that actually knows what he is doing), neither that it is easy to reproduce.
legendary
Activity: 1526
Merit: 1134
Because it's not easy to reproduce. mmap on OS X is clearly broken in some very subtle ways, whether or not data is flushed to disk correctly almost certainly depends on the vagaries of kernel mm algorithms that can make decisions based on a lot of uncontrollable factors. That's why it's so hard to track down.

I think Sanjay may be right that on MacOS we may just have to give up on write-through mmap.
member
Activity: 98
Merit: 10
nearly dead
After thinking this over a bit more, and seeing new crash data from toffoo, I believe there's still a bit more to fix.

From IRC:
the issue is that while it's looping through the write, it unmaps/remaps. and if there's a write that straddles a mapping, it can be split and not flushed to disk properly by osx
robert's patch fixes that part
however, once the write is complete, it's not immediately unmapped
so at that point, the very tail may not be flushed


I'm actually wondering about a very trivial thing here. Why is no one setting up small reproduceable test cases ? There is no other way to claim bugs are fixed other than doing that. Make a test where it always fail before the patch, and that it always passes after the patch. Repeat, announce fixes.
newbie
Activity: 9
Merit: 0
After thinking this over a bit more, and seeing new crash data from toffoo, I believe there's still a bit more to fix.

From IRC:
the issue is that while it's looping through the write, it unmaps/remaps. and if there's a write that straddles a mapping, it can be split and not flushed to disk properly by osx
robert's patch fixes that part
however, once the write is complete, it's not immediately unmapped
so at that point, the very tail may not be flushed

So the scenario would look like this:
- Append a new record that straddles the write boundary. Let it return from a successful Append() and don't write any new data (this is the distinction)
- Kill -9 or pull the plug before Close()
- Robert's change has caused the interim data in Append() to be flushed to disk, however the tail will not be unmapped until Close()

I've pushed a proof-of-concept "fix" here: https://github.com/theuni/bitcoin/commit/1d0e54bfb76b3891468582df97c4429174063c3c
This is just a copy/paste of what happens in Sync(), except that it's forced at the end of each logical write. Note however that Sync() first flushes to disk, so it would be sending possibly unsync'd data.
newbie
Activity: 10
Merit: 0
https://bitcointalksearch.org/topic/m.3718821
New builds again.  We need feedback from MacOS X users who were previously experiencing corruption.  This is a blocker for the release of Bitcoin 0.8.6.

As I mentioned on GitHub, I had what OMG4 considered to be a working/clean database. I didn't sync for a couple days, then downloaded and ran OMG5. Database corruption detected after attempting to sync for a minute or two. Since then, I tried opening OMG5 again at a later time and it synced just fine (no corruption detected). Downloading OMG6 now.

P.S.
Is coming from a database deemed clean by an older client (OMG4, 5, etc.) an adequate test or do we need to rebuild/resync from scratch (or the latest torrent copy) with each new version? Thanks.
Pages:
Jump to: