MIUI论坛 下载APP

玩机小白

Rank: 1

积分
29
机型
Nexus S
签到次数
0
MIUI版本
1
私信

[问题反馈] 小米2s上遇到程式會閃退的問題 (小米3沒有此問題)

[复制链接]
10373 9 |
2015-1-8 14:59 | 来自PC
| |
|
跳转
本帖最后由 xmagicj 于 2015-1-8 17:58 编辑

您好,
我們使用app時候,在小米2s上遇到程式會閃退的問題 (小米3 小米note 红米沒有此問題)
附上步驟說明 & logcat,麻煩請幫忙協助
Android 系统版本 : Android 4.1.1
MIUI 系统版本 : MIUI JLB49.0

l  步驟 & 現象
1.     開啟app
2.     點選account (不輸入任何字串)
3.     點選password(不輸入任何字串)
4.     重複上面2,3兩個步驟,即可發現程式停止並退出

P.S 這是WebView的一個app,來載入某個web
image001.png

提供crash日志如下
程序启动
I/ActivityManager( 1028): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.xxxx.android.wimyoffice/.ui.start.WiMyOfficeActivity bnds=[206,856][342,992] u=0} from pid 1414

I/NotifierManager( 1414): onRegister: miui.maml.NotifierManager$MultiBroadcastNotifier@430c27b0

I/RenderThread( 1414): Sleep for long time:9223372036838652861 ms

I/BatteryStatsImpl( 1028): Start partial wakelock ActivityManager-Launch(uid=1000, pid=1028) nesting 2

进程开始
D/Process ( 1028): Begin--Starting VM process through Zygote processClass-->android.app.ActivityThread niceName-->com.xxxxx.android.wimyoffice

E/dalvikvm( 1018): threadid=2: exiting,name=ReferenceQueueDaemon

E/dalvikvm( 1018): threadid=3: exiting,name=FinalizerDaemon

E/dalvikvm( 1018): threadid=4: exiting,name=FinalizerWatchdogDaemon

E/dalvikvm( 1018): native fork pid:11878 done.

E/dalvikvm( 1018): threadid=2: created from interp,name=ReferenceQueueDaemon

E/dalvikvm( 1018): threadid=2: calling run(),name=ReferenceQueueDaemon

E/dalvikvm( 1018): threadid=3: created from interp,name=FinalizerDaemon

E/dalvikvm( 1018): threadid=3: calling run(),name=FinalizerDaemon

E/dalvikvm( 1018): threadid=4: created from interp,name=FinalizerWatchdogDaemon

E/dalvikvm( 1018): threadid=4: calling run(),name=FinalizerWatchdogDaemon

D/Process ( 1028): End--Starting VM process through Zygote done.pid-->11878

E/dalvikvm(11878): native fork pid:0 done.

E/dalvikvm(11878): threadid=5: created from interp,name=ReferenceQueueDaemon

E/dalvikvm(11878): threadid=5: calling run(),name=ReferenceQueueDaemon

E/dalvikvm(11878): threadid=6: created from interp,name=FinalizerDaemon

I/NotifierManager( 1414): onUnregister: miui.maml.NotifierManager$MultiBroadcastNotifier@430c27b0

I/RenderThread( 1414): RenderThread paused, waiting for signal

Start Activity
I/ActivityManager( 1028): Start proc com.xxxxx.android.wimyoffice for activity com.xxxxxx.android.wimyoffice/.ui.start.WiMyOfficeActivity: pid=11878 uid=10055 gids={3003, 1015, 1028}

E/dalvikvm(11878): threadid=6: calling run(),name=FinalizerDaemon

E/dalvikvm(11878): threadid=7: created from interp,name=FinalizerWatchdogDaemon

E/dalvikvm(11878): threadid=7: calling run(),name=FinalizerWatchdogDaemon

D/ActivityThread(11878): setTargetHeapUtilization:0.25

D/ActivityThread(11878): setTargetHeapIdealFree:8388608

D/ActivityThread(11878): setTargetHeapConcurrentStart:2097152

