delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/28/22:50:00

X-Spam-Check-By: sourceware.org
Message-ID: <454416AA.9080205@cwilson.fastmail.fm>
Date: Sat, 28 Oct 2006 22:49:14 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: latest iconv hangs
References: <4543C9A3 DOT 3000701 AT umiacs DOT umd DOT edu>
In-Reply-To: <4543C9A3.3000701@umiacs.umd.edu>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Mike Maxwell wrote:
> I have used iconv for several years.  I just updated my cygwin package 
> last night, and now iconv hangs.  That is, all the following commands hang:
> 
> iconv -l
> iconv --list
> echo foo | iconv -f ISO-8859-1 - UTF-8
> 
> And it's a "hard hang", too: ^C won't stop it.
> 
> I don't have any way to get a version number directly from iconv, but 
> I'm attaching my cygcheck.out file.
> 
> Here are what I suspect are the relevant files:
> 
> -rwxr-x---+ 1 maxwell Users 19968 Oct 22 19:44 /bin/iconv*
> -rwxr-x---+ 1 maxwell Users 1048840 Oct 22 19:44 /lib/libiconv.a*
> -rwxr-x---+ 1 maxwell Users    8264 Oct 22 19:44 /lib/libiconv.dll.a*
> -rwxr-x---+ 1 maxwell Users     773 Oct 22 19:44 /lib/libiconv.la*
> 
> I would revert to earlier versions, but I don't know how.  I did 
> re-install the two libiconv packages, to no effect.  I'm not sure what 
> package the iconv executable comes in, so I don't know how to re-install 
> that.
> 
> I'm running this from the bash shell, if it matters.
> 

Did setup.exe warn you to reboot?  I suspect that when you updated 
libiconv*, you also updated gettext* and libintl* -- and bash (also 
/bin/sh) uses cygintl-3.dll and cygiconv-2.dll.  Therefore, if you had 
any shells open, those DLLs would have been "in use", and you would have 
had to reboot to get everything sorted out.

I can't reproduce your problem;

iconv -l
iconv --list
echo foo | iconv -f ISO-8859-1 -t UTF-8

all work fine for me.  Please try again after a reboot...if that doesn't 
work, we will need to discuss strace output...

--
Chuck

--
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