From owner-freebsd-questions@freebsd.org Wed Mar 8 12:12:49 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D1DF8D00B20 for ; Wed, 8 Mar 2017 12:12:49 +0000 (UTC) (envelope-from xyin@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C26716E2 for ; Wed, 8 Mar 2017 12:12:49 +0000 (UTC) (envelope-from xyin@gmx.com) Received: from [192.168.57.65] ([140.90.73.186]) by mail.gmx.com (mrgmx103 [212.227.17.174]) with ESMTPSA (Nemesis) id 0MCcE2-1ccCmu0Eew-009Rye; Wed, 08 Mar 2017 13:12:42 +0100 Date: Wed, 8 Mar 2017 07:11:24 -0500 (EST) From: Xihong Yin X-X-Sender: knight@officefb To: Arthur Chance cc: freebsd-questions@freebsd.org Subject: Re: Xorg failed to start as normal user In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Provags-ID: V03:K0:CHMakJumJB50Pv7c0KfJDP2yXErRhFjaFvC91A3N0ZKmatXae9q tQhdD1Bp3QPxsQFbA61jiws8YXpvodLrU58P+BfjEHz+mnrgbTooxVDsB0J+4y6n2aJZGAq EJN09Wbwt3krbpvwzJ7jOM/+0g9BG3AoFZFRcOwpNikLzVJIdI5M5b/TvKjRGaqlySYkDOB xnSX40xvQm8oQtoyvK/Yg== X-UI-Out-Filterresults: notjunk:1;V01:K0:xLR3ug8Wxxo=:v9HLplp/PGpMoJBBuVvT2A 2Z7J4hrAa05e5ST7bXvM1XdBWmrVGnSCXet7qttTuG56MknH9NXCGGbgwPRNXx6uSLh0wLIhU QqdEj5ndpQ/vlzSIb6XRitqWwc4MtG7K2cbAFykh2P6GvpNWbBxAJSPO2VMNVav9xesRt7a6d Tss0V8Rm2L65jgUGT9XbtxqDfBnzPwmqleAaao6UlbE8duS9T3a2vUlBiQKK8vg78FBG06OC7 ss7e9FCkT2JtaOjlokXhUcYvb1ewEckcDqTih7GcFvXZUAVZyD0CBptbYDxles1yM4b+aP8FP 4mww7s0UQXBKJ+oOtVwf/gAVl9toEPW6X9Zw+A5h1G1G9mUDS/Us/i5WhzV66dFNR5j20qKXZ /Ba3/cnr25TNgu+HS1QpwFqrmmmwhkvRsuGrW3KczDbU0i+vK9RM/HT++yyOo3RmyQ48rpFHA VS2n1h3alNr6dvIFGJB821sQqhhOTatQmqD4SxUa+u5fm3PedPrckQ6a+yLZVA5HLGkimDS58 Mnh8JM9cyL2IWXjCyIGi3JwAvrcrBHHgzvv3tWR4GvJTPKUuc7L7gNh+yY9qvhrdFbLUD04Rx oikj7v3KhwEemR67pqRdjIPrBIKgCIuStdG0255slQPWIwYful4TcCU6+7QY6oiddbNg4hbFb /s8sA8mEZZP7k2fviRZAWt3C1X2v+DCq/2yeaas4LJZ9+KBRdLQnleGTaoj2b6iA1zVEplsDJ OvVUV411eqz5UueE8QWA1i840q1r3w8qHhauWkPIchTn8eg1k8Q/sZCEUHJato4eijVBJpqvK KlLzV6JBGIS/IBZRFHEhiH4PtEF7qns3CAiKrcNJxEgwHR5VbiYG7SHKrmq20UlwnZeOPex6k 40BWgezG0peKBpMmg+onglrOAUoxJhf4czRoTAeWbMC2OgyCmTbV+pqjTvx7luxdMDA9vLsKG ys9V27LymnZKHuZ59VmMq3GXDXkVIiQj2byPIwXxrq/CcWZX57PegcwyCCsNynefBOZNOHSHP ecBGOaLyqGNrO5d97mVsl3Zq7OIhLVJTYQfOG9eRxlxwc/J4bqCw5X8r3NbsCH/I+A== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2017 12:12:49 -0000 Arthur, That did the trick. I had two versions of the llvm port, llvm37 and llvm39. Removing the llvm37 port resolved the problem. It is interesting that the root can find the correct version of llvm. Thank you very much! Xihong On Wed, 8 Mar 2017, Arthur Chance wrote: > Date: Wed, 8 Mar 2017 08:15:33 +0000 > From: Arthur Chance > To: Xihong Yin , freebsd-questions@freebsd.org > Subject: Re: Xorg failed to start as normal user > > On 08/03/2017 04:13, Xihong Yin wrote: >> Hi, >> >> I recently upgraded from 10.3 to 11. All ports are upgraded as well. I >> have a strange problem, Xorg failed to start when I login as a normal >> user. If I login as root, Xorg can starts without a problem. >> >> I already added the normal user to the wheel group. >> >> Below is the error message of the failed case. Please help. >> >> >> [ 9822.110] (EE) >> [ 9822.110] (EE) Backtrace: >> [ 9822.117] (EE) 0: /usr/local/bin/X (OsInit+0x3fb) [0x82024d6] >> [ 9822.124] (EE) 1: /lib/libthr.so.3 (_pthread_sigmask+0x6a4) [0x286fceb4] >> [ 9822.132] (EE) 2: /lib/libthr.so.3 (_pthread_getspecific+0x110b) >> [0x286fcc5b] >> [ 9822.139] (EE) 3: ? (?+0x110b) [0xbfc0010f] >> [ 9822.147] (EE) 4: /usr/local/llvm39/lib/libLLVM-3.9.so >> (LLVMParseCommandLineO >> ptions+0xa6c) [0x2a0388b8] >> [ 9822.155] (EE) 5: /usr/local/llvm39/lib/libLLVM-3.9.so >> (LLVMParseCommandLineO >> ptions+0xbec) [0x2a038bb8] >> [ 9822.162] (EE) 6: /usr/local/llvm39/lib/libLLVM-3.9.so >> (_ZN4llvm2cl6Option11a >> ddArgumentEv+0x8c) [0x2a02b388] >> [ 9822.170] (EE) 7: /usr/local/llvm37/lib/libLLVMSupport.so.3.7 >> (_ZNSt3__127__i >> nsertion_sort_incompleteIRNS_6__lessINS_4pairIN4llvm10TimeRecordENS_12basic_stri >> >> ngIcNS_11char_traitsIcEENS_9allocatorIcEEEEEESB_EEPSB_EEbT0_SF_T_+0x7de) >> [0x2e38 >> d15c] >> [ 9822.177] (EE) 8: /usr/local/llvm37/lib/libLLVMSupport.so.3.7 >> (_ZN4llvm3sys8W >> atchdogD2Ev+0x1b2) [0x2e3cb154] >> [ 9822.185] (EE) 9: /usr/local/llvm37/lib/libLLVMSupport.so.3.7 >> (_init+0xd) [0x >> 2e31817a] >> [ 9822.192] (EE) 10: ? (_rtld_is_dlopened+0x1392) [0x28241274] >> [ 9822.200] (EE) 11: ? (dlopen+0x1b5) [0x2823ce5a] >> [ 9822.207] (EE) 12: ? (dlopen+0x24) [0x2823cb38] >> [ 9822.214] (EE) 13: /usr/local/lib/libGL.so.1 (_init+0x230d0) >> [0x28876fe4] >> [ 9822.222] (EE) 14: /usr/local/lib/xorg/modules/extensions/libglx.so >> (GlxSetVi >> sualConfigs+0x6ef8) [0x28861f80] >> [ 9822.229] (EE) 15: /usr/local/lib/libGL.so.1 (_init+0x219b1) >> [0x288741a6] >> [ 9822.237] (EE) 16: /usr/local/bin/X (InitExtensions+0x6c) [0x80f2e88] >> [ 9822.244] (EE) 17: /usr/local/bin/X (remove_fs_handlers+0x34f) >> [0x807d83e] >> [ 9822.251] (EE) 18: /usr/local/bin/X (_start+0x23c) [0x8066308] >> [ 9822.258] (EE) 19: /usr/local/bin/X (_start+0x15a) [0x8066144] >> [ 9822.266] (EE) 20: /usr/local/bin/X (_start+0x18) [0x8065ea8] >> [ 9822.266] (EE) >> [ 9822.266] (EE) Segmentation fault at address 0x2f1c6000 >> [ 9822.266] (EE) >> Fatal server error: >> [ 9822.266] (EE) Caught signal 11 (Segmentation fault). Server aborting >> [ 9822.266] (EE) >> [ 9822.266] (EE) >> > > I had a similar problem a few weeks ago. In my case it was because I had > two versions of llvm installed as it had been upgraded but the old > version wasn't deleted, and the X server was linking to both of them for > some reason. Try > > pkg info -x llvm > > and see if that's the case for you. For me, simply using pkg delete on > the older version fixed the problem. > > -- > By June 1949, people had begun to realize that it was not so easy to > get a program right as had at one time appeared. It was on one of my > journeys between the EDSAC room and the punching equipment that the > realization came over me with full force that a good part of the > remainder of my life was going to be spent in finding errors in my own > programs. > > -- Maurice Wilkes > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >