View Bug Details

IDProjectCategoryView StatusLast Update
0002149DCP-o-maticBugspublic2023-09-01 21:50
Reportercarl Assigned Tocarl  
PriorityimmediateSeverityblockReproducibilityalways
Status closedResolutionfixed 
Target Version2.16.0 
Summary0002149: ffmpeg_encoder_h264_test1 failing on macOS
Description

Maybe something to do with new VM.

TagsNo tags attached.
Branch
Estimated weeks required
Estimated work required

Activities

carl

2021-12-14 15:08

administrator   ~0004705

Thread 27 has EXC_BAD_ACCESS somewhere in libavcodec (no symbols) while thread 1 is in ~Image (called by ~PlayerVideo in FFmpegEncoder::go)

carl

2021-12-15 09:16

administrator   ~0004706

Looks like it's nothing to do with the ~Image; the crash is exactly repeatable even with all the memory deallocation disabled.

carl

2021-12-15 09:17

administrator   ~0004707

Seems to be in x264_8_cabac_block_residual_rd_internal_ssse3_lzcnt

carl

2021-12-15 11:11

administrator   ~0004708

./ffmpeg -i ~/workspace/src/dcpomatic/test/data/test.mp4 foo.mp4 segfaults too.

carl

2021-12-15 11:31

administrator   ~0004709

Also happens with a relatively new FFmpeg revision 3f4ce004b8afa915499c367e78ae080bc457624c

carl

2021-12-15 11:54

administrator   ~0004710

Build from https://evermeet.cx/ffmpeg/ is fine

carl

2021-12-15 14:04

administrator   ~0004711

Xcode 12.2 gives Apple clang version 12.0.0 (clang-1200.0.32.29)

carl

2021-12-15 16:32

administrator   ~0004712

It looks like it's the nasm version; 2.15.05 seems to fix it.

Bug History

Date Modified Username Field Change
2021-12-14 15:07 carl New Bug
2021-12-14 15:07 carl Assigned To => carl
2021-12-14 15:07 carl Status new => confirmed
2021-12-14 15:08 carl Note Added: 0004705
2021-12-15 09:16 carl Note Added: 0004706
2021-12-15 09:17 carl Note Added: 0004707
2021-12-15 11:11 carl Note Added: 0004708
2021-12-15 11:31 carl Note Added: 0004709
2021-12-15 11:54 carl Note Added: 0004710
2021-12-15 14:04 carl Note Added: 0004711
2021-12-15 16:32 carl Note Added: 0004712
2021-12-15 16:33 carl Status confirmed => resolved
2021-12-15 16:33 carl Resolution open => fixed
2023-09-01 21:50 carl Status resolved => closed