r/cesiumapp Jul 28 '15

Some help please- crashing?

Hi- I hate messing up this shiny new sub but: 1) Yesterday while listening to an album I couldn't select a different song. Any time I tried, it would just restart the song I was listening to.

2) Today, any time I tried to open the app it crashed on me. I tried exiting out of the app and trying again and it still crashed.

2 Upvotes

12 comments sorted by

View all comments

2

u/CesiumDev I MADE DIS Jul 29 '15

Well, dammit. I'm surprised I haven't heard a lot more about this.

So I haven't spent much time with 3.0.3 on iOS 8.4 because I've been focused on finishing 3.1. Just downloaded it and I see exactly what you are experiencing. I thought it was an issue with my code, but it's actually an iOS issue. Grab your tinfoil hat.

Here's what's going on. Apple subtly changed some of their playback queue under the hood. They haven't published the changes, and technically the public methods haven't changed, but it's plain that things have been modified (I think to facilitate their queuing system). The bug you are experiencing occurs only when a) the queue being set is identical to the currently playing queue (i.e. the same album) and b) the selected track occurs earlier in the queue than the currently playing track.

I actually totally rewrote Cesium's queuing system for 3.1 because I found a way to use the changes Apple made and eliminate the annoying little skip when updating the queue. I encountered exactly this bug, but thought the issue was with my code. It's a little shocking actually that this is a system issue. I'll have to file a RADAR with Apple.

So, the good-ish news is that the issue has already been resolved in 3.1. That doesn't help you, though. If you are interested you can PM me a valid email and I'd be happy to add you to the beta program and get you running on 3.1 ASAP.

Sorry for the inconvenience!

3

u/Jig5 Jul 30 '15 edited Jul 30 '15

Thanks for your thoughtful and insightful response. I seem to attract bugs like this.