Bitcoin Forum
November 21, 2017, 12:45:42 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin-qt crashes at startup  (Read 2691 times)
Shirik
Jr. Member
*
Offline Offline

Activity: 32


View Profile
September 13, 2012, 12:56:36 AM
 #1

This morning, bitcoin-qt just randomly crashed. I wasn't doing anything with it, it just decided to crash at some random point in time. (Ok, not true because I'm a p2pool user, but I mean to say I wasn't working with the UI at all.)

Since then I have not managed to get it to run again. It always segfaults at startup.

I have tried renaming blk0001.dat, blk0002.dat, blkindex.dat, and wallet.dat all to different filenames (simultaneously, and different enough that in my opinion the client should effectively think they're deleted) but it still crashes at startup.

Is there something I can check to see why it's crashing? (Sorry I don't have a source version installed, though I'm getting close to doing that just to see where it's crashing.) I have backups of my wallet, etc., so I'm OK with doing surgical procedures, I just don't really know where to start.
1511268342
Hero Member
*
Offline Offline

Posts: 1511268342

View Profile Personal Message (Offline)

Ignore
1511268342
Reply with quote  #2

1511268342
Report to moderator
1511268342
Hero Member
*
Offline Offline

Posts: 1511268342

View Profile Personal Message (Offline)

Ignore
1511268342
Reply with quote  #2

1511268342
Report to moderator
Join ICO Now A blockchain platform for effective freelancing
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Revalin
Hero Member
*****
Offline Offline

Activity: 728


165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g


View Profile
September 13, 2012, 01:06:11 AM
 #2

Start by looking in the db.log and debug.log.  Post them here if you want us to have a look.

      War is God's way of teaching Americans geography.  --Ambrose Bierce
Bitcoin is the Devil's way of teaching geeks economics.  --Revalin 165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
Shirik
Jr. Member
*
Offline Offline

Activity: 32


View Profile
September 13, 2012, 01:27:07 AM
 #3

I didn't see anything particularly interesting in them, aside from what looks like might be the trigger of the problem (the socket error), but perhaps you can decipher them better.

db.log
Code:
Program version 4.8 doesn't match environment version 4.7
Database handles still open at environment close
Open database handle: wallet.dat/main
Open database handle: blkindex.dat/main
Open database handle: addr.dat/main
Program version 4.8 doesn't match environment version 4.7
Database handles still open at environment close
Open database handle: wallet.dat/main
Open database handle: blkindex.dat/main
Open database handle: addr.dat/main

