Jump to content

[Hotfix Released] CCleaner wiping Chrome profile for some users


Recommended Posts

The same issue again.  Chrome profile deleted.  After unchecking 'Applications -> Google Chrome -> Internet History' everything is OK. 

Windows 10 (1709 build 16299.371)

Chrome Version 65.0.3325.181 (Official Build) (64-bit)

CCleaner v5.42.6495 (64-bit)


Link to comment
Share on other sites

I can confirm that the latest (free) version of Ccleaner v5.42 wiped out my Chrome (latest) settings. Has not happened ever before, only with the latest release 5.42. Happened on two of my machines, both running Win7 (with all the latest updates), one is 64-bit, the other 32-bit. Ccleaner v5.42 has a nasty bug about the Chrome settings. Please overview and correct the issue. Thanks

PS: just overinstalled v5.41 over the v5.42 and the issue is not there with 5.41.

Link to comment
Share on other sites

since i've update on CCleaner V5.42.6495, when i start cleaner option, only if  i disable all google chrome option, all of my parameters ( apps, favorites, google account, theme...) exept the name of session are gone, i must re-enter them, its like i reset it

if i want to clean it without lost my customizations, but its absolutly impossible, one option active and i lost all.

friends and familly say to me they also have same problem.

Link to comment
Share on other sites


i have CHROME Version 65.0.3325.146 (official Build) (64 bit)  with two user profiles,

after "Run Cleaner" the two profiles was corrupted and i needed to recreate to solve the issue; only every time i "Run Cleaner" the problem appear again; i have repeated the same on the other computer with Windows10 Pro 64 1709 16299

Link to comment
Share on other sites

  • Admin

Quick update: We believe we know the cause of this issue and are working on a fix. We will release this as a hotfix as soon as ready.

It doesn't look like it affects all users of Chrome, it seems dependent on certain data existing in the profile, which explains why it wasn't caught in testing. Nonetheless we will look at our 'regression pack' (the battery of tests we perform on CCleaner before releasing it to the wild) to see if there is a way to catch this kind of issue in the future.

Link to comment
Share on other sites


Same problem here!

before Google Chrome Internet History Cleaning with PIRIFORM CCleaner Professional (V5.42.6495):
%USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default\Preferences
"partition":"default_zoom_level":"x": 2
.2239010857415451 (= 150 %)

after Google Chrome Internet History Cleaning with PIRIFORM CCleaner Professional (V5.42.6495):
%USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default\Preferences
"partition":"default_zoom_level":"x": 2
,2239010857415447 (= 150 %)

The comma instead of the dot is the cause of the profile error!

MICROSOFT Windows 10 Pro (x64, German, Build 10.0.17134.1, Version 1803, April 2018 Update "Redstone 4")

Link to comment
Share on other sites

