Ticket #9916 (closed Bug Report - Crash: fixed)
Opened 23 months ago
Last modified 15 months ago
Mythtv segfaults on ppc when the internal ffmpeg is compiled with -fPIC (default)
| Reported by: | kim@… | Owned by: | beirdo |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | MythTV - General | Version: | Unspecified |
| Severity: | medium | Keywords: | ppc |
| Cc: | Ticket locked: | no |
Description
mythfrontend will segfault when reading various streams (AAC, AC3 etc...) on linux/powerpc if compiled with a 'recent' version of gcc (>= 3.6). The reason is that the way global symbols are loaded in ffmpeg/libavcodec/ppc/fft_altivec_s.S and asm.S is not PIC compatible.
This affects all versions of mythtv on linux/ppc32 (tested with 0.23, 0.24, 0.24.1 and git head).
The following simple patch was applied to ffmpeg upstream and fixes the problem, please cherry pick it: http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2d16394f972dca8cc5e5b5bf9ab0b343a6239b76
Attachments
Change History
comment:2 Changed 23 months ago by Github
- Status changed from assigned to closed
- Resolution set to fixed
- Milestone changed from unknown to 0.25
Fix PPC movrel issue in FFmpeg libs.
Fixes #9916
Cherry-picked from: http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2d16394f972dca8cc5e5b5bf9ab0b343a6239b76
Signed-off-by: Michael Niedermayer <michaelni@…> Signed-off-by: Gavin Hurlbut <ghurlbut@…>
Branch: master Changeset: 2ed7b536bcee27ecb41d630e2db1251ff083cb97
comment:3 Changed 22 months ago by kim@…
Hello, since this fix is really small could you also apply it to 0.24 please ? without it mythtv is unsable on powerpc32. Thanks.
comment:4 Changed 22 months ago by beirdo
- Milestone changed from 0.25 to 0.24.2
Done. Commit 8bc2a66dd9e4927eb0931770f20ef56bbe792374.
It applied cleanly.
