From owner-freebsd-ports@FreeBSD.ORG Mon Jul 23 13:37:15 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AE9F3106564A for ; Mon, 23 Jul 2012 13:37:15 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 30DBA8FC08 for ; Mon, 23 Jul 2012 13:37:15 +0000 (UTC) Received: by lbon10 with SMTP id n10so10011742lbo.13 for ; Mon, 23 Jul 2012 06:37:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=ZTxWZdJ64VASkClQ5KQ7VWeu0fx37o/6W5NJSlOfXLE=; b=Rogd9w6knI4YU56ldvQSjbEMNefRHNQWcPohFy3BXPQvPi6+/xPbb5nvsH/oqwxIUf brhUaIJSm+Tp0PD50d11kjolGezsdxBB7j9Xb9ck0zl7btfL6P3ygUyEleyTv5Ldbj7O Da67Tq+NZS6xgwInSIwyyF1elXU6CWa/FvHgLMERsXoPen7XopdXDnG+p2oy/s/mxSmB jelwpVs1N3hycPab/Oy+P3norj5dpvM6lzZJaQ+fEjTvQisJynvzx0OgMDZv4HVz+dXz avX4uUyPAM/FkVJoHYUBRfvc5OyS+lRAoOI2WnHEvhLBgxNHvxNJzgP+ieLr/9luBjAe tnnw== Received: by 10.112.83.198 with SMTP id s6mr7634833lby.76.1343050633983; Mon, 23 Jul 2012 06:37:13 -0700 (PDT) Received: from green.tandem.local (utwig.xim.bz. [91.216.237.46]) by mx.google.com with ESMTPS id ta2sm13534614lab.15.2012.07.23.06.37.11 (version=SSLv3 cipher=OTHER); Mon, 23 Jul 2012 06:37:12 -0700 (PDT) Message-ID: <500D5385.9030407@gmail.com> Date: Mon, 23 Jul 2012 16:37:09 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120605 Firefox/12.0 SeaMonkey/2.9.1 MIME-Version: 1.0 To: ports@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: lang/php53 dumps core X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 13:37:15 -0000 Hi all. On some of my servers php keeps dumping core on some requests. There are days that it dumps core almost continuously. However there are days it works smoothly. FreeBSD kohrah.xim.bz 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0 r236967: Tue Jun 12 22:25:24 EEST 2012 arcade@kohrah.xim.bz:/usr/obj/usr/src/sys/MINIMAL amd64 The general cause is: Jul 23 16:27:09 kohrah kernel: pid 49951 (php-fpm), uid 80: exited on signal 11 (core dumped) And in very rare case: [23-Jul-2012 16:26:40] WARNING: [pool www] child 49887 said into stderr: "zend_mm_heap corrupted" [23-Jul-2012 16:26:40] WARNING: [pool www] child 49887 exited with code 1 after 36.791579 seconds from start There's a backtrace on the core: #0 0x000000000056b9fe in gc_zval_possible_root () [New Thread 802007400 (LWP 149340/php-fpm)] (gdb) bt full #0 0x000000000056b9fe in gc_zval_possible_root () No symbol table info available. #1 0x000000000055ce83 in zend_hash_destroy () No symbol table info available. #2 0x000000000056f79e in zend_objects_free_object_storage () No symbol table info available. #3 0x0000000000572757 in zend_objects_store_free_object_storage () No symbol table info available. #4 0x00000000005465eb in shutdown_executor () No symbol table info available. #5 0x0000000000552400 in zend_deactivate () No symbol table info available. #6 0x0000000000506506 in php_request_shutdown () No symbol table info available. #7 0x00000000005d0548 in main () No symbol table info available. What other data I should collect to file a PR? Or is this just a memory problem? -- Sphinx of black quartz judge my vow.