D/PhoneStatusBar( 1169): disable: < expand icons alerts ticker system_info back home recent clock >

E/dalvikvm(11878): threadid=10: created from interp,name=Thread-11909

E/dalvikvm(11878): threadid=10: calling run(),name=Thread-11909

E/dalvikvm(11878): threadid=11: created from interp,name=SharedPreferencesImpl-load

E/dalvikvm(11878): threadid=11: calling run(),name=SharedPreferencesImpl-load

E/dalvikvm(11878): threadid=11: exiting,name=SharedPreferencesImpl-load

E/dalvikvm(11878): threadid=11: created from interp,name=CookieSyncManager

E/dalvikvm(11878): threadid=11: calling run(),name=CookieSyncManager

E/dalvikvm(11878): threadid=10: exiting,name=Thread-11909

E/dalvikvm(11878): threadid=10: created from interp,name=Thread-11912

E/dalvikvm(11878): threadid=10: calling run(),name=Thread-11912

E/dalvikvm(11878): threadid=12: created from interp,name=WebViewCoreThread

E/dalvikvm(11878): threadid=12: calling run(),name=WebViewCoreThread

E/dalvikvm(11878): threadid=13: created from interp,name=Thread-11914

E/dalvikvm(11878): threadid=13: calling run(),name=Thread-11914

E/dalvikvm(11878): threadid=14: created from interp,name=AsyncTask #1

E/dalvikvm(11878): threadid=14: calling run(),name=AsyncTask #1

D/webcoreglue(11878): netstack: Memory Cache feature is ON

W/SignalStrength( 1330): Signal before validate=SignalStrength: 19 0 -1 -1 -1 -1 -1 99 2147483647 2147483647 2147483647 2147483647 2147483647 cdma

W/SignalStrength( 1330): Signal after validate=SignalStrength: 19 0 -120 -160 -120 -1 -1 99 2147483647 2147483647 2147483647 2147483647 2147483647 cdma

V/PhoneStatusBar( 1169): setLightsOn(true)

I/Adreno200-EGL(11878): <qeglDrvAPI_eglInitialize:294>: EGL 1.4 QUALCOMM build:  (CL3090659)

I/Adreno200-EGL(11878): Build Date: 09/03/13 Tue

I/Adreno200-EGL(11878): Local Branch:

I/Adreno200-EGL(11878): Remote Branch:

I/Adreno200-EGL(11878): Local Patches:

I/Adreno200-EGL(11878): Reconstruct Branch:

E/dalvikvm(11878): threadid=15: created from interp,name=SharedPreferencesImpl-load

E/dalvikvm(11878): threadid=15: calling run(),name=SharedPreferencesImpl-load

E/dalvikvm(11878): threadid=15: exiting,name=SharedPreferencesImpl-load

V/chromium(11878): external/chromium/net/host_resolver_helper/host_resolver_helper.cc:66: [1229/143048:INFO:host_resolver_helper.cc(66)] DNSPreResolver::Init got hostprovider:0x66675010

V/chromium(11878): external/chromium/net/base/host_resolver_impl.cc:1510: [1229/143048:INFO:host_resolver_impl.cc(1510)] HostResolverImpl::SetPreresolver preresolver:0x405c5750

D/HostStatisticManager(11878): netstack: DNS Host Prioritization is: ON, Version: 5.0.1

D/        (11878): external/chromium/net/socket/tcp_fin_aggregation_factory.cc: libtcpfinaggr.so successfully loaded

D/        (11878): external/chromium/net/socket/tcp_fin_aggregation_factory.cc,: TCP Fin Aggregation initializing method was found in libtcpfinaggr.so

D/TCPFinAggregation(11878): netstack: TCPFinAggregation is 1, Version 5.0.1

D/TCPFinAggregation(11878): system property net.tcp.fin.aggregation.wait was set, value: 20

D/TCPFinAggregation(11878): system property net.tcp.fin.aggregation.close was set, value: 300

E/Diag_Lib(11878):  Diag_LSM_Init: Failed to open handle to diag driver, error = 13

