From owner-freebsd-current@FreeBSD.ORG Tue Dec 18 12:21:48 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C1932B4 for ; Tue, 18 Dec 2012 12:21:48 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com [209.85.217.176]) by mx1.freebsd.org (Postfix) with ESMTP id B2CD38FC0A for ; Tue, 18 Dec 2012 12:21:47 +0000 (UTC) Received: by mail-lb0-f176.google.com with SMTP id k6so581069lbo.7 for ; Tue, 18 Dec 2012 04:21:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :subject:x-enigmail-version:content-type:content-transfer-encoding; bh=kLmBnq4Hw0FnEooQJQGVf5p/6sTfVUDbF9fJhXD5svE=; b=VTi8MzHB7FLQfhhOxhkKJlPRRkD3aCxftYJlYm8/KVmXCJq/Pzb+e63FHXmBAgl3cz H5QNQeT9fOGpJyBnY3qsWhkE9O5rkVhEFTo1po7IIAVDbD8r+lzcVIimP/XKwL+Hl4+k 1OapcrEE8000R/QGwA6m16FEU0+zynTEuXALJFSwmTJzIiBWhQh4DJOqab2j4ekIMdm/ 2D73b0V4vCVlBvJ+f2AMcZ4uL75f9g9yL7KvgMv2XKslOIwHXC7bZKsStQzfdS00v2gl H29oedtzcdR5K4xhL7/kuIHSfEfypYtOVa+TCuY3BfYR042t2movsmzBChPJsR/phOvV JvuQ== X-Received: by 10.112.40.101 with SMTP id w5mr770046lbk.74.1355833306382; Tue, 18 Dec 2012 04:21:46 -0800 (PST) Received: from ?IPv6:2001:980:d7ed:1:2d4f:965:7530:7eb7? ([2001:980:d7ed:1:2d4f:965:7530:7eb7]) by mx.google.com with ESMTPS id if8sm644930lab.1.2012.12.18.04.21.44 (version=SSLv3 cipher=OTHER); Tue, 18 Dec 2012 04:21:45 -0800 (PST) Sender: =?UTF-8?Q?Ren=C3=A9_Ladan?= Message-ID: <50D05FD6.7080008@freebsd.org> Date: Tue, 18 Dec 2012 13:21:42 +0100 From: =?ISO-8859-1?Q?Ren=E9_Ladan?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: current@freebsd.org Subject: protoc crash in libstdc++ X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 12:21:48 -0000 Hi, the following backtrace is from a crash that happened when building www/chromium with clang. The chromium port builds a binary protoc which crashes when built with clang. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 802006400 (LWP 100869)] 0x0000000800996506 in std::ostream::sentry::sentry(std::ostream&) () from /usr/lib/libstdc++.so.6 (gdb) bt #0 0x0000000800996506 in std::ostream::sentry::sentry(std::ostream&) () from /usr/lib/libstdc++.so.6 #1 0x00000008009964cd in std::basic_ostream::sentry::sentry (this=0x7fffffffcf88, __os=...) at /usr/include/c++/4.2/ostream:62 #2 0x0000000800998a4b in std::__ostream_insert > (__out=..., __s=0x485df0 "Missing input file.", __n=19) at /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include/bits/ostream_insert.h:83 #3 0x000000000040592c in operator<< > (this=, __out=..., __out=..., __s=) at /usr/include/c++/4.2/ostream:517 #4 google::protobuf::compiler::CommandLineInterface::ParseArguments (this=, argc=1, argv=0x7fffffffd640) at third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:790 #5 0x00000000004048b0 in google::protobuf::compiler::CommandLineInterface::Run (this=0x7fffffffd4d0, argc=-12408, argv=0x7fffffffcf88) at third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:588 #6 0x0000000000432957 in main (argc=-12408, argv=0x7fffffffcf88) at third_party/protobuf/src/google/protobuf/compiler/main.cc:59 (gdb) frame 2 #2 0x0000000800998a4b in std::__ostream_insert > (__out=..., __s=0x485df0 "Missing input file.", __n=19) at /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include/bits/ostream_insert.h:83 83 (gdb) list 78 __ostream_insert(basic_ostream<_CharT, _Traits>& __out, 79 const _CharT* __s, streamsize __n) 80 { 81 typedef basic_ostream<_CharT, _Traits> __ostream_type; 82 typedef typename __ostream_type::ios_base __ios_base; 83 84 typename __ostream_type::sentry __cerb(__out); ... So the question is if this is a protoc or a clang or a libstdc++ bug. René