@lllaass and @OGELTHORPE Extremely sorry for my delayed response. A friend took the Mac to an authorized Mac showroom about the same time I posted the query here. And they said they needed time to diagnose it - a few hours became more than a week - and they claimed that the Mac didn't overheat or shut down even once during that period. Very strange.
After I got it back, it's already shut down five times in two and half days. And now the problem is worse because the temperature rises very suddenly. One moment it's working fine and the next moment it shuts down. Here's what happened today morning about 3-4 hrs ago.
I was typing an email and opening a problematic facebook link in multiple browsers. The link had opened in Safari, but wasn’t opening in other browsers. In fact, opera and chrome then stopped opening any link, giving the error message “unable to connect to the internet.”
I was wondering why - I was able to send mail through gmail and a FTP upload was also going on. Then I tried to refresh a safari tab, but it too couldn’t connect to the internet. Then I couldn’t type anything on my gmail and the whole computer became non-responsive. It struck me that the problem might be due to over-heating, so I turned on my cooling pad (it was early morning and I had forgotten to turn it on) and I tried to increase the internal fan speed through istats. But the computer stayed hung and then it shut down and restarted. I noticed on the istats menu bar that the temperature was some 85 degrees centigrade. By the time all the apps opened and I could get the screen to be stable enough to take a screenshot, the temperature had lowered. Then I turned on activity monitor and took the necessary screenshots
Because the Mac is shutting down so fast, I was unable to take any screenshots or get Etrecheck reports when it was hot. Here's the present report. (After seeing it, I have changed gatekeeper settings to "“Mac App Store and identified developers.”:
Problem description:
Mac shuts down suddenly due to overheating.
EtreCheck version: 2.4.1 (137)
Report generated 8/23/15, 11:40 AM
Download EtreCheck from http://etresoft.com/etrecheck
Click the [Click for support] links for help with non-Apple products.
Click the [Click for details] links for more information about that line.
Hardware Information: (What does this mean?)
MacBook Pro (13-inch, Mid 2012) (Technical Specifications)
MacBook Pro - model: MacBookPro9,2
1 2.5 GHz Intel Core i5 CPU: 2-core
10 GB RAM Upgradeable
BANK 0/DIMM0
8 GB DDR3 1600 MHz ok
BANK 1/DIMM0
2 GB DDR3 1600 MHz ok
Bluetooth: Good - Handoff/Airdrop2 supported
Wireless: en1: 802.11 a/b/g/n
Battery: Health = Normal - Cycle count = 1711 - SN = 9G31805X7D3MB
Video Information: (What does this mean?)
Intel HD Graphics 4000
Color LCD 1280 x 800
System Software: (What does this mean?)
OS X 10.10.4 (14E46) - Time since boot: about 3 hours
Disk Information: (What does this mean?)
APPLE HDD ST500LM012 disk2 : (500.11 GB) (Rotational)
EFI (disk2s1) <not mounted> : 210 MB
Storage (disk2s2) /Volumes/Storage : 499.25 GB (97.36 GB free)
Samsung SSD 850 EVO 120GB disk0 : (120.03 GB) (Solid State - TRIM: No)
EFI (disk0s1) <not mounted> : 210 MB
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
OSY (disk1) / : 118.80 GB (67.27 GB free)
Core Storage: disk0s2 119.17 GB Online
USB Information: (What does this mean?)
Apple Inc. FaceTime HD Camera (Built-in)
Apple Computer, Inc. IR Receiver
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. Apple Internal Keyboard / Trackpad
Thunderbolt Information: (What does this mean?)
Apple Inc. thunderbolt_bus
Configuration files: (What does this mean?)
/etc/sudoers - Modified
/etc/hosts - Count: 20
Gatekeeper: (What does this mean?)
Anywhere
Kernel Extensions: (What does this mean?)
/Library/Extensions
[loaded] at.obdev.nke.LittleSnitch (4228 - SDK 10.8) [Click for support]
[loaded] com.bluecoat.kext.bckd (204.4.1fc23 - SDK 10.8) [Click for support]
/Volumes/Storage/Mac installables 2015 Apr/DiskWarrior 4.4.app
[not loaded] com.alsoft.Preview (4.4) [Click for support]
Problem System Launch Agents: (What does this mean?)
[failed] com.paragon.NTFS.notify.plist [Click for support] [Click for details]
Launch Agents: (What does this mean?)
[running] com.bjango.istatmenusagent.plist [Click for support]
[running] com.bjango.istatmenusnotifications.plist [Click for support]
[loaded] com.paragon.updater.plist [Click for support]
[loaded] com.stellar.ScheduledFreeSpaceWiping.plist [Click for support]
[loaded] com.stellar.StellarSmart.plist [Click for support]
Launch Daemons: (What does this mean?)
[running] com.bjango.istatmenusdaemon.plist [Click for support]
[running] com.bluecoat.k9filter.plist [Click for support]
[loaded] com.microsoft.office.licensing.helper.plist [Click for support]
[not loaded] org.eyebeam.SelfControl.plist [Click for support]
User Login Items: (What does this mean?)
Quicksilver Application (/Volumes/Storage/Quicksilver.app)
iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
Copy Application (/Applications/Copy.app)
Dropbox Application (/Applications/Dropbox.app)
SpeechSynthesisServer Application (/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks /SpeechSynthesis.framework/Versions/A/SpeechSynthesisServer.app)
TextExpander Application Hidden (/Applications/TextExpander.app)
Howler Timer Application Hidden (/Applications/Howler Timer.app)
CrossOver CD Helper Application (/Applications/CrossOver.app/Contents/Resources/CrossOver CD Helper.app)
Day One Application (/Applications/Day One.app)
BitTorrent Sync Application (/Applications/BitTorrent Sync.app)
Android File Transfer Agent Application (~/Library/Application Support/Google/Android File Transfer/Android File Transfer Agent.app)
EvernoteHelper Application (/Applications/Evernote.app/Contents/Library/LoginItems/EvernoteHelper.app)
Internet Plug-ins: (What does this mean?)
JavaAppletPlugin: Version: 15.0.1 - SDK 10.7 Check version
Safari Extensions: (What does this mean?)
Evernote Web Clipper
Dictionary
3rd Party Preference Panes: (What does this mean?)
K9 Web Protection [Click for support]
Tuxera NTFS [Click for support]
Time Machine: (What does this mean?)
Skip System Files: NO
Mobile backups: OFF
Auto backup: YES
Volumes being backed up:
OSY: Disk size: 118.80 GB Disk used: 51.53 GB
Destinations:
TM 2 [Local]
Total size: 1.00 TB
Total number of backups: 22
Oldest backup: 2015-07-19 04:51:00 +0000
Last backup: 2015-08-22 17:30:27 +0000
Size of backup disk: Excellent
Backup size 1.00 TB > (Disk size 118.80 GB X 3)
CCD Mac Backup [Local]
Total size: 499.76 GB
Total number of backups: 9
Oldest backup: 2015-04-22 23:35:26 +0000
Last backup: 2015-07-14 00:47:28 +0000
Size of backup disk: Excellent
Backup size 499.76 GB > (Disk size 118.80 GB X 3)
Top Processes by CPU: (What does this mean?)
17% Howler Timer
7% LookupViewService
7% WindowServer
6% com.apple.WebKit.WebContent(7)
3% Safari
Top Processes by Memory: (What does this mean?)
1.22 GB com.apple.WebKit.WebContent(7)
885 MB kernel_task
195 MB Safari
184 MB WindowServer
164 MB Microsoft Word
Virtual Memory Information: (What does this mean?)
2.04 GB Free RAM
7.96 GB Used RAM (2.37 GB Cached)
0 B Swap Used
Diagnostics Information: (What does this mean?)
Aug 23, 2015, 10:32:17 AM ~/Library/Logs/DiagnosticReports/quartz-wm_2015-08-23-103217_[redacted].crash
Aug 23, 2015, 07:57:43 AM Self test - passed
Aug 23, 2015, 01:24:43 AM /Library/Logs/DiagnosticReports/StellarDriveToolBox_2015-08-23-012443_[redacted ].crash
Aug 22, 2015, 08:32:54 AM /Library/Logs/DiagnosticReports/VLC_2015-08-22-083254_[redacted].cpu_resource.d iag [Click for details]
Aug 21, 2015, 11:22:32 AM ~/Library/Logs/DiagnosticReports/quartz-wm_2015-08-21-112232_[redacted].crash
Aug 20, 2015, 07:40:19 PM ~/Library/Logs/DiagnosticReports/quartz-wm_2015-08-20-194019_[redacted].crash
Aug 20, 2015, 06:24:35 PM /Library/Logs/DiagnosticReports/Kernel_2015-08-20-182435_[redacted].panic [Click for details]
Aug 6, 2015, 10:56:06 PM /Library/Logs/DiagnosticReports/Kernel_2015-08-06-225606_[redacted].panic [Click for details]
Aug 22, 2015, 03:51:57 PM /Library/Logs/DiagnosticReports/Kernel_2015-08-22-155157_[redacted].panic [Click for details]
Aug 4, 2015, 11:45:26 AM /Library/Logs/DiagnosticReports/Kernel_2015-08-04-114526_[redacted].panic [Click for details]