mumble-voip / mumble-iphoneos

Mumble client for iOS-based devices
https://www.mumble.info
Other
194 stars 79 forks source link

v1.1 crashes in background #55

Closed Razunter closed 12 years ago

Razunter commented 12 years ago

v1.1 crashes after some time spent in background on iPad 3 connected to local server. v1.0 worked fine.

mkrautz commented 12 years ago

Does this crash allow you to submit a crash report? If so, have you sent it?

Razunter commented 12 years ago

There is no crash report, I only found "LowMemory" file with this record:

Mumble <e4562d307d2830e68475755aa2ee732a>    3314 (jettisoned)
mkrautz commented 12 years ago

Alright - perhaps that's the culprit. I'll try to see if I can reproduce this, and (if so) get it in the 1.1.1 bugfix release.

Razunter commented 12 years ago

Sometimes Mumble just looses connection to server without crashing. Happens only when Mumble in background.

Razunter commented 12 years ago

OK, found a stable way to reproduce: connect to Mumble server, open AirVideo, play a video → Mumble looses connection.

mkrautz commented 12 years ago

Thanks, will check out what's going on.

mkrautz commented 12 years ago

I can reproduce the crash with the above-mentioned method, but so far not with a debugger attached.

From what I can gather currently, what happens is that launching Air Video turns Mumble's audio off. I think this is a Mumble issue. I see similar issues when running the Audible app, and then launching Mumble -- the result is that Mumble takes over the audio of the device completely, and the Audible app turns silent.

When Mumble no longer has any audio playing, it can not be backgrounded, so the OS suspends it after a while (or even relatively quickly, in the case of Air Video). These suspensions/disconnects aren't handled very well in the app currently.

I'll look into fixing this.

mkrautz commented 12 years ago

Mumble now correctly mixes with other apps in the background once again -- in current Git HEAD.

@Razunter: If this still is very annoying for you, feel free to email me, and we can arrange you to get an updated build. I can't push the current state out to the App Store.

Closing.