{"action":"created","issue":{"url":"https://api.github.com/repos/Freescale/gstreamer-imx/issues/185","repository_url":"https://api.github.com/repos/Freescale/gstreamer-imx","labels_url":"https://api.github.com/repos/Freescale/gstreamer-imx/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/Freescale/gstreamer-imx/issues/185/comments","events_url":"https://api.github.com/repos/Freescale/gstreamer-imx/issues/185/events","html_url":"https://github.com/Freescale/gstreamer-imx/issues/185","id":289317221,"node_id":"MDU6SXNzdWUyODkzMTcyMjE=","number":185,"title":"Buffer assertion failed: (buf) when camera pipeline is switched !","user":{"login":"ranaya123","id":11961385,"node_id":"MDQ6VXNlcjExOTYxMzg1","avatar_url":"https://avatars1.githubusercontent.com/u/11961385?v=4","gravatar_id":"","url":"https://api.github.com/users/ranaya123","html_url":"https://github.com/ranaya123","followers_url":"https://api.github.com/users/ranaya123/followers","following_url":"https://api.github.com/users/ranaya123/following{/other_user}","gists_url":"https://api.github.com/users/ranaya123/gists{/gist_id}","starred_url":"https://api.github.com/users/ranaya123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ranaya123/subscriptions","organizations_url":"https://api.github.com/users/ranaya123/orgs","repos_url":"https://api.github.com/users/ranaya123/repos","events_url":"https://api.github.com/users/ranaya123/events{/privacy}","received_events_url":"https://api.github.com/users/ranaya123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-01-17T15:57:35Z","updated_at":"2018-06-14T11:44:09Z","closed_at":null,"author_association":"NONE","body":"Hi all,\r\nWe have developed an OpenGL application which uses **imxv4l2videosrc** for camera pipelines. We utilize a camera through parallel CSI interface and a tw6869 capture card through pcie bus. In the application, there is a drop down menu to switch the camera input of interest. Pipelines of cameras as follows :  \r\n\r\n**for csi camera ->**\r\ngst-launch-1.0 imxv4l2videosrc device=/dev/video0 ! video/x-raw,format=(string)UYVY ! appsink \r\n**for tw6869 ->**\r\ngst-launch-1.0 imxv4l2videosrc device=/dev/video0 queue-size=24 ! video/x-raw,format=(string)UYVY ! appsink\r\n\r\nwhen switching camera input at a moderate rate of speed, the application ends up having a segmentation fault and following error : \r\n**ERROR:../src/v4l2video/v4l2_buffer_pool.c:283:gst_imx_v4l2_buffer_pool_acquire_buffer: assertion failed: (buf)**\r\n\r\n**gdb core and backtrace report :** \r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib/libthread_db.so.1\".\r\nCore was generated by `osd_Release_For_NewGst_ExtQsize'.\r\nProgram terminated with signal SIGABRT, Aborted.\r\n#0  __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47\r\n47              pop     {r7, pc}\r\n[Current thread is 1 (Thread 0x60d86450 (LWP 24011))]\r\n(gdb) bt\r\n#0  __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47\r\n#1  0x761b350c in __libc_signal_restore_set (set=0x60d85860) at /usr/src/debug/glibc/2.25-r0/git/sysdeps/unix/sysv/linux/nptl-signals.h:79\r\n#2  __GI_raise (sig=sig@entry=6) at /usr/src/debug/glibc/2.25-r0/git/sysdeps/unix/sysv/linux/raise.c:48\r\n#3  0x761b41fa in __GI_abort () at /usr/src/debug/glibc/2.25-r0/git/stdlib/abort.c:89\r\n#4  0x767d915a in g_assertion_message () from /usr/lib/libglib-2.0.so.0\r\n#5  0x767d91e4 in g_assertion_message_expr () from /usr/lib/libglib-2.0.so.0\r\n#6  0x68742050 in ?? () from /usr/lib/gstreamer-1.0/libgstimxv4l2video.so\r\nBacktrace stopped: previous frame identical to this frame (corrupt stack?)\r\n(gdb)\r\n\r\nCan anyone show me an insight to this ?\r\nAnuradha"},"comment":{"url":"https://api.github.com/repos/Freescale/gstreamer-imx/issues/comments/397265734","html_url":"https://github.com/Freescale/gstreamer-imx/issues/185#issuecomment-397265734","issue_url":"https://api.github.com/repos/Freescale/gstreamer-imx/issues/185","id":397265734,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzI2NTczNA==","user":{"login":"dierberg","id":3403768,"node_id":"MDQ6VXNlcjM0MDM3Njg=","avatar_url":"https://avatars1.githubusercontent.com/u/3403768?v=4","gravatar_id":"","url":"https://api.github.com/users/dierberg","html_url":"https://github.com/dierberg","followers_url":"https://api.github.com/users/dierberg/followers","following_url":"https://api.github.com/users/dierberg/following{/other_user}","gists_url":"https://api.github.com/users/dierberg/gists{/gist_id}","starred_url":"https://api.github.com/users/dierberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dierberg/subscriptions","organizations_url":"https://api.github.com/users/dierberg/orgs","repos_url":"https://api.github.com/users/dierberg/repos","events_url":"https://api.github.com/users/dierberg/events{/privacy}","received_events_url":"https://api.github.com/users/dierberg/received_events","type":"User","site_admin":false},"created_at":"2018-06-14T11:44:09Z","updated_at":"2018-06-14T11:44:09Z","author_association":"CONTRIBUTOR","body":"My patch is still working very well but not integrated in master branch."}}
{"actor":{"display_login":"dierberg"}}