aarajput / wc_flutter_share

A Flutter plugin for sharing files & text with other applications.
Apache License 2.0
35 stars 19 forks source link

Closing and reopening app results in EXC_BAD_ACCESS on Iphone 12 (ios 14.1) #27

Open tjerkw opened 3 years ago

tjerkw commented 3 years ago

I used this library in my app, when i open my app, and not even call this library, and then close the app. And reopen it: The app doesnt even boot (on iOS).

It crashes with the following SIGSEGV error.

Hardware Model:      iPhone13,2

Date/Time:           2020-10-24 21:45:22.3805 +0200
Launch Time:         2020-10-24 21:45:22.2950 +0200
OS Version:          iPhone OS 14.1 (18A8395)
Release Type:        User
Baseband Version:    1.00.03-5
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Region Info: 0 is not in any region.  Bytes before following region: 4370579456
      REGION TYPE                      START - END             [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                        10481c000-1049f8000        [ 1904K] r-x/r-x SM=COW  ....app/...

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [6135]
Triggered by Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libswiftCore.dylib              0x0000000196524148 swift_getObjectType + 40
1   wc_flutter_share                0x0000000106f8bb24 0x106f84000 + 31524
2   wc_flutter_share                0x0000000106f8bb24 0x106f84000 + 31524
3   wc_flutter_share                0x0000000106f8bd58 0x106f84000 + 32088
4   wc_flutter_share                0x0000000106f8ba90 0x106f84000 + 31376