AnsweredAssumed Answered

stuck in stop recording with ov5640

Question asked by xingrui zhu on Oct 21, 2015

hi supporter

 

our platform base on android-5.0.2, kernel 3.10.53 ,Freescale IMX6dl.

we porting camera ov5640 with the FSL oiginal driver and FSL original HAL.

 

With some modification about DTS info,  the preview/snapshot is normal.

But when we recording a few seconds and press the stop button, the preview is stuck at the same time.

 

the kernel log is :

 

<4>[  729.251122] ac_plug_in? = 1

<1>[  729.435474] BUG: Bad page map in process Thread-73  pte:48d9a79f pmd:4dc61831

<1>[  729.442717] page:8139b340 count:0 mapcount:-1 mapping:  (null) index:0x0

<1>[  729.449506] page flags: 0x4(referenced)

<1>[  729.453407] addr:581f3000 vm_flags:000000d1 anon_vma:  (null) mapping:a046a664 index:f1f

<1>[  729.461595] vma->vm_ops->fault: filemap_fault+0x0/0x430

<1>[  729.466894] vma->vm_file->f_op->mmap: ext4_file_mmap+0x0/0x5c

<4>[  729.472683] CPU: 0 PID: 873 Comm: Thread-73 Not tainted 3.10.53 #1

<4>[  729.478960] [<80013d48>] (unwind_backtrace+0x0/0xf8) from [<80011868>] (show_stack+0x10/0x14)

<4>[  729.487630] [<80011868>] (show_stack+0x10/0x14) from [<800c1108>] (print_bad_pte+0x108/0x1a4)

<4>[  729.496712] [<800c1108>] (print_bad_pte+0x108/0x1a4) from [<800c2e38>] (unmap_single_vma+0x5cc/0x61c)

<4>[  729.506026] [<800c2e38>] (unmap_single_vma+0x5cc/0x61c) from [<800c381c>] (unmap_vmas+0x54/0x68)

<4>[  729.514926] [<800c381c>] (unmap_vmas+0x54/0x68) from [<800c9434>] (exit_mmap+0xd8/0x1f8)

<4>[  729.523165] [<800c9434>] (exit_mmap+0xd8/0x1f8) from [<8002b5fc>] (mmput+0x48/0xf4)

<4>[  729.530952] [<8002b5fc>] (mmput+0x48/0xf4) from [<80032700>] (do_exit+0x254/0x8b4)

<4>[  729.538620] [<80032700>] (do_exit+0x254/0x8b4) from [<80032eac>] (do_group_exit+0x3c/0xb0)

<4>[  729.546985] [<80032eac>] (do_group_exit+0x3c/0xb0) from [<8003d2a0>] (get_signal_to_deliver+0x284/0x4f8)

<4>[  729.556556] [<8003d2a0>] (get_signal_to_deliver+0x284/0x4f8) from [<80010d14>] (do_signal+0x78/0x398)

<4>[  729.565892] [<80010d14>] (do_signal+0x78/0x398) from [<8001135c>] (do_work_pending+0x64/0xac)

<4>[  729.574530] [<8001135c>] (do_work_pending+0x64/0xac) from [<8000e080>] (work_pending+0xc/0x20)

<4>[  729.583221] Disabling lock debugging due to kernel taint

<1>[  729.596084] Unable to handle kernel NULL pointer dereference at virtual address 0000002b

<1>[  729.604377] pgd = 80004000

 

 

 

the logcat log is :

 

10-21 06:51:51.670 W/ALooperRoster(  163): failed to deliver message. Target handler 57 registered, but object gone.

--------- beginning of crash

10-21 06:52:03.847 F/libc    (  890): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4b4de0b0 in tid 890 (ndroid.systemui)

10-21 06:52:03.971 E/AndroidRuntime(  426): *** FATAL EXCEPTION IN SYSTEM PROCESS: Thread-73

10-21 06:52:03.971 E/AndroidRuntime(  426): java.lang.NoSuchMethodError: No static method close(Ljava/io/FileDescriptor;)V in class Landroid/system/Os; or its super classes (declaration of 'android.system.Os' appears in /system/framework/core-libart.jar)

10-21 06:52:03.971 E/AndroidRuntime(  426):     at com.android.server.am.NativeCrashListener.run(NativeCrashListener.java:156)

10-21 06:52:03.973 I/DEBUG   (  161): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

10-21 06:52:03.973 I/DEBUG   (  161): Build fingerprint: 'Freescale/em70/em70:5.0.2/1.0.0-ga-rc4/10210031:eng/debug,test-keys'

10-21 06:52:03.973 I/DEBUG   (  161): Revision: '0'

10-21 06:52:03.973 I/DEBUG   (  161): ABI: 'arm'

10-21 06:52:03.974 I/DEBUG   (  161): pid: 890, tid: 890, name: ndroid.systemui  >>> com.android.systemui <<<

10-21 06:52:03.974 I/DEBUG   (  161): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x4b4de0b0

10-21 06:52:04.013 I/Process (  426): Sending signal. PID: 426 SIG: 9

10-21 06:52:04.025 I/DEBUG   (  161):     r0 4b4de0a8  r1 00000005  r2 7507d300  r3 00001860

10-21 06:52:04.025 I/DEBUG   (  161):     r4 00000009  r5 0000011f  r6 74ffefe8  r7 00000009

10-21 06:52:04.025 I/DEBUG   (  161):     r8 00000000  r9 5037693a  sl 74ff8220  fp 7ea08c48

10-21 06:52:04.025 I/DEBUG   (  161):     ip 4f6e5bb8  sp 7ea08ad8  lr 74ee7491  pc 74da5456  cpsr 00000030

10-21 06:52:04.025 I/DEBUG   (  161):

10-21 06:52:04.025 I/DEBUG   (  161): backtrace:

10-21 06:52:04.026 I/DEBUG   (  161):     #00 pc 00095456  /system/lib/libart.so (art::JValue art::interpreter::ExecuteGotoImpl<true, false>(art::Thread*, art::MethodHelper&, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue)+2709)

10-21 06:52:04.026 I/DEBUG   (  161):     #01 pc 0015a3f7  /system/lib/libart.so (art::interpreter::EnterInterpreterFromStub(art::Thread*, art::MethodHelper&, art::DexFile::CodeItem const*, art::ShadowFrame&)+210)

10-21 06:52:04.026 I/DEBUG   (  161):     #02 pc 0027ec3b  /system/lib/libart.so (artQuickToInterpreterBridge+474)

10-21 06:52:04.026 I/DEBUG   (  161):     #03 pc 000a2e1b  /system/lib/libart.so (art_quick_to_interpreter_bridge+10)

10-21 06:52:04.026 I/DEBUG   (  161):     #04 pc 0050dbb4  /data/dalvik-cache/arm/system@framework@boot.art

Original Attachment has been moved to: kernel.log.txt.zip

Original Attachment has been moved to: logcat.log.txt.zip

Outcomes