delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
connect(): | No such file or directory |
From: | =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org> |
Subject: | Re: STATUS_ACCESS_VIOLATION in strlen running a vanilla uw-imapd |
Date: | Wed, 02 Jun 2010 10:29:10 -0500 |
Lines: | 44 |
Message-ID: | <hu5tc9$598$1@dough.gmane.org> |
References: | <1275486371 DOT 5031 DOT 1378094543 AT webmail DOT messagingengine DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0 |
In-Reply-To: | <1275486371.5031.1378094543@webmail.messagingengine.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
cw wrote: > I am trying to compile the latest release of uw-imapd under Cygwin and > Windows XP but the program crash after the first command. >=20 > This is with the vanilla source from upstream. I know that it is not > supposed to work very well but yesterday I did the same thing on a > Windows Seven box and I did not have any problem. [snip] > GNU gdb 6.8.0.20080328-cvs (cygwin-special) > [...] > This GDB was configured as "i686-pc-cygwin"... > (gdb) run > Starting program: /tmp/imap-2007e/imapd/imapd.exe > [New thread 2592.0x5cc] > [New thread 2592.0x7c0] > * PREAUTH [CAPABILITY IMAP4REV1 I18NLEVEL=3D1 LITERAL+ IDLE UIDPLUS > NAMESPACE CHILDREN MAILBOX-REFERRALS BINARY UNSELECT ESEARCH WITHIN SCAN > SORT THREAD=3DREFERENCES THREAD=3DORDEREDSUBJECT MULTIAPPEND] > Pre-authenticated user dente bfmi246pc IMAP4rev1 2007e.404 at Wed, 2 Jun > 2010 15:33:48 +0200 > [New thread 2592.0x84c] > aaa hhh >=20 > Program received signal SIGSEGV, Segmentation fault. > 0x611097f3 in strlen () from /usr/bin/cygwin1.dll > (gdb) bt > #0 0x611097f3 in strlen () from /usr/bin/cygwin1.dll > #1 0x7c85ada0 in OutputDebugStringA () from > /cygdrive/c/WINDOWS/system32/kernel32.dll > #2 0x40010006 in ?? () > #3 0x00000000 in ?? () [snip] > Any pointer would be very much appreciated. This looks like the well known "strlen(NULL)" problem, it crashes on Solaris and I guess on Cygwin, does work on Linux. You'll have to patch UW-IMAP, which already has many uses of strlen() guarded. --=20 Ren=E9 Berber -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |