[MacPorts] #42976: ffplay crashes with segmentation fault EXEC_BAD_ACCESS
#42976: ffplay crashes with segmentation fault EXEC_BAD_ACCESS ------------------------+-------------------------------- Reporter: jchauvel@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: ffmpeg ------------------------+-------------------------------- My current installation is: ffmpeg @2.1.4_2+gpl2+nonfree I'll attach the lldb output. -- Ticket URL: <https://trac.macports.org/ticket/42976> MacPorts <http://www.macports.org/> Ports system for OS X
#42976: ffmpeg: ffplay crashes with segmentation fault EXEC_BAD_ACCESS -------------------------+---------------------- Reporter: jchauvel@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ffmpeg | -------------------------+---------------------- Changes (by ryandesign@…): * cc: devans@…, openmaintainer@… (removed) * priority: High => Normal * owner: macports-tickets@… => devans@… -- Ticket URL: <https://trac.macports.org/ticket/42976#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42976: ffmpeg: ffplay crashes with segmentation fault EXEC_BAD_ACCESS -------------------------+---------------------- Reporter: jchauvel@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ffmpeg | -------------------------+---------------------- Comment (by jchauvel@…): bump -- Ticket URL: <https://trac.macports.org/ticket/42976#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42976: ffmpeg: ffplay crashes with segmentation fault EXEC_BAD_ACCESS -------------------------+---------------------- Reporter: jchauvel@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ffmpeg | -------------------------+---------------------- Changes (by devans@…): * status: new => assigned Comment: 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. -- Ticket URL: <https://trac.macports.org/ticket/42976#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42976: ffmpeg: ffplay crashes with segmentation fault EXEC_BAD_ACCESS -------------------------+---------------------- Reporter: jchauvel@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ffmpeg | -------------------------+---------------------- Comment (by jchauvel@…): Replying to [comment:3 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. -- Ticket URL: <https://trac.macports.org/ticket/42976#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42976: ffmpeg: ffplay crashes with segmentation fault EXEC_BAD_ACCESS -------------------------+---------------------- Reporter: jchauvel@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ffmpeg | -------------------------+---------------------- Comment (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 -- Ticket URL: <https://trac.macports.org/ticket/42976#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#42976: ffmpeg: ffplay crashes with segmentation fault EXEC_BAD_ACCESS -------------------------+---------------------- Reporter: jchauvel@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ffmpeg | -------------------------+---------------------- Comment (by 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? -- Ticket URL: <https://trac.macports.org/ticket/42976#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#42976: ffmpeg: ffplay crashes with segmentation fault EXEC_BAD_ACCESS -------------------------+---------------------- Reporter: jchauvel@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ffmpeg | -------------------------+---------------------- Comment (by jchauvel@…): Replying to [comment:6 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 hangs 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 -- Ticket URL: <https://trac.macports.org/ticket/42976#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#42976: ffmpeg: ffplay crashes with segmentation fault EXEC_BAD_ACCESS -------------------------+---------------------- Reporter: jchauvel@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: duplicate | Keywords: Port: ffmpeg | -------------------------+---------------------- Changes (by devans@…): * status: assigned => closed * resolution: => duplicate Comment: 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 the others as duplicates. 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 to help more. -- Ticket URL: <https://trac.macports.org/ticket/42976#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts