Opened 12 months ago

Last modified 12 months ago

#206 new defect

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 12 months ago.
0001-Build-Add-support-for-libcx-on-OS-2.patch (2.0 KB) - added by dryeo 12 months ago.

Download all attachments as: .zip

Change History (4)

Changed 12 months ago by dryeo

Attachment: 0073_37.TRP added

comment:1 Changed 12 months ago by Silvan Scherrer

this is for the ffmpeg port on our github right?

comment:2 Changed 12 months ago by dryeo

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.

Note: See TracTickets for help on using tickets.