[gst-devel] mmssrc error

Aurelien Grimaud gstelzz at yahoo.fr
Wed Oct 28 22:43:43 CET 2009


Probably a libmms bug. (https://bugs.launchpad.net/libmms/+bug/238984) 
Not gstreamer.

> [aurelien at localhost mmssrc]$ gdb -x gdb.cmd 
> /usr/audio/gstreamer/bin/gst-launch-0.10
> GNU gdb (GDB) Fedora (6.8.50.20090302-38.fc11)
> Copyright (C) 2009 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later 
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i586-redhat-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> [Thread debugging using libthread_db enabled]
> Définition du pipeline à PAUSED...
> [New Thread 0xb7dacb70 (LWP 15409)]
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x0011393c in mms_connect (io=0x0, data=0x0, url=0x8158080 
> "mms://scry.dubuque.k12.ia.us:1755", bandwidth=2147483647) at mms.c:1107
> 1107      while (*c == '/') ++c;
> Missing separate debuginfos, use: debuginfo-install 
> e2fsprogs-libs-1.41.4-12.fc11.i586 glib2-2.20.5-1.fc11.i586 
> glibc-2.10.1-5.i686 libICE-1.0.4-7.fc11.i586 libSM-1.1.0-4.fc11.i586 
> libX11-1.2.2-1.fc11.i586 libXau-1.0.4-5.fc11.i586 
> libXext-1.0.99.1-3.fc11.i586 libXv-1.0.4-2.fc11.i586 
> libxcb-1.2-4.fc11.i586 libxml2-2.7.6-1.fc11.i586 zlib-1.2.3-22.fc11.i586
> (gdb) info locals
> url_conv = 0
> this = 0x8179190
> res = 134600088
> uri = 0x816cfe0
> c = 0x0
> (gdb) list
> 1102      this->host = uri->hostname;
> 1103      this->port = uri->port;
> 1104      this->password = uri->passwd;
> 1105
> 1106      c = uri->path;
> 1107      while (*c == '/') ++c;
> 1108
> 1109      if (uri->query) {
> 1110        size_t plen = strlen(c), qlen = strlen(uri->query);
> 1111
> (gdb) print *uri
> $1 = {scheme = 0x81642c8 "mms", user = 0x0, passwd = 0x0, hostname = 
> 0x8161df0 "scry.dubuque.k12.ia.us", port = 1755, path = 0x0, query = 0x0,
>   fragment = 0x0}
libmms is looking for a path in the mms uri which is expected to be 
mms://<host>:<port>/path/to/play
there uri->path is NULL.

Try adding '/' in url.

Aurelien
Le 28/10/2009 20:16, Mailing List SVR a écrit :
> Hi,
>
> I'm trying to view a live mms stream:
>
> gst-launch-0.10 mmssrc location=mms://scry.dubuque.k12.ia.us:1755 ! decodebin ! autovideosink
> Impostazione della pipeline a PAUSED ...
> Caught SIGSEGV accessing address (nil)
> #0  0x00007fcb2659b36d in waitpid () from /lib/libpthread.so.0
> #1  0x00007fcb267bd937 in g_on_error_stack_trace ()
> #2  0x0000000000402aa0 in ?? ()
> #3<signal handler called>
> #4  0x00007fcb24bdb990 in mms_connect () from /usr/lib/libmms.so.0
> #5  0x00007fcb24bddf6f in mmsx_connect () from /usr/lib/libmms.so.0
> #6  0x00007fcb24de4c97 in gst_mms_start ()
> #7  0x00007fcb249b5441 in gst_base_src_start ()
> #8  0x00007fcb249bb438 in gst_base_src_activate_push ()
> #9  0x00007fcb26f10edb in gst_pad_activate_push ()
> #10 0x00007fcb26f11a87 in gst_pad_set_active ()
> #11 0x00007fcb26ef3a2b in activate_pads () from /usr/lib/libgstreamer-0.10.so.0
> #12 0x00007fcb26f04bde in gst_iterator_fold ()
> #13 0x00007fcb26ef3996 in iterator_activate_fold_with_resync ()
> #14 0x00007fcb26ef5d2f in gst_element_pads_activate ()
> #15 0x00007fcb26ef7eff in gst_element_change_state_func ()
> #16 0x00007fcb249ba114 in gst_base_src_change_state ()
> #17 0x00007fcb26ef4acc in gst_element_change_state ()
> #18 0x00007fcb26ef7bd8 in gst_element_set_state_func ()
> #19 0x00007fcb26ee4a11 in gst_bin_change_state_func ()
> #20 0x00007fcb26f16ef9 in gst_pipeline_change_state ()
> #21 0x00007fcb26ef4acc in gst_element_change_state ()
> #22 0x00007fcb26ef4b4f in gst_element_change_state ()
> #23 0x00007fcb26ef7bd8 in gst_element_set_state_func ()
> #24 0x000000000040424b in ?? ()
> #25 0x00007fcb262589ed in __libc_start_main () from /lib/libc.so.6
> #26 0x0000000000402889 in ?? ()
> #27 0x00007fff65121508 in ?? ()
> #28 0x000000000000001c in ?? ()
> #29 0x0000000000000007 in ?? ()
> #30 0x00007fff651237b1 in ?? ()
> #31 0x00007fff651237c1 in ?? ()
> #32 0x00007fff651237c8 in ?? ()
> #33 0x00007fff651237f3 in ?? ()
> #34 0x00007fff651237f5 in ?? ()
> #35 0x00007fff651237ff in ?? ()
> #36 0x00007fff65123801 in ?? ()
> #37 0x0000000000000000 in ?? ()
>
>
> mplayer mms://scry.dubuque.k12.ia.us:1755
>
> works just fine,
>
> any hints?
>
> Nicola
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>    





More information about the gstreamer-devel mailing list