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 ios release #77

Closed
fly512 opened this issue May 14, 2018 · 3 comments
Closed

Crash ios release #77

fly512 opened this issue May 14, 2018 · 3 comments

Comments

@fly512
Copy link

fly512 commented May 14, 2018


0 CoreFoundation | ___exceptionPreprocess + 228
-- | --
1 libobjc.A.dylib | objc_exception_throw + 56
2 CoreFoundation | +[NSException raise:format:]
3 Foundation | -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 112
4 Flutter | -[FlutterStandardWriter writeValue:] + 1900
5 Flutter | -[FlutterStandardMethodCodec encodeMethodCall:] + 156
6 Flutter | -[FlutterMethodChannel invokeMethod:arguments:] + 64
7 Runner | -[FlutterWebviewPlugin webView:didFailNavigation:withError:] (FlutterWebviewPlugin.m:182)
8 WebKit | 0x00000001929f2000 + 590840
9 WebKit | 0x00000001929f2000 + 2409200
10 WebKit | 0x00000001929f2000 + 2543708
11 WebKit | 0x00000001929f2000 + 574908
12 WebKit | 0x00000001929f2000 + 2927188
13 WebKit | 0x00000001929f2000 + 325868
14 WebKit | 0x00000001929f2000 + 336628
15 JavaScriptCore | WTF::RunLoop::performWork() + 268
16 JavaScriptCore | WTF::RunLoop::performWork(void*) + 36
17 CoreFoundation | ___CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
18 CoreFoundation | ___CFRunLoopDoSources0 + 276
19 CoreFoundation | ___CFRunLoopRun + 1204
20 CoreFoundation | CFRunLoopRunSpecific + 552
21 GraphicsServices | GSEventRunModal + 100
22 UIKit | UIApplicationMain + 236


@zoechi
Copy link

zoechi commented May 14, 2018

How to reproduce?
Please post the output of flutter doctor.
What webview-plugin version are you using (from pubspec.lock)

@fly512
Copy link
Author

fly512 commented May 14, 2018

flutter_webview_plugin: "^0.1.5"

iPhone 6 Plus
11.3.1 (15E302)

[✓] Flutter (Channel unknown, v0.4.4, on Mac OS X 10.12.6 16G1314, locale zh-Hans-CN)
    • Flutter version 0.4.4 at /Users/xxx/Desktop/workspace/flutter
    • Framework revision f9bb4289e9 (2 days ago), 2018-05-11 21:44:54 -0700
    • Engine revision 06afdfe54e
    • Dart version 2.0.0-dev.54.0.flutter-46ab040e58

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).
      If Android SDK has been installed to a custom location, set $ANDROID_HOME to that location.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.0, Build version 9A235
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.2

[✗] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).

[✓] IntelliJ IDEA Community Edition (version 2018.1.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 24.2.2
    • Dart plugin version 181.4892.1

[✓] VS Code (version 1.23.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Dart Code extension version 2.12.1

@deligence
Copy link

deligence commented Nov 13, 2018

I'm also getting the similar fatal exception.
flutter_webview_plugin: ^0.2.1+2
iPhone 7 [iOS 11.3.0 (15E216)],
iPhone 5s [10.3.3 (14G60)],
iPhone 6s [11.4.1 (15G77)],
iPhone 6s Plus [11.2.6 (15D100)] and many more.

Fatal Exception: NSInternalInconsistencyException
0  CoreFoundation                 0x184cfad8c __exceptionPreprocess
1  libobjc.A.dylib                0x183eb45ec objc_exception_throw
2  CoreFoundation                 0x184cfabf8 +[NSException raise:format:]
3  Foundation                     0x1856eafa0 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:]
4  Flutter                        0x1052f8654 (Missing)
5  Flutter                        0x1052f8ca8 (Missing)
6  Flutter                        0x1052edb98 (Missing)
7  Runner                         0x1043259a4 -[FlutterWebviewPlugin webView:didFailNavigation:withError:] (FlutterWebviewPlugin.m:248)
8  WebKit                         0x1946aa3f8 WebKit::NavigationState::NavigationClient::didFailNavigationWithError(WebKit::WebPageProxy&, WebKit::WebFrameProxy&, API::Navigation*, WebCore::ResourceError const&, API::Object*)
9  WebKit                         0x1948662f0 WebKit::WebPageProxy::didFailLoadForFrame(unsigned long long, unsigned long long, WebCore::ResourceError const&, WebKit::UserData const&)
10 WebKit                         0x19488705c void IPC::handleMessage<Messages::WebPageProxy::DidFailLoadForFrame, WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(unsigned long long, unsigned long long, WebCore::ResourceError const&, WebKit::UserData const&)>(IPC::Decoder&, WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(unsigned long long, unsigned long long, WebCore::ResourceError const&, WebKit::UserData const&))
11 WebKit                         0x1946a65bc IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&)
12 WebKit                         0x1948e4a54 WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
13 WebKit                         0x1946698ec IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)
14 WebKit                         0x19466c2f4 IPC::Connection::dispatchOneMessage()
15 JavaScriptCore                 0x18c2ffe98 WTF::RunLoop::performWork()
16 JavaScriptCore                 0x18c300158 WTF::RunLoop::performWork(void*)
17 CoreFoundation                 0x184ca3404 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
18 CoreFoundation                 0x184ca2c2c __CFRunLoopDoSources0
19 CoreFoundation                 0x184ca079c __CFRunLoopRun
20 CoreFoundation                 0x184bc0da8 CFRunLoopRunSpecific
21 GraphicsServices               0x186ba3020 GSEventRunModal
22 UIKit                          0x18eba178c UIApplicationMain
23 Runner                         0x1041e4974 main (main.m:7)
24 libdyld.dylib                  0x184651fc0 start

