Hello,

We are using Crosswalk in a production application and we are finding that 
after some amount of prolonged usage (generally 20-40 minutes), the application 
will experience a native crash with the following trace:

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 
'samsung/jfltevl/jfltecan:4.4.2/KOT49H/I337MVLUFNI2:user/release-keys'
Revision: '10'
pid: 21535, tid: 22149, name: BrowserBlocking >>> com.example.app <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
r0 00000000 r1 00005685 r2 00000006 r3 00000000
r4 00000006 r5 00000002 r6 00005685 r7 0000010c
r8 77e52620 r9 00008000 sl 940afba8 fp 7a2e4908
ip 00000000 sp 93d6d808 lr 400a918d pc 400b8134 cpsr 000f0010
d0 0000000000000000 d1 0000000000000000
d2 0000000000000000 d3 0000000000000000
d4 43815ad843814ac0 d5 437aae88436ee508
d6 449aade8449a9dd0 d7 4406e4504406b408
d8 0000000000000000 d9 0000000000000000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 2065766974614e28 d17 0a29646f6874654d
d18 433311f04332b160 d19 440463f043800218
d20 43fe657043fe14f8 d21 4361a34043fe85a0
d22 4361e3a04361c370 d23 43622400436203d0
d24 3f6efc3ffa0d967c d25 bf6efc3e566ea324
d26 4025931319798d6e d27 4000000000000000
d28 4000b7679551b393 d29 3fb59fffffffffe7
d30 3ff0000000000000 d31 40ed4c0000000003
scr 20000012

backtrace:
#00 pc 00022134 /system/lib/libc.so (tgkill+12)
#01 pc 00013189 /system/lib/libc.so (pthread_kill+48)
#02 pc 0001339d /system/lib/libc.so (raise+10)
#03 pc 000120d3 /system/lib/libc.so
#04 pc 000219e8 /system/lib/libc.so (abort+4)
#05 pc 000493bf /system/lib/libdvm.so (dvmAbort+78)
#06 pc 0004c88b /system/lib/libdvm.so
#07 pc 0004d31b /system/lib/libdvm.so
#08 pc 001d9bf9 /data/app-lib/com.example.app-2/libxwalkcore.so

code around pc:
400b8114 e8bd00f0 e3700a01 912fff1e e2600000 
400b8124 ea006e4f e92d50f0 e3a07f43 ef000000 
400b8134 e8bd50f0 e3700a01 912fff1e e2600000 
400b8144 ea006e47 e92d50f0 e3a070ee ef000000 
400b8154 e8bd50f0 e3700a01 912fff1e e2600000 
400b8164 ea006e3f f200429a bf0080b9 f040f891 
400b8174 4001e92d f2c02a04 2a1080a5 8093f2c0 
400b8184 f2c02a20 2a408088 ea4fdb7f f1bc1c92 
400b8194 dd6c0f0a 0600e92d 0f40f1bc f500dd4a 
400b81a4 f5016e80 ebae7920 ea4f0e09 ea4f5e4e 
400b81b4 f50e5e5e ebbc7e20 dd3b1f9e f04fbfc4 
400b81c4 ebd9090a dd35199e 0a0eeb01 0a3ff02a 
400b81d4 1c9eebac bfd245e1 0c09ebac f04f46e1 
400b81e4 f8910c00 f891f240 f921f280 f921028d 
400b81f4 f8da428d f1b93000 f9000901 f900028d 
400b8204 f10a428d d1ee0a40 0f00f1bc f5bcd02b 

code around lr:
400a916c 447b4b13 42b3e010 6a1ed10e 44784811 
400a917c ec84f7fb ea0cf00d 46224631 efcef00e 
400a918c d00a3001 e00b2400 2b00681b 480ad1eb 
400a919c 44782403 ec72f7fb f001e002 6804fa23 
400a91ac fa20f001 46206005 bf00bd70 0003b246 
400a91bc 0003b23a 0003b232 0003b20e bf7ef7ff 
400a91cc 4a3e4b3d e92d447b b08b43f0 4606589c 
400a91dc 6823460d 930946a1 fa04f001 8000f8d0 
400a91ec d0482d00 f0104628 280ff889 d8444604 
400a91fc ffe4f7ff d1064286 4629200f e8d6f00d 
400a920c d03c2800 482ee02e f7fb4478 482debb6 
400a921c e0154478 d11342b0 482b6a06 f7fb4478 
400a922c 4a2aec2e 46332120 a801447a f92af013 
400a923c a8012101 fc48f01a 46061c42 e011d104 
400a924c 28006800 e02cd1e6 46294630 f00d4622 
400a925c 1c43e912 d11e4607 f9c4f001 29046801

This stack trace is generally preceded by a message similar to: "E/dalvikvm( 
1063): JNI ERROR (app bug): local reference table overflow (max=512)"

I realize that there is not a lot of information here but I believe that this 
is a memory related issue. Is there any steps that I can take to profile native 
memory usage within Crosswalk? Thanks in advance for your help!


_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to