Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2010 16:18:11 -0800
From:      "Don O'Neil" <lists@lizardhill.com>
To:        <php-general@lists.php.net>, <freebsd-questions@freebsd.org>
Subject:   Clean PHP 5.2.12 Build Core Dumping
Message-ID:  <157701ca90c1$3a62ecd0$af28c670$@com>

next in thread | raw e-mail | index | archive | help
Ok... more info on the problem...

I started with a clean untarred archive, ad just ran ./configure, make, make
test.... I get a core dump.

After running gdb on the core dump I noticed it was the sqlite stuff that
was dumping, so I re-ran configure with --without-sqlite
--without-pdo-sqlite --with-mysql=/usr/local/mysql

Now the gdb shows this:

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, that's the last version I built and is installed on this
system. Maybe it's pulling that from the system php? 

Secondly, even though I've told it not to use sqlite, it still seems to be.

Any help here would be appreciated in moving forward. My whole reason for
needing to rebuild php is I need the pdo_mysql module instead of the
pdo_sqlite version.

Thanks!




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?157701ca90c1$3a62ecd0$af28c670$>