[superh-gnu-discuss] mplayer argument parsing segfault with 4.4-45
Magnus Damm
magnus.damm at gmail.com
Tue Dec 29 08:32:35 UTC 2009
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.
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.
Thanks,
/ magnus
More information about the superh-gnu-discuss
mailing list