Skip to content

ios 18 crashΒ #109

@eldarkk

Description

@eldarkk

Describe the bug
App crashes when opens pdf file

Desktop (please complete the following information):

  • OS: ios 18.0

Smartphone (please complete the following information):

  • Device: ios 18,0 device and simulator

Additional context
Xcode crash report

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'View was already initialized: <FLTPDFView: 0x7f8c39776e90; frame = (0 0; 0 0); layer = <CALayer: 0x600002ef9b80>>'
*** First throw call stack:
(
	1   CoreFoundation                      0x00000001180c9369 __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x0000000112a3b106 objc_exception_throw + 62
	2   Foundation                          0x00000001164e56a8 _userInfoForFileAndLine + 0
	3   UIKitCore                           0x0000000144c2a0f8 -[UIView _populateInitialTraitCollection:] + 295
	4   UIKitCore                           0x0000000144c2a533 UIViewCommonInitWithFrame + 691
	5   UIKitCore                           0x0000000144c2a246 -[UIView initWithFrame:] + 95
	6   UIKitCore                           0x0000000144c298be -[UIView init] + 44
	7   flutter_pdfview                     0x0000000111e3a94e -[FLTPDFView initWithFrame:arguments:controler:] + 98
	8   flutter_pdfview                     0x0000000111e3a531 -[FLTPDFViewController initWithFrame:viewIdentifier:arguments:binaryMessenger:] + 146
	9   flutter_pdfview                     0x0000000111e3a46f -[FLTPDFViewFactory createWithFrame:viewIdentifier:arguments:] + 91
	10  Flutter                             0x0000000121308bf1 _ZN7flutter30FlutterPlatformViewsController8OnCreateEP17FlutterMethodCallU13block_pointerFvP11objc_objectE + 873
	11  Flutter                             0x0000000121308727 _ZN7flutter30FlutterPlatformViewsController12OnMethodCallEP17FlutterMethodCallU13block_pointerFvP11objc_objectE + 131
	12  Flutter                             0x000000012196d743 __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 168
	13  Flutter                             0x000000012133885c ___ZN7flutter25PlatformMessageHandlerIos21HandlePlatformMessageENSt3_fl10unique_ptrINS_15PlatformMessageENS1_14default_deleteIS3_EEEE_block_invoke + 94
	14  libdispatch.dylib                   0x0000000114e75b3d _dispatch_call_block_and_release + 12
	15  libdispatch.dylib                   0x0000000114e76ec6 _dispatch_client_callout + 8
	16  libdispatch.dylib                   0x0000000114e86d1d _dispatch_main_queue_drain + 1357
	17  libdispatch.dylib                   0x0000000114e867c2 _dispatch_main_queue_callback_4CF + 31
	18  CoreFoundation                      0x000000011802845f __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
	19  CoreFoundation                      0x0000000118022d87 __CFRunLoopRun + 2515
	20  CoreFoundation                      0x0000000118021fb3 CFRunLoopRunSpecific + 536
	21  GraphicsServices                    0x000000012ccef0cb GSEventRunModal + 137
	22  UIKitCore                           0x000000014450ec3b -[UIApplication _run] + 875
	23  UIKitCore                           0x0000000144513b7c UIApplicationMain + 123
	24  UIKitCore                           0x00000001434a2263 block_destroy_helper.22 + 9747
	25  Clockster.debug.dylib               0x000000010de0c4bb $sSo21UIApplicationDelegateP5UIKitE4mainyyFZ + 123
	26  Clockster.debug.dylib               0x000000010de0c437 $s9Clockster11AppDelegateC5$mainyyFZ + 39
	27  Clockster.debug.dylib               0x000000010de0c528 __debug_main_executable_dylib_entry_point + 24
	28  dyld                                0x000000010b2c4478 start_sim + 10
	29  ???                                 0x0000000202ff42cd 0x0 + 8640217805
)
libc++abi: terminating due to uncaught exception of type NSException

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions