Bitcoin Forum
April 23, 2024, 09:14:56 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Bitcoin Wallet on Windows 7 fails hard after a year of no problems.  (Read 2528 times)
El Cabron (OP)
Gnomo
VIP
Hero Member
*
Offline Offline

Activity: 840
Merit: 1000



View Profile
July 11, 2012, 07:06:01 AM
 #1

Well when I load up bitcoin wallet on windows 7 it never full loads and will freeze my whole computer (have to force reboot). I have had this for over a year and no issue. My wallet is backed up and running fine on a different computer so no worry there. I also updated to the newest version and still same issue.

It just says not responding and then has an "APP CRASH"

Any idea what I should do other than reload the OS?

Thanks.

Sorry El Cabron, you are banned from posting or sending personal messages on this forum.
Trolling
https://bitcointalk.org/index.php?topic=622250.msg7030081#msg7030081
1713863696
Hero Member
*
Offline Offline

Posts: 1713863696

View Profile Personal Message (Offline)

Ignore
1713863696
Reply with quote  #2

1713863696
Report to moderator
1713863696
Hero Member
*
Offline Offline

Posts: 1713863696

View Profile Personal Message (Offline)

Ignore
1713863696
Reply with quote  #2

1713863696
Report to moderator
1713863696
Hero Member
*
Offline Offline

Posts: 1713863696

View Profile Personal Message (Offline)

Ignore
1713863696
Reply with quote  #2

1713863696
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713863696
Hero Member
*
Offline Offline

Posts: 1713863696

View Profile Personal Message (Offline)

Ignore
1713863696
Reply with quote  #2

1713863696
Report to moderator
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
July 11, 2012, 08:47:10 AM
 #2

Try and do a disk defrag.

When I switched to ubuntu completely was because Bitcoin killed my HDD on windows. The blockchain got fragmented because Bitcoin was always running and the auto-defrag wouldn't touch the blockchain.
When I recovered the blockchain from the damaged HDD it copied fast until it reached 500MB, which was the part that wasn't fragmented. The rest of it took almost 24hrs to copy, little piece by little piece.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
July 11, 2012, 01:57:25 PM
 #3

Sounds like a failing disk.  If you have a second drive on the system try
a) get zip not installer version of client.
b) unzip it to the second drive
c) run bitcoind with command line parameter pointing to a datadir on the second drive.

If your problem goes away then likely you have bad sectors on your primary drive.  I would plan to replace it soon.   You can also use a S.M.A.R.T. utility but watch out they often false negative.   If SMART reports drive errors/failures then you almost certainly have a bad drive but a clean bill of health from SMART is no guarantee.

Maybe I am just biased though.  We had 8 of 20 drives on our storage array fail in the last 3 months at my day job.  Fun times.  Note to IT people everywhere:  the reason enterprise grade drives have batch/lot numbers is so you DON'T use all drives from the same batch in an array. 
2112
Legendary
*
Offline Offline

Activity: 2128
Merit: 1065



View Profile
July 11, 2012, 02:44:25 PM
Last edit: July 11, 2012, 03:14:04 PM by 2112
 #4

I assume I should be checking for bad sectors right?
I don't know what software you downloaded. You should've gotten smartmontools. Then simply run info & capabilities; short and long tests. Edit: and display all.



C:\Program Files (x86)\smartmontools\bin>smartctl.exe -i -c /dev/sda
C:\Program Files (x86)\smartmontools\bin>smartctl.exe -t short /dev/sda
C:\Program Files (x86)\smartmontools\bin>smartctl.exe -t long /dev/sda
C:\Program Files (x86)\smartmontools\bin>smartctl.exe -x /dev/sda


Edit: once you boot Linux you can also fix/remap the bad blocks automatically using "/sbin/badblocks -nsv /dev/sda". But do it only after you've made a backup. Trying to remap bad blocks on a disk that run out of spare blocks typically ends in an even worse failure.

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
unclemantis
Member
**
Offline Offline

