Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

click UI Gallery crash #210

Closed
fengcunhan opened this issue May 10, 2016 · 2 comments
Closed

click UI Gallery crash #210

fengcunhan opened this issue May 10, 2016 · 2 comments
Assignees

Comments

@fengcunhan
Copy link

update to latest code ,click UI Gallery,crash ... this is the log:
05-10 14:48:17.848 7668-7694/com.alibaba.weex D/weex: [WXBridgeManager] callNative >>>> instanceId:7, tasks:[{"module":"dom","method":"updateStyle","args":["147",{"marginBottom":20}]}], callback:-1
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] JNI ERROR (app bug): local reference table overflow (max=512)
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] local reference table dump:
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] Last 10 entries (of 512):
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] 511: 0x13416420 $Proxy1
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] 510: 0x13416420 $Proxy1
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] 509: 0x1326a880 java.lang.String "7"
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] 508: 0x1326a860 java.lang.String "-1"
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] 507: 0x1326a840 java.lang.String "[{"module":"dom"... (76 chars)
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] 506: 0x132377e0 java.lang.String "7"
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] 505: 0x132377c0 java.lang.String "-1"
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] 504: 0x132377a0 java.lang.String "[{"module":"dom"... (210 chars)
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] 503: 0x1322b6c0 java.lang.String "7"
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] 502: 0x1322b6a0 java.lang.String "-1"
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] Summary:
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] 165 of java.lang.String (165 unique instances)
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] 1 of $Proxy1
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] 91 of java.lang.String (91 unique instances)
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] 1 of $Proxy1
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] 108 of java.lang.String (108 unique instances)
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] 3 of com.taobao.weex.bridge.WXJSObject (3 unique instances)
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] 46 of java.lang.String (46 unique instances)
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] 1 of com.taobao.weex.bridge.WXJSObject
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] 50 of java.lang.String (50 unique instances)
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] 1 of java.lang.Class
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133] 45 of java.lang.String (45 unique instances)
05-10 14:48:17.850 7668-7694/com.alibaba.weex A/art: art/runtime/indirect_reference_table.cc:133]
05-10 14:48:17.851 7668-7694/com.alibaba.weex A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 7694 (JSBridgeThread)

solution: http://blog.csdn.net/xyang81/article/details/44873769

@zshshr zshshr self-assigned this May 10, 2016
@zshshr
Copy link
Contributor

zshshr commented May 10, 2016

already fixed ,wait for release;

zshshr added a commit that referenced this issue May 10, 2016
@luics luics closed this as completed May 10, 2016
@fengcunhan
Copy link
Author

ok.

luics pushed a commit that referenced this issue May 16, 2016
* + [all] init

* * [android] remove the IWXRecyclerViewChild interface

* + [android] add navBarSetter interface

* * [android] bug fix of NavBar

* * [android] add weex.jks wee.txt

* * [android]  List  bugfix

* * [android] update WXComponent.java WXListComponent.java IOnLoadMoreListener.java

* * [android] update build.gradle support simple use idk

* * [ android ] fix the toast show mode : one by one mode to replace at once

* * [doc] update integrate-to-android.md

* * [android] modify switch component

* * [android] close #20

* + [android] Add WebView Component and Module

* *[test]Modify android Instrument test case util to ajust 750 width and png file

* + [android ] add navbarsetter

* +[ android ] add navigator function

* - [android] remove Deprecated api

* * [android ] modify imageRecycle Logic

* * [android] update WXcompont.java wxListComponent.java modify appear event

* + [android] text-overflow support

* Revert "Merge branch 'dev' into android"

This reverts commit 967997f, reversing
changes made to d31f74a.

* * [android] update libweexcore.so

* * [android] Refactor border draw

* * [android] ignore iml file create by intellij

* * [android] Refactor border draw

* * [android] update ScreenUtil.java modify the method of get actionbar height

* * [android] update screenUtil.java

* * [android] update WXListComponent.java

* *[android] modify playound add WEEX_TPL_KEY to Unite autotest and QR

* * [android] web tag bugfix

* * [android ] bugfix

* *[ android ] deviceType default phone

* * [android] update WXSDKInstance.java init adapter

* * [android] update wxenvironment.java modify version

* * [doc] add video src URL scheme spec

* * [Android] remove Reuse mechanism in WXListComponent

