Skip to content

Chrome DevTools: App crashes after adding new view element #1051

@vhristov5555

Description

@vhristov5555

Please, provide the details below:

Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo?

  • yes

Tell us about the problem

App crashes after tns debug android and adding new view element

Please provide the following version numbers that your issue occurs with:

  • CLI: 4.0.0
  • Cross-platform modules: 4.0.0
  • Runtime(s): 4.1.0-2018.5.9.1

Did the error happen while the app was being constructed? (buildtime error)

  • No

Did the error happen while the app was executing? (runtime error)

  • Yes

Please tell us how to recreate the issue in as much detail as possible.

  1. Use this app https://github.com/NativeScript/chrome-devtools-test-app
  2. tns debug android
  3. Open printed url in Chrome
  4. Click "TAP - ADD VIEW CHILDREN" - which is going to add new element to the view
  5. The app will crash
D/TNS.Native( 2291): Error while parsing debug DOM Node object.  Error: backendNodeId: integer value expected; children.0.backendNodeId: integer value expected
F/libc    ( 2291): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4 in tid 2291 (cript.chromeapp)
I/DEBUG   (  190): * * * * * * * * * * * * * * * *
I/DEBUG   (  190): Build fingerprint: 'google/hammerhead/hammerhead:5.1.1/LMY48B/1863243:user/release-keys'
I/DEBUG   (  190): Revision: '11'
I/DEBUG   (  190): ABI: 'arm'
I/DEBUG   (  190): pid: 2291, tid: 2291, name: cript.chromeapp  »> org.nativescript.chromeapp «<
I/DEBUG   (  190): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x4
I/DEBUG   (  190):     r0 be8bc334  r1 0000000c  r2 00000064  r3 a1fcdeaa
I/DEBUG   (  190):     r4 be8bc3b4  r5 00000000  r6 a1dd97b8  r7 00000000
I/DEBUG   (  190):     r8 be8bc438  r9 be8bc670  sl 00000000  fp be8bc390
I/DEBUG   (  190):     ip b6eba7dc  sp be8bc2b0  lr b6e9bd7d  pc a2a61ebc  cpsr 600f0010
I/DEBUG   (  190): 
I/DEBUG   (  190): backtrace:
I/DEBUG   (  190):     #00 pc 000f3ebc  /data/app/org.nativescript.chromeapp-1/lib/arm/libNativeScript.so
I/DEBUG   (  190):     #01 pc 000f8838  /data/app/org.nativescript.chromeapp-1/lib/arm/libNativeScript.so
I/DEBUG   (  190):     #02 pc 00107b6c  /data/app/org.nativescript.chromeapp-1/lib/arm/libNativeScript.so
I/DEBUG   (  190):     #03 pc 00176040  /data/app/org.nativescript.chromeapp-1/lib/arm/libNativeScript.so
I/DEBUG   (  190):     #04 pc 001d7a6c  /data/app/org.nativescript.chromeapp-1/lib/arm/libNativeScript.so
I/DEBUG   (  190):     #05 pc 000ce050  /data/app/org.nativescript.chromeapp-1/lib/arm/libNativeScript.so
I/DEBUG   (  190):     #06 pc 001d56d8  /data/app/org.nativescript.chromeapp-1/lib/arm/libNativeScript.so
I/DEBUG   (  190):     #07 pc 000fb3c8  /data/app/org.nativescript.chromeapp-1/lib/arm/libNativeScript.so
I/DEBUG   (  190):     #08 pc 000cfb38  /data/app/org.nativescript.chromeapp-1/lib/arm/libNativeScript.so
I/DEBUG   (  190):     #09 pc 004ef6ef  /data/app/org.nativescript.chromeapp-1/lib/arm/libNativeScript.so
I/DEBUG   (  190):     #10 pc 0050bcdf  /data/app/org.nativescript.chromeapp-1/lib/arm/libNativeScript.so
I/DEBUG   (  190):     #11 pc 0050b7af  /data/app/org.nativescript.chromeapp-1/lib/arm/libNativeScript.so
I/DEBUG   (  190):     #12 pc 00000318  <unknown>

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions