Opened 6 years ago

Closed 4 years ago

#206 closed defect (fixed)

Libavcodec crashes due to unaligned variable

Reported by: dryeo Owned by:
Priority: major Milestone:
Component: *none Version:
Severity: medium Keywords:
Cc: dave.r.yeo@…

Description

Using avcode56.dll, Firefox crashes when playing H264 videos with the OS/4 kernel. This is due to variable not aligned for AVX and explained here, http://www.voidcn.com/article/p-vtipwtsk-cu.html
Fix is to add --extra-cflags='-fno-common' to the configure command line. Tested with avcode57.dll.
Compilation also fails with missing poll symbols, I'll attach a patch to add libcx support as well.

Attachments (2)

0073_37.TRP (23.8 KB ) - added by dryeo 6 years ago.
0001-Build-Add-support-for-libcx-on-OS-2.patch (2.0 KB ) - added by dryeo 6 years ago.

Download all attachments as: .zip

Change History (5)

by dryeo, 6 years ago

Attachment: 0073_37.TRP added

comment:1 by Silvan Scherrer, 6 years ago

this is for the ffmpeg port on our github right?

comment:2 by dryeo, 6 years ago

Yes, the first crash was from the RPM/YUM build. The patch I posted was against the official upstream tree.
This should be left for a couple of days as still investigating and it might be better to just configure with --disable-avx.

comment:3 by Silvan Scherrer, 4 years ago

Resolution: fixed
Status: newclosed

i believe this is fixed with the new ffmpeg rpm. if not please open a ticket at our github ffmpeg repo.

Note: See TracTickets for help on using tickets.