Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tiovxisp: Certain format-msb values will give SIGSEGV #149

Open
dchvs99 opened this issue Nov 23, 2021 · 0 comments
Open

tiovxisp: Certain format-msb values will give SIGSEGV #149

dchvs99 opened this issue Nov 23, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@dchvs99
Copy link
Contributor

dchvs99 commented Nov 23, 2021

Some format-msb values, as format-msb=10, will give a segfault error on ISP pipelines. See the pipeline below:

root@j7-2:~# GST_DEBUG=3 gst-launch-1.0  \
filesrc location=/dev/zero blocksize=362560 ! video/x-bayer,format=grbg16,width=220,height=824 ! \
tiovxisp name=tiovxisp dcc-isp-file=/dev/zero dcc-2a-file=/opt/imaging/imx219/dcc_2a.bin format-msb=10 tiovxisp.src_0 ! \
fakesink  
APP: Init ... !!!
MEM: Init ... !!!
MEM: Initialized DMA HEAP (fd=4) !!!
MEM: Init ... Done !!!
IPC: Init ... !!!
IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
    95.714348 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
    95.714543 s:  VX_ZONE_INIT:Enabled
    95.714611 s:  VX_ZONE_ERROR:Enabled
    95.714692 s:  VX_ZONE_WARNING:Enabled
    95.715263 s:  VX_ZONE_INIT:[tivxInitLocal:111] Initialization Done !!!
    95.715494 s:  VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!!
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.072147487  1419      0xbc6a1e0 ERROR               tiovxpad gsttiovxpad.c:288:gst_tiovx_pad_process_allocation_query:<tiovxisp:sink> Cannot process allocation query without an exemplar
    95.729406 s:  VX_ZONE_ERROR:[ownContextSendCmd:815] Command ack message returned failure cmd_status: -1
    95.729429 s:  VX_ZONE_ERROR:[ownContextSendCmd:851] tivxEventWait() failed.
    95.729454 s:  VX_ZONE_ERROR:[ownNodeKernelInit:538] Target kernel, TIVX_CMD_NODE_CREATE failed for node node_107
    95.729474 s:  VX_ZONE_ERROR:[ownNodeKernelInit:539] Please be sure the target callbacks have been registered for this core
    95.729490 s:  VX_ZONE_ERROR:[ownNodeKernelInit:540] If the target callbacks have been registered, please ensure no errors are occurring within the create callback of this kernel
    95.729508 s:  VX_ZONE_ERROR:[ownGraphNodeKernelInit:583] kernel init for node 0, kernel com.ti.hwa.vpac_viss ... failed !!!
    95.729527 s:  VX_ZONE_ERROR:[vxVerifyGraph:2044] Node kernel init failed
    95.729543 s:  VX_ZONE_ERROR:[vxVerifyGraph:2098] Graph verify failed
0:00:00.080231908  1419      0xbc6a1e0 ERROR              tiovxsimo gsttiovxsimo.c:460:gst_tiovx_simo_modules_init:<tiovxisp> Graph verification failed, vx_status -1
    95.729893 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:307] Invalid reference
0:00:00.080438756  1419      0xbc6a1e0 ERROR               tiovxisp gsttiovxisp.c:1363:gst_tiovx_isp_deinit_module:<tiovxisp> Module graph delete failed with error: -12
Caught SIGSEGV
#0  0x0000ffffb5a7233c in poll () from /lib/libc.so.6
#1  0x0000ffffb5c0f7e0 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x0000ffffb5c0fc38 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3  0x0000ffffb5d50634 in gst_bus_poll () from /usr/lib/libgstreamer-1.0.so.0
#4  0x0000000000404988 in _start ()
Spinning.  Please run 'gdb gst-launch-1.0 1419' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
@rrcarlosrodriguez rrcarlosrodriguez added the bug Something isn't working label Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants