From owner-freebsd-current@FreeBSD.ORG Fri May 24 13:16:39 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 796BBED8 for ; Fri, 24 May 2013 13:16:39 +0000 (UTC) (envelope-from tmueller@sysgo.com) Received: from mail1.sysgo.com (mail1.sysgo.com [176.9.26.183]) by mx1.freebsd.org (Postfix) with ESMTP id 3ABB0D76 for ; Fri, 24 May 2013 13:16:39 +0000 (UTC) Received: from lantia.sysgo.com (unknown [172.22.2.7]) by mail1.sysgo.com (Postfix) with ESMTP id 31F0446182 for ; Fri, 24 May 2013 15:08:56 +0200 (CEST) Received: by lantia.sysgo.com (Postfix, from userid 113) id 19C4E5AE002; Fri, 24 May 2013 15:08:56 +0200 (CEST) Received: from tmu.ulm.sysgo.com (tmu.ulm.sysgo.com [172.30.3.10]) by lantia.sysgo.com (Postfix) with ESMTP id BCE695AE001 for ; Fri, 24 May 2013 15:08:55 +0200 (CEST) Date: Fri, 24 May 2013 15:08:55 +0200 From: Thomas Mueller To: freebsd-current@freebsd.org Subject: Re: xorg-server running on 10-current under VMware? Message-ID: <20130524150855.399ce611@tmu.ulm.sysgo.com> In-Reply-To: <3967CAB7-EB96-4944-AAA3-79D85939555E@gmail.com> References: <3967CAB7-EB96-4944-AAA3-79D85939555E@gmail.com> Organization: SYSGO AG X-Mailer: Claws Mail 3.9.1 (GTK+ 2.24.18; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 24 May 2013 15:20:16 +0000 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: Fri, 24 May 2013 13:16:39 -0000 On Thu, 23 May 2013 16:20:35 -0500, Guy Helmer wrote: > I've tried using drivers xf86-video-vmware (vmware) and xf86-video-vesa > (vesa) for 10-current under VMware Fusion. Regardless, the X server > fails with the error: > > > [...] > > Fatal server error: > > AddScreen/ScreenInit failed for driver 0 > > > > > > Please consult the The X.Org Foundation support > > at http://wiki.x.org > > for help. > > Please also check the log file at "/var/log/Xorg.0.log" for additional information. > > > > Segmentation fault at address 0x290 > > > > FatalError re-entered, aborting > > Caught signal 11 (Segmentation fault). Server aborting > > Any hints? I'm observing the same behaviour with 10-current running as guest in VirtualBox. Program received signal SIGSEGV, Segmentation fault. 0x0000000000454bec in dixLookupPrivate (privates=0x290, key=0x804e2be38) at privates.c:79 79 return *key && *privates && Current language: auto; currently minimal (gdb) bt #0 0x0000000000454bec in dixLookupPrivate (privates=0x290, key=0x804e2be38) at privates.c:79 #1 0x0000000804c27310 in ShadowLeaveVT () from /usr/local/lib/xorg/modules/libshadowfb.so #2 0x000000000047a076 in AbortDDX () at xf86Init.c:1249 #3 0x00000000004739fd in AbortServer () at log.c:404 #4 0x00000000004732b6 in FatalError (f=) at log.c:529 #5 0x00000000004799a9 in InitOutput (pScreenInfo=0x7c5560, argc=3, argv=0x7fffffffdc38) at xf86Init.c:1057 #6 0x0000000000431f6e in main (argc=3, argv=0x7fffffffdc38, envp=) at main.c:204 The segmentation fault in dixLookupPrivate() seems like a subsequent fault of xf86Init.c:1043 scr_index = AddScreen(xf86Screens[i]->ScreenInit, argc, argv); indicating failure to add the screen. Building xorg-server with gcc make USE_GCC=any or with clang and -O0 mage CFLAGS=-O0 gives me an X server that appears to work (displays root weave, xterm, and twm). -- Thomas Mueller