mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 5020|reply: 3
打印 prevThread nextThread

MPU USB摄像头拔出死机

[copyURL]

8

主题

72

帖子

258

积分

midMem

Rank: 3Rank: 3

积分
258
jumpTo
owner
poston 2018-11-13 17:25 | authorOnly 回帖奖励 |倒序浏览 |阅读模式
有一定概率
11-13 17:19:10.693 D/PU      ( 2939): [CameraHolder.java:147]onReceive--- Intent { act=android.hardware.usb.action.USB_DEVICE_DETACHED flg=0x10 (has extras) }
11-13 17:19:10.694 D/PU      ( 2939): [CameraHolder.java:276]openJavaCamera--- 3 -> 0
11-13 17:19:10.694 D/PU      ( 2939): [ProcessManager.java:692]render--- 1280x720, null
11-13 17:19:10.694 I/UVCHandler( 2939): stopVideoStream
11-13 17:19:10.695 I/UVCHandler( 2939): Done streaming.
11-13 17:19:10.696 F/libc    ( 2939): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x9eec1b0d in tid 6762 (Thread-463)
11-13 17:19:10.709 I/chatty  (  294): uid=1013(media) /system/bin/mediaserver expire 9 lines
11-13 17:19:10.710 D/PowerManagerService(  827): updateIsPoweredLocked: wasPowered=false, mIsPowered=false, oldPlugType=0, mPlugType=0, mBatteryLevel=55
11-13 17:19:10.711 I/chatty  (  294): uid=1013(media) /system/bin/mediaserver expire 1 line
11-13 17:19:10.713 D/HighTemperatureReceiver( 3642): Receive action: android.intent.action.BATTERY_CHANGED
11-13 17:19:10.719 D/PowerManagerService(  827): updateIsPoweredLocked: wasPowered=false, mIsPowered=false, oldPlugType=0, mPlugType=0, mBatteryLevel=55
11-13 17:19:10.722 D/HighTemperatureReceiver( 3642): Receive action: android.intent.action.BATTERY_CHANGED
11-13 17:19:10.726 I/chatty  (  294): uid=1013(media) /system/bin/mediaserver expire 4 lines
11-13 17:19:10.727 I/chatty  (  294): uid=1013(media) /system/bin/mediaserver expire 1 line
11-13 17:19:10.738 I/chatty  (  294): uid=1013(media) /system/bin/mediaserver expire 4 lines
11-13 17:19:10.739 I/chatty  (  294): uid=1013(media) /system/bin/mediaserver expire 1 line
11-13 17:19:10.743 I/chatty  (  294): uid=1013(media) /system/bin/mediaserver expire 1 line
11-13 17:19:10.749 I/chatty  (  343): uid=1006(camera) mm-qcamera-daem expire 1 line
11-13 17:19:10.750 I/chatty  (  294): uid=1013(media) /system/bin/mediaserver expire 1 line
11-13 17:19:10.750 I/chatty  (  343): uid=1006(camera) mm-qcamera-daem expire 1 line
11-13 17:19:10.751 I/chatty  (  343): uid=1006(camera) mm-qcamera-daem expire 2 lines
11-13 17:19:10.752 I/chatty  (  343): uid=1006(camera) mm-qcamera-daem expire 1 line
11-13 17:19:10.752 I/chatty  (  343): uid=1006(camera) mm-qcamera-daem expire 2 lines
11-13 17:19:10.753 I/chatty  (  343): uid=1006(camera) mm-qcamera-daem expire 2 lines
11-13 17:19:10.754 I/chatty  (  343): uid=1006(camera) mm-qcamera-daem expire 1 line
11-13 17:19:10.755 I/chatty  (  343): uid=1006(camera) mm-qcamera-daem expire 2 lines
11-13 17:19:10.759 I/chatty  (  343): uid=1006(camera) mm-qcamera-daem expire 1 line
11-13 17:19:10.759 I/chatty  (  343): uid=1006(camera) mm-qcamera-daem expire 1 line
11-13 17:19:10.764 I/chatty  (  343): uid=1006(camera) mm-qcamera-daem expire 1 line
11-13 17:19:10.768 I/chatty  (  343): uid=1006(camera) mm-qcamera-daem expire 3 lines
11-13 17:19:10.803 F/DEBUG   (  291): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-13 17:19:10.804 F/DEBUG   (  291): Build fingerprint: 'qcom/l926/l926:6.0.1/MMB29M/20181107.140831:user/test-keys'
11-13 17:19:10.804 F/DEBUG   (  291): Revision: '0'
11-13 17:19:10.804 F/DEBUG   (  291): ABI: 'arm'
11-13 17:19:10.804 F/DEBUG   (  291): pid: 2939, tid: 6762, name: Thread-463  >>> com.smarteye.mpu <<<
11-13 17:19:10.804 F/DEBUG   (  291): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x9eec1b0d
11-13 17:19:10.831 I/chatty  (  343): uid=1006(camera) mm-qcamera-daem expire 2 lines
11-13 17:19:10.841 I/chatty  (  343): uid=1006(camera) mm-qcamera-daem expire 1 line
11-13 17:19:10.842 I/chatty  (  343): uid=1006(camera) mm-qcamera-daem expire 5 lines
11-13 17:19:10.851 F/DEBUG   (  291):     r0 ffffffff  r1 0000001f  r2 9ec0b388  r3 9eec1b0c
11-13 17:19:10.852 F/DEBUG   (  291):     r4 cfca3000  r5 9eec1b0c  r6 9ec0b388  r7 b86ad920
11-13 17:19:10.852 F/DEBUG   (  291):     r8 00000001  r9 b86bd3b0  sl 00000001  fp b86aced8
11-13 17:19:10.852 F/DEBUG   (  291):     ip 0000000c  sp 9ec0b328  lr a1dd9df0  pc a1dde6d4  cpsr 800f0010
11-13 17:19:10.855 I/chatty  (  294): uid=1013(media) Binder_2 expire 54 lines
11-13 17:19:10.865 I/qdhwcomposer(  280): setCameraStatus  Not 8939?? return
11-13 17:19:10.867 I/chatty  (  294): uid=1013(media) /system/bin/mediaserver expire 9 lines
11-13 17:19:10.867 I/ThermalEngine(  316): Thermal-Server: Adding thermal event listener on fd 38
11-13 17:19:10.867 I/chatty  (  294): uid=1013(media) /system/bin/mediaserver expire 2 lines
11-13 17:19:10.873 F/DEBUG   (  291):  
11-13 17:19:10.873 F/DEBUG   (  291): backtrace:
11-13 17:19:10.873 F/DEBUG   (  291):     #00 pc 002d26d4  /data/app/com.smarteye.mpu-2/lib/arm/libbvpu_mediandk.so
11-13 17:19:10.873 F/DEBUG   (  291):     #01 pc 002cddec  /data/app/com.smarteye.mpu-2/lib/arm/libbvpu_mediandk.so
11-13 17:19:10.873 F/DEBUG   (  291):     #02 pc 002d2fbc  /data/app/com.smarteye.mpu-2/lib/arm/libbvpu_mediandk.so
11-13 17:19:10.874 F/DEBUG   (  291):     #03 pc 002b9f54  /data/app/com.smarteye.mpu-2/lib/arm/libbvpu_mediandk.so (jpeg_read_scanlines+140)
11-13 17:19:10.874 F/DEBUG   (  291):     #04 pc 002a85cc  /data/app/com.smarteye.mpu-2/lib/arm/libbvpu_mediandk.so (uvc_mjpeg2yuyv+440)
11-13 17:19:10.874 F/DEBUG   (  291):     #05 pc 0019b7e3  /data/app/com.smarteye.mpu-2/lib/arm/libbvpu_mediandk.so (_Z15video_stream_cbP9uvc_framePv+450)
11-13 17:19:10.874 F/DEBUG   (  291):     #06 pc 002a94bc  /data/app/com.smarteye.mpu-2/lib/arm/libbvpu_mediandk.so
11-13 17:19:10.874 F/DEBUG   (  291):     #07 pc 00041693  /system/lib/libc.so (_ZL15__pthread_startPv+30)
11-13 17:19:10.874 F/DEBUG   (  291):     #08 pc 00019265  /system/lib/libc.so (__start_thread+6)

reply

使用道具 report

10

主题

531

帖子

2437

积分

admin

Rank: 9Rank: 9Rank: 9

积分
2437
sofa
poston 2018-11-13 17:32 | authorOnly
哦,是的,写代码的时候,压根没考虑热拔插。
考虑的应用场景就是,USB摄像头插好才开机使用。
reply agree Against

使用道具 report

8

主题

72

帖子

258

积分

midMem

Rank: 3Rank: 3

积分
258
bench
 Owner| poston 2018-11-14 08:31 | authorOnly
还有个问题,USB camera好像无法运行在后台:render surface为null时或SurfaceView suspend时UVC不会输出视频帧
reply agree Against

使用道具 report

8

主题

72

帖子

258

积分

midMem

Rank: 3Rank: 3

积分
258
ground
 Owner| poston 2018-11-14 10:44 | authorOnly
请问USB camera怎样才能后台继续输出视频帧,即时没有Surface
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-5-17 14:27 , Processed in 0.054690 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList