You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/04/23 16:34:34 UTC

[GitHub] [cordova-plugin-inappbrowser] yigitbacakoglu opened a new issue #678: IOS __weak ref and Thread 1: EXC_BAD_ACCESS (code=EXC_I386_GPFLT) errors

yigitbacakoglu opened a new issue #678:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/678


   # Bug Report
   On Xcode 11, Build Fails because of __weak reference at CDVWKInAppBrowser.m > dispatch_async
   
   `__weak CDVWKInAppBrowser* weakSelf = self;`
   
   I changed that to __strong and Build Succeeded,
   
   Later that whenever I open the browser, app crashes with the error 
   
   `Thread 1: EXC_BAD_ACCESS (code=EXC_I386_GPFLT)` 
   
   at
   
   CDVUInAppBrowser.m
   
   `    self.addressLabel.text = [self.currentURL absoluteString];
   `
   and so on.
   
   ## Problem
   App crashes when I open the browser on IOS 13 emulator.
   Thread 1: EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   Xcode 11
   IOS 13.3
   Ionic 5
   Capacitor 2
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   ionic -v => 6.0.0
   capacitor => 2.0.1
   
       cordova-base64-to-gallery (4.1.3)
       cordova-plugin-advanced-http (2.4.1)
       cordova-plugin-facebook4 (6.3.0)
       cordova-plugin-file (6.0.2)
       cordova-plugin-inappbrowser (3.2.0)
       onesignal-cordova-plugin (2.9.0)
       phonegap-plugin-barcodescanner (8.1.0)
       cordova-plugin-device (2.0.2)
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ X] I searched for existing GitHub issues
   - [ X] I updated all Cordova tooling to most recent version
   - [ X] I included all the necessary information above
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] yigitbacakoglu edited a comment on issue #678: IOS __weak ref and Thread 1: EXC_BAD_ACCESS (code=EXC_I386_GPFLT) errors

Posted by GitBox <gi...@apache.org>.
yigitbacakoglu edited a comment on issue #678:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/678#issuecomment-618511470


   I added this plugin to my config.xml as below;
   
   `    <plugin name="cordova-plugin-inappbrowser" spec="~3.2.0" />
   `
   and rebuilt the IOS, then browser worked but;
   
   1- If I close it with 'Close' link and open again, app immediately closes itself.
   2- If I swipte the browser down, later that I can't click anywhere on the app.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] yigitbacakoglu commented on issue #678: IOS __weak ref and Thread 1: EXC_BAD_ACCESS (code=EXC_I386_GPFLT) errors

Posted by GitBox <gi...@apache.org>.
yigitbacakoglu commented on issue #678:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/678#issuecomment-618511470


   I added this plugin to my config.xml as blow;
   
   `    <plugin name="cordova-plugin-inappbrowser" spec="~3.2.0" />
   `
   and rebuilt the IOS, then browser worked but;
   
   1- If I close it with 'Close' link and open again, app immediately closes itself.
   2- If I swipte the browser down, later that I can't click anywhere on the app.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org