21全志r58m平台的framework在使用过程中会莫名的崩溃掉
21全志r58m平台的framework在使用过程中会莫名的崩溃掉
2018/10/25 16:20
版本:V1.0
开发板:SC5806
1、系统编译:
rootroot@cm88:/home/wwt/r58m_orig$ cat android_r58m_wyb_20170314split.tar.gza* > android.tar.gz
rootroot@cm88:/home/wwt/r58m_orig$ tar zxvf lichee_r58m_wyb_20170308.tar.gz
rootroot@cm88:/home/wwt/r58m_orig$ tar zxvf android.tar.gz
rootroot@cm88:/home/wwt/r58m_orig$ cd lichee/
rootroot@cm88:/home/wwt/r58m_orig/lichee$ ./build.sh config
Welcome to mkscript setup progress
All available chips:
5. sun8iw6p1
Choice: 5
All available platforms:
0. android
Choice: 0
All available kernel:
1. linux-3.4
Choice: 1
All available boards:
1. f1
Choice: 1
rootroot@cm88:/home/wwt/r58m_orig/lichee$
rootroot@cm88:/home/wwt/r58m_orig/lichee$ ./build.sh
rootroot@cm88:/home/wwt/r58m_orig/lichee$
rootroot@cm88:/home/wwt/r58m_orig/lichee$ cd ../android/
rootroot@cm88:/home/wwt/r58m_orig/android$ source build/envsetup.sh
rootroot@cm88:/home/wwt/r58m_orig/android$ lunch
24. octopus_f1-eng
Which would you like? [aosp_arm-eng] 24
rootroot@cm88:/home/wwt/r58m_orig/android$
rootroot@cm88:/home/wwt/r58m_orig/android$ extract-bsp
/home/wwt/r58m_orig/android/device/softwinner/octopus-f1/bImage copied!
/home/wwt/r58m_orig/android/device/softwinner/octopus-f1/modules copied!
rootroot@cm88:/home/wwt/r58m_orig/android$ make -j12
rootroot@cm88:/home/wwt/r58m_orig/android$ verity_data_init
rootroot@cm88:/home/wwt/r58m_orig/android$ pack
(可选:)
rootroot@cm88:/home/wwt/r58m_orig/android$ cd ../lichee/brandy/
rootroot@cm88:/home/wwt/r58m_orig/lichee/brandy$
rootroot@cm88:/home/wwt/r58m_orig/lichee/brandy$ ./build.sh -p sun8iw6p1
rootroot@cm88:/home/wwt/r58m_orig/lichee/brandy$ cd -
/home/wwt/r58m_orig/android
rootroot@cm88:/home/wwt/r58m_orig/android$ pack
2、
客户报告:
R58 Android6.0(客户使用Total Control测试),在调试时发现framework会崩溃,操作如下:
操作1:连接wifi->打开系统浏览器->百度搜索qq音乐->鼠标随意滑动->framework崩溃
操作2:连接wifi->打开系统浏览器->百度搜索qq音乐->点击下载->framework崩溃
操作3:打开系统摄像头->framework崩溃
操作4:打开蓝牙BT也会framework崩溃
以上操作前后内核正常运行,framework崩溃前后,会重新显示开机动画,正常进入lancher。
附件是操作1的系统日志,请尽快帮忙处理,并给出解决方案。
[2018/10/19 11:12:38] 10-19 11:12:07.078 D/ConnectivityService( 4491): updateNetworkScore for NetworkAgentInfo [WIFI () - 100] to 57
[2018/10/19 11:12:39] 10-19 11:12:07.562 I/===DaemonService===( 5581): ############## Rotation : 0
[2018/10/19 11:12:39] 10-19 11:12:07.562 I/===DaemonService===( 5581): ScreenOrientationThread:0 screentOrientation:0
[2018/10/19 11:12:39] 10-19 11:12:07.563 I/===APKProtocolTransmit===( 5581): Ready send su-cmd:275
[2018/10/19 11:12:39] 10-19 11:12:07.563 I/===APKProtocolTransmit===( 5581): Start send su-cmd:275 length[14]
[2018/10/19 11:12:39] 10-19 11:12:07.563 I/===APKProtocolTransmit===( 5581): End send sb-cmd:275
[2018/10/19 11:12:39] 10-19 11:12:07.880 E/Sensors ( 4491): Gyro::setFullScale() Failed to set Full-scale: 2000 - range
[2018/10/19 11:12:39] 10-19 11:12:07.880 E/Sensors ( 4491): GyroSensor : set EVIOCSCLOCKID failed !
[2018/10/19 11:12:39] 10-19 11:12:07.880 E/Sensors ( 4491): GyroSensor::Enable() Failed to set enable: 1 - enable_device
[2018/10/19 11:12:39] 10-19 11:12:07.880 D/Sensors ( 4491): AccelSensor::enable(1), handle: 1, what: 3, mEnabled: 9
[2018/10/19 11:12:39] 10-19 11:12:07.880 E/Sensors ( 4491): GyroSensor::enable(1), handle: 3, what: 0, mEnabled: 1
[2018/10/19 11:12:39] 10-19 11:12:07.880 E/SensorService( 4491): Error activating sensor 3 (Operation not permitted)
[2018/10/19 11:12:39] 10-19 11:12:07.883 D/Sensors ( 4491): AccelSensor::enable(1), handle: 0, what: 0, mEnabled: 9
[2018/10/19 11:12:39] --------- beginning of crash
[2018/10/19 11:12:39] 10-19 11:12:07.883 F/libc ( 4491): Fatal signal 8 (SIGFPE), code -6, fault addr 0x118b in tid 4525 (Binder_1)
[2018/10/19 11:12:39] 10-19 11:12:07.935 F/DEBUG ( 228): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
[2018/10/19 11:12:39] 10-19 11:12:07.935 F/DEBUG ( 228): Build fingerprint: 'Allwinner/octopus_smt_mid/octopus-smt_mid:6.0.1/MMB29M/20181018:eng/test-keys'
[2018/10/19 11:12:39] 10-19 11:12:07.936 F/DEBUG ( 228): Revision: '0'
[2018/10/19 11:12:39] 10-19 11:12:07.936 F/DEBUG ( 228): ABI: 'arm'
[2018/10/19 11:12:39] 10-19 11:12:07.936 F/DEBUG ( 228): pid: 4491, tid: 4525, name: Binder_1 >>> system_server <<<
[2018/10/19 11:12:39] 10-19 11:12:07.936 F/DEBUG ( 228): signal 8 (SIGFPE), code -6 (SI_TKILL), fault addr 0x118b
[2018/10/19 11:12:39] 10-19 11:12:07.994 F/DEBUG ( 228): r0 00000000 r1 000011ad r2 00000008 r3 b3d01978
[2018/10/19 11:12:39] 10-19 11:12:07.995 F/DEBUG ( 228): r4 b3d01980 r5 b3d01930 r6 00000058 r7 0000010c
[2018/10/19 11:12:39] 10-19 11:12:07.995 F/DEBUG ( 228): r8 00000000 r9 abcf97c0 sl 00000000 fp 00000000
[2018/10/19 11:12:39] 10-19 11:12:07.995 F/DEBUG ( 228): ip 00000008 sp b3d01580 lr b6ce3edd pc b6ce62cc cpsr 400f0010
[2018/10/19 11:12:39] 10-19 11:12:08.040 F/DEBUG ( 228):
[2018/10/19 11:12:39] 10-19 11:12:08.040 F/DEBUG ( 228): backtrace:
[2018/10/19 11:12:39] 10-19 11:12:08.040 F/DEBUG ( 228): #00 pc 000422cc /system/lib/libc.so (tgkill+12)
[2018/10/19 11:12:39] 10-19 11:12:08.040 F/DEBUG ( 228): #01 pc 0003fed9 /system/lib/libc.so (pthread_kill+32)
[2018/10/19 11:12:39] 10-19 11:12:08.040 F/DEBUG ( 228): #02 pc 0001c6bf /system/lib/libc.so (raise+10)
[2018/10/19 11:12:39] 10-19 11:12:08.040 F/DEBUG ( 228): #03 pc 0001b864 /system/lib/hw/sensors.exdroid.so (__aeabi_idiv0+8)
[2018/10/19 11:12:39] 10-19 11:12:08.040 F/DEBUG ( 228): #04 pc 00007c80 /system/lib/hw/sensors.exdroid.so (AccelSensor::setDelay(int, long long)+484)
[2018/10/19 11:12:39] 10-19 11:12:08.040 F/DEBUG ( 228): #05 pc 00008343 /system/lib/libsensorservice.so
[2018/10/19 11:12:39] 10-19 11:12:08.041 F/DEBUG ( 228): #06 pc 0000cb33 /system/lib/libsensorservice.so
[2018/10/19 11:12:39] 10-19 11:12:08.041 F/DEBUG ( 228): #07 pc 0000cca9 /system/lib/libsensorservice.so
[2018/10/19 11:12:39] ed int)+166)
[2018/10/19 11:12:39] 10-19 11:12:08.041 F/DEBUG ( 228): #09 pc 00019985 /system/lib/libbinder.so (android::BBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+60)
[2018/10/19 11:12:39] 10-19 11:12:08.041 F/DEBUG ( 228): #10 pc 0001ec5f /system/lib/libbinder.so (android::IPCThreadState::executeCommand(int)+542)
[2018/10/19 11:12:39] 10-19 11:12:08.041 F/DEBUG ( 228): #11 pc 0001edb5 /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+64)
[2018/10/19 11:12:39] 10-19 11:12:08.041 F/DEBUG ( 228): #12 pc 0001ee19 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)
[2018/10/19 11:12:39] 10-19 11:12:08.041 F/DEBUG ( 228): #13 pc 00023759 /system/lib/libbinder.so
[2018/10/19 11:12:39] 10-19 11:12:08.041 F/DEBUG ( 228): #14 pc 00010071 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+112)
[2018/10/19 11:12:39] 10-19 11:12:08.042 F/DEBUG ( 228): #15 pc 0005d7bf /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+70)
[2018/10/19 11:12:39] 10-19 11:12:08.042 F/DEBUG ( 228): #16 pc 0003f7db /system/lib/libc.so (__pthread_start(void*)+30)
[2018/10/19 11:12:39] 10-19 11:12:08.042 F/DEBUG ( 228): #17 pc 00019ef5 /system/lib/libc.so (__start_thread+6)
[2018/10/19 11:12:40] 10-19 11:12:08.552 I/USBService( 5581): send udp to check mobileagent state.
[2018/10/19 11:12:40] 10-19 11:12:08.553 I/===Mrcp===( 5581): sending cmd:276
在开发板SC5806上测试,接鼠标,使用有线连网:
打开系统浏览器->百度搜索qq音乐->鼠标随意滑动->framework崩溃
01-01 09:28:40.251 V/CAM_CameraActivity( 2545): Build info: octopus_f1-eng 6.0.1 MMB29M 20181025 test-keys
01-01 09:28:40.258 D/Sensors ( 1416): AccelSensor::enable(1), handle: 0, what: 0, mEnabled: 1
01-01 09:28:40.259 D/Sensors ( 1416): SensorBase: setDelay handle = 0
01-01 09:28:40.259 E/Sensors ( 1416): AccelSensor::Delay() Failed to set delay: 200 [ms] - accelerometer/pollrate_ms
01-01 09:28:40.260 F/libc ( 1416): Fatal signal 8 (SIGFPE), code -6, fault addr 0x588 in tid 1877 (Binder_4)
01-01 09:28:40.279 D/CAM_Storage( 2545): External storage state=mounted
01-01 09:28:40.283 D/AudioFlinger( 603): mixer(0xb1c80000) throttle end: throttle time(1)
01-01 09:28:40.315 F/DEBUG ( 596): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-01 09:28:40.315 F/DEBUG ( 596): Build fingerprint: 'Allwinner/octopus_f1/octopus-f1:6.0.1/MMB29M/20181025:eng/test-keys'
01-01 09:28:40.315 F/DEBUG ( 596): Revision: '0'
01-01 09:28:40.315 F/DEBUG ( 596): ABI: 'arm'
01-01 09:28:40.316 F/DEBUG ( 596): pid: 1416, tid: 1877, name: Binder_4 >>> system_server <<<
01-01 09:28:40.316 F/DEBUG ( 596): signal 8 (SIGFPE), code -6 (SI_TKILL), fault addr 0x588
01-01 09:28:40.347 F/DEBUG ( 596): r0 00000000 r1 00000755 r2 00000008 r3 9b8bc978
01-01 09:28:40.347 F/DEBUG ( 596): r4 9b8bc980 r5 9b8bc930 r6 00000009 r7 0000010c
01-01 09:28:40.347 F/DEBUG ( 596): r8 ffffffff r9 abb3e7c0 sl 00000000 fp 00000000
01-01 09:28:40.347 F/DEBUG ( 596): ip 00000008 sp 9b8bc580 lr b6c9fedd pc b6ca22cc cpsr 400f0010
01-01 09:28:40.382 F/DEBUG ( 596):
01-01 09:28:40.382 F/DEBUG ( 596): backtrace:
01-01 09:28:40.382 F/DEBUG ( 596): #00 pc 000422cc /system/lib/libc.so (tgkill+12)
01-01 09:28:40.382 F/DEBUG ( 596): #01 pc 0003fed9 /system/lib/libc.so (pthread_kill+32)
01-01 09:28:40.382 F/DEBUG ( 596): #02 pc 0001c6bf /system/lib/libc.so (raise+10)
01-01 09:28:40.382 F/DEBUG ( 596): #03 pc 0001b864 /system/lib/hw/sensors.exdroid.so (__aeabi_idiv0+8)
01-01 09:28:40.383 F/DEBUG ( 596): #04 pc 00007c80 /system/lib/hw/sensors.exdroid.so (AccelSensor::setDelay(int, long long)+484)
01-01 09:28:40.383 F/DEBUG ( 596): #05 pc 00008343 /system/lib/libsensorservice.so
01-01 09:28:40.383 F/DEBUG ( 596): #06 pc 0000cb33 /system/lib/libsensorservice.so
01-01 09:28:40.383 F/DEBUG ( 596): #07 pc 0000cca9 /system/lib/libsensorservice.so
01-01 09:28:40.383 F/DEBUG ( 596): #08 pc 00041d8f /system/lib/libgui.so (android::BnSensorEventConnection::onTransact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+166)
01-01 09:28:40.383 F/DEBUG ( 596): #09 pc 00019985 /system/lib/libbinder.so (android::BBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+60)
01-01 09:28:40.383 F/DEBUG ( 596): #10 pc 0001ec5f /system/lib/libbinder.so (android::IPCThreadState::executeCommand(int)+542)
01-01 09:28:40.383 F/DEBUG ( 596): #11 pc 0001edb5 /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+64)
01-01 09:28:40.383 F/DEBUG ( 596): #12 pc 0001ee19 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)
01-01 09:28:40.383 F/DEBUG ( 596): #13 pc 00023759 /system/lib/libbinder.so
01-01 09:28:40.383 F/DEBUG ( 596): #14 pc 00010071 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+112)
01-01 09:28:40.383 F/DEBUG ( 596): #15 pc 0005d7bf /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+70)
01-01 09:28:40.383 F/DEBUG ( 596): #16 pc 0003f7db /system/lib/libc.so (__pthread_start(void*)+30)
01-01 09:28:40.383 F/DEBUG ( 596): #17 pc 00019ef5 /system/lib/libc.so (__start_thread+6)
01-01 09:28:43.336 D/audio_hw_primary( 603): out_standby
01-01 09:28:44.919 F/DEBUG ( 596):
01-01 09:28:44.919 F/DEBUG ( 596): Tombstone written to: /data/tombstones/tombstone_00
01-01 09:28:44.927 I/BootReceiver( 1416): Copying /data/tombstones/tombstone_00 to DropBox (SYSTEM_TOMBSTONE)
01-01 09:28:44.938 V/CAM_Profiler( 2545): [ 0.000ms][ui] GUARD: CaptureModule.resume - START
01-01 09:28:44.960 V/CAM_Profiler( 2545): [ 1.413ms][ui] GUARD: CaptureModule.resume - [ 0.023ms] getRemoteShutterListener.onModuleReady
01-01 09:28:44.973 V/CAM_Profiler( 2545): [ 34.874ms][ui] GUARD: CaptureModule.resume - [ 0.733ms] initSurfaceTextureConsumer
01-01 09:28:44.986 V/CAM_Profiler( 2545): [ 0.000ms] GUARD: CaptureModule.closeCamera() - START
01-01 09:28:44.996 V/CAM_Profiler( 2545): [ 9.999ms] GUARD: CaptureModule.closeCamera() - [ 9.999ms] mCameraOpenCloseLock.acquire()
01-01 09:28:44.996 V/CAM_Profiler( 2545): [ 10.356ms] GUARD: CaptureModule.closeCamera() - STOP
01-01 09:28:44.996 V/CAM_Profiler( 2545): [ 0.000ms] GUARD: CaptureModule.openCameraAndStartPreview() - START
01-01 09:28:44.996 V/CAM_Profiler( 2545): [ 0.148ms] GUARD: CaptureModule.openCameraAndStartPreview() - [ 0.148ms] Acquired mCameraOpenCloseLock
01-01 09:28:45.000 D/Sensors ( 1416): SensorBase: setDelay handle = 0
01-01 09:28:45.000 E/Sensors ( 1416): AccelSensor::Delay() Failed to set delay: 200 [ms] - accelerometer/pollrate_ms
01-01 09:28:45.002 D/CAM_Camera2OneCamMgr( 2545): Getting First BACK Camera
01-01 09:28:45.007 I/OMXClient( 2545): Using client-side OMX mux.
01-01 09:28:45.016 I/CAM_OneCamera1Opnr( 2545): Opening Camera: CameraId{Api2='0',Api1:0}
基本确定是传感器(gsensor)等配置的问题。
根据crash dump分析
在HAL层调用AccelSensor,设置SetDelay时出现问题.
请检测sensor硬件是否正常,底层驱动是否正常。
H:\wyb\r58m\android\device\softwinner\octopus-f1\BoardConfig.mk
#sensor parameter
#SW_BOARD_USES_SENSORS_TYPE := lsm9ds0
SW_BOARD_USES_SENSORS_TYPE = aw_sensors
客户回复:问题解决了。
21全志r58m平台的framework在使用过程中会莫名的崩溃掉的更多相关文章
- robot framework程序运行过程中,遇到点击事件之后,未出现点击之后的效果(求解)
1.click Element操作,在实际过程中偶然会出现,日志显示已点击成功,但是实际自动化页面,没有点击成功之后的操作 现象: 现象描述:程序执行到点击侧边栏的[人员信息]之后,日志显示已经点击成 ...
- 461在全志r16平台tinav3.0系统下使用地磁计QMC5883L
461在全志r16平台tinav3.0系统下使用地磁计QMC5883L 2018/9/7 14:08 版本:V1.0 开发板:SC3817R SDK:tina v3.0 (基本确认全志tina v3. ...
- 001原始编译全志r6平台tinav3.0.2系统
001原始编译全志r6平台tinav3.0.2系统 2018/6/8 11:32 版本:V1.0 开发板:R6 SDK:tina v3.0.2 1.01原始编译全志r16平台tinav3.0系统: r ...
- 全志A33平台编译linux(分色排版)V1.1
全志A33平台编译linux 大文实验室/大文哥 壹捌陆捌零陆捌捌陆捌贰 21504965 AT qq.com 完成时间:2017/12/13 10:41 版本:V1.1 (一)解压缩lichee备用 ...
- 21.翻译系列:Entity Framework 6 Power Tools【EF 6 Code-First系列】
原文链接:https://www.entityframeworktutorial.net/code-first/entity-framework-power-tools.aspx 大家好,这里就是EF ...
- 31全志r58平台Android4.4.2下打开USB摄像头
31全志r58平台Android4.4.2下打开USB摄像头 2018/10/26 16:00 版本:V1.0 开发板:SC5806 1.系统编译:(略) 2.需要修改的文件: W:\r58_andr ...
- Code-NFine:.NET快速开发平台 NFine.Framework Web框架
ylbtech-Code-NFine:.NET快速开发平台 NFine.Framework Web框架 1.NFine.Framework 详细介绍返回顶部 1. NFine 是基于 C# 语言的极速 ...
- 009全志R16平台tinav3.0下编译不过的问题
009全志R16平台tinav3.0下编译不过的问题 2018/11/13 11:39 版本:V1.0 开发板:SC3817R SDK:tina v3.0 1.01原始编译全志r16平台tinav3. ...
- 02全志r58平台Android4.4.4下关闭内核中的CPU的开启关闭提示
02全志r58平台Android4.4.4下关闭内核中的CPU的开启关闭提示 2017/8/18 13:53 版本:V1.0 开发板:SC5806(全志R58平台) SDK:android4.4.4 ...
随机推荐
- 修正iOS从照相机和相册中获取的图片 方向
修正iOS从照相机和相册中获取的图片 方向 修正iOS从照相机和相册中获取的图片 方向 使用系统相机拍照得到的图片的默认方向有时不是ImageOrientationDown,而是ImageOrie ...
- Android 怎样在java/native层改动一个文件的权限(mode)与用户(owner)?
前言 欢迎大家我分享和推荐好用的代码段~~ 声明 欢迎转载.但请保留文章原始出处: CSDN:http://www.csdn.net ...
- asp.net项目与开源单点登录项目CAS的结合
这段时间搞的一个asp.net mvc项目,采用了单点登录. 这个单点登录就是CAS,一个开源的JAVA项目.当然,这并不影响ASP.NET项目结合它来进行登录.因为各自分工不同:单点登录(管它是不是 ...
- How to use filters in a GridPanel
You can just link statically required files in your index.html <link rel="stylesheet" t ...
- js权威指南
有很多js的细节基础不太了解,希望能通过阅读这本书查漏补缺!长期更新!
- hexSHA1散列加密解密(不可逆)
1.maven引入codec和commons依赖: <dependency> <groupId>commons-codec</groupId> <artifa ...
- Lightoj 1016 - Brush (II)
After the long contest, Samee returned home and got angry after seeing his room dusty. Who likes to ...
- 如何在Android studio中同时打开多个工程?
最近学习Android Studio,想同时打开两个Project.但是点击File->Open之后,原有的Project被关闭掉了.怎么在新的窗口中打开Project呢? 解决: 点击Help ...
- 并不对劲的bzoj4012:loj2116:p3241: [HNOI2015]开店
题目大意 有一棵\(n\)(\(n\leq1.5*10^5\))个节点的二叉树,有点权\(x\),边权\(w\),\(q\)(\(q\leq2*10^5\))组询问,每组询问给出\(u,l,r\),求 ...
- AutoIT: 如何通过坐标相对位置来对无法识别的Menu以及GridView进行定位点击操作
一般情况下,GridView中的数据来自数据库,我们通过Windows Info,是无法获取GridView中的信息的.而软件定制的Menu,很多时候无法通过系统提供的WinMenuSelectIte ...