D/TCPFinAggregation(11878): netstack: CloseUnusedSockets is ON, (TCPFinAggregation), Version 5.0.1

D/TCPFinAggregation(11878): Failed to get network status! received ret: -2

D/Socket_Pool(11878): netstack: CloseUnusedSockets is ON

D/Socket_Pool(11878): netstack: system net.statistics value: 0

D/Socket_Pool(11878): netstack: CloseUnusedSockets is ON

D/Socket_Pool(11878): netstack: system net.statistics value: 0

D/        (11878): external/chromium/net/http/http_getzip_factory.cc: libgetzip.so successfully loaded

D/        (11878): external/chromium/net/http/http_getzip_factory.cc,: GETzip initializing method was found in libgetzip.so

D/        (11878): netstack: Getzip is: ON, Version: 5.0.1

D/netstack(11878): netstack: Request Priority is ON

E/dalvikvm(11878): threadid=13: exiting,name=Thread-11914

D/        (11878): netstack: Early Connections is: ON, Version: 5.0.1, Param: 3

小米 内置防火墙?不知道这里会做些什么
I/XiaomiFirewall( 6952): firewall pkgName:com.xxxxxx.android.wimyoffice, result:0

I/WebViewClient(11878): onPageStarted :https://office.xxxxxx.com/

I/ActivityManager( 1028): Displayed com.xxxxxx.android.wimyoffice/.ui.start.WiMyOfficeActivity: +450ms

I/BatteryStatsImpl( 1028): Stop partial wakelock ActivityManager-Launch(uid=1000, pid=1028) nesting 1

I/BatteryStatsImpl( 1028): Start partial wakelock AlarmManager(uid=1001, pid=1028) nesting 2

I/BatteryStatsImpl( 1028): Stop partial wakelock AlarmManager(uid=1001, pid=1028) nesting 1

D/PhoneInterfaceManager( 1330): Broadcasting intent ACTION_UNSOL_RESPONSE_OEM_HOOK_RAW

I/BatteryStatsImpl( 1028): Start partial wakelock RILJ(uid=1001, pid=1330) nesting 2

I/BatteryStatsImpl( 1028): Stop partial wakelock RILJ(uid=1001, pid=1330) nesting 1

I/BatteryStatsImpl( 1028): Start partial wakelock RILJ(uid=1001, pid=1330) nesting 2

D/StatusBar.NetworkController( 1169): updateTelephonySignalStrength: mSignalStrength == 19(GSM) 99(CDMA) 255(LTE)

I/BatteryStatsImpl( 1028): Stop partial wakelock RILJ(uid=1001, pid=1330) nesting 1

E/dalvikvm(11878): threadid=10: exiting,name=Thread-11912

I/WebViewClient(11878): onPageStarted :https://office.xxxxxxcom/Eoffice/

JS 没有抓到 value (因为 下载需要抓取一些form信息),但此处不会导致程序crash
E/Web Console(11878): Uncaught TypeError: Cannot read property 'value' of null at null:1


E/Web Console(11878): Uncaught TypeError: Cannot read property 'value' of null at null:1

I/XiaomiFirewall( 6952): firewall pkgName:com.xxxxxx.android.wimyoffice, result:0

E/dalvikvm(10916): threadid=26: exiting,name=pool-1-thread-2

E/dalvikvm(10916): threadid=56: exiting,name=pool-3-thread-25

E/dalvikvm(10916): threadid=50: exiting,name=pool-3-thread-19

E/dalvikvm(10916): threadid=22: exiting,name=pool-1-thread-1

E/dalvikvm(10916): threadid=30: exiting,name=pool-24-thread-1

E/dalvikvm(10916): threadid=57: exiting,name=pool-3-thread-26

E/dalvikvm(10916): threadid=13: exiting,name=pool-16-thread-1

加载主页结束

E/dalvikvm( 1298): threadid=32: created from interp,name=Thread-163

E/dalvikvm( 1298): threadid=32: calling run(),name=Thread-163

D/PhoneStatusBar( 1169): addNotification pkg=android;targetpkg=android;id=17040476

