Safari Webrtc Crash on iPhone

While developing a webapp on safari using WebRTC involving capture of images we see random crashes of the browser app leading to browser session refresh. We have confirmed that there are no memory leaks but still cannot explain why this situation happens.

Crash/refresh seems to happen around the time we are trying to save the captured images from the camera and it happens at random times.

Any help to debug this issue is much appreciated. Thanks
Safari Webrtc Crash on iPhone
 
 
Q