Crash when zooming MKMapView in iOS6

Ask questions about the iOS API here

Crash when zooming MKMapView in iOS6

Postby dragonlance » Wed Dec 05, 2012 3:51 am

I put the video view on MKMapView, it crashed when zoom in/out the MKMapView in iOS6.

Crash log like below:

#0 0x3480f06a in sgxPatchDeferredFramebufferOffsets ()
#1 0x348144d4 in sgxEndRender ()
#2 0x3480cefa in SubmitPacketsIfAny ()
#3 0x37726302 in gliPresentViewES ()
#4 0x3220edd8 in -[EAGLContext presentRenderbuffer:] ()
#5 0x0070b752 in EAGLContext_presentRenderbuffer(EAGLContext*, objc_selector*, unsigned int) ()
#6 0x0001caaa in -[GLVideoView displayPixelBuffer:] ()
#7 0x00014134 in -[OTSubscriberP2P peerConnectionDidRenderCVFrame:] ()
#8 0x00020cd0 in -[OTPeerConnection renderFrame:] ()
#9 0x000dea0c in webrtc::VideoTrackRenderers::RenderFrame(cricket::VideoFrame const*) ()
#10 0x000fb1d0 in cricket::WebRtcRenderAdapter::DeliverFrame(unsigned char*, int, unsigned int, long long) ()
#11 0x001baf06 in webrtc::ViEExternalRendererImpl::RenderFrame(unsigned int, webrtc::VideoFrame&) ()
#12 0x001c053c in webrtc::IncomingVideoStream::IncomingVideoStreamProcess() ()
#13 0x001c020a in webrtc::IncomingVideoStream::IncomingVideoStreamThreadFun(void*) ()
#14 0x00198850 in webrtc::ThreadPosix::Run() ()
#15 0x00198662 in StartThread ()
#16 0x399a1310 in _pthread_start ()
#17 0x399a11d8 in thread_start ()
Was this post helpful? (1)
dragonlance
 
Posts: 2
Joined: Wed Dec 05, 2012 3:29 am
Thumbs Up: 1

Re: Crash when zooming MKMapView in iOS6

Postby Guest-kuxjfrhmcc » Tue Dec 18, 2012 11:11 pm

I have the same problem !
Was this post helpful? (0)
Guest-kuxjfrhmcc
 
Posts: 2
Joined: Mon Nov 26, 2012 9:48 pm
Thumbs Up: 0

Re: Crash when zooming MKMapView in iOS6

Postby steve » Wed Dec 19, 2012 11:54 am

I can not reproduce this. I am using our basic tutorial project with the WebRTC iOS SDK. I added a MKMapView to the view, and then added the preview and subscriber views over the map (much smaller to be sure). When zooming it works fine. I do not experience a crash. Do you have some sample code that reproduces the issue?
Was this post helpful? (0)
steve
 
Posts: 33
Joined: Thu Dec 15, 2011 4:33 pm
Thumbs Up: 5

Re: Crash when zooming MKMapView in iOS6

Postby steve » Wed Dec 19, 2012 12:20 pm

I did not realize I was testing on an iOS 5 device. I have reproduced this issue on iOS 6.
Was this post helpful? (0)
steve
 
Posts: 33
Joined: Thu Dec 15, 2011 4:33 pm
Thumbs Up: 5

Re: Crash when zooming MKMapView in iOS6

Postby steve » Wed Dec 19, 2012 12:59 pm

There are a number of posts on StackOverflow in regards to overlaying OpenGL over MKMapView in iOS 6. The MKMapView in iOS 6 uses OpenGL. It looks like this is an issue with multithreaded access to OpenGL. We do use EAGLContext in order to play nice with other OpenGL contexts (e.g. OpenTok developers using app specific OpenGL rendering). I will look into this further.
Was this post helpful? (0)
steve
 
Posts: 33
Joined: Thu Dec 15, 2011 4:33 pm
Thumbs Up: 5

Re: Crash when zooming MKMapView in iOS6

Postby Guest-kuxjfrhmcc » Thu Jan 17, 2013 11:21 pm

Hi Steve,


Do you have any update on this issue? This issue is hold our release.

Thanks & Best,

James
Was this post helpful? (0)
Guest-kuxjfrhmcc
 
Posts: 2
Joined: Mon Nov 26, 2012 9:48 pm
Thumbs Up: 0

Re: Crash when zooming MKMapView in iOS6

Postby steve » Wed Jan 30, 2013 12:12 pm

I will be testing this today. From the SO posts I have read it seems to be a bug in iOS, but it is hard to tell.
Was this post helpful? (0)
steve
 
Posts: 33
Joined: Thu Dec 15, 2011 4:33 pm
Thumbs Up: 5

Re: Crash when zooming MKMapView in iOS6

Postby steve » Wed Jan 30, 2013 1:32 pm

I updated to iOS 6.1 today and this problem no longer occurs.
Was this post helpful? (0)
steve
 
Posts: 33
Joined: Thu Dec 15, 2011 4:33 pm
Thumbs Up: 5

Re: Crash when zooming MKMapView in iOS6

Postby dragonlance » Thu Mar 07, 2013 6:36 pm

steve wrote:I updated to iOS 6.1 today and this problem no longer occurs.

Hi steve, thanks for ur attention.But this bug still lives when u pinch on MKMapView.Please notice that this bug appears when u "pinch" on MKMapView.
Was this post helpful? (0)
dragonlance
 
Posts: 2
Joined: Wed Dec 05, 2012 3:29 am
Thumbs Up: 1

Re: Crash when zooming MKMapView in iOS6

Postby steve » Thu Mar 07, 2013 7:05 pm

I will test this again first thing in the morning. I did pinch in and out when I was testing.
Was this post helpful? (0)
steve
 
Posts: 33
Joined: Thu Dec 15, 2011 4:33 pm
Thumbs Up: 5

Next

Return to iOS



Who is online

Users browsing this forum: No registered users and 1 guest

cron