Activity: 98
Merit: 10


(:firstbits => "1mantis")


View Profile
July 11, 2012, 03:11:08 PM
 #5

I do hope you had a backup of your wallet.dat that contained your most recent private keys before this accident! :-(

PHP, Ruby, Rails, ASP, JavaScript, SQL
20+ years experience w/ Internet Technologies
Bitcoin OTC | GPG Public Key                                                                               thoughts?
2112
Legendary
*
Offline Offline

Activity: 2128
Merit: 1065



View Profile
July 11, 2012, 03:34:45 PM
 #6

0% fragmented :/
Actually, you are probably quoting the average fragmentation of the whole disk.

If you had a tool that shows just the fragmentation of the Bitcoin files you would get astounded. They are nearly maximally fragmented.

To quickly defragment just the Bitcoin directory:

1) copy it to a backup disk
2) delete the original directory
3) copy back into the original place

If you really can't backup onto a separate disk do at least zip, delete, unzip.

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
2112
Legendary
*
Offline Offline

Activity: 2128
Merit: 1065



View Profile
July 11, 2012, 04:35:16 PM
 #7

I'm just going to format it and put on linux. However so far I have one bad sector. Something I should worry about?
Only worry about bad sectors if they can't be repaired. If you are going to do a complete reinstall then run "/sbin/badblocks -wsv /dev/sda" to completely rewrite and remap all possible bad blocks.

This is especially true in case of laptops, where bad blocks could be the result of an accidental jostle.

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
2112
Legendary
*
Offline Offline

Activity: 2128
Merit: 1065



View Profile
July 11, 2012, 04:56:58 PM
 #8

im a noob.. i copy paste that in the cmd line on windows 7?
I'm not sure what you are exactly doing.

"smartmontools" works the same under Windows and Linux.

"badblocks" runs only under Linux, and since it could be destructive you need to run it while Linux is booted from CD or USB in recovery mode.

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
OgNasty
Donator
Legendary
*
Offline Offline

Activity: 4718
Merit: 4223


Leading Crypto Sports Betting & Casino Platform


View Profile WWW
July 11, 2012, 05:57:30 PM
 #9

I've found that Windows machines always need 2 hard drives.  1 that is actually used, and the other to backup everything for a monthly reformat so that the first one works properly.

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
July 11, 2012, 08:42:40 PM
 #10

I had an issue with a 6 week old laptop a couple of days ago where it just hung while running Linux, and after rebooting it, the blockchain files were corrupted.

I asked for advice on the ##linux freenode IRC channel and got the following:

Quote
20:43 < dooglus> I bought a new laptop a few weeks ago, and the hard
    drive seems to be playing up already:
20:43 < dooglus> Jul 10 11:40:09 chris smartd[6083]: Device: /dev/sda
    [SAT], 16 Currently unreadable (pending) sectors
20:44 < dooglus> is that to be expected, and it will mark the bad
    sectors and work around them, or should I take it back for repair?
20:44 < bjonnh> dooglus: take it back now
20:44 < bjonnh> dooglus: a failing harddrive on its early life is
    always worse two month later
20:45 < dooglus> I see
20:45 < bjonnh> dooglus: most of the time dead
20:45 < MooingLemur> dooglus: currently pending sectors means it
    couldn't read them, but would remap them on the next write.  If
    they're happening now, exchange it.  Don't trust it at all.
20:46 < KsM> start backing up
20:46 < MooingLemur> dooglus: sometimes it's worth going directly to
    the HDD manufacturer and just getting an advance RMA rather than
    trying to deal with the laptop manufacturer
20:46 < dooglus> is there any way I can get an identifier for the hdd
    so I can see whether they really replace the hdd or just reformat
    it?
20:47 < MooingLemur> dooglus: smarctl -i /dev/sda
20:47 < MooingLemur> you'll get a serial from that

