Skip to content

[ios][production]: App crashed with SkMemory_malloc.cpp line 49 SkBitmap::allocPixels(SkImageInfo const&, unsigned long)::$_1::operator()() const #113014

@siddew201

Description

@siddew201

Steps to Reproduce

We are getting crash in production and it is not reproducible. Any help is appreciable.

Flutter 3.0.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision https://github.com/flutter/flutter/commit/ee4e09cce01d6f2d7f4baebd247fde02e5008851 (5 months ago) • 2022-05-09 16:45:18 -0700
Engine • revision d1b9a6938a
Tools • Dart 2.17.0 • DevTools 2.12.2

Logs

Crashed: default.1.1.io
0  Flutter                        0x4cd28 SkBitmap::allocPixels(SkImageInfo const&, unsigned long)::$_1::operator()() const + 49 (SkMemory_malloc.cpp:49)
1  Flutter                        0x4ccf4 SkBitmap::allocPixels(SkImageInfo const&, unsigned long)::$_1::operator()() const + 248 (SkBitmap.cpp:248)
2  Flutter                        0x4d140c std::__1::__function::__func<fml::internal::CopyableLambda<flutter::MultiFrameCodec::getNextFrame(_Dart_Handle*)::$_2>, std::__1::allocator<fml::internal::CopyableLambda<flutter::MultiFrameCodec::getNextFrame(_Dart_Handle*)::$_2>>, void ()>::operator()() + 3725 (memory:3725)
3  Flutter                        0x30627c fml::MessageLoopImpl::FlushTasks(fml::FlushType) + 124 (ref_ptr.h:124)
4  Flutter                        0x309578 fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 81 (message_loop_darwin.mm:81)
5  CoreFoundation                 0xce66c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32
6  CoreFoundation                 0x8ace8 __CFRunLoopDoTimer + 940
7  CoreFoundation                 0x2e958 __CFRunLoopDoTimers + 288
8  CoreFoundation                 0x7c2dc __CFRunLoopRun + 1896
9  CoreFoundation                 0x811e4 CFRunLoopRunSpecific + 612
10 Flutter                        0x309448 fml::MessageLoopDarwin::Run() + 52 (message_loop_darwin.mm:52)
11 Flutter                        0x308e28 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>>(void*) + 96 (message_loop_impl.cc:96)
12 libsystem_pthread.dylib        0x16cc _pthread_start + 148
13 libsystem_pthread.dylib        0xba4 thread_start + 8

Pubspec.yml content

version: 1.0.0+1

environment:
 sdk: ">=2.16.2 <3.0.0"

dependencies:
 flutter:
 sdk: flutter

collection: ^1.16.0
 flutter_dotenv: ^5.0.2
 mobx: ^2.0.7+4
 flutter_mobx: ^2.0.6+1
 routemaster: ^1.0.1
 webview_flutter: ^3.0.4
 json_annotation: ^4.6.0
 provider: ^6.0.3
 intl: ^0.17.0
 easy_debounce: ^2.0.2+1
 html: ^0.15.0
 url_launcher: ^6.1.5
 hive: ^2.2.3
 hive_flutter: ^1.1.0
 lottie: ^1.3.0
 avatars: ^2.0.2
 focus_detector: ^2.0.1
 dotted_border: ^2.0.0+2
 geocoding: ^2.0.5
 geolocator: 8.2.1
 device_info_plus: 4.1.0
 visibility_detector: ^0.2.2
 launchdarkly_flutter_client_sdk: ^1.1.2
 new_version: ^0.3.1
 cupertino_icons: ^1.0.5
 modal_bottom_sheet: ^2.1.0
 package_info_plus: ^1.4.2
 path: ^1.8.0
 chewie: ^1.3.4
 video_player: ^2.4.5
 youtube_player_flutter: ^8.1.0
 cached_network_image: ^3.2.1
 animations: ^2.0.3
 expandable_page_view: ^1.0.17

dev_dependencies:
 flutter_lints: ^2.0.1
 json_serializable: ^6.1.1
 build_runner: ^2.2.0
 flutter_test:
 sdk: flutter

flutter:
 module:
 androidX: true
 androidPackage: com.tatadigital.neu_app_embed
 iosBundleIdentifier: com.tatadigital.neuAppEmbed
 assets:
 - assets/logo_512x512.png
 - assets/[[email protected]](mailto:[email protected])

Affected Devices and CrashCount:

iPhone XR - 266
iPhone X - 337
iPhone 7 plus - 135
iPhone 8 Plus - 95
iPhone SE(2nd generation)- 81
iPhone 7 plus - 21
iPhone 6 plus - 19
iPhone 8 - 17
iPhone 6s - 12
iPhone SE - 1

Affected OS and CrashCount:

15.6.1 - 289
16.0.0 - 342
15.7.0 - 77
16.0.2 - 137
15.5.0 - 47
15.6.0 - 31
15.4.1 - 16
16.1.0 - 10
14.8.1 - 10
14.6.0 - 7
14.7.1 - 3
15.4.0 - 2
15.2.0 - 2
15.1.0 - 2
14.8.0  - 2
15.3.1 -1
15.3.0 - 1
15.2.1 - 1
15.0.1 - 1
14.4.0 - 1
14.2.0 - 1
14.0.1 - 1



Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: productionIssues experienced in live production appsc: crashStack traces logged to the consoleengineflutter/engine related. See also e: labels.platform-iosiOS applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions