From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 31 11:57:49 2014 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 618702AA for ; Wed, 31 Dec 2014 11:57:49 +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 488D264FA7 for ; Wed, 31 Dec 2014 11:57:49 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBVBvnva039739 for ; Wed, 31 Dec 2014 11:57:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 196399] New: MariaDB deamon segfaults when built with clang 3.4 on 10.1-i386 Date: Wed, 31 Dec 2014 11:57:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: spil.oss@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2014 11:57:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196399 Bug ID: 196399 Summary: MariaDB deamon segfaults when built with clang 3.4 on 10.1-i386 Product: Base System Version: 10.1-RELEASE Hardware: i386 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: spil.oss@gmail.com When MariaDB (10.0.14/10.0.15 confirmed by committer, 5.5 reported) is built on FreeBSD 10.1 with base clang 3.4 the daemon will segfault when a client connects. This does NOT occur on amd64 This does NOT occur when building with clang 3.3 from ports This DOES occur when building with clang 3.4 from base This DOES occur when building with clang 3.5 from ports This does NOT occur on FreeBSD 10.0 with clang 3.3 from base This does NOT occur when built in Poudriere (10.0 jail) Coredump, backtrace, binary available. From: spil.oss@gmail.com To: maria-developers@lists.launchpad.net subject: mysqld 10.0.15 segfaults on FreeBSD i386 clang 3.4 >Description: When MariaDB is built with clang 3.4 on FreeBSD i386 (which is the default compiler) the server will segfault the moment a client connects to it. Same behaviour is observed with clang 3.5. Built with clang 3.3 on 10.1 runs without segfaults. Built on FreeBSD 10.0 (which comes with clang 3.3) runs OK. >How-To-Repeat: Use FreeBSD 10.1 i386 Use port to build MariaDB 10.0 or 5.5 Connect to server using client >Fix: Build with clang 3.3 or build using Pourdiere (uses 10.0 jail) >Submitter-Id: >Originator: Bernard Spil >Organization: FreeBSD MariaDB 10.0 port committer >MySQL support: none >Synopsis: MariaDB segfaults on i386 FreeBSD >Severity: non-critical >Priority: low >Category: mysql >Class: sw-bug >Release: mysql-10.0.15 (FreeBSD Ports) >C compiler: clang 3.4 >C++ compiler: clang 3.4 >Environment: FreeBSD 10.1 GENERIC i386 Celeron U4100 Dual Core 4GB System: FreeBSD i386bsd 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 22:51:51 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 Some paths: /usr/bin/perl /usr/bin/make /usr/local/bin/gmake /usr/bin/cc Compilation info (call): CC='/usr/bin/cc' CFLAGS='-O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -g -DNDEBUG -DDBUG_OFF' CXX='/usr/bin/c++' CXXFLAGS='-O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -g -DNDEBUG -DDBUG_O FF' LDFLAGS='' ASFLAGS='' Compilation info (used): CC='/usr/bin/cc' CFLAGS='-O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -g -DNDEBUG -DDBUG_OFF' CXX='/usr/bin/c++' CXXFLAGS='-O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -g -DNDEBUG -DDBUG_O FF' LDFLAGS='' ASFLAGS='' LIBC: -r--r--r-- 1 root wheel 1427444 Nov 11 23:52 /lib/libc.so.7 -r--r--r-- 1 root wheel 2833712 Nov 11 23:52 /usr/lib/libc.a -r--r--r-- 1 root wheel 166 Nov 11 23:52 /usr/lib/libc.so Perl: This is perl 5, version 18, subversion 4 (v5.18.4) built for i386-freebsd-thread-multi-64int -- You are receiving this mail because: You are the assignee for the bug.