From owner-freebsd-questions@FreeBSD.ORG Thu Aug 5 14:32:14 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F333A16A4CE for ; Thu, 5 Aug 2004 14:32:13 +0000 (GMT) Received: from juergen.edv-winter.de (juergen.edv-winter.de [195.226.65.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AD2D43D55 for ; Thu, 5 Aug 2004 14:32:12 +0000 (GMT) (envelope-from ar@ra23.net) Received: from localhost (localhost [127.0.0.1])i75EWA0w069748 for ; Thu, 5 Aug 2004 16:32:10 +0200 (CEST) (envelope-from ar@ra23.net) Date: Thu, 5 Aug 2004 16:32:10 +0200 (CEST) From: Andre Rein X-X-Sender: ar@juergen.edv-winter.de To: freebsd-questions@freebsd.org Message-ID: <20040805161217.I21218@juergen.edv-winter.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: problems with php 4.3.8 (long) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2004 14:32:14 -0000 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@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 --- SIGABRT (Abort trap) --- --- SIGABRT (Abort trap) --- gruss/regards Andre -- "And some greetings from the Toaster" "Plata Verata Nectu"