From owner-freebsd-gecko@FreeBSD.ORG Fri Apr 5 01:34:38 2013 Return-Path: Delivered-To: gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1E8027EE; Fri, 5 Apr 2013 01:34:38 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by mx1.freebsd.org (Postfix) with ESMTP id 6A80393A; Fri, 5 Apr 2013 01:34:37 +0000 (UTC) Received: by mail-lb0-f181.google.com with SMTP id r11so3275126lbv.40 for ; Thu, 04 Apr 2013 18:34:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=b8RsNGtdlaCYOH4hA7axdONgweLcJyGd03SdqpA9j6Q=; b=I4OLgyhznD/RUPy0LouMFJL7GDWDtfyfq/S/ZIvYYIZpD9hWXk17II1Plo3OQ4VtTc UhB9HUA1VSrw0jwViJmL82TpX8ejQYFa1PqWMvDFdTsRzsloIUm4BHRbHIwvgbpfP47i ReDt8H/P+Im5bbcOWhEeGEGoQ5HWHZzVZzuqz/dX0JOWJwpEU+JhReYxPwGYlMd51snD kfQYc4K/MLBk5c/vI2HdL3T4cgvHGkS3lv2J585Jych0ZPLhJT6jkeMXjPr+qzBFvklN MM0YhFCm+fx5u3e9BRyJGOs5D5QT1L9zd2P+qkoUcAoEPRPnZlufIAd9xzdp7YttoRbv zMlQ== MIME-Version: 1.0 X-Received: by 10.152.113.34 with SMTP id iv2mr4782611lab.20.1365125675896; Thu, 04 Apr 2013 18:34:35 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.146.135 with HTTP; Thu, 4 Apr 2013 18:34:35 -0700 (PDT) In-Reply-To: <1UNsb3-000IEE-LH@internal.tormail.org> References: <1UNsb3-000IEE-LH@internal.tormail.org> Date: Thu, 4 Apr 2013 18:34:35 -0700 X-Google-Sender-Auth: URfDzISlqcPCg3Nik-GW2ucCs90 Message-ID: Subject: Re: firefox 19.0,2 crashing under FreeBSD 8 From: Craig Rodrigues To: Jan Beich Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: gecko@freebsd.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Apr 2013 01:34:38 -0000 On Thu, Apr 4, 2013 at 3:24 PM, Jan Beich wrote: > Craig Rodrigues writes: > > > Stacktrace 2: > > > > (gdb) where > > #0 0x282e95f2 in flockfile () from /lib/libc.so.7 > > #1 0x282defb0 in vfprintf () from /lib/libc.so.7 > > #2 0x282cfd3e in fprintf () from /lib/libc.so.7 > > #3 0x282ec43a in .cerror () from /lib/libc.so.7 > > #4 0x283289a8 in __JCR_LIST__ () from /usr/local/lib/libffi.so.6 > > #5 0x28326fb7 in ffi_call_SYSV () from /usr/local/lib/libffi.so.6 > > #6 0x28326dee in ffi_call () from /usr/local/lib/libffi.so.6 > > #7 0x2a37c3dd in JS_SetCTypesCallbacks () > > from /usr/local/lib/firefox/libxul.so > > #8 0x333e1740 in ?? () > > #9 0x338b0ed4 in issetugid () from /usr/local/lib/compat/libc.so.6 > > Can you show what's linked against libc.so.6 from misc/compat6x ? > For example, > > $ ldd -a /usr/local/lib/firefox/libxul.so > Take a look at: http://people.freebsd.org/~rodrigc/qqq.txt.bz2 I don't see libc.so.6 anywhere in there, so I don't know how it could have gotten into the stack trace, unless the stack trace is mangled due to stack corruption. > > > I saw in this thread: > > > > > http://lists.freebsd.org/pipermail/freebsd-ports/2013-February/081567.html > > > > That patching clang helped fix some stack issues with Firefox. > > > > Is this solution applicable to FreeBSD 8? > > On FreeBSD 8, the firefox port is built with g++46, not clang. > > At this time only base clang is considered but during firefox 19 > lang/clang* could be picked up by default. > In ports/www/firefox/Makefile, there is this: .if ${PORT_OPTIONS:MPGO} USE_GCC?= yes USE_DISPLAY= yes I don't know if that triggers things, but I do, cd /usr/ports/www/firefox make -V USE_GCC I get: 4.6+ -- Craig