delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/04/16:21:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Wed, 4 Feb 2004 16:21:29 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Thomas L Roche <tlroche AT us DOT ibm DOT com>
cc: cygwin AT cygwin DOT com, cygwin-xfree AT cygwin DOT com
Subject: Re: cygwin/xfree86/emacs problems after upgrading
In-Reply-To: <OFD70E339D.5F6BB4DD-ON85256E2F.006C6B14-85256E2F.0074424C@us.ibm.com>
Message-ID: <Pine.GSO.4.56.0402041611280.8094@slinky.cs.nyu.edu>
References: <OFD70E339D DOT 5F6BB4DD-ON85256E2F DOT 006C6B14-85256E2F DOT 0074424C AT us DOT ibm DOT com>
MIME-Version: 1.0

On Tue, 3 Feb 2004, Thomas L Roche wrote:

> [snip]
> Note that I run emacs via
>
> emacs --debug-init &
>
> from bash in an xterm which I launch with
>
> start XWin -multiwindow -clipboard -emulate3buttons

Not quite.  Judging from your cygcheck output, you use startxwin.bat.
More below.

> [snip]
> However I'm also, again only since upgrading, having problems with
> unzip, e.g.
>
> >   inflating:
> /d/eclipse/builds/20040121_1953-WB213-AD-V512D-00/eclipse/plugins/com.ibm.etools.j2ee.ui/build/pluginBuild/commonbld/com/ibm/etools/ejb/ui/presentation/EJBEditorOutlineContentProvider.class
>
> >     735 [main] unzip 1820 cmalloc: cmalloc returned NULL
> > error:  zipfile probably corrupt (segmentation violation)
>
> which I get even unzip'ing a known-good file (i.e. one that I unzip'ed
> successfully before upgrading from 1.5.5-1).

Do you have a small testcase that would allow others to reproduce this?
Perhaps a (small) sample .zip file?

> [snip]
> So it seems plausible that there is also a (base) cygwin problem, which
> might be causing the emacs and unzip problems. Or that the emacs and
> unzip problems are unrelated.

They most likely are unrelated.

> What should I try next?

I'd suspect the unzip issue has to do with the path length to the file.
You can try confirming it by creating a file in a deeply nested directory,
putting that one file in a .zip, and then trying to unzip it into some
place even deeper in the directory hierarchy.  Can't help you with the
emacs issue, as I don't use emacs.

> [snip]
> (Note that cygcheck shows
>
>         d:\cygwin\bin
>         d:\cygwin\usr\X11R6\bin
>
> at the head of my PATH; those dirs don't exist, and they're not in my
> windows path.)

This (and the existence of CYGWIN_ROOT in your environment) is an artifact
of using startxwin.bat.  Unless you have a default directory for the
Cygwin root, you can't use that file OOTB -- you'll have to edit it and
replace "\cygwin" with the value of your Cygwin root (in your case,
"d:\ProgramFiles\Cygwin".

> CYGWIN_ROOT = `\cygwin'

Hope this helps,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019