ports/145005: Port graphics/php5-ffmpeg causes coredumps in php

Dayne Jordan daynejordan at gmail.com
Wed Mar 24 14:30:06 UTC 2010


>Number:         145005
>Category:       ports
>Synopsis:       Port graphics/php5-ffmpeg causes coredumps in php
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 24 14:30:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Dayne Jordan
>Release:        6.x and 7.x
>Organization:
CWM
>Environment:
server2# uname -a
FreeBSD [snip] 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0: Tue Mar 23 09:13:10 EDT 2010 admin@[snip]:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The port /graphics/php5-ffmpeg causes immediate core dumps in php cli or php within Apache-1.3.x or Apache-2.x even though it builds and installs with no errors.
>How-To-Repeat:
Use FreeBSD-6.x, or 7.x and build /graphics/php5-ffmpeg. Port builds all it's dependencies and installs the ffmpeg.so into the php extensions.ini file correctly. Executing anything in php cli results in a core dump, even just doing a php -v i or m. If you're using Apache 1.3.x it will fail to restart, if you're using Apache-2.x it will restart but core when making any call to php. Comment out ffmpeg.so in php's extensions.ini file and php cli and Apache start/run fine.

I've rebuilt PHP without Suhosin, and all other modules but php5-ffmpeg and have the same result. I rebuilt php with debug and have full backtraces thru gdb and Valgrind both available for review. I've tried on out-of-the-box fresh builds of 6.4, 7.0 and 7.3 and have had the same resulting core dumps.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list