E/dalvikvm( 1298): threadid=32: exiting,name=Thread-163

D/SizeAdaptiveLayout( 1169): com.android.internal.widget.SizeAdaptiveLayout@431ecdf0child view android.widget.FrameLayout@4347a750 measured out of bounds at 129px clamped to 130px

D/PhoneStatusBar( 1169): updateNotification pkg=android;id=17040476

D/SizeAdaptiveLayout( 1169): com.android.internal.widget.SizeAdaptiveLayout@431ecdf0child view android.widget.FrameLayout@4347a750 measured out of bounds at 129px clamped to 130px

W/SignalStrength( 1330): Signal before validate=SignalStrength: 19 0 -1 -1 -1 -1 -1 99 2147483647 2147483647 2147483647 2147483647 2147483647 cdma

W/SignalStrength( 1330): Signal after validate=SignalStrength: 19 0 -120 -160 -120 -1 -1 99 2147483647 2147483647 2147483647 2147483647 2147483647 cdma

E/dalvikvm(10916): threadid=32: exiting,name=pool-11-thread-1

E/dalvikvm(10916): threadid=58: exiting,name=pool-11-thread-2

E/dalvikvm(11407): threadid=13: exiting,name=pool-3-thread-2

E/dalvikvm(11407): threadid=11: exiting,name=pool-3-thread-1

W/crash_handler(11878): Caught a crash, signum=11

到这里 webcore crash
E/webcore (11878): Report WebCore crash to the ErrorReportUtils at:Mon Dec 29 14:30:54 台北標準時間 2014

D/Process ( 1028): Begin--Starting VM process through Zygote processClass-->android.app.ActivityThread niceName-->com.android.browser.CrashReportService

E/dalvikvm( 1018): threadid=2: exiting,name=ReferenceQueueDaemon

E/dalvikvm( 1018): threadid=3: exiting,name=FinalizerDaemon

E/dalvikvm( 1018): threadid=4: exiting,name=FinalizerWatchdogDaemon

E/dalvikvm( 1018): native fork pid:11955 done.

E/dalvikvm( 1018): threadid=2: created from interp,name=ReferenceQueueDaemon

E/dalvikvm( 1018): threadid=2: calling run(),name=ReferenceQueueDaemon

E/dalvikvm( 1018): threadid=3: created from interp,name=FinalizerDaemon

E/dalvikvm( 1018): threadid=3: calling run(),name=FinalizerDaemon

E/dalvikvm( 1018): threadid=4: created from interp,name=FinalizerWatchdogDaemon

D/Process ( 1028): End--Starting VM process through Zygote done.pid-->11955

E/dalvikvm( 1018): threadid=4: calling run(),name=FinalizerWatchdogDaemon

I/ActivityManager( 1028): Start proc com.android.browser.CrashReportService for service com.android.browser/.CrashReportService: pid=11955 uid=10107 gids={3003, 1015, 1007, 1028}

E/dalvikvm(11955): native fork pid:0 done.

E/dalvikvm(11955): threadid=5: created from interp,name=ReferenceQueueDaemon

E/dalvikvm(11955): threadid=5: calling run(),name=ReferenceQueueDaemon

E/dalvikvm(11955): threadid=6: created from interp,name=FinalizerDaemon

E/dalvikvm(11955): threadid=6: calling run(),name=FinalizerDaemon

E/dalvikvm(11955): threadid=7: created from interp,name=FinalizerWatchdogDaemon

E/dalvikvm(11955): threadid=7: calling run(),name=FinalizerWatchdogDaemon

D/ActivityThread(11955): setTargetHeapUtilization:0.25

D/ActivityThread(11955): setTargetHeapIdealFree:8388608

D/ActivityThread(11955): setTargetHeapConcurrentStart:2097152

E/dalvikvm(11955): threadid=10: created from interp,name=SharedPreferencesImpl-load

E/dalvikvm(11955): threadid=10: calling run(),name=SharedPreferencesImpl-load

E/dalvikvm(11955): threadid=11: created from interp,name=BackgroundHandler

