We have discontinued this forum and moved support tickets to the GitHub issue tracker. More info

The app hangs when changing fan control

Control fans on Apple hardware: iMacs, Macbooks, etc

Moderator: Steven

Post Reply
bladedthoth
Posts: 11
Joined: 17 Jun 2015, 19:55

The app hangs when changing fan control

Post by bladedthoth »

Ever since I had to replace the hard drive in my iMac (27-inch, Mid 2010 - iMac11,3), I've had the dreaded Mac fan issue. Even though I matched model exactly, still had the fan issue. I had tried a lot of other fan apps which never seemed to do anything for the HDD Fan speed. I found your program and was tickled pink that it worked so well.

About 3 months ago, I reinstalled my Mac to get Yosemite to work properly. I was content on Macs Fan Control 1.2.x. It wasn't until the update came along to 1.3.0 that I started having problems.

First reboot after installing 1.3.0, the icon shows up for MFC, but if you mouse over it, you get the beachball of doom. After about 5 minutes, my Mac's HDD fan spins up full speed and never stops (Until I reset my PRAM and my SMC, which gives me another 5 minutes.)

I've done a bunch of digging, and the only preference file I can find is in PreferencesPane. Even if I remove it, force-quit MFC and relaunch, it still hangs. After a reboot, MFC will come back up but does not control my HDD fan. So if I go in and manually set it to anything besides the default for the HDD fan, the app window promptly locks up. Rinse, repeat.

I do not have any app that reads SMART besides the built-in Disk Utility in OS X. Upon a launch and before a trigger of the app, it does read all the fan states in the system successfully; It is not until I try to change the HDD fan speed setting that it does anything (Heck, I can change the others with no problem, just for testing, but all I need is the HDD fan.)

I love this app and would really like it to work again.

Thanks in advance for your reply!
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: Upgraded to 1.3.0 - Now Crashes On Launch

Post by Steven »

bladedthoth
http://forums.crystalidea.com/viewtopic.php?f=11&t=1006

What about crash reports? Please share them
bladedthoth
Posts: 11
Joined: 17 Jun 2015, 19:55

Re: Upgraded to 1.3.0 - Now Crashes On Launch

Post by bladedthoth »

No crash reports. If I don't force quit it, it never terminates. No crash log. Just beachball of doom.

Macs Fan Control 1.3.0
iMac11,3
Intel(R) Core(TM) i3 CPU 550 @ 3.20GHz[100]
Mac OS X Unknown

Fans:
ODD-min{1000}curr{999}max{3800}mode{0}
HDD-min{1100}curr{5508}max{5500}mode{0}
CPU-min{940}curr{939}max{2100}mode{0}


TempSensors:
TA0P () - 21.0859, 21.0859
TA0V () - 21.0469, 21.0469
TA0p (Ambient) - 26.625, 26.625
TA1v () - 25.4609, 25.4609
TC0C (CPU Core 0) - 49.0938, 49.0938
TC0D (CPU Diode) - -1, 129
TC0H (CPU Heatsink) - 47.25, 47.25
TC0P (CPU Proximity) - -1, 129
TC1C (CPU Core 1) - 53, 53
TG0D (GPU Diode) - 47.25, 47.25
TG0H (GPU Heatsink) - 43.75, 43.75
TG0p () - 45, 45
TH0O () - 9, 9
TH1O () - 9, 9
TL0P (LCD proximity) - 33.7539, 33.7539
TL0V () - 32.1367, 32.1367
TL0p () - 47.25, 47.25
TL1V () - 35.5703, 35.5703
TL2V () - 38.0625, 38.0625
TLAV () - 37.6953, 37.6953
TLBV () - 38.0625, 38.0625
TLCV () - 32.1367, 32.1367
TMCD () - 53, 53
TO0P (Optical Drive) - 37.375, 37.375
TO0p () - 38.375, 38.375
TPCD () - 59, 59
TS0V () - 39.0977, 39.0977
TS2P () - 34.25, 34.25
TS2V () - 32.6562, 32.6562
TS2p () - 34.25, 34.25
Tm0P (Mem Controller) - 42.125, 42.125
Tm0p () - 42.125, 42.125
Tp1P () - 49.375, 49.375
Tp2H () - 65.375, 65.375
Tp3H (PSU Primary) - 51.625, 51.625


