SpotMenu icon indicating copy to clipboard operation
SpotMenu copied to clipboard

SpotMenu crashes Spotify on macOS 10.14 Mojave Beta

Open JacobKingDev opened this issue 7 years ago • 20 comments

Prerequisites

  • macOS 10.14 Mojave Beta
  • Spotify
  • SpotMenu

Description

Having SpotMenu and Spotify launched at the same time causes Spotify to crash. In the event that SpotMenu is open first, Spotify simply won't launch and crashes every time you try and open it. In the case that Spotify is open first, opening SpotMenu crashes Spotify.

Steps to Reproduce

  1. Install both programs on macOS Mojave.
  2. Open one of them (either is fine, see above).
  3. Open the other.

Expected behavior: No crash, SpotMenu works as expected.

Actual behavior: Spotify crashes.

Reproduces how often: 100% of the time.

Versions

SpotMenu version: 1.8.0 MacOS version: 10.14 Mojave Developer Beta 1

Additional Information

None

JacobKingDev avatar Jun 12 '18 08:06 JacobKingDev

Could you try running these apple scripts and check if they crash Spotify?

tell application "Spotify" to get artist of current track
tell application "Spotify" to get name of current track

This can be done from the Script Editor.app. Copy&Paste the snippet and press play.

screen shot 2018-06-12 at 10 53 28 am

kmikiy avatar Jun 12 '18 08:06 kmikiy

These run fine for me here (on Mojave 10.14 Mojave Beta, Spotify version 1.0.82.447.g975ad224 and SpotMenu version 1.8.0), but ~SpotMenu~ Edit: Spotify still crashes. Screenshots attached screenshot 2018-06-17 at 18 53 20 screenshot 2018-06-17 at 18 55 10 Please let me know if you want anymore details/debugging/logs

harryyoud avatar Jun 17 '18 17:06 harryyoud

do you guys have the same issue? SpotMenu crashes Spotify, right?

kmikiy avatar Jun 17 '18 18:06 kmikiy

Apologies, I meant to say Spotify crashed. We have exactly the same symptoms. Running Spotify in a terminal shows the executable crashes with Segmentation fault: 11. I also have a dtruss trace of the Spotify binary if you'd like it

harryyoud avatar Jun 17 '18 18:06 harryyoud

After quite a few repeated launches, I managed to get Spotify to launch fairly inconsistently (perhaps 1 in 5 runs or so)

I have a Spotify logs for both a failure and success case if you'd like them, but I'd much prefer to give you these privately given the possibility of tokens or other personal info present

harryyoud avatar Jun 17 '18 18:06 harryyoud

yeah, if you could send it that would be nice. my email is [email protected] i'll also try to install mojave on a virtual machine, but i think my computer won't be able to handle it.

kmikiy avatar Jun 17 '18 19:06 kmikiy

I have set up a virtual machine (works pretty poorly though). I checked other similar apps (e.g. https://github.com/paulyoung/Statusfy) and they also cause Spotify to crash. 😕 I think for some reason the Apple Script API calls cause Spotify to crash, iTunes Apple Script API calls work fine though. I still haven't figured out what the problem is.

kmikiy avatar Jun 18 '18 17:06 kmikiy

Thanks for your quick investigation @kmikiy. If it's not a glaringly obvious issue it may be worth waiting until the GM for Mojave is made available, as weird quirks have a habit of mysteriously disappearing in later betas... Not only that, but if iTunes works fine, it could be an issue for the Spotify devs (not that they'll be particularly eager to fix issues for 3rd party integrations). Otherwise, it could be an entitlement based permission hence Apple app working fine but Spotify not.

JacobKingDev avatar Jun 19 '18 14:06 JacobKingDev

Or potentially, a user issue. Who does SpotMenu execute the AppleScript as? Could be that it needs to come from the current user.

JacobKingDev avatar Jun 19 '18 14:06 JacobKingDev

Hmmm, for me Spotify does not crash though, might be due to the fact I enabled Spotify for "Application Data" and "Accessibility" manually by adding it to the list in Settings > Security & Privacy

Nayuta-Kani avatar Jun 22 '18 11:06 Nayuta-Kani

Can confirm this seems to be fixed on Developer Preview 2. I was also asked if I would "Allow SpotMenu to communicate with Spotify" on the first boot after the update, which I haven't seen before. After that, Spotify doesn't seem to crash anymore

harryyoud avatar Jun 22 '18 17:06 harryyoud

Just confirming that I just installed SpotMenu for the first time on Mojave (official release) and it works without any hitches. I did see the "Allow SpotMenu to communicate with Spotify" message, but works without a hitch.

abustamam avatar Oct 11 '18 22:10 abustamam

I can also confirm no hitches, glitches, or issues. works perfect on my machine. [2017 iMac | Mojave ]

Just confirming that I just installed SpotMenu for the first time on Mojave (official release) and it works without any hitches. I did see the "Allow SpotMenu to communicate with Spotify" message, but works without a hitch.

LosOmatic avatar Oct 19 '18 14:10 LosOmatic

Close issue?

Hum4n01d avatar Oct 31 '18 02:10 Hum4n01d

Just installed SpotMenu and works fine on Mojave. Thank you!

jacas avatar Oct 31 '18 11:10 jacas

Can confirm that it works like a charm on Mojave. Thanks :)

ProductName:	Mac OS X
ProductVersion:	10.14
BuildVersion:	18A391

srhrshr avatar Nov 14 '18 17:11 srhrshr

Working for me on Mojave 10.14.1

D-T-Design avatar Nov 27 '18 18:11 D-T-Design

Same here, just installed Spotmenu on Mac OS X Mojave 10.14.2. Works fine so far

olivmai avatar Jan 10 '19 09:01 olivmai

Works great on Mojave 10.14.4

joshuanathanson avatar Jun 07 '19 19:06 joshuanathanson

Working great on Mojave 10.14.5

paulbaker3 avatar Jun 22 '19 18:06 paulbaker3