Author Topic: Frequent Registry Backup crashes  (Read 23637 times)

0 Members and 1 Guest are viewing this topic.

Offline indrawn

  • Newbie
  • *
  • Join Date: May 2013
  • Posts: 19
  • Karma: 0
    • View Profile
Frequent Registry Backup crashes
« on: May 28, 2013, 01:22:33 pm »
I'm using Registry Backup 1.6.0 on Win8 Pro x64. I normally run it via Task Scheduler. If I look at the Win8 "Action Center", I see lots of RB crashes referenced. I'm not sure what info you require, but here is some output from one of the instances where it "Stopped working" (I love that bit of Microsoft parlance):

Code: [Select]
Description
Faulting Application Path: C:\Program Files (x86)\Registry Backup\TweakingRegistryBackup.exe

Problem signature
Problem Event Name: APPCRASH
Application Name: TweakingRegistryBackup.exe
Application Version: 1.6.0.0
Application Timestamp: 51319d70
Fault Module Name: TweakingRegistryBackup.exe
Fault Module Version: 1.6.0.0
Fault Module Timestamp: 51319d70
Exception Code: c0000005
Exception Offset: 0014463f
OS Version: 6.2.9200.2.0.0.256.48
Locale ID: 1033
Additional Information 1: 5427
Additional Information 2: 5427eb1d9f395d545fe293b8b95a40de
Additional Information 3: dda0
Additional Information 4: dda08371e6ac8c0c9cb44c2ad0e83ffc

Extra information about the problem
Bucket ID: 65af9cf4c59fff2c4c6c9c465ea73a7b (-850262098)

Please let me know if you would like more information on this.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Frequent Registry Backup crashes
« Reply #1 on: May 28, 2013, 01:45:32 pm »
I have had multiple people report this but havent been able to replicate it yet.

What is happening is the backups are finishing, it is when the program goes to close itself down is when the crash happens.

Are you running it under the system account or the current user account?

I have been trying to find a way to replicate it, anything I can replicate I can fix :-)

Shane

Offline indrawn

  • Newbie
  • *
  • Join Date: May 2013
  • Posts: 19
  • Karma: 0
    • View Profile
Re: Frequent Registry Backup crashes
« Reply #2 on: May 28, 2013, 01:53:08 pm »
Sorry for posting in the wrong forum. I didn't see this one.

I run it under the System account.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Frequent Registry Backup crashes
« Reply #3 on: May 28, 2013, 01:55:19 pm »
OK so did the others, try having it run under the user account instead and let me know how it does.

If it stops crashing under the user account then I know where to start looking :-)

Shane

Offline indrawn

  • Newbie
  • *
  • Join Date: May 2013
  • Posts: 19
  • Karma: 0
    • View Profile
Re: Frequent Registry Backup crashes
« Reply #4 on: May 31, 2013, 06:11:41 pm »
I ran the task with it configured to run under my own user context for a couple days (since my last post), and sorry to say, the crashes still happen.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Frequent Registry Backup crashes
« Reply #5 on: June 02, 2013, 02:42:09 pm »
OK so I know it isnt with the system account.

Do you have it set to run hidden? If so try having it run without being hidden and let me know how it goes.

I just need to find a starting point to start looking :-)

Shane

Offline indrawn

  • Newbie
  • *
  • Join Date: May 2013
  • Posts: 19
  • Karma: 0
    • View Profile
Re: Frequent Registry Backup crashes
« Reply #6 on: June 03, 2013, 01:38:26 pm »
Changed from /supersilent to /silent...

Still, it crashed.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Frequent Registry Backup crashes
« Reply #7 on: June 03, 2013, 02:39:13 pm »
Dang. I have it run at every startup on my Windows 7 system here at home and it doesn't crash when it closes itself.

I cant seem to replicate it.

For me I have it running under the current user when I login and with the /supersilent. I also have it set to show the system tray icon when it is running.

I just need to find what is different between your system and mine.

Shane

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Frequent Registry Backup crashes
« Reply #8 on: June 03, 2013, 02:54:38 pm »
I am looking at the code now, and one thing I have it checking is if the backup is still removing old backups.

On mine I have it set for 30 days of backups and under the advanced settings I have it set for 1 backup per day.

Let me know what you have for those settings, I will mimic yours and see if I can get it to crash.

