Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#9916 closed Bug Report - Crash (fixed)

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


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:;h=2d16394f972dca8cc5e5b5bf9ab0b343a6239b76

Attachments (0)

Change History (5)

comment:1 Changed 4 years ago by beirdo

  • Owner set to beirdo
  • Status changed from new to assigned

comment:2 Changed 4 years ago by Github

  • Milestone changed from unknown to 0.25
  • Resolution set to fixed
  • Status changed from assigned to closed

Fix PPC movrel issue in FFmpeg libs.

Fixes #9916

Cherry-picked from:;h=2d16394f972dca8cc5e5b5bf9ab0b343a6239b76

Signed-off-by: Michael Niedermayer <michaelni@…> Signed-off-by: Gavin Hurlbut <ghurlbut@…>

Branch: master Changeset: 2ed7b536bcee27ecb41d630e2db1251ff083cb97

comment:3 Changed 4 years 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 4 years ago by beirdo

  • Milestone changed from 0.25 to 0.24.2

Done. Commit 8bc2a66dd9e4927eb0931770f20ef56bbe792374.

It applied cleanly.

comment:5 Changed 4 years ago by stuartm

  • Milestone 0.24.2 deleted

Milestone 0.24.2 deleted

Add Comment

Modify Ticket

as closed The owner will remain beirdo.
The resolution will be deleted. Next status will be 'new'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.