I’ve been seeing a lot of silent crashes on Mac recently. Sometimes there are crash logs in ~/Library/Logs/DiagnosticReports, sometimes not. It never creates an error dialog, though, nor have I seen a Crash Reporter window for any but one crash. Will probably reboot later tonight to see if that helps, but if it doesn’t what information can I provide to help debug this?
In the hope that they’ll be useful, I’m attaching the last 18 hours or so of diagnostic logs I could find. (Edit: Replaced attachment; WhatPulse crashed again while I was typing this.)
I’ve some motivation, as I’ve definitely lost many thousands of keys and lots of network traffic stats to this problem over the last few days.
OS X 10.10.5, MacBookPro8,1 (Early 2011, 13") Core i5 / 8GB RAM, WhatPulse 2.6.3
Fresh reboot, still crashing. The launchd job I’m using to keep WhatPulse running does not prevent the app from briefly stealing focus when it’s restarted, which oddly often also results in “ghost” clicks/keys being output to whatever application happened to be in the foreground—it’s always a snippet of the last maybe 10-15 or so input actions. Gotten a few questions wrong on my Japanese SRS because of poorly timed crashes.
Another log ZIP for you, this one containing all 59 reports in the above-mentioned directory. There may be some duplicates, but I will move the log files now so only new ones are submitted in the future.
I hope there’s at least a single cause for all this…
It seems like it’s trying to open a icon file and gets forcibly shut down because of it…try running it from a Terminal with the trace option enabled to see if it logs a file name:
whatpulse(59622,0x7fff73cf9300) malloc: *** error for object 0x7fb109a62608: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
This is still occurring, despite redownloading the WhatPulse installer and quitting WhatPulse, running the installation again, and starting it once more.
What other things can I try, if debug logging isn’t showing a filename?
Given the continued silence, I finally had to try the nuclear option. Quit WhatPulse, renamed ~/Library/WhatPulse to ~/Library/WhatPulse.crashy and started afresh. Might be overly optimistic, but 45 minutes later WhatPulse hasn’t crashed (previously the crash rate was at least once every 15-20 min).
My guess is that something in one of the preference files was corrupted. Any interest in getting the files that caused WP to be crashy, @smitmartijin? I’d proactively post them here but for all I know there are things in there that shouldn’t be made available on a public forum.