Please CC me or email direct for more information.

This is version 0.9.4 which is shipped with Fedora 22.

> $ quvi --version
> quvi v0.9.5
>   built on 2014-08-18 11:42:35 +0000 for x86_64-redhat-linux-gnu
>     with gcc, -O2 -g -pipe -Wall -Werror=format-security 
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
> --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic
>   configuration: --build=x86_64-redhat-linux-gnu 
> --host=x86_64-redhat-linux-gnu --program-prefix= 
> --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr 
> --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share 
> --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec 
> --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man 
> --infodir=/usr/share/info
> libquvi v0.9.4
>   built on 2015-03-20 16:30:48 +0000 for x86_64-redhat-linux-gnu
>     with gcc, -O2 -g -pipe -Wall -Werror=format-security 
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
> --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic
>   configuration: --build=x86_64-redhat-linux-gnu 
> --host=x86_64-redhat-linux-gnu --program-prefix= 
> --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr 
> --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share 
> --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec 
> --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man 
> --infodir=/usr/share/info --disable-static --disable-rpath
> libquvi-scripts v0.9.20131130
>   configuration: --build=x86_64-redhat-linux-gnu 
> --host=x86_64-redhat-linux-gnu --program-prefix= 
> --disable-dependency-tracking --prefix=/usr --
> 
> Copyright (C) 2012,2013  Toni Gundogdu <[email protected]>
> quvi comes with ABSOLUTELY NO WARRANTY.  You may redistribute copies of
> quvi under the terms of the GNU Affero General Public License version 3
> or later. For more information, see <http://www.gnu.org/licenses/agpl.html>.
> 
> To contact the developers, please mail to <[email protected]>


Rhythmbox seems to use it for podcast download.

I noticed that

> quvi dump http://feeds.soundcloud.com/users/4273388-stack-exchange/tracks

will never finish.

The bit at fault seems to be the soundcloud script.
This bit in particular.

> .+content=\"(.-)\"%s+property=\"og:image\"

Here is a gdb backtrace from where it seems to be stuck.
> #0  0x00007ffff4a19437 in match (ep=0x695f51 
> "+content=\"(.-)\"%s+property=\"og:image\"", p=0x695f50 
> ".+content=\"(.-)\"%s+property=\"og:image\"", s=0x6d3af9 "eg\" 
> url=\"http://feeds.soundcloud.com/stream/204221383-stack-exchange-stack-exchange-podcast-episode-64-not-recorded-in-ithaca.mp3\";
>  length=\"62431616\"/>\n      <itunes:image 
> href=\"http://i1.sndcdn.com/av";..., ms=0x7fffffffd5c0) at lstrlib.c:364
> #1  0x00007ffff4a19437 in match (ms=ms@entry=0x7fffffffd5c0, s=0x6d3af9 "eg\" 
> url=\"http://feeds.soundcloud.com/stream/204221383-stack-exchange-stack-exchange-podcast-episode-64-not-recorded-in-ithaca.mp3\";
>  length=\"62431616\"/>\n      <itunes:image 
> href=\"http://i1.sndcdn.com/av";..., 
>     s@entry=0x6d3af8 "peg\" 
> url=\"http://feeds.soundcloud.com/stream/204221383-stack-exchange-stack-exchange-podcast-episode-64-not-recorded-in-ithaca.mp3\";
>  length=\"62431616\"/>\n      <itunes:image 
> href=\"http://i1.sndcdn.com/a";..., p=p@entry=0x695f50 
> ".+content=\"(.-)\"%s+property=\"og:image\"") at lstrlib.c:504
> #2  0x00007ffff4a19742 in str_find_aux (L=0x63a448, find=0) at lstrlib.c:622
> #3  0x00007ffff4a09360 in luaD_precall (L=L@entry=0x63a448, func=<optimized 
> out>, 
>     func@entry=0x6d2760, nresults=nresults@entry=1) at ldo.c:337
> #4  0x00007ffff4a1ea1d in luaV_execute (L=L@entry=0x63a448) at lvm.c:991
> #5  0x00007ffff4a09727 in luaD_call (L=0x63a448, func=<optimized out>, 
> nResults=<optimized out>, allowyield=<optimized out>) at ldo.c:422
> #6  0x00007ffff4a08cc2 in luaD_rawrunprotected (L=L@entry=0x63a448, 
> f=f@entry=0x7ffff49ff210 <f_call>, ud=ud@entry=0x7fffffffdab0) at ldo.c:142
> #7  0x00007ffff4a09a0d in luaD_pcall (L=L@entry=0x63a448, 
> func=func@entry=0x7ffff49ff210 <f_call>, u=u@entry=0x7fffffffdab0, 
> old_top=1600, ef=<optimized out>) at ldo.c:644
> #8  0x00007ffff4a00701 in lua_pcallk (L=L@entry=0x63a448, 
> nargs=nargs@entry=1, nresults=nresults@entry=1, errfunc=errfunc@entry=0, 
> ctx=ctx@entry=0, k=k@entry=0x0) at lapi.c:940
> #9  0x00007ffff72c7314 in l_exec_media_script_parse (p=0x6a75b0, 
> sl=<optimized out>) at exec_media_script_parse.c:270
> #10 0x00007ffff72c405c in m_match_media_script (q=q@entry=0x63a360, 
> qm=qm@entry=0x7fffffffdb70, url=url@entry=0x678e50 
> "http://feeds.soundcloud.com/users/4273388-stack-exchange/tracks";, 
> mode=mode@entry=QM_MATCH_MS_PARSE)
>     at match_media_script.c:100
> #11 0x00007ffff72cb5fa in quvi_media_new (handle=0x63a360, 
> url=url@entry=0x678e50 
> "http://feeds.soundcloud.com/users/4273388-stack-exchange/tracks";) at 
> media_new.c:56
> #12 0x000000000040e3ec in lutil_query_media (p=0x678e50, 
> userdata=0x7fffffffdbe0) at query.c:60
> #13 0x00007ffff6b2145d in g_slist_foreach (list=<optimized out>, 
> func=0x40e3c0 <lutil_query_media>, user_data=user_data@entry=0x7fffffffdbe0) 
> at gslist.c:878
> #14 0x0000000000406cbd in setup_query (sq=sq@entry=0x7fffffffdc90) at 
> setup.c:158
> #15 0x0000000000404da7 in cmd_dump (argc=<optimized out>, argv=<optimized 
> out>) at builtin/dump.c:461
> #16 0x0000000000404218 in main (argv=<optimized out>, argc=<optimized out>) 
> at main.c:177
> #17 0x0000000000404218 in main (argc=2, argv=0x7fffffffde00) at main.c:247

I *think* that the regular expression has some kind of pathological,
exponential behavior leading to it running for a really long time,
making it look like it never finishes.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
quvi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/quvi-devel

Reply via email to