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

App Crashes occasionally #281

Open
chawda opened this issue Dec 3, 2024 · 4 comments
Open

App Crashes occasionally #281

chawda opened this issue Dec 3, 2024 · 4 comments

Comments

@chawda
Copy link

chawda commented Dec 3, 2024

App crashes for some users. This is not reproducing easily and not crashing always for us.

Logs

          Fatal Exception: NSInternalInconsistencyException
0  CoreFoundation                 0x827cc __exceptionPreprocess
1  libobjc.A.dylib                0x172e4 objc_exception_throw
2  Foundation                     0x80f8d8 _userInfoForFileAndLine
3  UIKitCore                      0x23790 -[UIView _populateInitialTraitCollection:]
4  UIKitCore                      0x22400 UIViewCommonInitWithFrame
5  UIKitCore                      0x241fc -[UIView initWithFrame:]
6  TwilioVideo                    0x2d500 -[TVIVideoView initWithFrame:delegate:] + 148 (TVIVideoView.m:148)
7  TwilioVideo                    0x2cffc -[TVIVideoView awakeAfterUsingCoder:] + 81 (TVIVideoView.m:81)
8  UIFoundation                   0x13918 UINibDecoderDecodeObjectForValue
9  UIFoundation                   0x134f0 -[UINibDecoder decodeObjectForKey:]
10 UIKitCore                      0x3831b8 -[UIRuntimeConnection initWithCoder:]
11 UIFoundation                   0x1389c UINibDecoderDecodeObjectForValue
12 UIFoundation                   0x13a28 UINibDecoderDecodeObjectForValue
13 UIFoundation                   0x134f0 -[UINibDecoder decodeObjectForKey:]
14 UIKitCore                      0x38681c -[NSCoder(UIIBDependencyInjectionInternal) _decodeObjectsWithSourceSegueTemplate:creator:sender:forKey:]
15 UIKitCore                      0x467324 -[UINib instantiateWithOwner:options:]
16 UIKitCore                      0x183384 -[UIViewController loadView]
17 UIKitCore                      0x53d80 -[UIViewController loadViewIfRequired]
18 UIKitCore                      0xa95f2c -[UINavigationController _ensureToViewControllersViewIsLoaded:]
19 UIKitCore                      0xa963a4 -[UINavigationController transitionConductor:willTransitionFromViewController:toViewController:]
20 UIKitCore                      0x129d9b4 -[_UIViewControllerTransitionConductor startDeferredTransitionIfNeeded]
21 UIKitCore                      0x14b51c -[UINavigationController __viewWillLayoutSubviews]
22 UIKitCore                      0x3ef05c -[UILayoutContainerView layoutSubviews]
23 UIKitCore                      0xd688 -[UIView(CALayerDelegate) layoutSublayersOfLayer:]
24 QuartzCore                     0x78c28 CA::Layer::layout_if_needed(CA::Transaction*)
25 QuartzCore                     0x787b4 CA::Layer::layout_and_display_if_needed(CA::Transaction*)
26 QuartzCore                     0xcf914 CA::Context::commit_transaction(CA::Transaction*, double, double*)
27 QuartzCore                     0x4e7c4 CA::Transaction::commit()
28 QuartzCore                     0x91a0c CA::Transaction::flush_as_runloop_observer(bool)
29 UIKitCore                      0xa3568 _UIApplicationFlushCATransaction
30 UIKitCore                      0xa0b64 __setupUpdateSequence_block_invoke_2
31 UIKitCore                      0xa09d8 _UIUpdateSequenceRun
32 UIKitCore                      0xa0628 schedulerStepScheduledMainSection
33 UIKitCore                      0xa159c runloopSourceCallback
34 CoreFoundation                 0x56328 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
35 CoreFoundation                 0x562bc __CFRunLoopDoSource0
36 CoreFoundation                 0x53e24 __CFRunLoopDoSources0
37 CoreFoundation                 0x52fbc __CFRunLoopRun
38 CoreFoundation                 0x52830 CFRunLoopRunSpecific
39 GraphicsServices               0x11c4 GSEventRunModal
40 UIKitCore                      0x3d2eb0 -[UIApplication _run]
41 UIKitCore                      0x4815b4 UIApplicationMain
42 App                              0x350414 main + 31 (AppDelegate.swift:31)
43 ???                            0x1b02c2ec8 (Missing)

Versions

All relevant version information for the issue.

Video iOS SDK

5.8.3 SPM

Xcode

16.1

iOS Version

18.1.1

iOS Device

iPhone 15 Pro

@sherwinstar
Copy link

Any updates?

@chawda
Copy link
Author

chawda commented Dec 13, 2024

@sherwinstar no I have not received any update from here. Also in same version no new crashes are logged for app, but this does crashed earlier.

@vinnypatel
Copy link

@chawda

Please check if crash is happening due to re-initialize TWVideoView. you can find better crash log in Google Crashalytics.

Regards

@vinnypatel
Copy link

@chawda

If possible, try to run using Xcode 15.x.

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

3 participants