[Xvid-devel] 1.3.5 segfault in check_cpu_features (xvidcore/src/utils/x86_asm/cpuid.asm:97)

Dominik 'Rathann' Mierzejewski dominik at greysector.net
Thu Jan 17 11:22:22 CET 2019


Hi, Peter and Michael.

On Thursday, 17 January 2019 at 11:09, Peter Ross wrote:
> On Wed, Jan 16, 2019 at 02:23:05PM +0000, Michael Militzer wrote:
[...]
> > does this crash happen also outside of ffmpeg, so e.g. when you run  
> > the xvid_encraw example?

The original reporter said it does.

> Repost:
> 
> this problem is caused by our use of .rotext. changing it to .text works.
> patch below.
> 
> i do not believe binutils recognises .rotext as a machine instruction section anyway.
> obdump -d does not work on such files. cheers,
> 
> 
> Patch:
[...]

Thanks for the patch. I can confirm it fixes the issue for me.

Regards,
Dominik
-- 
Fedora   https://getfedora.org  |  RPM Fusion  http://rpmfusion.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
        -- from "Collected Sayings of Muad'Dib" by the Princess Irulan


More information about the Xvid-devel mailing list