Is that reasonable advice?  I didn't know about the 'badblocks' command to remap bad blocks, but if it's the case that bad disks tend to get worse quickly perhaps I'm best off returning it for replacement.

I ran the 'short' SMART test mentioned above, and that passed:

Quote
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%       834         -

and the 'long' test is currently running.  I bought the laptop 5.5 weeks ago, and according to the test result above, it's been on for 834 hours (4.9 weeks).  So it does look like it was new when I got it, and it worked flawlessly until it didn't.

Comments?

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
2112
Legendary
*
Offline Offline

Activity: 2128
Merit: 1065



View Profile
July 11, 2012, 08:50:38 PM
 #11

perhaps I'm best off returning it for replacement.

Comments?
If you like the laptop then keep it and use it. Repair the bad blocks, monitor for any new bad blocks and get the replacement drive under warranty if you get any more bad blocks without a reason, like jostling.

What is worth more: a spare hard drive lying on the shelf or your time wasted with no laptop?

Edit: According to the IT-man I know, the most common case of early laptop drive failure is when people shift the fresh laptop on a smooth desk. The clean rubber feet make the laptop jump a little and then visibly oscillate while being shifted. That doesn't happen once the rubber feet are somewhat dirtier and worn out.

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
Diapolo
Hero Member
*****
Offline Offline

Activity: 769
Merit: 500



View Profile WWW
July 11, 2012, 09:00:30 PM
 #12

I assume I should be checking for bad sectors right?

Thanks.

- run "cmd" as Administrator
- run "chkdsk C: /f /v /x /r" and reboot
- take a look into the Windows eventlog under Application - wininnt

You can replace C: by every partition you have on that Laptob to check the filesystem intensively!

Dia

Liked my former work for Bitcoin Core? Drop me a donation via:
1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x
bitcoin:1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x?label=Diapolo
Diapolo
Hero Member
*****
Offline Offline

Activity: 769
Merit: 500



View Profile WWW
July 11, 2012, 09:01:20 PM
 #13

I'm just going to format it and put on linux. However so far I have one bad sector. Something I should worry about?



IMHO every bad sector on a drive is one too much ... I would replace that disk!

Dia

Liked my former work for Bitcoin Core? Drop me a donation via:
1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x
bitcoin:1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x?label=Diapolo
Diapolo
Hero Member
*****
Offline Offline

Activity: 769
Merit: 500



View Profile WWW
July 11, 2012, 09:02:37 PM
 #14

I've found that Windows machines always need 2 hard drives.  1 that is actually used, and the other to backup everything for a monthly reformat so that the first one works properly.

I read that you dislike Windows, which is of no help here ^^. You always should create a backup!

Dia

Liked my former work for Bitcoin Core? Drop me a donation via:
1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x
bitcoin:1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x?label=Diapolo
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
July 11, 2012, 09:21:22 PM
 #15

perhaps I'm best off returning it for replacement.

Comments?
If you like the laptop then keep it and use it. Repair the bad blocks, monitor for any new bad blocks and get the replacement drive under warranty if you get any more bad blocks without a reason, like jostling.

What is worth more: a spare hard drive lying on the shelf or your time wasted with no laptop?

The laptop manufacturer seems to think that the warranty only lasts for 90 days.  I didn't buy an extended warranty.  I can manage without the laptop for the 7 to 10 days they claim the repair will take.

Thanks for your input though.  Maybe if I hadn't just spent 24 hours backing up the hard drive and arrange for a courier to pick it up I would consider just remapping the bad sectors.  Smiley

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
Diapolo
Hero Member
*****
Offline Offline

Activity: 769
Merit: 500



View Profile WWW
July 11, 2012, 09:25:50 PM
 #16

perhaps I'm best off returning it for replacement.

Comments?
If you like the laptop then keep it and use it. Repair the bad blocks, monitor for any new bad blocks and get the replacement drive under warranty if you get any more bad blocks without a reason, like jostling.

