Skip to content

Instantly share code, notes, and snippets.

@ashwoods
Created December 18, 2018 10:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ashwoods/19b9917b1c97963d9fa0ff21aa7e54e0 to your computer and use it in GitHub Desktop.
Save ashwoods/19b9917b1c97963d9fa0ff21aa7e54e0 to your computer and use it in GitHub Desktop.
debugging shm
wait4(-1, 0:00:00.012423551 495 0x5623afbc1610 DEBUG shmsrc gstshmsrc.c:242:gst_shm_src_start_reading:<shmsrc0> Opening socket /tmp/socket
0:00:00.012716703 495 0x5623afb94400 LOG shmsrc gstshmsrc.c:355:gst_shm_src_create:<shmsrc0> Reading from pipe
0:00:00.019588373 495 0x5623afb94400 LOG shmsrc gstshmsrc.c:355:gst_shm_src_create:<shmsrc0> Reading from pipe
0:00:00.019606394 495 0x5623afb94400 LOG shmsrc gstshmsrc.c:367:gst_shm_src_create:<shmsrc0> Got buffer 0x7f685e1a8000 of size 951
0:00:00.019687150 495 0x5623afb94400 LOG shmsrc gstshmsrc.c:310:free_buffer: Freeing buffer 0x7f685e1a8000
ERROR: from element /GstPipeline:pipeline0/GstShmSrc:shmsrc0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstShmSrc:shmsrc0:
streaming stopped, reason error (-5)
ERROR: pipeline doesn't want to preroll.
0:00:00.019931273 495 0x5623afbc1610 DEBUG shmsrc gstshmsrc.c:271:gst_shm_src_stop_reading:<shmsrc0> Stopping 0x5623afb82200
[{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 495
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f078c198fc0}, {sa_handler=0x556ba01c1350, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f078c198fc0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=495, si_uid=0, si_status=1, si_utime=1, si_stime=0} ---
wait4(-1, 0x7ffc089d5c50, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn({mask=[]}) = 0
read(255, "", 195) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
exit_group(1) = ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment