An Unexpected Error has occurred in CCleaner

Sorry, I thought they had updated it

you need to add " marks

like so

"C:\Program Files\CCleaner\CCleaner64.exe" /debug

(also, as you can see, there's a space between file name and /debug)

Hope that helps

After you make it crash, you'll find the following a .log file (attach that to this thread) and a dmp file (save this in case the developers need it)

Please note, I still think that there is an errant firefox process running I just don't know which of those it is. . . also I have 118 processes running right now, so don't feel bad about the 96

Thanks again. I will try this in the morning and update. 96 processes is a lot, but it's not making my laptop run slow so theres no need to panic yet. I've removed some Windows services that are not needed anyway. Thanks again Nergal, I just hope we can get this sorted out soon.

-Edit-

Got it running in debug mode. I can see a log file in the CCleaner folder now. I will upload that one and another one as soon as I notice a crash (if I notice one). Thanks again.

-Edit 2-

Ran it just before I was logging off and it crashed. Can't attach log as I'm not permitted. However, I have uploaded to my dropbox public folder.

1. Ran 1st time with no crashes - Log Here

2. Ran 2nd time with crash - Log Here

There wasn't a dmp file within the CCleaner folder.

I still think that there is an errant firefox process running I just don't know which of those it is

I strongly recommend Process Explorer from SysInternals.

The advantage over Windows Task Manager is that it has a column showing Company Names.

I have just tested and it shows me that I am running

Palemoon.exe by Moonchild Productions, and

Plugin-container.exe by Mozilla Corporation.

And for added convenience you can click on the "Company Name" header to sort the whole page by Company Name.

I strongly recommend Process Explorer from SysInternals.

The advantage over Windows Task Manager is that it has a column showing Company Names.

I have just tested and it shows me that I am running

Palemoon.exe by Moonchild Productions, and

Plugin-container.exe by Mozilla Corporation.

And for added convenience you can click on the "Company Name" header to sort the whole page by Company Name.

Downloaded and installed. Thanks for that as I was looking for something like this late last night.

Are you sure about these logs? Because both show ccleaner exiting normally

however

[02:07:59::343][iNFO ] OnRuleStarted | 3026 | 3162 | Mozilla - Internet History
[02:07:59::343][WARN ] Line:296 File:.\private\Net\Mozilla.cpp
[02:07:59::343][ERROR] CleanHistory - SQLite error: SQLITE_ERROR[1]: SQL logic error or missing database for file: C:\Users\Family\AppData\Roaming\Mozilla\Firefox\Profiles\vec2c2hu.default\places.sqlite
[02:07:59::343][WARN ] Line:296 File:.\private\Net\Mozilla.cpp
[02:07:59::343][ERROR] Rule: Mozilla - Internet History
[02:07:59::343][ERROR] Microsoft C++ Exception
[02:07:59::359][ERROR] Unexpected Error
[02:07:59::359][ERROR] An unexpected error has occured in CCleaner.
[02:07:59::359][ERROR] Microsoft C++ Exception

For the developers here is the C++ error

It also looks like this error is caused by a bad sqlite file for places (though it could still be that the file is locking by the afore mentioned possible errant process)

would you be willing to try https://addons.mozil...laces-improved/

fully exit firefox

and attempt to clean again (I've never tried this addon but it was in a suggestion I found for said error)

this has me b ack thinking it's the file that hazelnut pointed out before as Place.sqlite seems to be your bookmarks

I'll be willing to try anything that gets this little annoyance sorted. I had to use Recuva today as I had accidentally deleted some Tones from my iTunes folder whilst moving them onto my NAS drive. Now, Firefox wasn't running at the time at all. It crashed again. There were quite a lot of files to delete. I guess this log won't tell you anything different, but I'll try the above and we'll see how things go.

Thanks.

Log

-Edit-

Sorry, I forgot to add this dmp file here

Installed Vacuum places improved. Exited Firefox and just before I ran CCleaner, I ran Process Explorer, just to make sure there was nothing Mozilla related running. Ran CCleaner and it crashed. Process Explorer Log attached & dmp file from latest crash can be found here

System Idle Process(preCClean).txt

What about a complete fresh install of Firefox? My bookmarks were taken from a backup of my bookmarks on my old laptop before it got stolen, via Firefox Sync.

Well. . . I'm at a loss unless one of your security product (like SuperAnti or MSSE) is blocking the cleanup

It's not Super Anti Spyware as I've only installed that in the last few days and the errors with CCleaner have been dragging on for a while now. I can't see it being MSSE either as I've never had any issues before running CCleaner along with MSSE. It is an odd one, but I'm pretty sure that this started after a Firefox update a while back. I might unistall Firefox and go with Chrome for a few days (I never, ever use IE9) just to see what happens. In the mean time, I'll wait to see if anyone here has any other ideas.

Thanks for all your help so far. :)

Well, I've established it is definitely something to do with Firefox. I completely uninstalled Firefox and removed anything to do with Mozilla/Firefox from my laptop. I then installed Chrome. Ran CCleaner a good few times and no crashes. I then re-installed Firefox with the basics (no extensions, add-ons) and CCleaner ran fine on the one occasion (probably should of tested it a few times). CCleaner ran fine with no errors. I then imported my old bookmarks & passwords and added my only 2 extensions Ad Block Plus & RoboForm. Ran CCleaner and it crashed with the same error.

I'd stick with Chrome, but I really don't like it and I never use IE. So, I'm at a loss now. I may try removing all add-ons and adding them one by one just to see if it's not an issue with one of them. I have a funny idea it maybe RoboForm. I was going to do a total format and re-install, but that's going too far and may not resolve the issue.

no need, the issue is roboform, as it is still running when you cleaned in the earlier posts in this thread; there's probably a Mozilla hook into the history the the roboform bg process is using.

I thought as much. Might just have to ditch Roboform completely. I did remove them one by one as stated above, so still got the errors and that was after RoboForm was removed. Is this one the devs can look into at all?

Roboform shares your passwords between Firefox and Internet Explorer.

What an unholy alliance :angry:

I cannot help thinking it might use an always running service to enable it to detect which browsers are running,

and whether uninstalling Roboform is absolutely certain to remove that service.

It might be worth using AutoRuns from SysInternals. What it found amazed me.

I just ran a CCleaner after exiting the process for RoboForm in the systray and guess what? No error at all! No issue with IE as it's totally uninstalled from my laptop.

I cannot help thinking it might use an always running service to enable it to detect which browsers are running,

and whether uninstalling Roboform is absolutely certain to remove that service.

It might be worth using AutoRuns from SysInternals. What it found amazed me.

I will run that, thanks. You're probably right as just before I exited RoboForm from the systray, it tells me exactly what I'm running including uTorrent, which isn't part of Firefox. I think we may have nailed it here. I was trying hard to think whether this issue occured around about the same time I started using RoboForm and I think it may of been the case. Just on the off chance, can anyone recommend a good alternative to RoboForm that wouldn't cause this issue? TIA

I used Lastpass on Firefox.

I abandoned Firefox in favor of Palemoon and Lastpass imported all the passwords that Firefox entrusted to it.