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

Must start a session before appending pixel buffers #138

Open
UjjwalNepal opened this issue Jul 22, 2023 · 0 comments
Open

Must start a session before appending pixel buffers #138

UjjwalNepal opened this issue Jul 22, 2023 · 0 comments

Comments

@UjjwalNepal
Copy link

Stacktrace:

Fatal Exception: NSInternalInconsistencyException
0 CoreFoundation 0x9cb4 __exceptionPreprocess
1 libobjc.A.dylib 0x183d0 objc_exception_throw
2 AVFCore 0xb5024 -[AVFigAssetWriterTrack addPixelBuffer:atPresentationTime:error:]
3 AVFCore 0xb1554 -[AVAssetWriterInputWritingHelper appendPixelBuffer:withPresentationTime:]
4 AVFCore 0xaf1c4 -[AVAssetWriterInput _appendPixelBuffer:withPresentationTime:]
5 AVFCore 0xb415c -[AVAssetWriterInputPixelBufferAdaptor appendPixelBuffer:withPresentationTime:]
6 ARVideoKit 0x20f68 (Missing UUID 5d0b7b7760f9336f9dff47e6fd7e0345)
7 ARVideoKit 0x1a194 (Missing UUID 5d0b7b7760f9336f9dff47e6fd7e0345)
8 ARVideoKit 0x1b1d8 (Missing UUID 5d0b7b7760f9336f9dff47e6fd7e0345)
9 ARVideoKit 0x14a7c (Missing UUID 5d0b7b7760f9336f9dff47e6fd7e0345)
10 libdispatch.dylib 0x3eac _dispatch_client_callout
11 libdispatch.dylib 0x13428 _dispatch_lane_barrier_sync_invoke_and_complete
12 ARVideoKit 0x197c0 (Missing UUID 5d0b7b7760f9336f9dff47e6fd7e0345)
13 ARVideoKit 0x1a68c (Missing UUID 5d0b7b7760f9336f9dff47e6fd7e0345)
14 QuartzCore 0x2946c CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long)
15 QuartzCore 0x146f28 CA::Display::DisplayLink::dispatch_deferred_display_links(unsigned int)
16 UIKitCore 0x64e4b0 _UIUpdateSequenceRun
17 UIKitCore 0xcb2c8c schedulerStepScheduledMainSection
18 UIKitCore 0xcb21e8 runloopSourceCallback
19 CoreFoundation 0xd3128 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION
20 CoreFoundation 0xdf7b4 __CFRunLoopDoSource0
21 CoreFoundation 0x645e8 __CFRunLoopDoSources0
22 CoreFoundation 0x7a0d4 __CFRunLoopRun
23 CoreFoundation 0x7f3ec CFRunLoopRunSpecific
24 GraphicsServices 0x135c GSEventRunModal
25 UIKitCore 0x39d6e8 -[UIApplication _run]
26 UIKitCore 0x39d34c UIApplicationMain
27 Bloopar-Debug 0x7f94 main + 19 (AppDelegate.swift:19)
28 ??? 0x1b0ff6dec (Missing)

ARVideoKit version: 1.51
Xcode version: 14.3.1

Ofc the behavior is not obvious, this occurs when adding more complex objects (also inconsistent).

The library is called as documented and works well without memory leaks.

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