Disk drives:
ST3500418AS - 34
Attachments
Screen Shot 2015-06-22 at 10.39.15 AM.png
Screen Shot 2015-06-22 at 10.39.15 AM.png (74.92 KiB) Viewed 13861 times
bladedthoth
Posts: 11
Joined: 17 Jun 2015, 19:55

Re: Upgraded to 1.3.0 - Now Crashes On Launch

Post by bladedthoth »

*bump* Any ideas?
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: Upgraded to 1.3.0 - Now Crashes On Launch

Post by Steven »

bladedthoth
I don't get it. The app simply works in background and you don't see it and have to force quit. Right?
Then how do you managed to take the screenshot?
bladedthoth
Posts: 11
Joined: 17 Jun 2015, 19:55

Re: Upgraded to 1.3.0 - Now Crashes On Launch

Post by bladedthoth »

As mentioned above, as soon as I change the hard drive setting, the app locks up. The windows stays visible but goes 'Not Responding'. If I reboot, it launches, the icon shows up in the menubar, but if you mouse over it, beachball. Try to click on it, it does nothing. If I force quit it through the Activity Monitor and try to restart the app, it does same thing.

If I force quit it, go in and delete the Preference file, and try to reopen it before reboot, it just hangs. You check the folder, and the preference file is there.

To get it to relaunch so I could provide screenshots, I have to delete the Preference file, reboot the computer, relaunch Macs Fan Control and it will come up.

It worked with 1.2.x version; As soon as I upgraded to 1.3.0, this started it. I've tried deleting the preference file and 1.3.0 MFC, rebooting and then reinstalling the older 1.2.x version of Macs Fan Control, but that doesn't work.

Question; Besides in ~/Library/Preferences, does MFC save anything elsewhere that I could try deleting?
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: Upgraded to 1.3.0 - Now Crashes On Launch

Post by Steven »

bladedthoth
That's a very strange (and sad) story :( No, MFC stores its preferences in a single file.

Can you record a video (after cleared preferences) to see the hang problem?
Please also enable log in Preferences.
bladedthoth
Posts: 11
Joined: 17 Jun 2015, 19:55

Re: Upgraded to 1.3.0 - Now Crashes On Launch

Post by bladedthoth »

As soon as I turned the log on, after wiping the Pref file and rebooting, it beachballs on startup now. Where is the log stored?

Attached is the video. Please note that the video doesn't show the beachball, but it happens as soon as I click 'Ok'

http://youtu.be/k6A1zc-hlU0
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: Upgraded to 1.3.0 - Now Crashes On Launch

Post by Steven »

bladedthoth
The log is stored on the desktop. Correct way of clearing preferences is

Code: Select all

#!/bin/bash

killall MacsFanControl
rm ~/Library/Preferences/com.crystalidea.macsfancontrol.plist
killall -u `id -u -n` cfprefsd
Does it hang if you simply set some constant value? (not sensor-based).
bladedthoth
Posts: 11
Joined: 17 Jun 2015, 19:55

Re: Upgraded to 1.3.0 - Now Crashes On Launch

Post by bladedthoth »

Even by me just setting the 'Enable Logging' preference, it locks up on the restart (Not immediately.)

It does hang on a constant RPM value as well.

It actually hangs with setting the ODD and CPU to constant or sensor as well. It almost seems like as soon as the preference file is made, it goes under unless it is the default settings file (Nothing changed.)

Edit: Your command-line thing at least prevents me needing to reboot each time to test.
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: Upgraded to 1.3.0 - Now Crashes On Launch

Post by Steven »

bladedthoth
Do you have a log file (located on your desktop)
bladedthoth
Posts: 11
Joined: 17 Jun 2015, 19:55

Re: Upgraded to 1.3.0 - Now Crashes On Launch

Post by bladedthoth »

INFO 2015-06-28T10:47:44.846 MacFanControl/app.cpp @ 158 "Macs Fan Control 1.3.0"
INFO 2015-06-28T10:47:44.846 MacFanControl/app.cpp @ 159 "Mac OS X Unknown"
INFO 2015-06-28T10:47:44.846 MacFanControl/app.cpp @ 160 "iMac11,3"
INFO 2015-06-28T10:47:44.862 MacFanControl/app.cpp @ 161 "Intel(R) Core(TM) i3 CPU 550 @ 3.20GHz"
INFO 2015-06-28T10:47:44.862 MacFanControl/app.cpp @ 162 "Qt 5.4.1"
INFO 2015-06-28T10:47:45.370 MacFanControl/core/FanControl.cpp @ 318 "QFanControl::Init"
INFO 2015-06-28T10:47:45.370 MacFanControl/core/FanControl.cpp @ 332 "QFanControl::Init - LoadCachedFansAndTempSensors"
INFO 2015-06-28T10:47:45.371 MacFanControl/core/FanControl.cpp @ 337 "QFanControl::Init - FilterSupportedTempSensors"
WARN 2015-06-28T10:47:45.380 MacFanControl/core/smc.cpp @ 366 "smc_get_temp - skipping sensor TC0D with value of 129"
WARN 2015-06-28T10:47:45.380 MacFanControl/core/FanControl.cpp @ 225 "FilterSupportedTempSensors - skipping sensor TC0D with value of -1"
WARN 2015-06-28T10:47:45.385 MacFanControl/core/smc.cpp @ 366 "smc_get_temp - skipping sensor TC0P with value of 129"
WARN 2015-06-28T10:47:45.385 MacFanControl/core/FanControl.cpp @ 225 "FilterSupportedTempSensors - skipping sensor TC0P with value of -1"
INFO 2015-06-28T10:47:45.407 MacFanControl/core/FanControl.cpp @ 341 "QFanControl::Init - smc_get_fans_control_mode"
INFO 2015-06-28T10:47:45.411 MacFanControl/core/FanControl.cpp @ 82 "Fan " 0 ": auto"
INFO 2015-06-28T10:47:45.411 MacFanControl/core/FanControl.cpp @ 82 "Fan " 1 ": auto"
INFO 2015-06-28T10:47:45.411 MacFanControl/core/FanControl.cpp @ 82 "Fan " 2 ": auto"
INFO 2015-06-28T10:47:45.411 MacFanControl/core/FanControl.cpp @ 345 "QFanControl::Init - QTempSensorSmart::loadAvailableSensors"
INFO 2015-06-28T10:47:45.414 MacFanControl/core/FanControl.cpp @ 349 "QFanControl::Init: number of supported SMC sensors: 10"
INFO 2015-06-28T10:47:45.414 MacFanControl/core/FanControl.cpp @ 350 "QFanControl::Init: number of supported SMART sensors: 1"
INFO 2015-06-28T11:23:58.934 MacFanControl/app.cpp @ 158 "Macs Fan Control 1.3.0"
INFO 2015-06-28T11:23:58.934 MacFanControl/app.cpp @ 159 "Mac OS X Unknown"
INFO 2015-06-28T11:23:58.934 MacFanControl/app.cpp @ 160 "iMac11,3"
INFO 2015-06-28T11:23:58.939 MacFanControl/app.cpp @ 161 "Intel(R) Core(TM) i3 CPU 550 @ 3.20GHz"
INFO 2015-06-28T11:23:58.939 MacFanControl/app.cpp @ 162 "Qt 5.4.1"
INFO 2015-06-28T11:23:59.507 MacFanControl/core/FanControl.cpp @ 318 "QFanControl::Init"
INFO 2015-06-28T11:23:59.507 MacFanControl/core/FanControl.cpp @ 332 "QFanControl::Init - LoadCachedFansAndTempSensors"
INFO 2015-06-28T11:23:59.508 MacFanControl/core/FanControl.cpp @ 337 "QFanControl::Init - FilterSupportedTempSensors"
WARN 2015-06-28T11:23:59.515 MacFanControl/core/smc.cpp @ 366 "smc_get_temp - skipping sensor TC0D with value of 129"
WARN 2015-06-28T11:23:59.515 MacFanControl/core/FanControl.cpp @ 225 "FilterSupportedTempSensors - skipping sensor TC0D with value of -1"
WARN 2015-06-28T11:23:59.520 MacFanControl/core/smc.cpp @ 366 "smc_get_temp - skipping sensor TC0P with value of 129"
WARN 2015-06-28T11:23:59.520 MacFanControl/core/FanControl.cpp @ 225 "FilterSupportedTempSensors - skipping sensor TC0P with value of -1"
INFO 2015-06-28T11:23:59.540 MacFanControl/core/FanControl.cpp @ 341 "QFanControl::Init - smc_get_fans_control_mode"
INFO 2015-06-28T11:23:59.543 MacFanControl/core/FanControl.cpp @ 82 "Fan " 0 ": auto"
INFO 2015-06-28T11:23:59.543 MacFanControl/core/FanControl.cpp @ 82 "Fan " 1 ": auto"
INFO 2015-06-28T11:23:59.543 MacFanControl/core/FanControl.cpp @ 82 "Fan " 2 ": auto"
INFO 2015-06-28T11:23:59.543 MacFanControl/core/FanControl.cpp @ 345 "QFanControl::Init - QTempSensorSmart::loadAvailableSensors"
INFO 2015-06-28T11:23:59.546 MacFanControl/core/FanControl.cpp @ 349 "QFanControl::Init: number of supported SMC sensors: 10"
INFO 2015-06-28T11:23:59.546 MacFanControl/core/FanControl.cpp @ 350 "QFanControl::Init: number of supported SMART sensors: 1"
INFO 2015-06-28T11:24:57.206 MacFanControl/app.cpp @ 158 "Macs Fan Control 1.3.0"
INFO 2015-06-28T11:24:57.206 MacFanControl/app.cpp @ 159 "Mac OS X Unknown"
INFO 2015-06-28T11:24:57.207 MacFanControl/app.cpp @ 160 "iMac11,3"
INFO 2015-06-28T11:24:57.207 MacFanControl/app.cpp @ 161 "Intel(R) Core(TM) i3 CPU 550 @ 3.20GHz"
INFO 2015-06-28T11:24:57.207 MacFanControl/app.cpp @ 162 "Qt 5.4.1"
INFO 2015-06-28T11:24:57.803 MacFanControl/core/FanControl.cpp @ 318 "QFanControl::Init"
INFO 2015-06-28T11:24:57.803 MacFanControl/core/FanControl.cpp @ 332 "QFanControl::Init - LoadCachedFansAndTempSensors"
INFO 2015-06-28T11:24:57.804 MacFanControl/core/FanControl.cpp @ 337 "QFanControl::Init - FilterSupportedTempSensors"
WARN 2015-06-28T11:24:57.812 MacFanControl/core/smc.cpp @ 366 "smc_get_temp - skipping sensor TC0D with value of 129"
WARN 2015-06-28T11:24:57.812 MacFanControl/core/FanControl.cpp @ 225 "FilterSupportedTempSensors - skipping sensor TC0D with value of -1"
WARN 2015-06-28T11:24:57.817 MacFanControl/core/smc.cpp @ 366 "smc_get_temp - skipping sensor TC0P with value of 129"
WARN 2015-06-28T11:24:57.817 MacFanControl/core/FanControl.cpp @ 225 "FilterSupportedTempSensors - skipping sensor TC0P with value of -1"
INFO 2015-06-28T11:24:57.836 MacFanControl/core/FanControl.cpp @ 341 "QFanControl::Init - smc_get_fans_control_mode"
INFO 2015-06-28T11:24:57.838 MacFanControl/core/FanControl.cpp @ 82 "Fan " 0 ": auto"
INFO 2015-06-28T11:24:57.838 MacFanControl/core/FanControl.cpp @ 82 "Fan " 1 ": auto"
INFO 2015-06-28T11:24:57.838 MacFanControl/core/FanControl.cpp @ 82 "Fan " 2 ": auto"
INFO 2015-06-28T11:24:57.838 MacFanControl/core/FanControl.cpp @ 345 "QFanControl::Init - QTempSensorSmart::loadAvailableSensors"
INFO 2015-06-28T11:24:57.874 MacFanControl/core/FanControl.cpp @ 349 "QFanControl::Init: number of supported SMC sensors: 10"
INFO 2015-06-28T11:24:57.874 MacFanControl/core/FanControl.cpp @ 350 "QFanControl::Init: number of supported SMART sensors: 1"
bladedthoth
Posts: 11
Joined: 17 Jun 2015, 19:55

