From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19094 invoked by alias); 9 Jun 2010 05:10:14 -0000 Received: (qmail 19078 invoked by uid 22791); 9 Jun 2010 05:10:11 -0000 X-SWARE-Spam-Status: No, hits=2.0 required=5.0 tests=BAYES_50,FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,SARE_SUB_ENC_UTF8,SPF_HELO_PASS,TW_GJ,TW_YG,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from lo.gmane.org (HELO lo.gmane.org) (80.91.229.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 09 Jun 2010 05:10:06 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OMDYB-0007wm-G7 for cygwin-xfree@cygwin.com; Wed, 09 Jun 2010 07:10:03 +0200 Received: from bas8-ottawa23-1177762450.dsl.bell.ca ([70.51.58.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Jun 2010 07:10:03 +0200 Received: from chaozhan by bas8-ottawa23-1177762450.dsl.bell.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Jun 2010 07:10:03 +0200 To: cygwin-xfree@cygwin.com connect(): No such file or directory From: Michael Subject: Re: frequently getting a =?utf-8?b?U1RBVFVTX0FDQ0VTU19WSU9MQVRJT04=?= exception under win7 Date: Wed, 09 Jun 2010 05:10:00 -0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes 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: 2010-06/txt/msg00008.txt.bz2 Yuval Emek gmail.com> writes: > > A very annoying situation: I'm getting a STATUS_ACCESS_VIOLATION > exception in about 2 out of 3 operations performed under cygwin/x. An > operation in this context can be starting an x application (e.g., > xterm) or running some command from within emacs (e.g., diff or > latex). > > In attempt to isolate the problem, I reinstalled cygwin from scratch > using the default settings of setup.exe + xorg-server, xinit, > xorg-docs, and X-start-menu-icons. > Next, I open a cygwin bash window and then invoke startxwin.exe . > The x-server is invoked but an xterm window does not open and the > following message appears: > > ***message begins*** > 4 [main] xterm 7156 exception::handle: Exception: STATUS_ACCESS_VIOLATION > 1449 [main] xterm 7156 open_stackdumpfile: Dumping stack trace to xterm.exe.s > tackdump > 4 [main] xterm 7996 exception::handle: Exception: STATUS_ACCESS_VIOLATION > 1356 [main] xterm 7996 open_stackdumpfile: Dumping stack trace to xterm.exe.s > tackdump > 4 [main] xterm 5268 exception::handle: Exception: STATUS_ACCESS_VIOLATION > 647 [main] xterm 5268 open_stackdumpfile: Dumping stack trace to xterm.exe.s > tackdump > 5 [main] xterm 4316 exception::handle: Exception: STATUS_ACCESS_VIOLATION > 739 [main] xterm 4316 open_stackdumpfile: Dumping stack trace to xterm.exe.s > tackdump > 2 [main] xterm 2752 exception::handle: Exception: STATUS_ACCESS_VIOLATION > 1123 [main] xterm 2752 open_stackdumpfile: Dumping stack trace to xterm.exe.s > tackdump > 5 [main] xterm 3220 exception::handle: Exception: STATUS_ACCESS_VIOLATION > 1260 [main] xterm 3220 open_stackdumpfile: Dumping stack trace to xterm.exe.s > tackdump > 6 [main] xterm 6752 fork: child -1 - died waiting for longjmp before initi > alization, retry 0, exit code 0x600, errno 11 > xterm: Error 29, errno 11: Resource temporarily unavailable > Reason: spawn: fork() failed > ***message ends*** > > The content of the resulting xterm.exe.stackdump file: > > ***content begins*** > Exception: STATUS_ACCESS_VIOLATION at eip=610202F7 > eax=00C500F8 ebx=612294A4 ecx=755F783F edx=002620F0 esi=00000000 edi=0022FA14 > ebp=61020A10 esp=0022C7E4 program=C:\cygwin\bin\xterm.exe, pid 3220, thread main > > cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023 > Stack trace: > Frame Function Args > End of stack trace > ***content ends*** > > This phenomenon (or a similar one where I'm getting only 1 or two > lines of the exception and xterm does open) is very common: it happens > in about 2 out of 3 startxwin.exe invocation attempts. The same thing > happens when I'm trying to open a new xterm window from an existing > one. > > I'm using Windows 7 (32 bits). This is probably a relevant info as my > old laptop (with Windows XP) works fine (once again with a fresh > installation of cygwin + cygwin/x). > > I'm somewhat surprised that this problem was not reported before since > I know that my office mate suffers from it as well (she is also using > Windows 7 32 bits). > > I've already tried to discuss this problem in the cygwin mailing list > (see http://cygwin.com/ml/cygwin/2010-04/msg00740.html) without a > positive resolution. Thinking about it some more, I now understand > that this problem occurs only under x, so I hope that this is the > right mailing list. > > Any suggestions? > > The output of cygcheck -s -v -r and the content of /var/log/XWin.0.log > are attached. > > Attachment (XWin.0.log): application/octet-stream, 4224 bytes > Attachment (xterm.exe.stackdump): application/octet-stream, 321 bytes > > -- > 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/ I got the same problem on windows 7 64 bit home premium edition with Cygwin 1.7.5 And it is no problem on windows XP with Cygwin 1.7.5 $ 2 [main] xterm 4552 exception::handle: Exception: STATUS_ACCESS_VIOLATIO N 1665 [main] xterm 4552 open_stackdumpfile: Dumping stack trace to xterm.exe.s tackdump 2 [main] xterm 5260 exception::handle: Exception: STATUS_ACCESS_VIOLATION 1220 [main] xterm 5260 open_stackdumpfile: Dumping stack trace to xterm.exe.s tackdump 2 [main] xterm 2324 exception::handle: Exception: STATUS_ACCESS_VIOLATION 1149 [main] xterm 2324 open_stackdumpfile: Dumping stack trace to xterm.exe.s tackdump 2 [main] xterm 4196 exception::handle: Exception: STATUS_ACCESS_VIOLATION 1154 [main] xterm 4196 open_stackdumpfile: Dumping stack trace to xterm.exe.s tackdump 2 [main] xterm 5112 exception::handle: Exception: STATUS_ACCESS_VIOLATION 1696 [main] xterm 5112 open_stackdumpfile: Dumping stack trace to xterm.exe.s tackdump 2 [main] xterm 2484 exception::handle: Exception: STATUS_ACCESS_VIOLATION 1660 [main] xterm 2484 open_stackdumpfile: Dumping stack trace to xterm.exe.s tackdump 2 [main] xterm 536 fork: child -1 - died waiting for longjmp before initia lization, retry 0, exit code 0x600, errno 11 xterm: Error 29, errno 11: Resource temporarily unavailable Reason: spawn: fork() failed Please provide solution if someone happened to know. Thanks, Michael -- 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/