Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2003 11:11:42 -0700
From:      Adam Bayless <adam@baylessfamily.org>
To:        freebsd-current@FreeBSD.ORG
Subject:   PHP on 5.0RELEASE
Message-ID:  <5.1.0.14.0.20030129110928.00bce518@mail.baylessfamily.org>
In-Reply-To: <20030129114855.D5796-100000@geri.cc.fer.hr>

next in thread | previous in thread | raw e-mail | index | archive | help


I've got a big ugly PHP build on a brand new, otherwise clean 5.0 box that 
is dumping cores. It works great as an apache module, but the CLI always 
coredumps. Here's gdb's output:

Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libc-client4.so.8...done.
Loaded symbols for /usr/local/lib/libc-client4.so.8
Reading symbols from /usr/local/lib/libmm.so.12...done.
Loaded symbols for /usr/local/lib/libmm.so.12
Reading symbols from /usr/local/lib/libpspell.so.15...done.
Loaded symbols for /usr/local/lib/libpspell.so.15
Reading symbols from /usr/local/payflowpro/lib/libpfpro.so...done.
Loaded symbols for /usr/local/payflowpro/lib/libpfpro.so
Reading symbols from /usr/local/lib/mysql/libmysqlclient.so.10...done.
Loaded symbols for /usr/local/lib/mysql/libmysqlclient.so.10
Reading symbols from /usr/local/lib/libmhash.so.2...done.
Loaded symbols for /usr/local/lib/libmhash.so.2
Reading symbols from /usr/lib/libcrypt.so.2...done.
Loaded symbols for /usr/lib/libcrypt.so.2
Reading symbols from /usr/lib/libpam.so.2...done.
Loaded symbols for /usr/lib/libpam.so.2
Reading symbols from /usr/local/lib/libpng.so.5...done.
Loaded symbols for /usr/local/lib/libpng.so.5
Reading symbols from /usr/lib/libz.so.2...done.
Loaded symbols for /usr/lib/libz.so.2
Reading symbols from /usr/lib/libssl.so.2...done.
Loaded symbols for /usr/lib/libssl.so.2
Reading symbols from /usr/lib/libcrypto.so.2...done.
Loaded symbols for /usr/lib/libcrypto.so.2
Reading symbols from /usr/lib/libm.so.2...done.
Loaded symbols for /usr/lib/libm.so.2
Reading symbols from /usr/local/lib/libcurl.so.2...done.
Loaded symbols for /usr/local/lib/libcurl.so.2
Reading symbols from /usr/lib/libc.so.5...done.
Loaded symbols for /usr/lib/libc.so.5
Reading symbols from /usr/local/lib/libaspell.so.15...done.
Loaded symbols for /usr/local/lib/libaspell.so.15
Reading symbols from /usr/lib/libstdc++.so.4...done.
Loaded symbols for /usr/lib/libstdc++.so.4
Reading symbols from 
/usr/ports/textproc/aspell/work/aspell-0.50.3/lib/.libs/libaspell.so.15...done.
Loaded symbols for 
/usr/ports/textproc/aspell/work/aspell-0.50.3/lib/.libs/libaspell.so.15
Reading symbols from /usr/libexec/ld-elf.so.1...done.
Loaded symbols for /usr/libexec/ld-elf.so.1
#0  0x2856dde0 in strcmp () from /usr/lib/libc.so.5

and here is what php is configured with as per customer's request:

'./configure' \
'--with-apxs=/usr/local/apache/bin/apxs' \
'--with-mysql=/usr/local' \
'--with-imap=/usr/local' \
'--enable-track-vars' \
'--with-mhash' \
'--with-pspell' \
'--with-gd' \
'--with-ftp' \
'--enable-sysvmsg' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--enable-sockets' \
'--enable-exif' \
'--enable-discard-path' \
'--enable-bcmath' \
'--with-mm' \
'--with-openssl' \
'--with-curl' \
'--with-pfpro=/usr/local/payflowpro' \
'--with-zlib' \

Does anyone have any ideas before I try removing one line at a time from 
the config till I find the culprit?

Thanks,

Adam



------------------------------------------------------------
Adam Bayless                    |      vi /etc/mail/aliases
Fibernet System Janitor         |      complaints: /dev/null
adam@baylessfamily.org          |      :wq
baylessfamily.org/~abayless     |      newaliases
------------------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20030129110928.00bce518>