[PHP] Clean PHP 5.2.12 Build Core Dumping

Michael A. Peters mpeters at mac.com
Sun Jan 10 15:39:54 UTC 2010

Don O'Neil wrote:

> Core was generated by `php'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x081d50a7 in sqlite3Select (pParse=0xbbc00080, p=0x0, eDest=164102200,
>     iParm=0, pParent=0x24, parentTab=139141440, pParentAgg=0x84c10d8,
> aff=0x0)
>     at
> /usr/local/directadmin/customapache/php-5.2.11/ext/pdo_sqlite/sqlite/src/sel
> ect.c:3172
> 3172          for(j=0; j<pGroupBy->nExpr; j++){
> First off, the compile directory listed is wrong, don't know where it got
> php-5.2.11 from

I've experienced the same type of issue when building php RPM's on Linux.

The solution is to either remove the previous php build or build it in a 
chroot build environment (such as mock for RPM based distros).

More information about the freebsd-questions mailing list