Ionic + Crosswalk: Unfortunately, the app has stopped


#1

After adding crosswalk to current ionic project, the app crashed immediately after using ionic run android. Due to the WebRTC issue for Android 4.4, I am using crosswalk to current project for socket io support. However, it seems but working. Any advice appreciated. Thx.

Ionic info:

Cordova CLI: 5.1.1
Ionic Version: 1.0.0-rc.0
Ionic CLI Version: 1.6.1
Ionic App Lib Version: 0.3.3
ios-deploy version: Not installed
ios-sim version: 3.1.1
OS: Mac OS X Mavericks
Node Version: v0.12.7
Xcode version: Xcode 6.1 Build version 6A1052d

The logcat:
D/dalvikvm( 550): GC_FOR_ALLOC freed 115K, 4% free 10569K/10904K, paused 50ms, total 54ms
E/SoundPool( 366): error loading /system/media/audio/ui/Effect_Tick.ogg
W/AudioService( 366): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
E/SoundPool( 366): error loading /system/media/audio/ui/Effect_Tick.ogg
W/AudioService( 366): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
E/SoundPool( 366): error loading /system/media/audio/ui/Effect_Tick.ogg
W/AudioService( 366): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
E/SoundPool( 366): error loading /system/media/audio/ui/Effect_Tick.ogg
W/AudioService( 366): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
E/SoundPool( 366): error loading /system/media/audio/ui/Effect_Tick.ogg
W/AudioService( 366): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
E/SoundPool( 366): error loading /system/media/audio/ui/KeypressStandard.ogg
W/AudioService( 366): Soundpool could not load file: /system/media/audio/ui/KeypressStandard.ogg
E/SoundPool( 366): error loading /system/media/audio/ui/KeypressSpacebar.ogg
W/AudioService( 366): Soundpool could not load file: /system/media/audio/ui/KeypressSpacebar.ogg
E/SoundPool( 366): error loading /system/media/audio/ui/KeypressDelete.ogg
W/AudioService( 366): Soundpool could not load file: /system/media/audio/ui/KeypressDelete.ogg
E/SoundPool( 366): error loading /system/media/audio/ui/KeypressReturn.ogg
W/AudioService( 366): Soundpool could not load file: /system/media/audio/ui/KeypressReturn.ogg
E/SoundPool( 366): error loading /system/media/audio/ui/KeypressInvalid.ogg
W/AudioService( 366): Soundpool could not load file: /system/media/audio/ui/KeypressInvalid.ogg
W/AudioService( 366): onLoadSoundEffects(), Error -1 while loading samples
I/ActivityManager( 366): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.pjpgymstar.client/.MainActivity} from pid 550
D/gralloc ( 54): Registering a buffer in the process that created it. This may cause memory ordering problems.
E/libEGL ( 54): called unimplemented OpenGL ES API
E/libEGL ( 54): called unimplemented OpenGL ES API
E/libEGL ( 54): called unimplemented OpenGL ES API
E/libEGL ( 54): called unimplemented OpenGL ES API
E/SurfaceFlinger( 54): glCheckFramebufferStatusOES error -1219691508
E/SurfaceFlinger( 54): got GL_FRAMEBUFFER_COMPLETE_OES error while taking screenshot
E/libEGL ( 54): called unimplemented OpenGL ES API
E/libEGL ( 54): called unimplemented OpenGL ES API
W/WindowManager( 366): Screenshot failure taking screenshot for (246x410) to layer 21005
I/UsageStats( 366): Deleting usage file : usage-20150618
I/Choreographer( 550): Skipped 84 frames! The application may be doing too much work on its main thread.
D/dalvikvm( 1201): Not late-enabling CheckJNI (already on)
I/ActivityManager( 366): Start proc com.pjpgymstar.client for activity com.pjpgymstar.client/.MainActivity: pid=1201 uid=10052 gids={50052, 3003, 3002, 3001, 1028, 1015}
I/ARMAssembler( 54): generated scanline__00000077:03010104_00008001_00000000 [ 89 ipp] (110 ins) at [0xb5ab4680:0xb5ab4838] in 10000000 ns
D/dalvikvm( 1201): Trying to load lib /data/app-lib/com.pjpgymstar.client-1/libxwalkcore.so 0xb3d39ea0
D/dalvikvm( 1201): Added shared lib /data/app-lib/com.pjpgymstar.client-1/libxwalkcore.so 0xb3d39ea0
I/LibraryLoader( 1201): Time to load native libraries: 104 ms (timestamps 8218-8322)
I/LibraryLoader( 1201): Expected native library version number “”,actual native library version number ""
I/LibraryLoader( 1201): Expected native library version number “”,actual native library version number ""
I/chromium( 1201): [INFO:library_loader_hooks.cc(108)] Chromium logging enabled: level = 0, default verbosity = 0
D/dalvikvm( 1201): GC_CONCURRENT freed 327K, 13% free 2883K/3288K, paused 4ms+11ms, total 83ms
I/BrowserStartupController( 1201): Initializing chromium process, singleProcess=true
E/chromium( 1201): [ERROR:gl_surface_egl.cc(167)] No suitable EGL configs found.
E/chromium( 1201): [ERROR:gl_surface_android.cc(23)] GLSurfaceEGL::InitializeOneOff failed.
E/chromium( 1201): [ERROR:browser_main_loop.cc(996)] GLSurface::InitializeOneOff failed
E/BluetoothAdapter( 1201): Bluetooth binder is null
W/chromium( 1201): [WARNING:proxy_service.cc(899)] PAC support disabled because there is no system implementation
E/chromium( 1201): [ERROR:unix_domain_server_socket_posix.cc(106)] Not implemented reached in virtual int net::UnixDomainServerSocket::GetLocalAddress(net::IPEndPoint*) const
D/dalvikvm( 1201): GC_CONCURRENT freed 301K, 12% free 3043K/3420K, paused 4ms+21ms, total 59ms
V/StatusBar( 1201): StatusBar: initialization
I/chromium( 1201): [INFO:xwalk_extension_renderer_controller.cc(47)] EXTENSION PROCESS DISABLED.
W/TextureView( 1201): A TextureView or a subclass can only be used with hardware acceleration enabled.
D/gralloc_goldfish( 1201): Emulator without GPU emulation detected.
D/dalvikvm( 1201): GC_CONCURRENT freed 258K, 10% free 3197K/3532K, paused 6ms+3ms, total 311ms
I/ActivityManager( 366): Displayed com.pjpgymstar.client/.MainActivity: +2s825ms
F/chromium( 1201): [FATAL:gl_surface_android.cc(58)] Check failed: kGLImplementationNone != GetGLImplementation() (0 vs. 0)
F/libc ( 1201): Fatal signal 6 (SIGABRT) at 0x000004b1 (code=-6), thread 1231 (Chrome_InProcGp)
W/BindingManager( 1201): Cannot call determinedVisibility() - never saw a connection for the pid: 1201
I/DEBUG ( 52): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 52): Build fingerprint: 'generic/sdk/generic:4.4.4/KK/1743154:eng/test-keys’
I/DEBUG ( 52): Revision: '0’
I/DEBUG ( 52): pid: 1201, tid: 1231, name: Chrome_InProcGp >>> com.pjpgymstar.client <<<
I/DEBUG ( 52): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG ( 52): r0 00000000 r1 000004cf r2 00000006 r3 00000000
I/DEBUG ( 52): r4 00000006 r5 00000000 r6 000004cf r7 0000010c
I/DEBUG ( 52): r8 b6f5035c r9 a84dc6b0 sl 00000000 fp 00000001
I/DEBUG ( 52): ip a84dc254 sp a84dc1b0 lr b6f15ead pc b6f24e20 cpsr 00000010
I/DEBUG ( 52): d0 3ff8000000000000 d1 3f50624d3fc00000
I/DEBUG ( 52): d2 7e37e43c8800759c d3 7e37e43c8800759c
I/DEBUG ( 52): d4 8000000000000000 d5 3f40000004ef6d80
I/DEBUG ( 52): d6 0000000000000000 d7 000000013f800000
I/DEBUG ( 52): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 52): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 52): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 52): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 52): scr 60000010
I/DEBUG ( 52):
I/DEBUG ( 52): backtrace:
I/DEBUG ( 52): #00 pc 00021e20 /system/lib/libc.so (tgkill+12)
I/DEBUG ( 52): #01 pc 00012ea9 /system/lib/libc.so (pthread_kill+48)
I/DEBUG ( 52): #02 pc 000130bd /system/lib/libc.so (raise+10)
I/DEBUG ( 52): #03 pc 00011df3 /system/lib/libc.so
I/DEBUG ( 52): #04 pc 000216d4 /system/lib/libc.so (abort+4)
I/DEBUG ( 52): #05 pc 001ed115 /data/app-lib/com.pjpgymstar.client-1/libxwalkcore.so
I/DEBUG ( 52):
I/DEBUG ( 52): stack:
I/DEBUG ( 52): a84dc170 00000000
I/DEBUG ( 52): a84dc174 00000000
I/DEBUG ( 52): a84dc178 00000000
I/DEBUG ( 52): a84dc17c 00000000
I/DEBUG ( 52): a84dc180 00000000
I/DEBUG ( 52): a84dc184 00000000
I/DEBUG ( 52): a84dc188 00000000
I/DEBUG ( 52): a84dc18c 8427722e
I/DEBUG ( 52): a84dc190 00000000
I/DEBUG ( 52): a84dc194 00000000
I/DEBUG ( 52): a84dc198 00000000
I/DEBUG ( 52): a84dc19c 00000000
I/DEBUG ( 52): a84dc1a0 b6f4c1f8 /system/lib/libc.so
I/DEBUG ( 52): a84dc1a4 00000069
I/DEBUG ( 52): a84dc1a8 b6f4c1a4 /system/lib/libc.so
I/DEBUG ( 52): a84dc1ac b7b5cad0 [heap]
I/DEBUG ( 52): #00 a84dc1b0 00000006
I/DEBUG ( 52): a84dc1b4 00000000
I/DEBUG ( 52): a84dc1b8 000004cf
I/DEBUG ( 52): a84dc1bc a84dc254 [stack:1231]
I/DEBUG ( 52): a84dc1c0 a84dc254 [stack:1231]
I/DEBUG ( 52): a84dc1c4 b6f15ead /system/lib/libc.so (pthread_kill+52)
I/DEBUG ( 52): #01 a84dc1c8 00000006
I/DEBUG ( 52): a84dc1cc 00000000
I/DEBUG ( 52): a84dc1d0 a84dc688 [stack:1231]
I/DEBUG ( 52): a84dc1d4 b6f160c1 /system/lib/libc.so (raise+14)
I/DEBUG ( 52): #02 a84dc1d8 a84dc1e4 [stack:1231]
I/DEBUG ( 52): a84dc1dc b6f14df7 /system/lib/libc.so
I/DEBUG ( 52):
I/DEBUG ( 52): memory near r8:
I/DEBUG ( 52): b6f5033c 00001000 00001000 00010000 00200000
I/DEBUG ( 52): b6f5034c 00000003 b6f2794d be8fab94 be8fac3f
I/DEBUG ( 52): b6f5035c 8427722e be8fab5c 00000000 b6f81cf0
I/DEBUG ( 52): b6f5036c 00000007 00000008 b7d3d3c8 00000000
I/DEBUG ( 52): b6f5037c b7d53000 00000009 0000000a 00000002
I/DEBUG ( 52): b6f5038c 00000010 00000000 00000000 00000000
I/DEBUG ( 52): b6f5039c 00000000 00000000 00000000 00000000
I/DEBUG ( 52): b6f503ac 00000000 00000000 00000000 00000000
I/DEBUG ( 52): b6f503bc 00000000 00000000 00000000 00000000
I/DEBUG ( 52): b6f503cc 00000000 00000000 00000000 00000000
I/DEBUG ( 52): b6f503dc 00000000 00000000 00000000 00000000
I/DEBUG ( 52): b6f503ec 00000000 00000000 00000000 00000000
I/DEBUG ( 52): b6f503fc 00000000 00000000 00000000 00000000
I/DEBUG ( 52): b6f5040c 00000000 00000000 00000000 00000000
I/DEBUG ( 52): b6f5041c 00000000 00000000 00000000 00000000
I/DEBUG ( 52): b6f5042c 00000000 00000000 00000000 00000000
I/DEBUG ( 52):
I/DEBUG ( 52): memory near r9:
I/DEBUG ( 52): a84dc690 00000000 00000000 00000000 b7c595a0
I/DEBUG ( 52): a84dc6a0 b7c59609 b7c59609 ab4ee880 00000010
I/DEBUG ( 52): a84dc6b0 b7c59610 003a4c41 00000017 b7d3c6d0
I/DEBUG ( 52): a84dc6c0 b7c59609 b7c595a0 ab364f60 00001008
I/DEBUG ( 52): a84dc6d0 00000000 00000000 00000000 00000000
I/DEBUG ( 52): a84dc6e0 00000006 00000000 ab4ee880 00000000
I/DEBUG ( 52): a84dc6f0 00000000 00000000 00000000 00000000
I/DEBUG ( 52): a84dc700 00000000 00000000 b7c49340 b7d3c720
I/DEBUG ( 52): a84dc710 a84dc68c 00000000 00000022 aaf25a3d
I/DEBUG ( 52): a84dc720 0000003a 8427722e b7c7d870 a84dc744
I/DEBUG ( 52): a84dc730 b7d49e50 b7d49e38 b7c7d870 a9f0f04b
I/DEBUG ( 52): a84dc740 b6f12c95 00000038 00000000 00000000
I/DEBUG ( 52): a84dc750 b7d49e38 b7d4c940 b7c7d870 a9f16b39
I/DEBUG ( 52): a84dc760 b7d49e50 b7d4c940 a84dc794 b7d49e50
I/DEBUG ( 52): a84dc770 b7d49e38 a9f14bdb a84dc794 a84dc880
I/DEBUG ( 52): a84dc780 a84dc790 00000000 b7d49e9c a9f145f5
I/DEBUG ( 52):
I/DEBUG ( 52): memory near ip:
I/DEBUG ( 52): a84dc234 b7c65419 b7c653b0 aaf16235 00000000
I/DEBUG ( 52): a84dc244 b6f5035c a84dc6e4 a84dc254 a84dc6a0
I/DEBUG ( 52): a84dc254 5441465b 673a4c41 75735f6c 63616672
I/DEBUG ( 52): a84dc264 6e615f65 696f7264 63632e64 29383528
I/DEBUG ( 52): a84dc274 6843205d 206b6365 6c696166 203a6465
I/DEBUG ( 52): a84dc284 494c476b 656c706d 746e656d 6f697461
I/DEBUG ( 52): a84dc294 6e6f4e6e 3d212065 74654720 6d494c47
I/DEBUG ( 52): a84dc2a4 6d656c70 61746e65 6e6f6974 28202928
I/DEBUG ( 52): a84dc2b4 73762030 2930202e ffffff0a 00000000
I/DEBUG ( 52): a84dc2c4 ffffffff 00000000 ffffffff 00000000
I/DEBUG ( 52): a84dc2d4 ffffffff 00000000 ab366e40 a84dc2ec
I/DEBUG ( 52): a84dc2e4 00000400 00000000 00000000 00000000
I/DEBUG ( 52): a84dc2f4 00000000 00000000 00000000 00000000
I/DEBUG ( 52): a84dc304 00000000 00000000 00000000 00000000
I/DEBUG ( 52): a84dc314 00000000 00000000 00000000 00000000
I/DEBUG ( 52): a84dc324 00000000 00000014 b7d3c5c8 b7d3c5dc
I/DEBUG ( 52):
I/DEBUG ( 52): memory near sp:
I/DEBUG ( 52): a84dc190 00000000 00000000 00000000 00000000
I/DEBUG ( 52): a84dc1a0 b6f4c1f8 00000069 b6f4c1a4 b7b5cad0
I/DEBUG ( 52): a84dc1b0 00000006 00000000 000004cf a84dc254
I/DEBUG ( 52): a84dc1c0 a84dc254 b6f15ead 00000006 00000000
I/DEBUG ( 52): a84dc1d0 a84dc688 b6f160c1 a84dc1e4 b6f14df7
I/DEBUG ( 52): a84dc1e0 00000001 ffffffdf 00000069 8427722e
I/DEBUG ( 52): a84dc1f0 a84dc224 a84dc684 a84dc224 a84dc684
I/DEBUG ( 52): a84dc200 a84dc224 b6f246d8 8427722e a9b35119
I/DEBUG ( 52): a84dc210 ab4a037c a9b4c3b5 a84dc6e4 00000018
I/DEBUG ( 52): a84dc220 00000000 b7c65420 aaf16235 00000010
I/DEBUG ( 52): a84dc230 00000008 b7c65419 b7c653b0 aaf16235
I/DEBUG ( 52): a84dc240 00000000 b6f5035c a84dc6e4 a84dc254
I/DEBUG ( 52): a84dc250 a84dc6a0 5441465b 673a4c41 75735f6c
I/DEBUG ( 52): a84dc260 63616672 6e615f65 696f7264 63632e64
I/DEBUG ( 52): a84dc270 29383528 6843205d 206b6365 6c696166
I/DEBUG ( 52): a84dc280 203a6465 494c476b 656c706d 746e656d
I/DEBUG ( 52):
I/DEBUG ( 52): code around pc:
I/DEBUG ( 52): b6f24e00 e8bd00f0 e3700a01 912fff1e e2600000
I/DEBUG ( 52): b6f24e10 ea006b41 e92d50f0 e3a07f43 ef000000
I/DEBUG ( 52): b6f24e20 e8bd50f0 e3700a01 912fff1e e2600000
I/DEBUG ( 52): b6f24e30 ea006b39 e92d50f0 e3a070ee ef000000
I/DEBUG ( 52): b6f24e40 e8bd50f0 e3700a01 912fff1e e2600000
I/DEBUG ( 52): b6f24e50 ea006b31 e1520003 ca0000c8 e92d4011
I/DEBUG ( 52): b6f24e60 e24dd01c f5d0f000 f5d1f000 f5d1f020
I/DEBUG ( 52): b6f24e70 e3520004 3a0000b7 e2613000 e2133003
I/DEBUG ( 52): b6f24e80 0a000007 e1b0cf83 e0422003 44d13001
I/DEBUG ( 52): b6f24e90 24d14001 24d1c001 44c03001 24c04001
I/DEBUG ( 52): b6f24ea0 24c0c001 e020c001 e31c0003 1a00002b
I/DEBUG ( 52): b6f24eb0 e88d0fe0 e2603000 e213301c 0a00000a
I/DEBUG ( 52): b6f24ec0 e1530002 8202301c e1b0ce03 28b100f0
I/DEBUG ( 52): b6f24ed0 48b10300 28a000f0 48a00300 e3130004
I/DEBUG ( 52): b6f24ee0 1491a004 1480a004 e0422003 e2522020
I/DEBUG ( 52): b6f24ef0 3a000008 e3c1c01f e28cc040 e8b10ff0
I/DEBUG ( 52):
I/DEBUG ( 52): code around lr:
I/DEBUG ( 52): b6f15e8c 447b4b13 42b3e010 6a1ed10e 44784811
I/DEBUG ( 52): b6f15e9c ec8ef7fb e9f2f00d 46224631 efb4f00e
I/DEBUG ( 52): b6f15eac d00a3001 e00b2400 2b00681b 480ad1eb
I/DEBUG ( 52): b6f15ebc 44782403 ec7cf7fb f001e002 6804fa23
I/DEBUG ( 52): b6f15ecc fa20f001 46206005 bf00bd70 0003a4ee
I/DEBUG ( 52): b6f15edc 0003a4e2 0003a4da 0003a4b6 bf7ef7ff
I/DEBUG ( 52): b6f15eec 4a3e4b3d e92d447b b08b43f0 4606589c
I/DEBUG ( 52): b6f15efc 6823460d 930946a1 fa04f001 8000f8d0
I/DEBUG ( 52): b6f15f0c d0482d00 f0264628 280ffc57 d8444604
I/DEBUG ( 52): b6f15f1c ffe4f7ff d1064286 4629200f e8bcf00d
I/DEBUG ( 52): b6f15f2c d03c2800 482ee02e f7fb4478 482debc4
I/DEBUG ( 52): b6f15f3c e0154478 d11342b0 482b6a06 f7fb4478
I/DEBUG ( 52): b6f15f4c 4a2aec38 46332120 a801447a fbb6f012
I/DEBUG ( 52): b6f15f5c a8012101 feccf019 46061c42 e011d104
I/DEBUG ( 52): b6f15f6c 28006800 e02cd1e6 46294630 f00d4622
I/DEBUG ( 52): b6f15f7c 1c43e8f8 d11e4607 f9c4f001 29046801
I/BootReceiver( 366): Copying /data/tombstones/tombstone_00 to DropBox (SYSTEM_TOMBSTONE)
W/InputDispatcher( 366): channel ‘b4084fc8 com.pjpgymstar.client/com.pjpgymstar.client.MainActivity (server)’ ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 366): channel ‘b4084fc8 com.pjpgymstar.client/com.pjpgymstar.client.MainActivity (server)’ ~ Channel is unrecoverably broken and will be disposed!
D/Zygote ( 55): Process 1201 terminated by signal (6)
D/dalvikvm( 366): GC_FOR_ALLOC freed 1426K, 36% free 6065K/9368K, paused 77ms, total 87ms
W/InputDispatcher( 366): Attempted to unregister already unregistered input channel 'b4084fc8 com.pjpgymstar.client/com.pjpgymstar.client.MainActivity (server)'
I/ActivityManager( 366): Process com.pjpgymstar.client (pid 1201) has died.
I/WindowState( 366): WIN DEATH: Window{b4084fc8 u0 com.pjpgymstar.client/com.pjpgymstar.client.MainActivity}
W/ActivityManager( 366): Force removing ActivityRecord{b3fac060 u0 com.pjpgymstar.client/.MainActivity t3}: app died, no saved state
D/dalvikvm( 366): GC_CONCURRENT freed 309K, 30% free 6563K/9368K, paused 6ms+6ms, total 254ms
D/dalvikvm( 366): WAIT_FOR_CONCURRENT_GC blocked 239ms
D/dalvikvm( 366): WAIT_FOR_CONCURRENT_GC blocked 66ms
I/dalvikvm-heap( 366): Grow heap (frag case) to 7.374MB for 635812-byte allocation
D/dalvikvm( 366): GC_FOR_ALLOC freed 606K, 32% free 6866K/9992K, paused 77ms, total 77ms
I/Choreographer( 550): Skipped 70 frames! The application may be doing too much work on its main thread.
D/dalvikvm( 536): GC_CONCURRENT freed 451K, 17% free 3352K/4004K, paused 3ms+3ms, total 28ms
W/InputMethodManagerService( 366): Got RemoteException sending setActive(false) notification to pid 1201 uid 10052
W/Binder ( 506): Caught a RuntimeException from the binder stub implementation.
W/Binder ( 506): java.lang.NullPointerException
W/Binder ( 506): at android.inputmethodservice.IInputMethodWrapper.setSessionEnabled(IInputMethodWrapper.java:280)
W/Binder ( 506): at com.android.internal.view.IInputMethod$Stub.onTransact(IInputMethod.java:129)
W/Binder ( 506): at android.os.Binder.execTransact(Binder.java:404)
W/Binder ( 506): at dalvik.system.NativeStart.run(Native Method)