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 crash on IOS and iPad 17 , #82

Closed
someshswami9 opened this issue Apr 26, 2024 · 6 comments
Closed

App crash on IOS and iPad 17 , #82

someshswami9 opened this issue Apr 26, 2024 · 6 comments

Comments

@someshswami9
Copy link

someshswami9 commented Apr 26, 2024

Describe the bug
My flutter app crashed due to fvp ,
for registerwith used in main(),

fvp ^0.16.0

crashed 3 to 4 times for different different scenarios but in report got same error .

first crashed when open the app.
second when closed from background app,
and once when I am watching the video and changed the screen

Expected behavior
App should not be crashed

Log

Full log
will be attached to attachment
testflight_feedback-9.zip

[testflight_feedback-9.zip](https://github.com/wang-bin/fvp/files/15126790/testflight_feedback-9.zip)

add the following lines before registerWith()

  Logger.root.level = Level.ALL;
  final df = DateFormat("HH:mm:ss.SSS");
  Logger.root.onRecord.listen((record) {
    print('${record.loggerName}.${record.level.name}: ${df.format(record.time)}: ${record.message}');
  });
import 'package:fvp/fvp.dart' as fvp;

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  fvp.registerWith();

and

9   fvp                           	0x00000001058a96e0 std::__1::__throw_bad_function_call[abi:v160006]() + 52 (function.h:72)
10  fvp                           	0x00000001058aab84 std::__1::__function::__value_func<bool (mdk::MediaStatus, mdk::MediaStatus)>::operator()[abi:v160006](mdk::MediaStatus&&, mdk::MediaStatus&&) const + 4 (function.h:509)



@wang-bin
Copy link
Owner

the crash is fixed recently. please upgrade fvp, and run

flutter clean 
pod cache clean mdk 
find . -name Podfile.lock -delete

and build again

@someshswami9
Copy link
Author

Still crashed on v0.17.0

@wang-bin
Copy link
Owner

show me crash log

@someshswami9
Copy link
Author

Sorry for late reply. but same as above.

@wang-bin
Copy link
Owner

i need the log. if same crash log, then you dependecy is not upgraded.

@wang-bin
Copy link
Owner

wang-bin commented May 8, 2024

try master branch

@wang-bin wang-bin closed this as completed Jul 2, 2024
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

2 participants