dingxm 发布的最佳帖子
dingxm 发布的最新帖子
-
回复: sample_vi2venc2muxer 在V851S上崩溃
打印都是堆栈指针,没有debug信息,是不是需要用menuconfig配置一些啥
root@TinaLinux:/mnt/extsd# gdb -c coredump-isp_thread-1142-11-6017
GNU gdb (GDB) 10.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "arm-openwrt-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
https://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.For help, type "help".
Type "apropos word" to search for commands related to "word".warning: Can't open file /dmabuf (deleted) during file-backed mapping note proce ssing
warning: Can't open file /lib/libunwind.so.8 during file-backed mapping note pro cessing
warning: Can't open file /lib/libglog.so.0.3.5 during file-backed mapping note p rocessing
[New LWP 1143]
[New LWP 1144]
[New LWP 1145]
[New LWP 1142]
[New LWP 1146]
Core was generated by `./sample_virvi2venc2muxer -path sample_vi2venc2muxer.conf '.
Program terminated with signal SIGSEGV, Segmentation fault.
--Type <RET> for more, q to quit, c to continue without paging--
#0 0xb6f13ce0 in ?? ()
[Current thread is 1 (LWP 1143)]
(gdb)
(gdb)
(gdb)
(gdb) thread apply all btThread 5 (LWP 1146):
#0 0xb6f16720 in ?? ()
#1 0x0003f9e0 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)Thread 4 (LWP 1142):
#0 0xb6f06928 in ?? ()
#1 0xb6ea2124 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)Thread 3 (LWP 1145):
#0 0xb6f13ce0 in ?? ()
#1 0xb6f14814 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)Thread 2 (LWP 1144):
#0 0xb6f13ce0 in ?? ()
#1 0xb6f14814 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)Thread 1 (LWP 1143):
#0 0xb6f13ce0 in ?? ()
--Type <RET> for more, q to quit, c to continue without paging--
#1 0xb6f14814 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
(gdb)
(gdb) -
MPP软件包是否一定需要屏幕,无屏的监控设备可以使用吗?
在没有屏幕的板子上使用mpp的sample virvi2ven2mux,该用例是摄像头到编码器然后生成mp4的范例,但是看log会调用disp相关的接口,最后segment fault了
I0101 00:12:50.473907 1167 sample_vi2venc2muxer.c:1291] crea te venc channel[0] success!
I0101 00:12:50.474057 1167 sample_vi2venc2muxer.c:1324] set venc framerate: src 20fps, dst 20fps
I0101 00:12:50.474190 1167 VideoEnc_Component.c:3961] vencChn[0] set new framerate:20
E0101 00:12:50.474366 1167 glog_helper.cpp:16] *** Aborted at 770 (unix time) t ry “date -d @770” if you are using GNU date ***
E0101 00:12:50.474948 1167 glog_helper.cpp:16] PC: @ 0x0 (unknown)
[ 760.478099] 5000000.disp supply vcc-pd not found, using dummy regulator
[ 760.485768] 5000000.disp supply vcc-lcd not found, using dummy regulator
[ 760.997136] [DISP] de_fcm_set_para,line:491:
[ 761.001785] fcm lut 0 not find, auto retry after init
[ 761.007858] [DISP] de_fcm_set_para,line:491:
[ 761.012525] fcm lut 0 not find, auto retry after init
Segmentation fault (core dumped)root@TinaLinux:/mnt/extsd# gdb -c coredump-isp_thread-1142-11-6017
GNU gdb (GDB) 10.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type “show copying” and “show warranty” for details.
This GDB was configured as “arm-openwrt-linux”.
Type “show configuration” for configuration details.
For bug reporting instructions, please see:
https://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.For help, type “help”.
Type “apropos word” to search for commands related to “word”.warning: Can’t open file /dmabuf (deleted) during file-backed mapping note processing
[New LWP 1143]
[New LWP 1144]
[New LWP 1145]
[New LWP 1142]
[New LWP 1146]
Core was generated by `./sample_virvi2venc2muxer -path sample_vi2venc2muxer.conf’.
Program terminated with signal SIGSEGV, Segmentation fault.
–Type for more, q to quit, c to continue without paging–
#0 0xb6f13ce0 in ?? ()
[Current thread is 1 (LWP 1143)]
(gdb) -
回复: sample_vi2venc2muxer 在V851S上崩溃
上电第一次运行这个sample的话,可以看到初始化了display,这个板子没有带屏,不知道是不是这里导致的fault