E/dalvikvm(11955): threadid=10: exiting,name=SharedPreferencesImpl-load

E/dalvikvm(11955): threadid=11: calling run(),name=BackgroundHandler

E/dalvikvm(11955): threadid=10: created from interp,name=pool-1-thread-1

D/ads-notify-fd5dfce4(11955): app: com.android.browser

E/dalvikvm(11955): threadid=10: calling run(),name=pool-1-thread-1

I/XiaomiFirewall( 6952): firewall pkgName:com.android.browser, result:0

E/dalvikvm(11955): threadid=12: created from interp,name=pool-2-thread-1

E/dalvikvm(11955): threadid=12: calling run(),name=pool-2-thread-1

D/ads-notify-fd5dfce4(11955): logSender: com.xiaomi.miui.pushads.sdk.a.b@42388258

D/ads-notify-fd5dfce4(11955): com.android.browser--->init channel

E/dalvikvm(11955): threadid=13: created from interp,name=SharedPreferencesImpl-load

E/dalvikvm(11955): threadid=13: calling run(),name=SharedPreferencesImpl-load

E/dalvikvm(11955): threadid=13: exiting,name=SharedPreferencesImpl-load

D/ads-notify-fd5dfce4(11955): com.android.browser--->cahnel OK

E/dalvikvm( 1243): threadid=34: created from interp,name=IntentService[XMPushService Bridge]

E/dalvikvm( 1243): threadid=34: calling run(),name=IntentService[XMPushService Bridge]

E/dalvikvm(11955): threadid=13: created from interp,name=AsyncTask #1

E/dalvikvm(11955): threadid=13: calling run(),name=AsyncTask #1

E/dalvikvm( 1243): threadid=34: exiting,name=IntentService[XMPushService Bridge]

这里为什么会有io exception 有可能是发生 webcore错误后 系统记录日志需要进行report写入动作
W/System.err(11955): java.io.FileNotFoundException: /data/miui/current/browser/application_cache.zip: open failed: ENOENT (No such file or directory)

W/System.err(11955):
at libcore.io.IoBridge.open(IoBridge.java:416)

W/System.err(11955):
at java.io.FileInputStream.<init>(FileInputStream.java:78)

W/System.err(11955):
at java.io.FileInputStream.<init>(FileInputStream.java:105)

W/System.err(11955):
at com.android.browser.util.J.cp(CacheDataUtil.java:77)

W/System.err(11955):
at com.android.browser.util.J.cq(CacheDataUtil.java:19)

W/System.err(11955):
at com.android.browser.util.r.doInBackground(CacheDataUtil.java:64)

W/System.err(11955):
at com.android.browser.util.r.doInBackground(CacheDataUtil.java:59)

W/System.err(11955):
at android.os.AsyncTask$2.call(AsyncTask.java:287)

W/System.err(11955):
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)

W/System.err(11955):
at java.util.concurrent.FutureTask.run(FutureTask.java:137)

W/System.err(11955):
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)

W/System.err(11955):
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)

W/System.err(11955):
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)

W/System.err(11955):
at java.lang.Thread.run(Thread.java:856)

W/System.err(11955): Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)

E/dalvikvm(11955): threadid=14: created from interp,name=SharedPreferencesImpl-load

E/dalvikvm(11955): threadid=14: calling run(),name=SharedPreferencesImpl-load

E/dalvikvm(11955): threadid=14: exiting,name=SharedPreferencesImpl-load

W/System.err(11955):
at libcore.io.Posix.open(Native Method)

W/System.err(11955):
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)

W/System.err(11955):
at libcore.io.IoBridge.open(IoBridge.java:400)

W/System.err(11955):
... 13 more

W/com.android.browser.util.J(11955): cost is 12

F/libc    (11878): Fatal signal 11 (SIGSEGV) at 0x00002e66 (code=0), thread 11878 (roid.wimyoffice)

I/DEBUG   (  172): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

I/DEBUG   (  172): Build fingerprint: 'Xiaomi/aries/aries:4.1.1/JRO03L/JLB49.0:user/release-keys'

