Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#42976 closed defect (duplicate)

ffmpeg: ffplay crashes with segmentation fault EXEC_BAD_ACCESS

Reported by: jchauvel@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: ffmpeg

Description

My current installation is: ffmpeg @2.1.4_2+gpl2+nonfree

I'll attach the lldb output.

Attachments (2)

lldb-out.txt (2.3 KB) - added by jchauvel@… 11 years ago.
crash-log.txt (50.2 KB) - added by jchauvel@… 11 years ago.

Download all attachments as: .zip

Change History (10)

Changed 11 years ago by jchauvel@…

Attachment: lldb-out.txt added

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: devans@… openmaintainer@… removed
Owner: changed from macports-tickets@… to devans@…
Priority: HighNormal
Summary: ffplay crashes with segmentation fault EXEC_BAD_ACCESSffmpeg: ffplay crashes with segmentation fault EXEC_BAD_ACCESS

comment:2 Changed 11 years ago by jchauvel@…

bump

comment:3 Changed 11 years ago by dbevans (David B. Evans)

Status: newassigned

Can you provide a link to the video that causes the problem? Also note that current ffmpeg version is 2.2. Please upgrade to that version and confirm that the problem still exists.

Thanks.

Changed 11 years ago by jchauvel@…

Attachment: crash-log.txt added

comment:4 in reply to:  3 Changed 11 years ago by jchauvel@…

Replying to devans@…:

Can you provide a link to the video that causes the problem? Also note that current ffmpeg version is 2.2. Please upgrade to that version and confirm that the problem still exists.

Thanks.

I simply can't. It's a pirated version of the first episode of Cosmos: A Spacetime Odyssey.

BTW I'm using the ffmpeg-devel port so it's pretty much up to date.

comment:5 Changed 11 years ago by jchauvel@…

It's probably something else. This same issue happens when trying to play anything on mplayer with the SDL video-output driver. #43057

comment:6 Changed 11 years ago by dbevans (David B. Evans)

From your debug output it does look like a null pointer error in libsdl but I can't reproduce it here with any videos that I have tried using either ffmpeg-devel or mplayer-devel -vo sdl configured as you mention in #42906. Is this repeatable with any video that you try? Does mplayer-devel work correctly if you use the corevideo driver?

comment:7 in reply to:  6 Changed 11 years ago by jchauvel@…

Replying to devans@…:

From your debug output it does look like a null pointer error in libsdl but I can't reproduce it here with any videos that I have tried using either ffmpeg-devel or mplayer-devel -vo sdl configured as you mention in #42906. Is this repeatable with any video that you try? Does mplayer-devel work correctly if you use the corevideo driver?

mplayer-devel and mplayer hanged with the CoreVideo driver, displaying a white screen with the correct video's aspect ratio and resolution, some audio can be heard at the beginning though.

BTW, I'm testing this on OS X 10.9.2

Last edited 11 years ago by jchauvel@… (previous) (diff)

comment:8 Changed 11 years ago by dbevans (David B. Evans)

Resolution: duplicate
Status: assignedclosed

I've now tested on 10.9.2 and 10.8.5 using ffmpeg-devel and mplayer-devel and still cannot reproduce the problems cited here or in #42906 or #43057. Based on your debug output and other comments the problem does not seem to be ffmpeg or mplayer specific but has to do with libsdl itself as described in #43057. Therefore, I suggest switching this thread to #43057 and am marking this ticket as a duplicate.

The only remaining suggestion that I have is to rebuild libsdl from source to see if that makes any difference. Really a shot in the dark. Sorry for not being able to help more.

sudo port -ns upgrade --force libsdl
Last edited 11 years ago by dbevans (David B. Evans) (previous) (diff)
Note: See TracTickets for help on using tickets.