|
在板子里面:
bash-3.00# cat /dev/v4l/video0
cat: /dev/v4l/video0: Bad address
*** glibc detected *** free(): invalid next size (normal): 0x10015068 ***
同一个摄像头
在Debian/Linux主机里面:
cat /dev/video0
cat: /dev/video0*** glibc detected *** cat: free(): invalid next size (fast): 0x0804f860 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7e9ae15]
/lib/libc.so.6(cfree+0x90)[0xb7e9e8e0]
/lib/libc.so.6[0xb7e58bc2]
/lib/libc.so.6[0xb7e56f0f]
/lib/libc.so.6[0xb7e568e2]
/lib/libc.so.6(dcgettext+0x43)[0xb7e55973]
/lib/libc.so.6(__strerror_r+0xe9)[0xb7ea1689]
/lib/libc.so.6[0xb7f03602]
/lib/libc.so.6(error+0x58)[0xb7f038a8]
cat[0x8049937]
/lib/libc.so.6(__libc_start_main+0xe0)[0xb7e47050]
cat[0x8048c21]
======= Memory map: ========
08048000-0804c000 r-xp 00000000 03:01 440692 /bin/cat
0804c000-0804d000 rwxp 00004000 03:01 440692 /bin/cat
0804d000-0806e000 rwxp 0804d000 00:00 0 [heap]
b7b00000-b7b21000 rwxp b7b00000 00:00 0
b7b21000-b7c00000 ---p b7b21000 00:00 0
b7ced000-b7cf7000 r-xp 00000000 03:01 1403539 /lib/libgcc_s.so.1
b7cf7000-b7cf8000 rwxp 00009000 03:01 1403539 /lib/libgcc_s.so.1
b7cf8000-b7e30000 r-xp 00000000 03:01 735244 /usr/lib/locale/locale-archive
b7e30000-b7e31000 rwxp b7e30000 00:00 0
b7e31000-b7f73000 r-xp 00000000 03:01 1405443 /lib/libc-2.6.1.so
b7f73000-b7f74000 r-xp 00142000 03:01 1405443 /lib/libc-2.6.1.so
b7f74000-b7f76000 rwxp 00143000 03:01 1405443 /lib/libc-2.6.1.so
b7f76000-b7f7a000 rwxp b7f76000 00:00 0
b7f8a000-b7f8b000 rwxp b7f8a000 00:00 0
b7f8b000-b7fa7000 r-xp 00000000 03:01 1405440 /lib/ld-2.6.1.so
b7fa7000-b7fa9000 rwxp 0001b000 03:01 1405440 /lib/ld-2.6.1.so
bfcab000-bfcc1000 rw-p bfcab000 00:00 0 [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
Aborted
不太知道Bad Address提示的什么意思!?!?!
驱动有问题!!!?!还是设备连接有问题!?!?谢谢……
(问题补充)
lsmod
v511 84196 0
compat_ioctl32 1248 1 ov511
videodev 26432 1 ov511
v4l1_compat 14372 1 videodev
v4l2_common 28096 1 videodev
bash-3.00# ls -lh /dev/v4l/video0
crw-rw---- 1 root root 81, 0 Nov 1 2007 /dev/v4l/video0 |
|