Bug#941559: libxvidcore4: immediately crashes on amd64 since binNMU

Fabian Greffrath fabian at greffrath.com
Wed Oct 2 11:47:51 BST 2019


Hi James,

Am 02.10.2019 01:45, schrieb James Cowgill:
> Indeed readelf contains some non-executable program headers in
> 2:1.3.5-1+b1 which do not appear in 2:1.3.5-1 in buster. The
> ".rotext" section sounds suspicious.

indeed, the check_cpu_feature() function is defined in 
src/utils/x86_asm/cpuid.asm [1] which includes src/nasm.inc, which in 
turn declares a .rotext section [2] for any other output format than 
macho32 and macho64.

It would probably be the best patch this to simply declare a .text 
section for all output formats. The question remains, however, why this 
is an issue now but not when xvidcore_2:1.3.5-1 was uploaded?

  - Fabian

[1] 
https://sources.debian.org/src/xvidcore/2:1.3.5-1/src/utils/x86_asm/cpuid.asm/?hl=94#L94
[2] https://sources.debian.org/src/xvidcore/2:1.3.5-1/src/nasm.inc/#L177



More information about the pkg-multimedia-maintainers mailing list