debug.log (tail)
Code:
sending getdata: tx 7419fd10495ed80525a9
askfor tx 5d8ff62c703c0705a583   1347465520000000
askfor tx 5d8ff62c703c0705a583   1347465640000000
addUnchecked(): size 369
CTxMemPool::accept() : accepted 5d8ff62c70
addUnchecked(): size 370
CTxMemPool::accept() : accepted 7419fd1049
received getdata for: tx 7419fd10495ed80525a9
askfor tx 59b61c050bf87767ce19   0
sending getdata: tx 59b61c050bf87767ce19
askfor tx 59b61c050bf87767ce19   1347465285000000
askfor tx 59b61c050bf87767ce19   1347465405000000
addUnchecked(): size 371
CTxMemPool::accept() : accepted 59b61c050b
CreateNewBlock(): total size 57119
received getdata for: tx 59b61c050bf87767ce19
received getdata for: tx 59b61c050bf87767ce19
received getdata for: tx 59b61c050bf87767ce19
getheaders 198462 to 00000000000005e9ad93
received getdata for: tx 59b61c050bf87767ce19
received getdata for: tx 59b61c050bf87767ce19
received getdata for: tx 59b61c050bf87767ce19
received getdata for: tx 59b61c050bf87767ce19
received getdata for: tx 59b61c050bf87767ce19
received getdata for: tx 59b61c050bf87767ce19
received getdata for: tx 828aebd9ca10aea5eb1c
received getdata for: tx 16e195e6d86b561d1a0a
Added 1 addresses from 67.186.212.41: 3746 tried, 11307 new
askfor tx 6299ea5753fe1ac1048f   0
sending getdata: tx 6299ea5753fe1ac1048f
addUnchecked(): size 372
CTxMemPool::accept() : accepted 6299ea5753
received getdata for: tx d46fd9e0b1f5b496546a
askfor tx 0af101d432dc87419020   0
sending getdata: tx 0af101d432dc87419020
askfor tx 0af101d432dc87419020   1347465289000000
askfor tx 0af101d432dc87419020   1347465409000000
askfor tx 0af101d432dc87419020   1347465529000000
received getdata for: tx 6299ea5753fe1ac1048f
addUnchecked(): size 373
CTxMemPool::accept() : accepted 0af101d432
received getdata for: tx 0af101d432dc87419020
received getdata for: tx 0af101d432dc87419020
Added 1 addresses from 82.53.69.179: 3746 tried, 11306 new
askfor tx e1ccb95adb8cb414360a   0
sending getdata: tx e1ccb95adb8cb414360a
askfor tx e1ccb95adb8cb414360a   1347465293000000
askfor tx e1ccb95adb8cb414360a   1347465413000000
askfor tx e1ccb95adb8cb414360a   1347465533000000
addUnchecked(): size 374
CTxMemPool::accept() : accepted e1ccb95adb
received getdata for: tx e1ccb95adb8cb414360a
received getdata for: tx 827ee6bc1b3fe919cd4a
askfor tx eb32c44e3e2ae9d0600d   0
sending getdata: tx eb32c44e3e2ae9d0600d
askfor tx eb32c44e3e2ae9d0600d   1347465299000000
askfor tx eb32c44e3e2ae9d0600d   1347465419000000
askfor tx eb32c44e3e2ae9d0600d   1347465539000000
addUnchecked(): size 375
CTxMemPool::accept() : accepted eb32c44e3e
Added 1 addresses from 76.77.126.36: 3746 tried, 11306 new
UPnP Port Mapping successful.
CreateNewBlock(): total size 58234
getheaders 198462 to 00000000000005e9ad93
received getdata for: tx def2b47db9aeb24d853d
Added 1 addresses from 87.121.232.67: 3746 tried, 11306 new
askfor tx c1e713e55692feb84109   0
sending getdata: tx c1e713e55692feb84109
askfor tx c1e713e55692feb84109   1347465307000000
askfor tx c1e713e55692feb84109   1347465427000000
addUnchecked(): size 376
CTxMemPool::accept() : accepted c1e713e556
askfor tx 9793601d1e2623022c20   0
sending getdata: tx 9793601d1e2623022c20
addUnchecked(): size 377
CTxMemPool::accept() : accepted 9793601d1e
received getdata for: tx 9793601d1e2623022c20
received getdata for: tx 9793601d1e2623022c20
received getdata for: tx 9793601d1e2623022c20
received getdata for: tx 9793601d1e2623022c20
received getdata for: tx 9793601d1e2623022c20
received getdata for: tx 9793601d1e2623022c20
received getdata for: tx 9793601d1e2623022c20
received getdata for: tx 9793601d1e2623022c20
received getdata for: tx 9793601d1e2623022c20
received getdata for: tx 9793601d1e2623022c20
received getdata for: tx 9793601d1e2623022c20
received getdata for: tx 9793601d1e2623022c20
received getdata for: tx 9793601d1e2623022c20
received getdata for: tx 9793601d1e2623022c20
received getdata for: tx 9793601d1e2623022c20
received getdata for: tx 9793601d1e2623022c20
received getdata for: tx 9793601d1e2623022c20
received getdata for: tx 9793601d1e2623022c20
CreateNewBlock(): total size 58866
getheaders 198462 to 00000000000005e9ad93
askfor tx 076d1b1bf43fba9ec745   0
sending getdata: tx 076d1b1bf43fba9ec745
askfor tx 076d1b1bf43fba9ec745   1347465317000000
addUnchecked(): size 378
CTxMemPool::accept() : accepted 076d1b1bf4
askfor tx fa635533f0db082d73ab   0
sending getdata: tx fa635533f0db082d73ab
received getdata for: tx 076d1b1bf43fba9ec745
askfor tx fa635533f0db082d73ab   1347465318000000
askfor tx fa635533f0db082d73ab   1347465438000000
askfor tx fa635533f0db082d73ab   1347465558000000
addUnchecked(): size 379
CTxMemPool::accept() : accepted fa635533f0
received getdata for: tx ab2c863e09b35d998641
received getdata for: tx 1df9e9f69aa21583731c
CreateNewBlock(): total size 61183
getheaders 198462 to 00000000000005e9ad93
Added 1 addresses from 71.13.74.238: 3746 tried, 11304 new
askfor tx aa1e8bb9906b4041315b   0
sending getdata: tx aa1e8bb9906b4041315b
addUnchecked(): size 380
CTxMemPool::accept() : accepted aa1e8bb990
received getdata for: tx aa1e8bb9906b4041315b
received getdata for: tx aa1e8bb9906b4041315b
received getdata for: tx aa1e8bb9906b4041315b
received getdata for: tx aa1e8bb9906b4041315b
received getdata for: tx aa1e8bb9906b4041315b
received getdata for: tx aa1e8bb9906b4041315b
received getdata for: tx aa1e8bb9906b4041315b
received getdata for: tx aa1e8bb9906b4041315b
received getdata for: tx aa1e8bb9906b4041315b
received getdata for: tx aa1e8bb9906b4041315b
received getdata for: tx aa1e8bb9906b4041315b
received getdata for: tx aa1e8bb9906b4041315b
askfor tx eb50f4731e1fc1d07f56   0
sending getdata: tx eb50f4731e1fc1d07f56
addUnchecked(): size 381
CTxMemPool::accept() : accepted eb50f4731e
received getdata for: tx eb50f4731e1fc1d07f56
received getdata for: tx eb50f4731e1fc1d07f56
received getdata for: tx eb50f4731e1fc1d07f56
received getdata for: tx eb50f4731e1fc1d07f56
received getdata for: tx eb50f4731e1fc1d07f56
received getdata for: tx eb50f4731e1fc1d07f56
received getdata for: tx eb50f4731e1fc1d07f56
received getdata for: tx eb50f4731e1fc1d07f56
socket recv error 10054
disconnecting node 80.64.99.60:1054
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1456



View Profile
September 13, 2012, 01:34:35 AM
 #4

Restore your original blkindex and wallet.dat files and rename the addr.dat file and see if it runs.

Shirik
Jr. Member
*
Offline Offline

Activity: 32


View Profile
September 13, 2012, 01:44:04 AM
 #5

Restore your original blkindex and wallet.dat files and rename the addr.dat file and see if it runs.
Seems to have the same problem still.
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1456



View Profile
September 13, 2012, 02:16:11 AM
 #6

There is nothing unusual on those logs.

Which OS is it and what version are you (not)running?

Can you try renaming you Bitcoin data dir and see if it runs when it creates a new wallet, just as if it was freshly installed?

Shirik
Jr. Member
*
Offline Offline

Activity: 32


View Profile
September 14, 2012, 12:16:25 AM
 #7

So I did that and it still crashed. At that point I decided something was seriously hosed and ended up reinstalling the thing. It works fine now, even with all the old data files.

I probably should have tried that from the get-go, but I figured that couldn't be where the problem was for some reason.

At some point I would really like to know what actually went wrong, but at least it's fixed now Smiley Probably will just end up being chalked up as a mystery. Perhaps it was a butterfly.

Thanks all,
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!