[superh-gnu-discuss] mplayer argument parsing segfault with 4.4-45
Bill Traynor
wmat at naoi.ca
Tue Dec 29 13:51:32 UTC 2009
On Tue, Dec 29, 2009 at 03:32, Magnus Damm <magnus.damm at gmail.com> wrote:
> Hi Mark,
>
> On Tue, Dec 29, 2009 at 2:32 AM, Mark Mitchell <mark at codesourcery.com>
> wrote:
> > Magnus Damm wrote:
> >
> >> / # /mplayer -tv outfmt=nv12 tv://1
> >> Segmentation fault
> >
> > This might indicate a compiler bug, but of course it might also indicate
> > a problem with mplayer. As the compiler becomes more aggressive in
> > optimizing, it tends to expose more problems in existing applications.
>
> Right, and mplayer is not exactly the most bug free piece of software
> around.
>
> > For us to investigate this, you'll have to produce a test case that
> > shows what code you think is being miscompiled. That includes:
> >
> > 1. Preprocessed source code (obtained with -save-temps) for the file in
> > question.
> > 2. All command-line options used to compile that code.
> > 3. Which function in the resulting object file you think has been
> > miscompiled and why.
>
> Thanks for the instructions. I mainly wanted to report the issue and
> make it possible for someone else to reproduce it. I'd like to get rid
> of the old KPIT compiler if possible and this is the only case left.
>
Thanks Magnus, I was able to reproduce the segfault using your instructions.
>
> The mplayer source is fairly large so I suspect that the issue needs
> to be tracked down further. Do you have any pointer to a more fine
> grained step by step document that can be followed to produce these
> things for you? I'm quite busy though so I'm afraid I'll just add this
> to my TODO list for now.
>
I see if I can investigate this a little further as well.
>
> Thanks,
>
> / magnus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/superh-gnu-discuss/attachments/20091229/734aad62/attachment.html>
More information about the superh-gnu-discuss
mailing list