What is worth more: a spare hard drive lying on the shelf or your time wasted with no laptop?

The laptop manufacturer seems to think that the warranty only lasts for 90 days.  I didn't buy an extended warranty.  I can manage without the laptop for the 7 to 10 days they claim the repair will take.

Thanks for your input though.  Maybe if I hadn't just spent 24 hours backing up the hard drive and arrange for a courier to pick it up I would consider just remapping the bad sectors.  Smiley

I would never trust a disk with bad sectors, at least not with personal / important data on it.

Dia

Liked my former work for Bitcoin Core? Drop me a donation via:
1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x
bitcoin:1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x?label=Diapolo
2112
Legendary
*
Offline Offline

Activity: 2128
Merit: 1065



View Profile
July 11, 2012, 09:31:04 PM
 #17

- run "cmd" as Administrator
- run "chkdsk C: /f /v /x /r" and reboot
- take a look into the Windows eventlog under Application - wininnt

You can replace C: by every partition you have on that Laptob to check the filesystem intensively!
This is a bad advice. It gives you false negatives: chkdsk only scans inside partitions, but doesn't scan partition headers and various boot and recovery files.

Also chkdsk will be fooled with extended retry algorithms that are used in modern drives (with the exception of the most expensive enterprise drives). It will be silent about all the marginal sectors that are barely readable after many seconds of trial reads. You especially want to know about those in advance.

smartmontools are the best friend of smart disk drive users.

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
pekv2
Hero Member
*****
Offline Offline

Activity: 770
Merit: 502



View Profile
July 11, 2012, 09:44:54 PM
 #18

I'm just going to format it and put on linux. However so far I have one bad sector. Something I should worry about?



IMHO every bad sector on a drive is one too much ... I would replace that disk!

Dia

I would never trust a disk with bad sectors, at least not with personal / important data on it.

Dia

+2

imo, I would change out any hard drive with bad sectors, even if fixed/repaired in cmd line and/or terminal, it can come back 10x worse.  It just shows that this the beginning of your problems.

I just recently broke up my raid0 because of one hdd had 4 bad sectors. I would take no chances even with one bad sector repairable or not.
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
July 11, 2012, 10:41:04 PM
 #19

smartmontools are the best friend of smart disk drive users.

Do you think it's worth printing out some smartmontools output to put in the package with the laptop when I send it back?

What's a good smartctl command to get a reasonable amount of output for printing?

What I don't want is to wait 10 days and get the laptop back with a note saying "looks fine to us".

The 'long' test just finished:

Quote
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed: read failure       00%       836         153439088
# 2  Short offline       Completed without error       00%       834         -

Edit: I notice that the '-H' (health) check tells me it 'passed':

Quote
$ sudo smartctl -H /dev/sda
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-25-generic-pae] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
2112
Legendary
*
Offline Offline

Activity: 2128
Merit: 1065



View Profile
July 11, 2012, 11:01:27 PM
 #20

Do you think it's worth printing out some smartmontools output to put in the package with the laptop when I send it back?
I always did just that. But I never sent the whole computer back, only the disk.
What's a good smartctl command to get a reasonable amount of output for printing?
I always did "smartctl -a", but if you want to save space you can use "smartctl -A", "smartctl -l selftest" and "smartctl -l error". In would also print the results from the manufacturer's diagnostic: either OEM like Dell, IBM, HP or the actual drive manufacturer if this was a retail drive. I also have a duplex printer that I could configure to print 4 pages per one sheet of paper, so I couldn't claim saving the trees.

"-A" is the most interesting to look at. "-l error" looks the scariest if you suspect bad behavior from the service department.

"-A" could also give you away. E.g. you'll have "G-Sense Error Rate" high then its a proof of a dropped laptop. Same things with "Power On Hours", "Power Cycles" and "Temperature Celcius" if you were fiddling with the computer.

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
Pages: [1] 2 »  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!