* * [android] modify scroll default Direction logic

* + [example] instance api

* +[Android] Add refresh and loadMore to "List"
- [Android] Remove reuse view mechanism of "List"

* * [Android] move refresh.we from example to test folder

* * [android] update WXListComponent.java and WXComponent.java modify appear

* * [example] fix video control problem, fix #63 .
  more detail see #134

* * [Android] Fix mis-spelling of "Refresh" tag

* * [example] close instance api example, waiting jsfm merging to dev

* * [doc] add flex-wrap spec

* * [example] add flex-wrap example

* * [Android] No textOverflow will be applied if lines=0

* * [Android] Change grade version to 2.1.0

* * [android] update WXEnvironment.java WXSDKInstance.java CaptureActivity.java dynamic replace bundle js

* * [android] update WXSDKInstance.java modify option np

* +[test] android playground add perf list with append tree testcase

* * [Android] Fix image recycle in List

* * [example] fix flex-wrap title

* * [android] update WXimage.java add new property

* * [android] update WXDomStatement.java null point

* * [example] update playground demos

* * [android] update main.js

* * [android] update WXStreamModule.java

* * [android] update wxattr.java wxrecycleimagemanager.java wximage.java

* * [android] update WXScroller.java stop load image

* * [Android] Destroy useless instance in WXEmbed when src changed

* * [doc] update doc for windows

* * [android] bug fix crash

* + [example] add new-fashion examples

* + [component] add tabbar & navbar

* * [ android ] native crash fixed #210

* + [example] add stream demo

* * [example] add `npm run build` in start script

* * [ android ]  fix list LayoutParams cast error

*  [component] update tabbar & navbar

* * [example] finish stream demo

* * [doc] update image.md add resize attribute

* * [ android ]  fix list LayoutParams cast error

* * [example] post sendHttp

* * [examples] mv params to local

* * [android] set screen h &w cache

* * [example] update text-overflow:elipssis text

* Revert "Merge branch 'dev' into android"

This reverts commit bc35bad, reversing
changes made to d5b5374.

* * [all] restore android merge to dev

* * [android] refresh android for merge branch error

* * [example] update instance api demo

* * [all] fix commit msg regex

* * [android] renew android playground

* * [android] update ImageAdapter.java remove resize

* * [android] update image-demo.we add attribute resize

* * [all] rm build from start script

* *[example] Add showcase for hyperlink("a" element)

* * [example] rename hyperlink

* * [example] add activity example entry

* * [android] update WXEnvironment.java

* * [android] update WXStreamModule.java np

* * [android] update WXSDKInstance.java rename render and add log

* *[android] update jsf 0.13.9

* * [android] so release local reference

* * [example] change href in <a> to external accessible URL

* * [example] add sub-directory supporting comment

* * [example] add dir params

* * [Android] Move flushView from renderStatement and batch to Component.bindImp(), in order to reduce the duplicate flushview when addElement to WXList.

* * [example] update image-demo.we

* * [Android] Remove recursively invoke flushView as bindImp() itself is recursive.

* * [component] fix marquee index

* * [Android] Fix RenderStatement.scrollTo() issuse in single scroller, but this fix will cause the wrong scroll offset when scroller are nested in scroller.

* * [example] panel type

* * [android] input default use single line

* * [Android] Fix scrollTo issues, this will work for single scroller and nested scroller.

* * [example] update playground

* * [android] update WXPageActivity.java modify file path

* add a todoMvc demo with some feature to be finished (#239)

* + [example] add todo mvc basic demo

* + [example] todo more fixed

* + [example] todomvc with bug

* * [example] update android assets

* * [example] need to fix todoMVC

* * [android] update build.grade

* * [example] refactor example structure

* * [Android] Fix flushview no response when image's src has been changed

* * [android] update WXInstanceWrap.java modify pro guard

* +[doc ] add list onappear and ondisappear event doc

* [example] add tabbar demo

* [example] add webview demo

* + [example] add scroller and pull-to-refresh demo (#248)

* + [example] Add appear/disappear event listener in list-basic.

* * [example] move the appear/disappear listener to cell label for Android

* + [example] add scroller-basic demo

* * [example] reindent code

* [example] add navigator demo (#250)

* * [example] update image-demo.we

* + [doc] add pull-to-refresh doc to list component

* * [doc] reference list example to examples/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants