<br><font size=2 face="sans-serif">I'd like to use the rfbsrc plugin for
a project I'm working on. I know it's a "bad" plugin, but it
does exactly what I want. To test it, I ran gst-launch with the following
command:</font>
<br>
<br><font size=2 face="sans-serif">gst-launch rfbsrc host=10.130.6.61 password=secret
width=1024 height=768 view-only=true ! videoscale ! videorate ! video/x-raw-rgb,width=1024,height=768,framerate=10/1
! ffmpegcolorspace ! autovideosink</font>
<br>
<br><font size=2 face="sans-serif">I'm new to gstreamer so that pipeline
might have some unnecessary pieces. Let me know if it does.</font>
<br>
<br><font size=2 face="sans-serif">After about 10 seconds, gst-launch hits
a segmentation violation:</font>
<br>
<br><font size=2 face="sans-serif">WARNING: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXImageSink:autovideosink0-actual-sink-ximage:
A lot of buffers are being dropped.</font>
<br><font size=2 face="sans-serif">Additional debug info:</font>
<br><font size=2 face="sans-serif">gstbasesink.c(2597): gst_base_sink_is_too_late
(): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXImageSink:autovideosink0-actual-sink-ximage:</font>
<br><font size=2 face="sans-serif">There may be a timestamping problem,
or this computer is too slow.</font>
<br><font size=2 face="sans-serif">Caught SIGSEGV accessing address 0x7fb1f0f67a90</font>
<br><font size=2 face="sans-serif">#0 0x00007fb1f55baf93 in ?? ()</font>
<br><font size=2 face="sans-serif">#1 0x0000000000871a80 in ?? ()</font>
<br><font size=2 face="sans-serif">#2 0x00000000000000f9 in ?? ()</font>
<br><font size=2 face="sans-serif">#3 0x0000000000000001 in ?? ()</font>
<br><font size=2 face="sans-serif">#4 0x0000000000871a80 in ?? ()</font>
<br><font size=2 face="sans-serif">#5 0x0000000000707218 in ?? ()</font>
<br><font size=2 face="sans-serif">#6 0x00007fb1f5ac34a9 in ?? ()</font>
<br><font size=2 face="sans-serif">#7 0x0000000000707210 in ?? ()</font>
<br><font size=2 face="sans-serif">#8 0x00007fb1000000f9 in ?? ()</font>
<br><font size=2 face="sans-serif">#9 0x00007fb1f5d5d788 in ?? ()</font>
<br><font size=2 face="sans-serif">#10 0x00007fb1f5d5d7c0 in ?? ()</font>
<br><font size=2 face="sans-serif">#11 0x0000000100000001 in ?? ()</font>
<br><font size=2 face="sans-serif">#12 0x0000000000707218 in ?? ()</font>
<br><font size=2 face="sans-serif">#13 0x00000000ffffffff in ?? ()</font>
<br><font size=2 face="sans-serif">#14 0x7fffffff000000f9 in ?? ()</font>
<br><font size=2 face="sans-serif">#15 0x00000000008b2e50 in ?? ()</font>
<br><font size=2 face="sans-serif">#16 0x00000000008b2f90 in ?? ()</font>
<br><font size=2 face="sans-serif">#17 0x00000000006b8080 in ?? ()</font>
<br><font size=2 face="sans-serif">#18 0x00007fb1f5d5de60 in ?? ()</font>
<br><font size=2 face="sans-serif">#19 0x0000000000000001 in ?? ()</font>
<br><font size=2 face="sans-serif">#20 0x00000000008b2f9c in ?? ()</font>
<br><font size=2 face="sans-serif">#21 0x0000000000000000 in ?? ()</font>
<br><font size=2 face="sans-serif">Spinning. Please run 'gdb gst-launch
8038' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.</font>
<br>
<br><font size=2 face="sans-serif">So I'd like to poke around in GDB and
try to see what the problem is. I'm on Ubuntu 10.04 64 bit, I've installed
the debug symbols for gstreamer, gstreamer-bad-plugins, and libc6.</font>
<br>
<br><font size=2 face="sans-serif">When I run GDB, the debug symbols seem
to load:</font>
<br>
<br><font size=2 face="sans-serif">user@fermi:~/gstreamer0.10-0.10.28/tools$
gdb gst-launch 8038</font>
<br><font size=2 face="sans-serif">GNU gdb (GDB) 7.1-ubuntu</font>
<br><font size=2 face="sans-serif">Copyright (C) 2010 Free Software Foundation,
Inc.</font>
<br><font size=2 face="sans-serif">License GPLv3+: GNU GPL version 3 or
later <http://gnu.org/licenses/gpl.html></font>
<br><font size=2 face="sans-serif">This is free software: you are free
to change and redistribute it.</font>
<br><font size=2 face="sans-serif">There is NO WARRANTY, to the extent
permitted by law. Type "show copying"</font>
<br><font size=2 face="sans-serif">and "show warranty" for details.</font>
<br><font size=2 face="sans-serif">This GDB was configured as "x86_64-linux-gnu".</font>
<br><font size=2 face="sans-serif">For bug reporting instructions, please
see:</font>
<br><font size=2 face="sans-serif"><http://www.gnu.org/software/gdb/bugs/>...</font>
<br><font size=2 face="sans-serif">Reading symbols from /usr/bin/gst-launch...Reading
symbols from /usr/lib/debug/usr/bin/gst-launch...done.</font>
<br><font size=2 face="sans-serif">done.</font>
<br><font size=2 face="sans-serif">Attaching to program: /usr/bin/gst-launch,
process 8038</font>
<br><font size=2 face="sans-serif">Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading
symbols from /usr/lib/debug/lib/ld-2.11.1.so...done.</font>
<br><font size=2 face="sans-serif">done.</font>
<br><font size=2 face="sans-serif">Loaded symbols for /lib64/ld-linux-x86-64.so.2</font>
<br><font size=2 face="sans-serif">0x00007fb1f55baf93 in ?? ()</font>
<br><font size=2 face="sans-serif">(gdb)</font>
<br>
<br>
<br><font size=2 face="sans-serif">However, I can't seem to print a backtrace
or display any variables:</font>
<br>
<br><font size=2 face="sans-serif">(gdb) bt</font>
<br><font size=2 face="sans-serif">#0 0x00007fb1f55baf93 in ?? ()</font>
<br><font size=2 face="sans-serif">#1 0x0000000000871a80 in ?? ()</font>
<br><font size=2 face="sans-serif">#2 0x00000000000000f9 in ?? ()</font>
<br><font size=2 face="sans-serif">#3 0x0000000000000001 in ?? ()</font>
<br><font size=2 face="sans-serif">#4 0x0000000000871a80 in ?? ()</font>
<br><font size=2 face="sans-serif">#5 0x0000000000707218 in ?? ()</font>
<br><font size=2 face="sans-serif">#6 0x00007fb1f5ac34a9 in ?? ()</font>
<br><font size=2 face="sans-serif">#7 0x0000000000707210 in ?? ()</font>
<br><font size=2 face="sans-serif">#8 0x00007fb1000000f9 in ?? ()</font>
<br><font size=2 face="sans-serif">#9 0x00007fb1f5d5d788 in ?? ()</font>
<br><font size=2 face="sans-serif">#10 0x00007fb1f5d5d7c0 in ?? ()</font>
<br><font size=2 face="sans-serif">#11 0x0000000100000001 in ?? ()</font>
<br><font size=2 face="sans-serif">#12 0x0000000000707218 in ?? ()</font>
<br><font size=2 face="sans-serif">#13 0x00000000ffffffff in ?? ()</font>
<br><font size=2 face="sans-serif">#14 0x7fffffff000000f9 in ?? ()</font>
<br><font size=2 face="sans-serif">#15 0x00000000008b2e50 in ?? ()</font>
<br><font size=2 face="sans-serif">#16 0x00000000008b2f90 in ?? ()</font>
<br><font size=2 face="sans-serif">#17 0x00000000006b8080 in ?? ()</font>
<br><font size=2 face="sans-serif">#18 0x00007fb1f5d5de60 in ?? ()</font>
<br><font size=2 face="sans-serif">#19 0x0000000000000001 in ?? ()</font>
<br><font size=2 face="sans-serif">#20 0x00000000008b2f9c in ?? ()</font>
<br><font size=2 face="sans-serif">#21 0x0000000000000000 in ?? ()</font>
<br><font size=2 face="sans-serif">(gdb) info locals</font>
<br><font size=2 face="sans-serif">No symbol table info available.</font>
<br><font size=2 face="sans-serif">(gdb) info args</font>
<br><font size=2 face="sans-serif">No symbol table info available.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Maybe this is a question for the GDB
list, but does anyone have any idea why I can't seem to get much debugging
info for gstreamer?</font>
<br>
<br><font size=2 face="sans-serif">Thanks,</font>
<br>
<br><font size=2 face="sans-serif">Peter</font>
<br>