From owner-freebsd-x11@FreeBSD.ORG Sat May 19 03:27:37 2012 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D068106566C for ; Sat, 19 May 2012 03:27:37 +0000 (UTC) (envelope-from execve@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id C611F8FC15 for ; Sat, 19 May 2012 03:27:36 +0000 (UTC) Received: by obcni5 with SMTP id ni5so6406885obc.13 for ; Fri, 18 May 2012 20:27:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=EKx6iBPx/FVlu0bkt5AZiwyTY8XC1qtlQtSK7n4HGEM=; b=O5O3ppUJBvRdD++T0DZqC9Of7uSjrvLqiTuhAsDpWMIpRouaTWdr6MgQSwTflOA5ZB 7ajVM/iEIXCsx1l19o1U83cxbScZvTZc/npBZ7LQSqL+P0DyB4RuQ9fvjflBoRnlzUhm jZ1UxSYvfEXJsnnl6AcknomYOBI1xEIJ6VeP7YU0EPRabjAy0Ox5P+CD4jWA7jwnY3fT PZPSXTg2efeVemVaFKVy9eM34OOeN4bUSiBeu3QL4d2dlxaegLmpTd4zrR0omw3qV2YG buBvUKBZrOiN1kTogHUx4CNVd9Jsy9e12cItiapf4Un/O/FlDTT+iu9XreJYDmX27A74 Re6A== MIME-Version: 1.0 Received: by 10.50.196.195 with SMTP id io3mr2319128igc.39.1337398056171; Fri, 18 May 2012 20:27:36 -0700 (PDT) Sender: execve@gmail.com Received: by 10.231.46.7 with HTTP; Fri, 18 May 2012 20:27:36 -0700 (PDT) Date: Sat, 19 May 2012 08:57:36 +0530 X-Google-Sender-Auth: zQu-FisTzG0prB6ZGaQpYe-ZERA Message-ID: From: Gautam To: freebsd-x11@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: New Xorg crashes when built with clang X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 May 2012 03:27:37 -0000 Hi, I am running 9/stable with a clang world+kernel and also with all ports built with clang where possible. I am running xfce and when I click on the firefox launcher, X freezes -- I get a bizzare range of colours and it seems that the X server has crashed. The machine is still responsive via the network, I am able to ssh etc. I finally isolated the culprit to x11-servers/xorg-server which works fine when I build it with base gcc, but has this bad behaviour when I build it with clang. uname -a FreeBSD mellon 9.0-STABLE FreeBSD 9.0-STABLE #0 r235508M: Thu May 17 12:07:49 IST 2012 root@mellon:/usr/obj/usr/src/sys/MYKERNEL amd64 MYKERNEL only has ACPI_DEBUG enabled on top of GENERIC. Please note that I am using the drm-all.13.7-stable9.1.patch on top of r235508. I have uploaded a tarball containing the required configuration files, logs as well as sysctl dumps. http://www.execve.net/showcase/x.crash.18052012_01/xcrash.txz $ tar Jtf xcrash.txz clangports.conf # ports configured with gcc go here hw.dri.0.info_after.txt # before the crash. hw.dri.0.info_before.txt # after the crash via another ssh conn make.conf messages # after dri.debug=3 pciconf-lvb.txt src.conf Xorg.0.log.old I could not find a core file from Xorg, but the Xorg.log file does indicate a SEGV. Any idea on this problem? Do let me know if any further information is required; The problem is fully reproducible. Thanks in advance! Gautam