From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 23 02:29:21 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F3D44365 for ; Mon, 23 Feb 2015 02:29:20 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DA4F39CF for ; Mon, 23 Feb 2015 02:29:20 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1N2TKPK033266 for ; Mon, 23 Feb 2015 02:29:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 197941] mail/cclient segmentation fault Date: Mon, 23 Feb 2015 02:29:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: benfell@parts-unknown.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2015 02:29:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197941 Bug ID: 197941 Summary: mail/cclient segmentation fault Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: benfell@parts-unknown.org I have documented my tale of woe at https://parts-unknown.org/wp/2015/02/22/my-web-sites-are-mostly-down/ php-fpm (under lang/php55) was failing to start, complaining of a segmentation fault. After (mostly) ruling out a memory defect and discovering that I could only find instances of segmentation faults associated with apache24 and httpd, I eventually ran gdb on php-fpm and obtained: Program received signal SIGSEGV, Segmentation fault. 0x000000080a9903e8 in hash_lookup () from /usr/local/lib/libc-client4.so.9 When I removed the php55-imap extension, php-fpm started successfully and my sites now seem to be running. You may have difficulty reproducing this. The bug only appears on one, not both, of my systems. Following a suggestion on the freebsd-questions list, I obtained the following. vegan is the newer, bigger system and is the system on which I encountered the problem. home is my older system; the problem does not appear on it: [benfell@home ~]% grep Features /var/run/dmesg.boot Features=0xbfebfbff Features2=0x7fdafbbf,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> AMD Features=0x2c100800 AMD Features2=0x21 Structured Extended Features=0x27ab XSAVE Features=0x1 Features=0xbfebfbff Features2=0x7fdafbbf,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> AMD Features=0x2c100800 AMD Features2=0x21 Structured Extended Features=0x27ab XSAVE Features=0x1 Now the newer machine: vegan# grep Features /var/run/dmesg.boot Features=0xbfebfbff Features2=0x7ffafbff,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> AMD Features=0x2c100800 AMD Features2=0x21 Structured Extended Features=0x27ab XSAVE Features=0x1 Features=0xbfebfbff Features2=0x7ffafbff,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> AMD Features=0x2c100800 AMD Features2=0x21 Structured Extended Features=0x27ab XSAVE Features=0x1 Perhaps a diff will help: [benfell@vegan ~]% diff -u Features.home Features.vegan --- Features.home 2015-02-22 17:09:32.000000000 -0800 +++ Features.vegan 2015-02-22 17:09:01.000000000 -0800 @@ -1,15 +1,13 @@ -[benfell@home ~]% grep Features /var/run/dmesg.boot +vegan# grep Features /var/run/dmesg.boot Features=0xbfebfbff - Features2=0x7fdafbbf,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> + Features2=0x7ffafbff,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> AMD Features=0x2c100800 AMD Features2=0x21 - Structured Extended -Features=0x27ab + Structured Extended Features=0x27ab XSAVE Features=0x1 Features=0xbfebfbff - Features2=0x7fdafbbf,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> + Features2=0x7ffafbff,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> AMD Features=0x2c100800 AMD Features2=0x21 - Structured Extended -Features=0x27ab + Structured Extended Features=0x27ab XSAVE Features=0x1 Another suggestion that came up on the list was that it might be related to https://bugs.php.net/bug.php?id=66313&edit=3 , however, that applies to the php-recode extension. I'm new at this; please let me know if there's anything else I can or should do. -- You are receiving this mail because: You are the assignee for the bug.