I am not sure what to do at this point in time. I am using windows 8.1 and the newest version of ccleaner. I check my mail in chrome and then I log out and then I use ccleaner and then I shut down. The next day I do the same thing again with no error messages. Is it safe for my computer to continue to do this? It won`t cause any damage will it?

Link to comment
Share on other sites

  • Admin

Hi everyone,

We have a fix that has passed testing for this and we plan to roll it into v5.43, which is currently scheduled for Thursday 17th May. We have collaborated on the fix with the Yandex browser team, who were able to provide some specific conditions for reproducing it.


A (Technical) Explanation of the Issue

There were actually two issues at play here:

#1 - JSON 'double' format

Some of Chrome's data is stored in condensed JSON format. If we want to clean one thing but not another, we need to open the file into a workable JSON format, clean out one or more specific sets of data and then convert the file back to the original format. A JSON wrapper function written a long time ago was converting long 'double' data types using the scientific -or exponential- double format. That's fine for internal CCleaner use, because exponential doubles use less space than float doubles. But the Chrome (and Chromium) profiles expect these values to always be in a float double format, and Chrome would crash if it encountered an exponential double. The fix is that this wrapper now always converts to float format when used for browser cleaning.


#2 - Comma decimal separator

In some countries (such as Russia) it is usual to use a comma as the separator in a decimal value, e.g. "4987434,3263543746". Yandex highlighted that running CCleaner on a Windows environment set to use such a preference would result in changes to float values. E.g. "2487.0982" would become "2487,0982". This would cause the JSON data file to be saved incorrectly.


Why did it happen now?

We're not entirely sure why this only just started happening or why it only happens in some cases. It seems that Chrome made some changes in how it stores certain values and now uses very long floats for this. This exposed some incompatibilities in CCleaner JSON handler code that wasn't originally written for handling the Chrome profile specifically. However, it's also true that not all profiles seem to contain these long doubles; internally we were unable to reproduce the problems people were having because our profiles (even those with lots of use) did not contain the double values triggering the issue.


What are we doing to avoid this kind of thing in the future?

We have discussed this internally. The CCleaner code has been written over many years and does not utilise more modern trends in software development such as code unit tests. The team would like to add unit tests, starting with the most utilised parts of the code and especially code which is used in conjunction with other software that can change without our knowledge or control (e.g. browser cleaning, system cleaning & application cleaning). This will be a long process to build up these tests, but we believe it has strong value in reducing the risk of issues like this from arising in the future, and is ultimately worth the effort.

Link to comment
Share on other sites

After Chrome update to version 66.0.3359.170 I cannot use CCleaner anymore. Previous version of chrome can be damaged by CCleaner but there were workaround (clean temp files by chrome first, then run CCleaner = all ok).

But now if I clean by Chrome self first, then run CCleaner = all settings wiped after each run of CCleaner.

It is worse and worse, so i had to uncheck all chrome options in CCleaner.


Link to comment
Share on other sites

  • Admin

Hi everyone,

Version 5.43 has been delayed so we have released version 5.42.6499 today as a hotfix for this issue. This fix has been independently verified by the folks at Yandex browser (our thanks to Konstantin from Yandex for his and his team's assistance).

Free installer: https://www.ccleaner.com/ccleaner/download/standard

Portable & Slim installers: https://www.ccleaner.com/ccleaner/builds

Professional, Business & Tech Edition will be updated automatically if you have this setting enabled.


File Hashes:

CCleaner Installers

ccsetup542.exe - CCleaner Free Installer
    MD5: ce28782b02059b3cbcae6ffd841ae5ac
    SHA256: 6ead31b5c7fd6b06d6a264c3ac8561f80d97f3c4ad50a686fa4d3a6dd1806855

ccsetup542pro.exe - CCleaner Pro Trial Installer
    MD5: e4e192ea3aea50ed0b9cb5c48b27a2b8
    SHA256: 10718d2a3f6514a2e767f37471ab4ebaeb1d4f419a159cb9dd1919e78e4a1091

ccsetup542_pro.exe - CCleaner Pro Installer
    MD5: 2e3fad70a7768c58e3b50aebb062d72f
    SHA256: 9be06de4e96d70bba46cbdf11644b0dbfe1ef7d37d11c21c5f2cb69e3ee82d48

ccsetup542.zip - CCleaner Portable (zipped)
    MD5: e6f224add7429476f527bdb97f474a8b
    SHA256: 45e3961f34d341e322ee29b8c3f35b4e05169a7fe8c5ada8ff9c43998fd197a1

ccsetup542_slim.exe - CCleaner Free Slim Installer
    MD5: 44920c7ccf4075b2eb5ab590d607c2b5
    SHA256: 8fea875343b93484d73f34c3bf6ee5fa4fc0744ad1e8ac6b0732b42760491696

ccsetup542_be.exe - CCleaner Business Edition Installer
    MD5: 6120eac3e866a4b3a6d14b46b2daef22
    SHA256: e61ef9b624211a712d6e4a3c9c6eeb0ab957769fddd4525ec27fd963b71d137c

ccsetup542_be_trial.exe - CCleaner Business Edition Trial Installer
    MD5: 8a5e1ec8aeefb8993927bfb634521fd3
    SHA256: 906b2715312adcf02405be8bfceffa5e9b9a60c94e44f84cf103ce1367b11568

ccsetup542_x64_be.msi - CCleaner Business Edition 64-bit MSI Installer
    MD5: 12f230261dc51e6a10908781737250c8
    SHA256: 2e27469e85977e62f8e3fae1d17f019a0b9f9a165666fe0182dcf4af8a91ede1

ccsetup542_x86_be.msi - CCleaner Business Edition 32-bit MSI Installer
    MD5: 9485dd92499159387a5827d99c8d9f97
    SHA256: 352bd653c4161be6ed767bb80ec8618d6ab2b4da488081b073c0fb849e5ed144

ccsetup542_te.exe - CCleaner Technician Edition Installer
    MD5: 3b2bd0b26c3293bcc4df98cdf5bb73b8
    SHA256: ecf49c525994ec41af1246c07b29067a99fd4931fd26eb7f17c7d05107efac6d

CCleaner Application Executables

CCleaner.exe - CCleaner 32-bit binaries
    MD5: 6f0f2e71da3f8a04fc2c84b5e927eb68
    SHA256: e402696325838c8478ea88edb9bb99e0a0eedf8a0056200b5619dc51cd4c1a11

CCleaner64.exe - CCleaner 64-bit binaries
    MD5: b32abbd9cd28147841b500f41cf14af6
    SHA256: bae9b06340721d743c7ec65c1d4bc5b4c28d24769a0698da4e9d9e373a608e38

CCUpdate.exe - CCleaner Emergency Updater
    MD5: 24e6edd0d0f53cc16eb7d439665bafc5
    SHA256: 358a858199995abe6c1162a035f2c886882517f9b72f7e55f992dbe60589fe82

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.