[gst-devel] crash on windows
Michal Benes
michal.benes at xeris.cz
Tue Sep 13 01:08:02 CEST 2005
Hi Sebastien,
yes, I think these errors can be related. It is quite problematic to
build libpopt on Windows. If command-line parameters are not processed
correctly, then something wrong can be passed to gstparse which then
crases.
Try to replace
gst_init_with_popt_table (&argc, &argv, options);
in tools/gst-launch.c with gst_init(NULL, NULL). It might prevent
libpopt from messing up with the parameters. You can also try to delete
line
{NULL, NUL, POPT_ARG_INTL_DOMAIN, GETTEXT_PACKAGE, 0, NULL, NULL},
from gst/gst.c (function gst_init_get_popt_table), it might help (at
least I need to do it with my version of libpopt).
Greetings,
Michal
Sébastien Moutte píše v Út 13. 09. 2005 v 00:57 +0200:
> Hi Michal,
> your files are the sames of mines. i'm still having a strange crash
> while *_gst_parse__yyparse*
> I've tried executing a pipeline with gstreamer0.8 and i got the same crash.
>
> I'm getting an output of an error just before the crash in 0.9
> I/O error : Bad file descriptor
> Entity: line 1: parser error : Extra content at the end of the document
> it's output while calling poptGetNextOpt in gst_init_check_with_popt_table.
>
> do you think this error could be in relation with the crash ?
>
> Thanks,
> Sebastien
>
> Sébastien Moutte wrote:
>
> > Ok, Thanks :)
> > I'll try your generated files this evening.
> > Seb
> >
> > Michal Benes wrote:
> >
> >> Hi Sebastien,
> >>
> >> I was able to run both
> >> gst-launch-0.9 fakesrc ! fakesink
> >> and
> >> gst-launch-0.9 filesrc location=a ! filesink location=b
> >>
> >> I am sorry, I can can not help you with your bison problem. I can
> >> only give you my generated c sources.
> >>
> >> Michal
> >>
> >>
> >> Sébastien Moutte wrote:
> >>
> >>> Hi Michal,
> >>>
> >>> did you run a pipeline without problem ?
> >>> If yes, i've probably a configuration problem with msvc7.1 or bads
> >>> grammar generated files ...
> >>>
> >>> Seb
> >>>
> >>> Michal Benes wrote:
> >>>
> >>>> Hi Sebastien,
> >>>>
> >>>> yes, I was able to compile GStreamer 0.9 on Windows using MinGW
> >>>> with
> >>>> GCC 3.4.2 compiler. I have reported all my problems as bug #316073 and
> >>>> bugs that depend on it.
> >>>>
> >>>> Michal
> >>>>
> >>>> Sébastien Moutte píše v Ne 11. 09. 2005 v 19:57 +0200:
> >>>>
> >>>>
> >>>>> Hi all,
> >>>>>
> >>>>> I'm trying to run a pipeline on windows (gst-launch fakesrc !
> >>>>> fakesink).
> >>>>> I've built the cvs source with msvc7.1.
> >>>>> I'm getting a crash in _gst_parse_launch, msvc debugger signal the
> >>>>> crash in yyparse (&g) from grammar.y, grammar.tab.c
> >>>>> i'm not used to work with bison or flex and i have no idea what's
> >>>>> the prb ...
> >>>>> does somebody already run gstreamer 0.9 on windows ?
> >>>>> may be there is a prb the generated file grammar.tab.c on windows
> >>>>> ....
> >>>>>
> >>>>> Seb
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> -------------------------------------------------------
> >>>>> SF.Net email is Sponsored by the Better Software Conference & EXPO
> >>>>> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> >>>>> Practices
> >>>>> Agile & Plan-Driven Development * Managing Projects & Teams *
> >>>>> Testing & QA
> >>>>> Security * Process Improvement & Measurement *
> >>>>> http://www.sqe.com/bsce5sf
> >>>>> _______________________________________________
> >>>>> gstreamer-devel mailing list
> >>>>> gstreamer-devel at lists.sourceforge.net
> >>>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> -------------------------------------------------------
> >>>> SF.Net email is Sponsored by the Better Software Conference & EXPO
> >>>> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> >>>> Practices
> >>>> Agile & Plan-Driven Development * Managing Projects & Teams *
> >>>> Testing & QA
> >>>> Security * Process Improvement & Measurement *
> >>>> http://www.sqe.com/bsce5sf
> >>>> _______________________________________________
> >>>> gstreamer-devel mailing list
> >>>> gstreamer-devel at lists.sourceforge.net
> >>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >>>>
> >>>>
> >>>>
> >>
> >>
> >>
> >> -------------------------------------------------------
> >> SF.Net email is Sponsored by the Better Software Conference & EXPO
> >> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> >> Practices
> >> Agile & Plan-Driven Development * Managing Projects & Teams * Testing
> >> & QA
> >> Security * Process Improvement & Measurement *
> >> http://www.sqe.com/bsce5sf
> >> _______________________________________________
> >> gstreamer-devel mailing list
> >> gstreamer-devel at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >>
> >
> >
> > -------------------------------------------------------
> > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> > Practices
> > Agile & Plan-Driven Development * Managing Projects & Teams * Testing
> > & QA
> > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
> >
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> 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