From owner-freebsd-chromium@FreeBSD.ORG Thu May 22 18:35:48 2014 Return-Path: Delivered-To: freebsd-chromium@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B4D8B9FF for ; Thu, 22 May 2014 18:35:48 +0000 (UTC) Received: from lena.kiev.ua (lena.kiev.ua [82.146.51.205]) (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 7987B2E66 for ; Thu, 22 May 2014 18:35:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lena.kiev.ua; s=3; h=In-Reply-To:Content-Type:Mime-Version:References:Message-ID:Subject:To:From:Date; bh=RIXATmmp1l2nyQdwYDII9286Trogy/yg2+UCpx+lJMI=; b=U/CnesDi5AWEIzfQHDFCjBQWroBufTvh6BjGjwJKnBpJPD8BjgVZlDEooqhgBOr9of0vz8eiTcApxSW/OP18Q+ifsDCMcsi9jHYDMwYNKvwXF75V4mAgYHgmtlew4Fv8wvefeOmT0GdKe5QVxgQ2Hpv2bwPdbm3YL4SkYCx43uU=; Received: from ip-384c.rusanovka-net.kiev.ua ([94.244.56.76] helo=bedside.lena.kiev.ua) by lena.kiev.ua with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.82 (FreeBSD)) (envelope-from ) id 1WnXqf-0004TG-F1 for freebsd-chromium@freebsd.org; Thu, 22 May 2014 21:36:13 +0300 Received: from bedside.lena.kiev.ua (localhost.lena.kiev.ua [127.0.0.1]) by bedside.lena.kiev.ua (8.14.8/8.14.8) with ESMTP id s4MIZgeH084637 for ; Thu, 22 May 2014 21:35:42 +0300 (EEST) (envelope-from Lena@lena.kiev.ua) Received: (from lena@localhost) by bedside.lena.kiev.ua (8.14.8/8.14.8/Submit) id s4MIZgI3084636 for freebsd-chromium@freebsd.org; Thu, 22 May 2014 21:35:42 +0300 (EEST) (envelope-from Lena@lena.kiev.ua) Date: Thu, 22 May 2014 21:35:42 +0300 From: Lena@lena.kiev.ua To: freebsd-chromium@freebsd.org Subject: Re: Chromium 34.0.1847.132 Segmentation fault Message-ID: <20140522183542.GS16188@lena.kiev> Mail-Followup-To: freebsd-chromium@freebsd.org References: <20140520194707.GE13426@lena.kiev> <20140522183300.GB789@lena.kiev> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140522183300.GB789@lena.kiev> User-Agent: Mutt/1.4.2.3i X-BeenThere: freebsd-chromium@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD-specific Chromium issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2014 18:35:48 -0000 > Build of 35.0.1916.114 with lang/gcc on i386 initially failed, > patches similar to > http://svnweb.freebsd.org/ports?view=revision&revision=353447 > attached. > > 8.4-RELEASE i386 - the same segfault at start: > > (gdb) bt > #0 0x2e1c0f64 in getframeaddr () from /usr/local/lib/libexecinfo.so.1 > #1 0x2e1bcb21 in backtrace () from /usr/local/lib/libexecinfo.so.1 > #2 0x087f4e4a in std::string::_S_construct () > #3 0x08a70a11 in std::basic_string, std::allocator >::basic_string<__gnu_cxx::__normal_iterator > () > #4 0x089a9498 in std::basic_string, std::allocator >::basic_string<__gnu_cxx::__normal_iterator > () > #5 0x089a8a64 in std::basic_string, std::allocator >::basic_string<__gnu_cxx::__normal_iterator > () > #6 0x33ba0870 in ?? () > #7 0x318c2384 in ?? () > #8 0x00000000 in ?? () > (gdb) Patches were stripped out by Mailman. Here they are: --- media/cast/rtcp/rtcp.cc.orig 2014-05-14 22:23:34.000000000 +0300 +++ media/cast/rtcp/rtcp.cc 2014-05-22 14:16:27.000000000 +0300 @@ -362,7 +362,7 @@ int64 rtp_time_diff_ms = rtp_timestamp_diff / frequency_khz; // Sanity check. - if (std::abs(rtp_time_diff_ms) > kMaxDiffSinceReceivedRtcpMs) + if (std::labs(rtp_time_diff_ms) > kMaxDiffSinceReceivedRtcpMs) return false; *rtp_timestamp_in_ticks = ConvertNtpToTimeTicks(last_received_ntp_seconds_, --- net/quic/congestion_control/rtt_stats.cc.orig 2014-05-14 22:22:13.000000000 +0300 +++ net/quic/congestion_control/rtt_stats.cc 2014-05-22 11:22:18.000000000 +0300 @@ -63,7 +63,7 @@ } else { mean_deviation_ = QuicTime::Delta::FromMicroseconds( kOneMinusBeta * mean_deviation_.ToMicroseconds() + - kBeta * std::abs(smoothed_rtt_.Subtract(rtt_sample).ToMicroseconds())); + kBeta * std::labs(smoothed_rtt_.Subtract(rtt_sample).ToMicroseconds())); smoothed_rtt_ = smoothed_rtt_.Multiply(kOneMinusAlpha).Add( rtt_sample.Multiply(kAlpha)); DVLOG(1) << "Cubic; smoothed_rtt(us):" << smoothed_rtt_.ToMicroseconds() --- third_party/webrtc/modules/video_coding/main/source/receiver.cc.orig 2014-05-14 22:24:36.000000000 +0300 +++ third_party/webrtc/modules/video_coding/main/source/receiver.cc 2014-05-22 11:31:18.000000000 +0300 @@ -158,12 +158,12 @@ // Assume that render timing errors are due to changes in the video stream. if (next_render_time_ms < 0) { timing_error = true; - } else if (std::abs(next_render_time_ms - now_ms) > max_video_delay_ms_) { + } else if (std::labs(next_render_time_ms - now_ms) > max_video_delay_ms_) { WEBRTC_TRACE(webrtc::kTraceWarning, webrtc::kTraceVideoCoding, VCMId(vcm_id_, receiver_id_), "This frame is out of our delay bounds, resetting jitter " "buffer: %d > %d", - static_cast(std::abs(next_render_time_ms - now_ms)), + static_cast(std::labs(next_render_time_ms - now_ms)), max_video_delay_ms_); timing_error = true; } else if (static_cast(timing_->TargetVideoDelay()) >