[Bug 706510] gst-launch-1.0 with empty pipeline crashes with Bison 3
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Aug 21 14:35:42 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=706510
GStreamer | gstreamer (core) | git
--- Comment #2 from Bruce Dubbs <bruce.dubbs at gmail.com> 2013-08-21 21:35:36 UTC ---
I edited the file with this sed:
sed -i -e '/YYLEX_PARAM/d' \
-e '/parse-param.*scanner/i %lex-param { void *scanner }' \
gst/parse/grammar.y
./configure --prefix=/usr \
--libexecdir=/usr/lib \
--with-package-name="GStreamer 1.0.9 BLFS" \
--with-package-origin="http://www.linuxfromscratch.org/blfs/view/svn/"
make
make check
sudo make install
Without the sed, the make errors out.
I am using gcc-4.8.1, glibc-2.18, binutils-2.23.2, bison-3.0. I went ahead and
installed in /usr.
$ gst-launch-1.0
Caught SIGSEGV accessing address 0x98
#0 0x00007f7fd34da3bc in waitpid () from /lib/libpthread.so.0
#1 0x00007f7fd390bd28 in g_on_error_stack_trace (
#2 0x0000000000403dbe in fault_spin () at gst-launch.c:139
#3 fault_handler_sigaction (signum=<optimized out>, si=0x7fffb91b4c30,
#4 <signal handler called>
#5 priv_gst_parse_yylex (yylval_param=yylval_param at entry=0x7fffb91b50e0,
#6 0x00007f7fd42e8dfa in priv_gst_parse_yyparse (scanner=<optimized out>,
#7 0x00007f7fd42ead08 in priv_gst_parse_launch (str=str at entry=0x1076c00 "",
#8 0x00007f7fd42e21a5 in gst_parse_launch_full (
#9 0x00007f7fd42e2405 in gst_parse_launchv_full (argv=argv at entry=0x1027fd0,
#10 0x00007f7fd42e250c in gst_parse_launchv (argv=argv at entry=0x1027fd0,
#11 0x00000000004033fc in main (argc=1, argv=0x7fffb91b5ee8)
Spinning. Please run 'gdb gst-launch- 1.0 2949' to continue debugging, Ctrl-C
to quit, or Ctrl-\ to dump core.
^CCaught interrupt -- ^C
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list