problems with php 4.3.8 (long)

Andre Rein ar at ra23.net
Thu Aug 5 07:32:14 PDT 2004


Hi Ml,

I installed php version 4.3.8 from the ports and some extensions. (list at
bottom)
Every CLI script dies with a:
Abort trap (core dumped)
The scripts themself work fine till the end, but then they got a SIGABTR
signal and throw the Abort trap message.
e.g. $php -i
phpinfo()
PHP Version => 4.3.8

System => FreeBSD juergen 4.10-STABLE FreeBSD 4.10-STABLE
#0: Fri May i386
Build Date => Aug  5 2004 13:46:56
Configure Command =>  './configure' '--enable-versioning'
'--enable-memory-limit' '--with-layout=GNU'
'--with-config-file-scan-dir=/usr/local/etc/php' '--disa
ble-all' '--with-regex=php' '--with-apxs=/usr/local/sbin/apxs'
'--prefix=/usr/local' 'i386-portbld-freebsd4.10'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/etc/php.ini
Scan this dir for additional .ini files => /usr/local/etc/php
additional .ini files parsed => /usr/local/etc/php/extensions.ini

PHP API => 20020918
PHP Extension => 20020429
Zend Extension => 20021010
Debug Build => no
Thread Safety => disabled
Registered PHP Streams => php, http, ftp, compress.bzip2, compress.zlib
...
...
...
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any
questions about PHP licensing, please contact license at php.net.
Abort trap (core dumped)


I got trouble with the extension  recode too. With this modul I was not
able to
start any php script or apache. Only coredumps are thrown.
I removed this extension, now apache runs fine.
Probably I destroyed something for the CLI?
I've searched a while at google if those problems did occur to anybody
else, but I found nothing similar. :(

here a list of all extensions included in my php:
extension=bz2.so
extension=calendar.so
extension=crack.so
extension=ctype.so
extension=curl.so
extension=dio.so
extension=domxml.so
extension=exif.so
extension=fileinfo.so
extension=filepro.so
extension=ftp.so
extension=gd.so
extension=gettext.so
extension=gmp.so
extension=iconv.so
extension=imagick.so
extension=imap.so
extension=interbase.so
extension=ldap.so
extension=mbstring.so
extension=mcal.so
extension=mcrypt.so
extension=mhash.so
extension=ming.so
extension=mysql.so
extension=ncurses.so
extension=odbc.so
extension=openssl.so
extension=overload.so
extension=pcntl.so
extension=pcre.so
extension=pdf.so
extension=pgsql.so
extension=posix.so
extension=pspell.so
extension=readline.so
extension=session.so
extension=snmp.so
extension=sockets.so
extension=sysvmsg.so
extension=sysvsem.so
extension=sysvshm.so
extension=tokenizer.so
extension=xml.so
extension=xmlrpc.so
extension=xslt.so
extension=zip.so

and a small strace output from $php -i after the licensing thing:
...
munmap(0x28247000, 32768)               = 0
munmap(0x2824f000, 180224)              = 0
munmap(0x2827b000, 188416)              = 0
munmap(0x282a9000, 970752)              = 0
munmap(0x28396000, 53248)               = 0
munmap(0x283a3000, 192512)              = 0
munmap(0x283d2000, 1015808)             = 0
sigprocmask(SIG_SETMASK, [], NULL)      = 0
sigprocmask(SIG_BLOCK, ~[ILL TRAP ABRT EMT FPE BUS SEGV SYS], []) = 0
sigprocmask(SIG_SETMASK, [], NULL)      = 0
sigprocmask(SIG_BLOCK, ~[ILL TRAP ABRT EMT FPE BUS SEGV SYS], []) = 0
munmap(0x28244000, 12288)               = 0
sigprocmask(SIG_SETMASK, [], NULL)      = 0
sigprocmask(SIG_BLOCK, ~[ILL TRAP ABRT EMT FPE BUS SEGV SYS], []) = 0
sigprocmask(SIG_SETMASK, [], NULL)      = 0
sigprocmask(SIG_BLOCK, ~[ILL TRAP ABRT EMT FPE BUS SEGV SYS], []) = 0
munmap(0x28235000, 12288)               = 0
munmap(0x28238000, 49152)               = 0
sigprocmask(SIG_SETMASK, [], NULL)      = 0
sigprocmask(SIG_BLOCK, ~[ILL TRAP ABRT EMT FPE BUS SEGV SYS], []) = 0
sigprocmask(SIG_SETMASK, [], NULL)      = 0
sigprocmask(SIG_BLOCK, ~[ILL TRAP ABRT EMT FPE BUS SEGV SYS], []) = 0
munmap(0x2822e000, 28672)               = 0
sigprocmask(SIG_SETMASK, [], NULL)      = 0
sigprocmask(SIG_BLOCK, ~[ILL TRAP ABRT EMT FPE BUS SEGV SYS], []) = 0
sigprocmask(SIG_SETMASK, [], NULL)      = 0
sigprocmask(SIG_BLOCK, ~[ILL TRAP ABRT EMT FPE BUS SEGV SYS], []) = 0
munmap(0x2821a000, 16384)               = 0
munmap(0x2821e000, 65536)               = 0
sigprocmask(SIG_SETMASK, [], NULL)      = 0
sigprocmask(SIG_BLOCK, ~[ILL TRAP ABRT EMT FPE BUS SEGV SYS], []) = 0
sigprocmask(SIG_SETMASK, [], NULL)      = 0
sigprocmask(SIG_BLOCK, ~[ILL TRAP ABRT EMT FPE BUS SEGV SYS], []) = 0
munmap(0x2820f000, 45056)               = 0
sigprocmask(SIG_SETMASK, [], NULL)      = 0
sigprocmask(SIG_SETMASK, ~[ABRT], NULL) = 0
getpid()                                = 64489 (ppid 64488)
kill(64489, SIGABRT <unfinished ...>
--- SIGABRT (Abort trap) ---
--- SIGABRT (Abort trap) ---



gruss/regards

Andre

-- 

"And some greetings from the Toaster"
"Plata Verata Nectu"



More information about the freebsd-questions mailing list