Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in MediaPickerViewController #1252

Closed
manuroe opened this issue Jun 6, 2017 · 0 comments
Closed

Crash in MediaPickerViewController #1252

manuroe opened this issue Jun 6, 2017 · 0 comments
Assignees

Comments

@manuroe
Copy link
Member

manuroe commented Jun 6, 2017

4744064383494452809 - 2017-06-05 19:23:51 +0000
Cannot remove an observer <MediaPickerViewController 0x143872c00> for the key path "capturingStillImage" from <AVCaptureStillImageOutput 0x176c23000> because it is not registered as an observer.
Application: Riot (im.vector.app)
Application version: 0.3.13 (r63)
Matrix SDK version: 0.7.11
Build: master #63
iPhone 10.3.2

Main thread: YES
(
	0   CoreFoundation                      0x000000018553aff8 <redacted> + 148
	1   libobjc.A.dylib                     0x0000000183f9c538 objc_exception_throw + 56
	2   CoreFoundation                      0x000000018553af28 <redacted> + 0
	3   Foundation                          0x0000000185f58ff0 <redacted> + 496
	4   Foundation                          0x0000000185f58adc <redacted> + 92
	5   Foundation                          0x0000000185f58a24 <redacted> + 160
 -> -[MediaPickerViewController tearDownAVCapture] (in Riot) (MediaPickerViewController.m:1130)
 -> __50-[MediaPickerViewController caughtAVRuntimeError:]_block_invoke (in Riot) (MediaPickerViewController.m:1148)
	8   libdispatch.dylib                   0x00000001843f29e0 <redacted> + 24
	9   libdispatch.dylib                   0x00000001843f29a0 <redacted> + 16
	10  libdispatch.dylib                   0x00000001843f75e8 _dispatch_main_queue_callback_4CF + 996
	11  CoreFoundation                      0x00000001854e90c8 <redacted> + 12
	12  CoreFoundation                      0x00000001854e6ce4 <redacted> + 1572
	13  CoreFoundation                      0x0000000185416da4 CFRunLoopRunSpecific + 424
	14  GraphicsServices                    0x0000000186e80074 GSEventRunModal + 100
	15  UIKit                               0x000000018b6d1058 UIApplicationMain + 208
 -> main (in Riot) (main.m:30)                  0x0000000100062d9c Riot + 257436
	17  libdyld.dylib                       0x000000018442559c <redacted> + 4
)
@manuroe manuroe self-assigned this Jun 6, 2017
manuroe added a commit that referenced this issue Jun 6, 2017
Release objects on the same thread they have been created. This avoids race conditions on retry.
@manuroe manuroe closed this as completed Jun 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant