From owner-freebsd-questions@FreeBSD.ORG Mon Jan 29 21:22:38 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6D09316A403 for ; Mon, 29 Jan 2007 21:22:38 +0000 (UTC) (envelope-from wodfer@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.235]) by mx1.freebsd.org (Postfix) with ESMTP id 2F20E13C48E for ; Mon, 29 Jan 2007 21:22:37 +0000 (UTC) (envelope-from wodfer@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so1437339nzh for ; Mon, 29 Jan 2007 13:22:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=uHhIfmEjw9mqSBscYDFk75XZ9bxPSfDfjVM08E0a8x8TrVlSsxM/0gQkJ12oUwsonI55TwUqPSVAerEUfFT3jTCNuF+voXf/fSlwWsJiILPARZVkn2oLYqi3OXgiE61T/odWJsWs1K2+V40r4OW4S3pqmrsOygs+ftVrOJ3uUo0= Received: by 10.115.78.1 with SMTP id f1mr308755wal.1170105754870; Mon, 29 Jan 2007 13:22:34 -0800 (PST) Received: by 10.114.193.12 with HTTP; Mon, 29 Jan 2007 13:22:34 -0800 (PST) Message-ID: <23ed14b80701291322q18a88841q7bed0afc710d79e6@mail.gmail.com> Date: Mon, 29 Jan 2007 22:22:34 +0100 From: "=?ISO-8859-1?Q?Andreas_Wider=F8e_Andersen?=" To: freebsd-questions MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Need help: Zend Optimizer breaks Apache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2007 21:22:38 -0000 Hi, I'm having big problems getting the Zend Optimizer to work. I'm on FreeBSD 6.2 with PHP 5.2 installed and Apache 1.3.37. I install the Zend Optimizer from ports and the current version is 3.22 (allthough my problems have been around since I first tried this port at version 3.01). Here's my backtrace: # gdb /usr/local/sbin/httpd GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)... (gdb) r -X Starting program: /usr/local/sbin/httpd -X (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... Program received signal SIGSYS, Bad system call. 0x2812ae17 in shmget () from /lib/libc.so.6 (gdb) bt #0 0x2812ae17 in shmget () from /lib/libc.so.6 #1 0x28e6b1ef in get_module () from /usr/local/lib/php/20060613/Optimizer/php-5.2.x/ZendOptimizer.so #2 0x00000000 in ?? () #3 0x00080000 in ?? () #4 0x00000180 in ?? () #5 0x28ee9dd8 in ?? () from /usr/local/lib/php/20060613/Optimizer/php-5.2.x /ZendOptimizer.so #6 0x284a6970 in ?? () from /usr/local/libexec/apache/libphp5.so #7 0xbfbfe4b4 in ?? () #8 0x280859a1 in _rtld_bind () from /libexec/ld-elf.so.1 Previous frame inner to this frame (corrupt stack?) Any ideas of what's going wrong here? Thanks, Andreas