Bitcoin Forum
May 11, 2024, 01:07:05 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin-Qt crashing on start-up (0.8 - Mac)  (Read 3892 times)
Digikeys (OP)
Member
**
Offline Offline

Activity: 115
Merit: 10



View Profile
February 26, 2013, 03:09:31 PM
 #1

Hi All,

0.8 has been running fine on my iMac until I went to open it today. I get the start up splash screen and right after "loading wallet" I get "Bitcoin-Qt quit unexpectedly".

Debug.log:

Code:
Bitcoin version v0.8.0-beta (2013-02-18 18:38:34 -0500)
Using OpenSSL version OpenSSL 1.0.1c 10 May 2012
Startup time: 2013-02-26 15:05:18
Default data directory /Users/**/Library/Application Support/Bitcoin
Used data directory /Users/**/Library/Application Support/Bitcoin
Using 8 threads for script verification
init message: Verifying wallet integrity...
dbenv.open LogDir=/Users/**/Library/Application Support/Bitcoin/database ErrorFile=/Users/**/Library/Application Support/Bitcoin/db.log
Bound to [::]:8333
Bound to 0.0.0.0:8333
init message: Loading block index...
Opening LevelDB in /Users/**/Library/Application Support/Bitcoin/blocks/index
Opened LevelDB successfully
Opening LevelDB in /Users/**/Library/Application Support/Bitcoin/chainstate
Opened LevelDB successfully
LoadBlockIndex(): last block file = 4
LoadBlockIndex(): last block file: CBlockFileInfo(blocks=143, size=18838664, heights=222290..222432, time=2013-02-21..2013-02-21)
LoadBlockIndex(): transaction index disabled
LoadBlockIndex(): hashBestChain=000000000000046ab752df645cae8b0db99a6dc84f1456b40c5906472732d686  height=222432 date=2013-02-21 21:46:36
init message: Verifying block database integrity...
Verifying last 288 blocks at level 3
No coin database inconsistencies in last 193 blocks (58970 transactions)
 block index            7675ms
init message: Loading wallet...
nFileVersion = 80000
 wallet                    7ms
init message: Importing blocks from block database...



Parts of the crash report that seem to be where the issue is:

Code:
Process:         Bitcoin-Qt [329]
Path:            /Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt
Identifier:      com.yourcompany.Bitcoin-Qt
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  launchd [146]

Date/Time:       2013-02-26 14:37:49.462 +0000
OS Version:      Mac OS X 10.7.4 (11E53)
Report Version:  9

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

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

Application Specific Information:
objc[329]: garbage collection is OFF
Assertion failed: (pfork != NULL), function SetBestChain, file src/main.cpp, line 1742.
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        0x913b19c6 __pthread_kill + 10
1   libsystem_c.dylib              0x95dfbf78 pthread_kill + 106
2   libsystem_c.dylib              0x95decbdd abort + 167
3   libsystem_c.dylib              0x95e2120b __assert_rtn + 351
4   com.yourcompany.Bitcoin-Qt    0x000d07c1 SetBestChain(CValidationState&, CBlockIndex*) + 2657
5   com.yourcompany.Bitcoin-Qt    0x000d2356 ConnectBestBlock(CValidationState&) + 598
6   com.yourcompany.Bitcoin-Qt    0x0011c127 AppInit2() + 16839
7   com.yourcompany.Bitcoin-Qt    0x00021d33 main + 7603
8   com.yourcompany.Bitcoin-Qt    0x0001ec71 start + 53


Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x01bf2000  ecx: 0xbfffe77c  edx: 0x913b19c6
  edi: 0xac7652c0  esi: 0x00000006  ebp: 0xbfffe798  esp: 0xbfffe77c
   ss: 0x00000023  efl: 0x00200246  eip: 0x913b19c6   cs: 0x0000000b
   ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
  cr2: 0x01bf2000
Logical CPU: 0




I have re-installed the application, I've also moved the wallet out of the data directory to see if that was the problem and to see if it created a new one (new wallet, same error). Tried starting with -rescan as well.

Any help appreciated.
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715389625
Hero Member
*
Offline Offline

Posts: 1715389625

View Profile Personal Message (Offline)

Ignore
1715389625
Reply with quote  #2

1715389625
Report to moderator
1715389625
Hero Member
*
Offline Offline

Posts: 1715389625

View Profile Personal Message (Offline)

Ignore
1715389625
Reply with quote  #2

1715389625
Report to moderator
1715389625
Hero Member
*
Offline Offline

Posts: 1715389625

View Profile Personal Message (Offline)

Ignore
1715389625
Reply with quote  #2

1715389625
Report to moderator
BookLover
Hero Member
*****
Offline Offline

Activity: 533
Merit: 500


^Bitcoin Library of Congress.


View Profile
February 26, 2013, 10:56:39 PM
 #2

Try moving the contents data directory to a temporary location (like your desktop) then running the bitcoin-qt client.  If this works then some file in you data directory is corrupted.

P.S.  How do you show hidden folders on a mac so you can reach the bitcoin data directory?
P.P.S.  Where is the bitcoin data directory on a mac?

SAC
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
February 26, 2013, 11:11:28 PM
 #3

Try moving the contents data directory to a temporary location (like your desktop) then running the bitcoin-qt client.  If this works then some file in you data directory is corrupted.

P.S.  How do you show hidden folders on a mac so you can reach the bitcoin data directory?
P.P.S.  Where is the bitcoin data directory on a mac?

sudo chflags nohidden /path/to/directory if memory serves me and ~/Library/Application Support/Bitcoin.
Digikeys (OP)
Member
**
Offline Offline

Activity: 115
Merit: 10



View Profile
February 27, 2013, 12:35:11 PM
 #4

Starts up fine with the data directory moved. I can't figure out which file(s) is corrupt so now I'm stuck re-synchronizing... blergh.

Thanks for your help all the same Smiley
Urdawg
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
March 06, 2013, 02:49:17 AM
Last edit: March 06, 2013, 04:51:40 AM by Urdawg
 #5

I had the same problem and moved my data directory.  Now when I try to move my old wallet.dat file back to the new data directory it says my wallet is corrupt.

Where you able to get everything back as it was before??

Edit:

Nevermind, I fixed it.  I had to setup the client for an encrypted wallet.
Pages: [1]
  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!