Shane

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Frequent Registry Backup crashes
« Reply #9 on: June 03, 2013, 03:08:03 pm »
Oh and post the log files of a backup that worked but crashed.

My goal is to look at the log and see how far it gets to. Even if the log is complete it will help me to know where to start looking in the code as I can start checking that code after it is done making the logs :-)

Multiple people have reported the program crashing, I want to get this sucker fixed  :tongue:

Shane

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Frequent Registry Backup crashes
« Reply #10 on: June 03, 2013, 04:36:51 pm »
OK I have a test exe for you.

I was able to cut the size of the program in half. I had a lot of code in there to handle png files. I changed the pngs to jpgs since the background color doesnt change. This allowed me to get rid of a lot of code, including some sub classes that can cause crashes if not closed right. This shrank the program from 1.6 MB to 1.2MB, I also recompiled the program as P-Code instead of the standard way, this cut down the size to 864 KB :-)

So replace your exe with this one and let me know how it goes and if the crashes still happen.

Shane

Offline indrawn

  • Newbie
  • *
  • Join Date: May 2013
  • Posts: 19
  • Karma: 0
    • View Profile
Re: Frequent Registry Backup crashes
« Reply #11 on: June 04, 2013, 01:07:27 pm »
I have the EXE in place and will get back to you. Thanks!

BTW I have it set to save 365 days of backups and "Only do 1 auto backup per day" is disabled.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Frequent Registry Backup crashes
« Reply #12 on: June 04, 2013, 08:14:55 pm »
Great let me know if it has better luck, if it does I will release it.

Also that is a lot of backups! Normal registry backup size is around 128 MB. 365 days worth of back ups (If only 1 per day) is 45 GB of space lol

Normally a week is good. Think about it, all the Windows updates, drivers and things you do to the system, and if you go and restore a very old backup of the registry you will just end up causing the system to crash. :wink:

Shane

Offline indrawn

  • Newbie
  • *
  • Join Date: May 2013
  • Posts: 19
  • Karma: 0
    • View Profile
Re: Frequent Registry Backup crashes
« Reply #13 on: June 05, 2013, 01:13:29 pm »
Also that is a lot of backups! Normal registry backup size is around 128 MB. 365 days worth of back ups (If only 1 per day) is 45 GB of space lol

Normally a week is good. Think about it, all the Windows updates, drivers and things you do to the system, and if you go and restore a very old backup of the registry you will just end up causing the system to crash. :wink:

I'm aware. This Win8 system was brand new to me when I first started using your application, and I wanted to quickly set it up without overthinking it and without deleting things I may want. Also, old registry backups can be handy to restore not entire hives, but for mounting (in a utility such as Registry Workshop) and viewing/restoring individual keys/values/data.

I'll get back to you!

Offline indrawn

  • Newbie
  • *
  • Join Date: May 2013
  • Posts: 19
  • Karma: 0
    • View Profile
Re: Frequent Registry Backup crashes
« Reply #14 on: June 06, 2013, 03:58:32 pm »
Well, I have good news for once. No more crashes!  :cheesy:

At least, I have not had any since 6/4 6/3 at 4:10 PM, and that was with the previous (release) version, 1.6.0.0.

I've had 9 backups take place with 1.6.0.1 without any crashes. Previously, it was typically crashing several times a day. I wouldn't yet swear that the problem is resolved on my system, but it's looking good.

Thank you!
« Last Edit: June 08, 2013, 02:37:46 pm by indrawn »

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Frequent Registry Backup crashes
« Reply #15 on: June 08, 2013, 11:02:20 am »
It has been a couple more days, how is it holding up so far? Crashes seem fixed still?

Shane

Offline indrawn

  • Newbie
  • *
  • Join Date: May 2013
  • Posts: 19
  • Karma: 0
    • View Profile
Re: Frequent Registry Backup crashes
« Reply #16 on: June 08, 2013, 12:04:43 pm »
I guess so!

I went to open the illustrious "Action Center", and the icon wasn't even there! I had to open it up through Control Panel. No crashes since 6/3 at 4:10 PM.

This change/fix may not work for all, but it seems to work here.

Thank you, Shane!

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Frequent Registry Backup crashes
« Reply #17 on: June 08, 2013, 12:44:18 pm »
Well that is good news :-)

I will put out the new version in the next day or so.

Shane