From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10146 invoked by alias); 17 Jan 2011 16:11:48 -0000 Received: (qmail 10136 invoked by uid 22791); 17 Jan 2011 16:11:46 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,TW_KB,TW_XK,TW_YG X-Spam-Check-By: sourceware.org Received: from smtpout.karoo.kcom.com (HELO smtpout.karoo.kcom.com) (212.50.160.34) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 17 Jan 2011 16:11:41 +0000 Received: from 213-152-38-55.dsl.eclipse.net.uk (HELO [192.168.0.5]) ([213.152.38.55]) by smtpout.karoo.kcom.com with ESMTP; 17 Jan 2011 16:11:22 +0000 Message-ID: <4D346A31.9020803@dronecode.org.uk> Date: Mon, 17 Jan 2011 16:11:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree@cygwin.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: ericlin@fsshl.zzn.com, reinpost@win.tue.nl Subject: Re: can not startx References: <4B43D464.9070305@users.sourceforge.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2011-01/txt/msg00021.txt.bz2 On 13/01/2011 10:35, Reinier Post wrote: > Yaakov (Cygwin/X users.sourceforge.net> writes: >> On 05/01/2010 16:56, eric lin wrote: >>> this is my /var/log/XWin.0.log >>> where I think problm cause, fail startx, please help, eric >> >> Sigh. Lets try this again: >> >>> Problem reports: http://cygwin.com/problems.html >> >> Yaakov >> Cygwin/X > > I can't follow the rules, there because I'm posting this from > > http://post.gmane.org/post.php?group=gmane.os.cygwin.xfree&followup=20508 > > which doesn't support attachments. > > My XWin.0.log exhibits the same problem eric lin reported: > > XKB: Could not invoke xkbcomp > [etc.] Since this has been reported a few times, I've added this to the Cygwin/X FAQ, [1]. Unfortunately, the X server currently needs to fork() a process to run xkbcomp as part of it's startup. If something is interferring with the ability of the cygwin to do this (e.g. BLOADA or remap issues), then the X server can't start. [1] http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-failed-to-compile-keymap > To check this I replaced xkbcomp with a shell script and indeed, > it does not get called. Running as X -logverbose 100 does not > shed any light on the problem. Running X or XWin with strace doesn't > work (strace refuses to run X and on XWin crashes out with access violation, > I'm on Windows 7). 'strace X' doesn't work because X is a cygwin symlink, which strace, being a purely windows program, doesn't understand about. I can reproduce a crash using 'strace XWin'. The eip value suggests this is something going boom inside the cygwin DLL. > --- Process 2116, exception C0000005 at 610C7E86 > 219568 813989 [main] XWin 2116 exception::handle: In cygwin_except_handler exc 0xC0000005 at 0x610C7E86 sp 0x20C920 > 34 814023 [main] XWin 2116 exception::handle: In cygwin_except_handler sig 11 at 0x610C7E86 > 19 814042 [main] XWin 2116 exception::handle: In cygwin_except_handler calling 0x0 > 16 814058 [main] XWin 2116 exception::handle: Exception: STATUS_ACCESS_VIOLATION > 62 814120 [main] XWin 2116 try_to_debug: debugger_command '' > 479 814599 [main] XWin 2116 open_stackdumpfile: Dumping stack trace to XWin.exe.stackdump > --- Process 2116, exception C0000005 at 61026397 > 88607 903206 [main] XWin 2116 exception::handle: In cygwin_except_handler exc 0xC0000005 at 0x61026397 sp 0x20C434 > 49 903255 [main] XWin 2116 exception::handle: In cygwin_except_handler sig 11 at 0x61026397 > 19 903274 [main] XWin 2116 exception::handle: In cygwin_except_handler calling 0x0 > 17 903291 [main] XWin 2116 exception::handle: Exception: STATUS_ACCESS_VIOLATION > 8266 911557 [main] XWin 2116 exception::handle: Error while dumping state (probably corrupted stack) > 54526 966083 [main] XWin 2116 _cygtls::inside_kernel: pc 0x61026397, h 0x61000000, inside_kernel 0 > The problem appeared after running a rebaseall and rebooting for a regular > Windows 7 update. I haven't made any hardware changes and Cygwin/X was > running fine yesterday. After the problem appeared, > running another erebaseall or updating my Cygwin 1.7 installation > didn't help. What arguments did you use to rebaseall? I seem to recall Windows 7 doesn't work well with the default ones. >>> Problem reports: http://cygwin.com/problems.html Windows 7 or Windows 7 64bit? Please attach your cygcheck output as requested by the URL above. -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/