Re: Upgraded to 1.3.0 - Now Crashes On Launch

Post by bladedthoth »

gs2015 wrote:This is why I NEVER update any of my programs/apps/software without backing up the previous version first.
Had a backup. When I rolled back to it, it still had problems.
gs2015 wrote:Developers ALWAYS like to break programs with horrible updates. I keep getting a popup to update my macs fan control, very rude and intrusive, but I refuse to update. I learned my lesson with apple and the iphone NEVER to update anything unless you truly need something that is new.
Oh yes, that's right. He INTENTIONALLY broke this update. /s I'm here not only to work through my issue, but help him potentially find a bug that may have been INADVERTANTLY added. I will agree, the pop up nag to update with no way to dismiss indefinitely is a bit of a headache and why I finally did it (Figured if it was nagging, it had to be for a good reason.)
gs2015 wrote:If everything works fine, there is no need to update. If it's not broke, don't fix it.
Unfortunately, I don't see a single thing that helps the situation here, and instead you are using this as your personal platform to complain. If you want to complain, start your own thread, and leave mine to support. Thanks.
bladedthoth
Posts: 11
Joined: 17 Jun 2015, 19:55

Re: Upgraded to 1.3.0 - Now Crashes On Launch

Post by bladedthoth »

Hey Steven; Been a couple days. Any thoughts?
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: Upgraded to 1.3.0 - Now Crashes On Launch

