Skip to content

app crash on ios 12 at launch #22390

Closed
Closed
@doge1024

Description

@doge1024

Environment

Run react-native info in your terminal and paste its contents here.

Scanning 609 folders for symlinks in /Users/lzh/Desktop/xy_projects/wallet_js/node_modules (40ms)

Environment:
  OS: macOS 10.14.1
  Node: 10.11.0
  Yarn: 1.9.4
  npm: 6.4.1
  Watchman: 4.9.0
  Xcode: Xcode 10.1 Build version 10B61
  Android Studio: 3.0 AI-171.4443003

Packages: (wanted => installed)
  react: 16.0.0-alpha.12 => 16.0.0-alpha.12
  react-native: git+https:git.yingzhongtong.com/bjmobile/custom-react-native.git#my-0.48.4 => 0.48.4

Description

Describe your issue in detail. Include screenshots if needed. If this is a regression, let us know.

app crash on ios 12 at launch or background to foreground

#12 Thread

SIGTRAP

0 libsystem_malloc.dylib | nanov2_allocate_from_block$VARIANT$mp + 540
-- | --
1 libsystem_malloc.dylib | nanov2_allocate_from_block$VARIANT$mp + 540
2 libsystem_malloc.dylib | nanov2_allocate$VARIANT$mp + 140
3 libsystem_malloc.dylib | nanov2_malloc$VARIANT$mp + 60
4 libsystem_malloc.dylib | malloc_zone_malloc + 156
5 libsystem_malloc.dylib | malloc + 32
6 yoga | YGNodeListNew + 40
7 yoga | YGNodeListInsert + 44
8 yoga | YGNodeInsertChild + 120
9 React | -[RCTShadowView insertReactSubview:atIndex:] + 228
10 React | RCTSetChildren + 484
11 React | -[RCTUIManager setChildren:reactTags:] + 116
12 CoreFoundation | ___invoking___ + 144
13 CoreFoundation | -[NSInvocation invoke] + 292
14 CoreFoundation | -[NSInvocation invokeWithTarget:] + 60
15 React | -[RCTModuleMethod invokeWithBridge:module:arguments:] + 820
16 React | -[RCTBatchedBridge callNativeModule:method:params:] + 352
17 React | __33-[RCTBatchedBridge handleBuffer:]_block_invoke.354 + 580
18 libdispatch.dylib | __dispatch_call_block_and_release + 24
19 libdispatch.dylib | __dispatch_client_callout + 16
20 libdispatch.dylib | __dispatch_lane_serial_drain$VARIANT$mp + 592
21 libdispatch.dylib | __dispatch_lane_invoke$VARIANT$mp + 432
22 libdispatch.dylib | __dispatch_workloop_worker_thread + 600
23 libsystem_pthread.dylib | _pthread_wqthread + 312

Reproducible Demo

Let us know how to reproduce the issue. Include a code sample, share a project, or share an app that reproduces the issue using https://snack.expo.io/. Please follow the guidelines for providing a MCVE: https://stackoverflow.com/help/mcve

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions