HermesApp / Hermes

Compact macOS Pandora client that doesn’t use Flash
http://hermesapp.org/
MIT License
381 stars 99 forks source link

Hermes crashes when other apps have high CPU usage #322

Open oey192 opened 6 years ago

oey192 commented 6 years ago

Steps to reproduce:

  1. Open Hermes
  2. Play a station
  3. Kick off a high CPU usage task (e.g. compiling code, launching a complicated node server)

Expected behavior: Hermes keeps playing the station, or at the very least doesn't crash

Actual behavior: Hermes crashes Dec 6 08:58:05 186590d001d7 com.apple.xpc.launchd[1] (com.alexcrichton.Hermes.38208[9793]): Service exited due to signal: Segmentation fault: 11 sent by exc handler[0] (found that log in the Console app. Not sure if there's a way to get more logs. I did not get the popup that says "Hermes quit unexpectedly" even though the crash happened several times)

Note: I have also experienced Hermes crashing if I re-open it while the CPU-intensive task is still ongoing

Crash observed on the following hardware/OS: MacBook Pro 13" (Early 2015) Intel Core i7 3.1 GHz 16 GB RAM Intel Iris Graphics 6100 1536 MB macOS 10.13.1

nriley commented 6 years ago

Can you attach a crash report please?

On Wed, Dec 06, 2017 at 05:12:11PM +0000, oey192 wrote:

Steps to reproduce:

  1. Open Hermes
  2. Play a station
  3. Kick off a high CPU usage task (e.g. compiling code, launching a complicated node server)

Expected behavior: Hermes keeps playing the station, or at the very least doesn't crash

Actual behavior: Hermes crashes Dec 6 08:58:05 186590d001d7 com.apple.xpc.launchd[1] (com.alexcrichton.Hermes.38208[9793]): Service exited due to signal: Segmentation fault: 11 sent by exc handler[0] (found that log in the Console app. Not sure if there's a way to get more logs. I did not get the popup that says "Hermes quit unexpectedly" even though the crash happened several times)

Note: I have also experienced Hermes crashing if I re-open it while the CPU-intensive task is still ongoing

-- --Nicholas

oey192 commented 6 years ago

Crash just happened again. I found the log file and changed the extension from .crash to .txt so GitHub would accept it as a file upload:

Hermes_2017-12-06-100225_186590d001d7.txt

nriley commented 6 years ago

Thanks. My guess is that either this is an Apple bug or Hermes is not handling issues where audio can get lost/stutter. I don't see any time I'd have to work on this but hope it can help someone else.