Along with

Crashed: com.twitter.crashlytics.ios.exception
0  Runner                         0x1041c4948 CLSProcessRecordAllThreads + 4334307656
1  Runner                         0x1041c4e08 CLSProcessRecordAllThreads + 4334308872
2  Runner                         0x1041b4658 CLSHandler + 4334241368
3  Runner                         0x1041c2f58 __CLSExceptionRecord_block_invoke + 4334301016
4  libdispatch.dylib              0x183e34a60 _dispatch_client_callout + 16
5  libdispatch.dylib              0x183e71ed4 _dispatch_queue_barrier_sync_invoke_and_complete + 56
6  Runner                         0x1041c29c8 CLSExceptionRecord + 4334299592
7  Runner                         0x1041c27f8 CLSExceptionRecordNSException + 4334299128
8  Runner                         0x1041c23f0 CLSTerminateHandler() + 4334298096
9  libc++abi.dylib                0x1836ed37c std::__terminate(void (*)()) + 16
10 libc++abi.dylib                0x1836ecccc __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*) + 130
11 libobjc.A.dylib                0x1836fc720 _objc_exception_destructor(void*) + 362
12 CoreFoundation                 0x184542bf8 +[NSException raise:format:] + 102
13 Foundation                     0x184f32fa0 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 112
14 Flutter                        0x10527c654 (Missing)
15 Flutter                        0x10527cca8 (Missing)
16 Flutter                        0x105271b98 (Missing)
17 Runner                         0x10417d9a4 -[FlutterWebviewPlugin webView:didFailNavigation:withError:] (FlutterWebviewPlugin.m:248)
18 WebKit                         0x193f59b84 WebKit::NavigationState::NavigationClient::didFailNavigationWithError(WebKit::WebPageProxy&, WebKit::WebFrameProxy&, API::Navigation*, WebCore::ResourceError const&, API::Object*) + 176
19 WebKit                         0x1941168c8 WebKit::WebPageProxy::didFailLoadForFrame(unsigned long long, unsigned long long, WebCore::ResourceError const&, WebKit::UserData const&) + 352
20 WebKit                         0x1941375fc void IPC::handleMessage<Messages::WebPageProxy::DidFailLoadForFrame, WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(unsigned long long, unsigned long long, WebCore::ResourceError const&, WebKit::UserData const&)>(IPC::Decoder&, WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(unsigned long long, unsigned long long, WebCore::ResourceError const&, WebKit::UserData const&)) + 156
21 WebKit                         0x193f55d18 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) + 120
22 WebKit                         0x19419520c WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 32
23 WebKit                         0x193f18cfc IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >) + 164
24 WebKit                         0x193f1b704 IPC::Connection::dispatchOneMessage() + 232
25 JavaScriptCore                 0x18bb7a12c WTF::RunLoop::performWork() + 268
26 JavaScriptCore                 0x18bb7a3ec WTF::RunLoop::performWork(void*) + 36
27 CoreFoundation                 0x1844eb404 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
28 CoreFoundation                 0x1844eac2c __CFRunLoopDoSources0 + 276
29 CoreFoundation                 0x1844e879c __CFRunLoopRun + 1204
30 CoreFoundation                 0x184408da8 CFRunLoopRunSpecific + 552
31 GraphicsServices               0x1863ee020 GSEventRunModal + 100
32 UIKit                          0x18e428758 UIApplicationMain + 236
33 Runner                         0x10403c974 main (main.m:7)
34 libdyld.dylib                  0x183e99fc0 start + 4

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