I/DEBUG   (  172): pid: 11878, tid: 11878, name: roid.wimyoffice  >>> com.xxxxxx.android.wimyoffice <<<

程序结束
I/ActivityManager( 1028): Process com.xxxxxx.android.wimyoffice (pid 11878) has died.

I/WindowState( 1028): WIN DEATH: Window{42259120 com.xxxc.android.wimyoffice/com.xxxxxx.android.wimyoffice.ui.start.WiMyOfficeActivity paused=false}


W/ActivityManager( 1028): Force removing ActivityRecord{42245c80 com.xxxxandroid.wimyoffice/.ui.start.WiMyOfficeActivity}: app died, no saved state

收藏1 分享  

玩机小白

Rank: 1

积分
27
机型
HTC Desire S
签到次数
0
MIUI版本
3.11.30
私信
2015-1-12 16:19 | 来自PC
|
我也碰到了这个问题。。。。。。。。。。。。。。。小米2s,真无语,有人解决吗?

玩机小白

Rank: 1

积分
27
机型
0
签到次数
0
MIUI版本
0
私信
2015-1-12 17:33 | 来自PC
|

我也碰到了这个问题。。。。。。。。。。。。。。。小米2a,真无语,有人解决吗?

玩机之皇

Rank: 6Rank: 6

积分
7752
机型
未知设备
签到次数
181
MIUI版本
8.11.22
私信

2018新年勋章米兔月饼勋章国庆勋章MIUI七夕鹊桥勋章MIUI七周年MIUI 9纪念勋章初音勋章APP 1000万小火箭勋章MIUI五周年关注微信极客勋章关注腾讯微博关注新浪微博

2015-1-12 17:40 | 来自PC
|
帮顶,还没遇到

玩机大师

Rank: 4

积分
604
机型
未知设备
签到次数
98
MIUI版本
V8.2.25.0.NCACNEC
私信
2015-1-13 11:17 | 来自PC
|
可能要关闭硬件加速

玩机小白

Rank: 1

积分
29
机型
Nexus S
签到次数
0
MIUI版本
1
私信
 楼主| 2015-1-13 11:59 | 来自PC
|
没有管理员出来解释吗?
这么详细的日志 都找不到错误?

玩机小白

Rank: 1

积分
29
机型
Nexus S
签到次数
0
MIUI版本
1
私信
 楼主| 2015-1-17 20:03 | 来自PC
|
这么详细的日志 都找不到错误?
别沉。。。

玩机小白

Rank: 1

积分
29
机型
未知设备
签到次数
0
MIUI版本
JHCCNBL50.0
私信
2015-1-28 11:13 | 来自PC
|
红米1S 中国电信版也有此问题

玩机小白

Rank: 1

积分
29
机型
未知设备
签到次数
0
MIUI版本
JHCCNBL50.0
私信
2015-1-28 11:15 | 来自PC
|
01-28 11:03:47.167: E/(28028): netstack:  STAT_HUB - App com.medicom.medihandsecond isn't supported
01-28 11:03:47.237: D/TilesManager(28028): Starting TG #0, 0x6141ea08
01-28 11:03:48.487: D/dalvikvm(28028): GC_FOR_ALLOC freed 1142K, 24% free 14529K/18924K, paused 17ms, total 17ms
01-28 11:03:50.177: W/crash_handler(28028): Caught a crash, signum=11
01-28 11:03:50.177: E/webcore(28028): Report WebCore crash to the ErrorReportUtils at:Wed Jan 28 11:03:50 GMT+08:00 2015
01-28 11:03:51.187: A/libc(28028): Fatal signal 11 (SIGSEGV) at 0x00006d7c (code=0), thread 28028 (.medihandsecond)

玩机小白

Rank: 1

积分
29
机型
未知设备
签到次数
0
MIUI版本
JHCCNBL50.0
私信
2015-1-28 11:18 | 来自PC
|
问题现象:当Activity中有一个WEBView, 这个WebView加载了很长篇幅的html5,当拖动页面的同时按返回键,稍等一下,APP立即闪退
快速回复 返回顶部 返回列表