No subject

Spruyt, Randy Randy.Spruyt at christiedigital.com
Fri Jan 16 12:03:40 PST 2015


Hey Everyone,

A bit new to this. When debugging the gstreamer source code in Ubuntu 14.04, with eclipse luna CDT (as a makefile project), gstreamer builds fine:

cd ~
sudo apt-get build-dep gstreamer1.0
apt-get source gstreamer1.0
cd gstreamer1.0-1.2.4
./configure && sudo make && sudo make install

Eclipse c++ project from make file -> /home/randy/gstreamer1.0-1.2.4
Debug configuration C/C++ Application = /home/randy/gstreamer1.0-1.2.4/tools/.libs/gst-launch-1.0

The debugger stops on main, but jumps all over the place in main() as you step suggesting either the source built with optimizations. Same behavior when using gdb from the console trying to stop at breakpoints.


ldd /home/randy/gstreamer1.0-1.2.4/tools/.libs/gst-launch-1.0
linux-vdso.so.1 =>  (0x00007fffed1fe000)
    libgstreamer-1.0.so.0 => /usr/local/lib/libgstreamer-1.0.so.0 (0x00007f11fba9d000)
    libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f11fb84c000)
    libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f11fb543000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f11fb325000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f11faf5f000)
    libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f11fad5a000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f11faa54000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f11fa850000)
    libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f11fa647000)
    libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f11fa409000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f11fbdc3000)

Thoughts?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150116/fd79cf6c/attachment.html>


More information about the gstreamer-devel mailing list