From owner-freebsd-x11@FreeBSD.ORG Mon May 21 10:10:44 2012 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F4EE1065707 for ; Mon, 21 May 2012 10:10:44 +0000 (UTC) (envelope-from execve@gmail.com) Received: from mail-gh0-f182.google.com (mail-gh0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 541398FC08 for ; Mon, 21 May 2012 10:10:44 +0000 (UTC) Received: by ghbz22 with SMTP id z22so416832ghb.13 for ; Mon, 21 May 2012 03:10:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=Gzmo/GNOTttBAqjEoaf/u74hXvNgVGLcM0l+6hW1BH4=; b=dpUWufx0Yo8wRibh5qUqBXeATv17jTGWuQxtKopxfDdP8XTQ/fEZwKu8tRNAfdHPxY sXPAxnbeHRG5jKFXB70xyHj65ydpuvMEwe/JP/sZekLNbUTpIB2YRoD8qGpFolE7cUL8 Q6kAFDV7rqbV8LM2jYLazbqGUERv414ePAXggB/8cjhgjHNaq+hIj3SX9paIv8PH8+4p R7JAL8p7b6VlfsRE/ro9VU3kp0qiBmbsqInNqbPVI5npMAzYnifqu8hmuJCHKLvk3Qmb 4gU2vTn0h8flecobZ+fpnxCs0J4HPOlxjZJGWBycomyPXSSeOS0LYvqpMe7jnCHTDVux ukMg== MIME-Version: 1.0 Received: by 10.50.217.193 with SMTP id pa1mr6094584igc.39.1337595038038; Mon, 21 May 2012 03:10:38 -0700 (PDT) Sender: execve@gmail.com Received: by 10.231.46.7 with HTTP; Mon, 21 May 2012 03:10:37 -0700 (PDT) In-Reply-To: <4FB9D9E2.4040206@gmail.com> References: <4FB9D9E2.4040206@gmail.com> Date: Mon, 21 May 2012 15:40:37 +0530 X-Google-Sender-Auth: Vhzv1MC6nrGam_IbSi_nTpUsMJg 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: Re: 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: Mon, 21 May 2012 10:10:44 -0000 Hi, On Mon, May 21, 2012 at 11:30 AM, Volodymyr Kostyrko wrote: > Gautam wrote: > >> 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. >> > > sysctl kern.sugid_coredump=1, probably. > > > Thanks, I wasnt aware of this feature :). The backtrace now looks like; any idea on what the problem could be? # gdb /usr/local/bin/Xorg Xorg.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)... Core was generated by `Xorg'. Program terminated with signal 6, Aborted. Reading symbols from /usr/local/lib/libhal.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libhal.so.1 Reading symbols from /usr/local/lib/libdbus-1.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libdbus-1.so.3 Reading symbols from /lib/libcrypto.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypto.so.6 Reading symbols from /usr/local/lib/libpciaccess.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libpciaccess.so.0 Reading symbols from /usr/local/lib/libpixman-1.so.9...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libpixman-1.so.9 Reading symbols from /usr/local/lib/libXfont.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXfont.so.1 Reading symbols from /usr/local/lib/libfreetype.so.9...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libfreetype.so.9 Reading symbols from /usr/lib/libbz2.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libbz2.so.4 Reading symbols from /usr/local/lib/libfontenc.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libfontenc.so.1 Reading symbols from /lib/libz.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.6 Reading symbols from /usr/local/lib/libXau.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXau.so.6 Reading symbols from /usr/local/lib/libXdmcp.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXdmcp.so.6 Reading symbols from /usr/lib/librpcsvc.so.5...(no debugging symbols found)...done. Loaded symbols for /usr/lib/librpcsvc.so.5 Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/lib/xorg/modules/extensions/libextmod.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/xorg/modules/extensions/libextmod.so Reading symbols from /usr/local/lib/xorg/modules/extensions/librecord.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/xorg/modules/extensions/librecord.so Reading symbols from /usr/local/lib/xorg/modules/extensions/libdbe.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/xorg/modules/extensions/libdbe.so Reading symbols from /usr/local/lib/xorg/modules/extensions/libglx.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/xorg/modules/extensions/libglx.so Reading symbols from /usr/local/lib/xorg/modules/extensions/libdri.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/xorg/modules/extensions/libdri.so Reading symbols from /usr/local/lib/libdrm.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libdrm.so.2 Reading symbols from /usr/local/lib/xorg/modules/extensions/libdri2.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/xorg/modules/extensions/libdri2.so Reading symbols from /usr/local/lib/xorg/modules/drivers/intel_drv.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/xorg/modules/drivers/intel_drv.so Reading symbols from /usr/local/lib/libdrm_intel.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libdrm_intel.so.1 Reading symbols from /usr/local/lib/libpthread-stubs.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libpthread-stubs.so.0 Reading symbols from /usr/local/lib/xorg/modules/libfb.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/xorg/modules/libfb.so Reading symbols from /usr/local/lib/dri/swrast_dri.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/dri/swrast_dri.so Reading symbols from /usr/local/lib/libexpat.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libexpat.so.6 Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /usr/local/lib/xorg/modules/input/kbd_drv.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/xorg/modules/input/kbd_drv.so Reading symbols from /usr/local/lib/xorg/modules/input/mouse_drv.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/xorg/modules/input/mouse_drv.so Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x0000000802bdc43c in thr_kill () from /lib/libc.so.7 [New Thread 803007400 (LWP 100209/Xorg)] (gdb) info threads * 1 Thread 803007400 (LWP 100209/Xorg) 0x0000000802bdc43c in thr_kill () from /lib/libc.so.7 (gdb) bt #0 0x0000000802bdc43c in thr_kill () from /lib/libc.so.7 #1 0x0000000802c7582c in abort () from /lib/libc.so.7 #2 0x000000000046d51e in OsAbort () #3 0x0000000000478925 in ddxGiveUp () #4 0x000000000046accd in AbortServer () #5 0x000000000046a4b2 in FatalError () #6 0x000000000046b6be in OsInit () #7 0x0000000802971b68 in swapcontext () from /lib/libthr.so.3 #8 0x000000080297170f in sigaction () from /lib/libthr.so.3 #9 0x00007ffffffff043 in ?? () #10 0x00000008029715e0 in sigaction () from /lib/libthr.so.3 #11 0x00000008040a1d54 in ProcDRI2Dispatch () from /usr/local/lib/xorg/modules/extensions/libdri2.so #12 0x0000000000433bdd in Dispatch () #13 0x000000000042dbf4 in main () (gdb) Thanks Gautam