Part Number: DRA712
Tool/software: Linux
HI
i was using omapdrmtest-viddec3test demo to decode h264 Video stream transmitted by usb The display interface is wayland.
But something went wrong ,when the decoding ,sometime will appear Segmentation Fault .i was analyze coredump files:
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `./Mirror'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 wl_map_insert_new (map=map@entry=0x32944, flags=flags@entry=0, data=data@entry=0xb251d230) at ../wayland-1.9.0/src/wayland-util.c:198
198 ../wayland-1.9.0/src/wayland-util.c: No such file or directory.
warning: File "/lib/libstdc++.so.6.0.21-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path /lib/libstdc++.so.6.0.21-gdb.py
line to your configuration file "//.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "//.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
(gdb) bt
#0 wl_map_insert_new (map=map@entry=0x32944, flags=flags@entry=0, data=data@entry=0xb251d230) at ../wayland-1.9.0/src/wayland-util.c:198
#1 0xb6ec3f40 in proxy_create (interface=interface@entry=0xb6ed89a0 <wl_callback_interface>, factory=0x31348, factory=0x31348) at ../wayland-1.9.0/src/wayland-client.c:345
#2 0xb6ec47a8 in create_outgoing_proxy (message=0x0, interface=0xb6ed89a0 <wl_callback_interface>, args=0xac317c78, proxy=0x31348) at ../wayland-1.9.0/src/wayland-client.c:546
#3 wl_proxy_marshal_array_constructor (proxy=proxy@entry=0x31348, opcode=201560, opcode@entry=3, args=args@entry=0xac317c78, interface=0xb6ed89a0 <wl_callback_interface>,
interface@entry=0xb6d43ceb <wl_viewport_set(wl_viewport*, wl_fixed_t, wl_fixed_t, wl_fixed_t, wl_fixed_t, int32_t, int32_t)+42>) at ../wayland-1.9.0/src/wayland-client.c:593
#4 0xb6ec4934 in wl_proxy_marshal_constructor (proxy=0x31348, opcode=3, interface=0xb6ed89a0 <wl_callback_interface>) at ../wayland-1.9.0/src/wayland-client.c:682
#5 0xb6d43b62 in wl_surface_frame (wl_surface=0x31348) at /home/zhan/dra7xx-evm-03_04_00_03/filesystem/usr/include/wayland-client-protocol.h:1491
#6 0xb6d44412 in post_vid_buffer (disp=0x312d0, buf=0x33348, x=32, y=24, w=1920, h=720) at display-wayland.cpp:299
#7 0xb6d44c48 in disp_post_vid_buffer (disp=0x312d0, buf=0x33348, x=32, y=24, w=1920, h=720) at util.cpp:121
#8 0xb6d438dc in Decoder::RetriveData (this=0xb6d55be4 <_gVideoDecoder>) at decoder.cpp:237
#9 0xb6d437c6 in Decoder::Decode (this=0xb6d55be4 <_gVideoDecoder>, data=0xac514008, len=242) at decoder.cpp:192
#10 0xb6d430bc in DecoderProcess (data=0xac514008, datalen=242) at main.cpp:13
#11 0x000129fc in ECCallback::onMirrorVideoReceived (this=0x2b550, data=0xac514008, length=242) at Mirror.cpp:135
#12 0xb6d9900c in CarbitECSDK::DataService::postLoop(void*) () from /usr/lib/libECSDK.so
#13 0xb6cc3d40 in std::(anonymous namespace)::execute_native_thread_routine (__p=<optimized out>)
at /home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/arm-linux-gnueabihf/snapshots/gcc-linaro-5.3-2016.02/libstdc++-v3/src/c++11/thread.cc:84
#14 0xb6f2e4b8 in start_thread (arg=0x0) at pthread_create.c:335
#15 0xb6b4243c in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:89 from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
from this MSG,I don't understand what the problem is. Can you give me some advice?
Thanks