BleachBit hangs when trying to clean Firefox, Thunderbird, Chrome

Forums: 

I built a new computer a few weeks ago, Windows 7 Pro x64, and initially BleachBit (0.8.7, with winapp2.ini) worked as normal. A few days ago, though, it started hanging when cleaning Firefox. I tried using BleachBit portable, same thing. So I unchecked Firefox, and BB hung when it got to Thunderbird. Ditto for Chrome. I just updated BB to 0.8.8, and the same thing happens, it hangs on all three. As far as I can find on the forums, nobody else has this problem (or at least, the most recent report of hanging was with 0.8.3). Anybody have any ideas?

Are you basing the "while" on the progress bar or the log window? In either case, here are two things that may help isolate the problem

#1 Right click on each option (like Firefox - Vacuum) and clean each individually to find out where the freeze is happening.

#2. Run with the console on.

c:\program files (x86)\bleachbit\bleachbit_console.exe

Run the command above, start the cleaning, and when it freezes, copy the terminal window, and paste it into the forum. Also a screenshot (of the GUI and maybe the terminal) may help.

---
Andrew, lead developer

The progress bar, because nothing shows up in the log window. (That's new too.) If I deselect FF, Thunderbird, and Chrome entirely, BleachBit runs as normal, with text in the log window too.

Every option (for Firefox, Thunderbird, and Chrome) causes BB to hang, whether I let it run normally or just select one option at a time, right-clicked. Screenshot of both the GUI and the terminal is here: http://i56.tinypic.com/8wmvif.jpg

Interesting. It's possible that the wmic command is causing a freeze if its output is larger than expected. You can check this in BleachBit by clicking Help - System Information: if this freezes, this is the problem, and if it does freeze, would you please do this?

  1. Hold the WINDOWS key while pressing R
  2. Type CMD.EXE and hit ENTER
  3. Type wmic path win32_process get Caption > %USERPROFILE%\desktop\processes.txt and hit ENTER
  4. On the desktop open processes.txt
  5. Copy it to the clipboard
  6. Paste it here

This will help me decide the best way to fix it. On my system, the process list is about 20 lines long.

---
Andrew, lead developer

While it would still be interesting to find out how a system has a long process list, I may have a potential fix here BleachBit-0.8.8.3-setup.exe. It's basically 0.8.8 with a fix for this freezing/hanging issue. Please try installing that, and let me know how it goes.

If I am right about the issue, these are the symptoms:

  • It affects only Windows Vista and Windows 7 (not XP)
  • It only happens when many processes are running (can be seen in Windows Task Manager)
  • It does not happen during a preview
  • It happens when deleting certain cleaners which check whether a process is running: these include Firefox and Google Chrome
  • It happens when clicking Help - System Information
  • It happens only on BleachBit version 0.8.8 and earlier

---
Andrew, lead developer

0.8.8.3 fixes the problem. Thanks! As requested, here's processes.txt (84 lines, plus a blank line at the end):

Caption
System Idle Process
System
smss.exe
csrss.exe
wininit.exe
csrss.exe
services.exe
lsass.exe
lsm.exe
winlogon.exe
svchost.exe
nvvsvc.exe
svchost.exe
MsMpEng.exe
svchost.exe
svchost.exe
svchost.exe
UMVPFSrv.exe
svchost.exe
svchost.exe
NvXDSync.exe
nvvsvc.exe
spoolsv.exe
svchost.exe
AppleMobileDeviceService.exe
mDNSResponder.exe
CrashPlanService.exe
svchost.exe
WLIDSVC.EXE
WLIDSVCM.EXE
NisSrv.exe
svchost.exe
WmiPrvSE.exe
WUDFHost.exe
taskhost.exe
taskeng.exe
dwm.exe
explorer.exe
Core Temp.exe
RAVCpl64.exe
msseces.exe
boincmgr.exe
boinctray.exe
igfxtray.exe
hkcmd.exe
igfxpers.exe
SetPoint.exe
sidebar.exe
GoogleCrashHandler.exe
svchost.exe
flux.exe
KHALMNPR.exe
boinc.exe
conhost.exe
nusb3mon.exe
CrashPlanTray.exe
SsWiaChecker.exe
PfuSsMon.exe
jusched.exe
LWS.exe
nvtray.exe
CameraHelperShell.exe
SearchIndexer.exe
wmpnetwk.exe
svchost.exe
peerblock.exe
dllhost.exe
daemonu.exe
taskhost.exe
TrueCrypt.exe
firefox.exe
plugin-container.exe
brainworkshop.exe
camb_2.16_windows_intelx86.exe
conhost.exe
einsteinbinary_BRP3_1.07_windows_intelx86__BRP3cuda32.exe
conhost.exe
TweetDeck.exe
audiodg.exe
svchost.exe
cmd.exe
conhost.exe
WMIC.exe