Post by Steven »

bladedthoth
Hey. Sorry for the late reply.
1. Has the app ever worked fine on this mac?
2. Try to delete this file and tell me if the app still hangs: Macs Fan Control.app\Contents\Resources\smc-write
bladedthoth
Posts: 11
Joined: 17 Jun 2015, 19:55

Re: The app hangs when changing fan control

Post by bladedthoth »

#1: Yes. Worked fine prior to a reinstall of OS X. Worked fine after a reinstall. Wasn't until I installed the update 1.3.0 that it stopped working.
- I reinstalled because Yosemite was running so slow for me. Reinstall helped with speed.

#2: Deleted the smc-write file from inside the .app. Still hangs on change.
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: The app hangs when changing fan control

Post by Steven »

bladedthoth, would you test the special debug version with verbose logging/messages?
bladedthoth
Posts: 11
Joined: 17 Jun 2015, 19:55

Re: The app hangs when changing fan control

Post by bladedthoth »

Sure! I'd love to.
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: The app hangs when changing fan control

Post by Steven »

bladedthoth
http://www.crystalidea.com/downloads/ma ... ol_dbg.zip
This version will product exactly 7 messages (numerated) after you try to modify fan speed.
If the app will hang, the will be less messages.

PS. Not log messages, but directly in the app window.
Post Reply