Bug 145005 - Port graphics/php5-ffmpeg causes coredumps in php
Summary: Port graphics/php5-ffmpeg causes coredumps in php
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jose Alonso Cardenas Marquez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-24 14:30 UTC by Dayne Jordan
Modified: 2010-12-13 09:12 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dayne Jordan 2010-03-24 14:30:05 UTC
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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-03-24 14:31:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->acm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2010-03-25 14:26:36 UTC
2010/3/24  <edwin@freebsd.org>:
> Synopsis: Port graphics/php5-ffmpeg causes coredumps in php
>
> Responsible-Changed-From-To: freebsd-ports-bugs->acm
> Responsible-Changed-By: edwin
> Responsible-Changed-When: Wed Mar 24 14:31:22 UTC 2010
> Responsible-Changed-Why:
> Over to maintainer (via the GNATS Auto Assign Tool)
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=145005
>

Could you test the following tarball
http://garr.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.6.2.tbz2?
It could be good if you test the svn version of ffmpeg-php from
sourceforge.

The problem with ffmpeg-php is that has not being developed about 8
months ago.  Well, test it and tell me if it works again

Greetings
ACM
Comment 3 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2010-12-13 08:58:52 UTC
State Changed
From-To: open->closed

- It was a problem with libxml2 port and thread support in configure file. 

See for more information at: 

http://forums.freebsd.org/archive/index.php/t-8965.html