From owner-freebsd-current@FreeBSD.ORG Thu Dec 13 21:58:56 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 97F6558A; Thu, 13 Dec 2012 21:58:56 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) by mx1.freebsd.org (Postfix) with ESMTP id 114938FC0A; Thu, 13 Dec 2012 21:58:56 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 30E1C4000C; Thu, 13 Dec 2012 22:58:54 +0100 (CET) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id 26B3A4000A; Thu, 13 Dec 2012 22:58:54 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.3.1 X-Spam-Score: 0.0 Received: from mx.daemonic.se (h-45-105.a163.priv.bahnhof.se [94.254.45.105]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id AE4B440009; Thu, 13 Dec 2012 22:58:53 +0100 (CET) Received: from mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) by mx.daemonic.se (Postfix) with ESMTPS id 3YMpgd221Cz8hVn; Thu, 13 Dec 2012 22:58:53 +0100 (CET) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mx.daemonic.se ([IPv6:2001:470:dca9:0:1::3]) (using TLS with cipher CAMELLIA256-SHA) by mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) (amavisd-new, port 10025) with ESMTPS id 8wx0Sd5453CC; Thu, 13 Dec 2012 22:58:51 +0100 (CET) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2001:470:dca9:0:1::4]) by mx.daemonic.se (Postfix) with ESMTPS id 3YMpgb15VDz8hVm; Thu, 13 Dec 2012 22:58:51 +0100 (CET) Received: from vivi.daemonic.se (vivi.daemonic.se [10.32.0.4]) by mail.daemonic.se (Postfix) with ESMTPSA id 3YMpgb0SWNz9Ctj; Thu, 13 Dec 2012 22:58:51 +0100 (CET) Message-ID: <50CA4F99.3060106@freebsd.org> Date: Thu, 13 Dec 2012 22:58:49 +0100 From: Niclas Zeising User-Agent: Mutt/1.5.21 MIME-Version: 1.0 To: Johannes Dieterich Subject: Re: new xorg segfault 11 with KMS References: <50CA4A58.7070109@FreeBSD.org> <50CA4D3D.3040401@gmail.com> In-Reply-To: <50CA4D3D.3040401@gmail.com> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-current@freebsd.org, Dimitry Andric 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: Thu, 13 Dec 2012 21:58:56 -0000 On 12/13/12 22:48, Johannes Dieterich wrote: > On 12/13/12 16:36, Dimitry Andric wrote: >> On 2012-12-13 21:49, Johannes Dieterich wrote: >>> I lately see xorg segfault 11s with CURRENT, WITH_NEW_XORG=yes and >>> WITH_KMS=yes. Interestingly, gdm loads fine but xfce4 at login directly >>> causes the segfault (log attached), gnome survives a bit longer but >>> starting any bigger application (e.g. firefox) causes it to crash with >>> the >>> same log. >>> >>> I have a Xorg.core file, but since it is without debug symbols the >>> backtrace makes little sense to me. >> >> Please post the backtrace anyway. :-) Or recompile xorg-server with >> WITH_DEBUG=yes in your environment, and reproduce the crash. > Here we go: > > I also rebuild xorg with debug enabled. Interestingly, I cannot > reproduce the crash anymore. Either I forgot to rebuild something (seems > unlikely) or the crash has to do with optimizations or flags not present > in a debug build. This is not unlikely. There are probably places in the X codebase which depends on gcc specific behavior, or undefined behavior, by accident or by chance. Regards -- Niclas Zeising