[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mutt-dev
Subject:    bug#632: UTF8 problems
From:       Hugo Haas <hugo () larve ! net>
Date:       2001-05-29 19:31:33
[Download RAW message or body]

Package: mutt
Version: 1.3.17i
Severity: normal

I have problems with UTF8 messages; I am not sure that I have problems
with all of them, but at least with some of them.

I opened an email (attached, also archived at [1]), and Mutt crashed:

  mutt: ../iconv/skeleton.c:324: __gconv_transform_utf8_internal:
  Assertion `nstatus == GCONV_FULL_OUTPUT' failed.

 1. http://discuss.develop.com/archives/wa.exe?A2=ind0105&L=soap&F=&S=&P=23849

I already reported this bug a few months ago, but for some reason, it
seems that my mail never made it the BTS...  I am attaching it too,
since it had more details.

Things that might be of interest (I am not sure it is):
- I am using the following:
  LANG=C
  LC_CTYPE=fr_FR
- My glibc version is 2.1.3 (Debian package: libc6 2.1.3-18).

Regards,

Hugo

-- Mutt Version Information

Mutt 1.3.17i (2001-03-28)
Copyright (C) 1996-2000 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.2.19 [using ncurses 5.0]
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
+USE_FCNTL  -USE_FLOCK
-USE_POP  +USE_IMAP  -USE_GSS  -USE_SSL  -USE_SASL  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+HAVE_PGP  +BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO  
ISPELL="/usr/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
SHAREDIR="/usr/local/mutt-1.3.17/lib/mutt"
SYSCONFDIR="/usr/local/mutt-1.3.17/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@mutt.org>.
To report a bug, please use the flea(1) utility.

-- 
Hugo Haas <hugo@larve.net> - http://larve.net/people/hugo/
If something's hard to do, then it's not worth doing. -- Homer J.
Simpson


Return-Path: <owner-soap@DISCUSS.DEVELOP.COM>
Received: from sjc3-1.relay.mail.uu.net (sjc3-1.relay.mail.uu.net [199.171.54.122])
	by tux.w3.org (8.9.3/8.9.3) with ESMTP id SAA16881
	for <hugo@W3.ORG>; Mon, 28 May 2001 18:48:51 -0400
Received: from listserv3 by sjc3sosrv11.alter.net with SMTP
	(peer crosschecked as: [63.111.243.44])
	id QQkrah29180;
	Mon, 28 May 2001 22:48:28 GMT
Received: from DISCUSS.DEVELOP.COM by DISCUSS.DEVELOP.COM (LISTSERV-TCP/IP
          release 1.8d) with spool id 1225033 for SOAP@DISCUSS.DEVELOP.COM;
          Mon, 28 May 2001 15:48:27 -0700
Received: from 131.107.3.121 by DISCUSS.DEVELOP.COM (SMTPL release 1.0d) with
          TCP; Mon, 28 May 2001 15:48:27 -0700
Received: from 157.54.7.67 by mail5.microsoft.com (InterScan E-Mail VirusWall
          NT); Mon, 28 May 2001 15:47:55 -0700 (Pacific Daylight Time)
Received: from RED-MSG-11.redmond.corp.microsoft.com ([157.54.0.210]) by
          inet-imc-04.redmond.corp.microsoft.com with Microsoft
          SMTPSVC(5.0.2195.2883); Mon, 28 May 2001 15:45:21 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.0.4418.65
Content-Class: urn:content-classes:message
Subject: SimpleSOAP Library updated
Date: Mon, 28 May 2001 15:44:50 -0700
Message-ID: <AF9E69C4CBFA3C4AA40068F03A28614518CCBA@RED-MSG-11.redmond.corp.microsoft.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator: <AF9E69C4CBFA3C4AA40068F03A28614518CCBA@RED-MSG-11.redmond.corp.microsoft.com>
Thread-Topic: Re: [SOAP] SOAP and file:// protocol
Thread-Index: AcDnXK0agkQMCXUkSZG9j8SO6GPYxQAXmB7QAALugKYFrom: "Scott Seely" <sseely@microsoft.com>
To: "SOAP" <SOAP@DISCUSS.DEVELOP.COM>
X-OriginalArrivalTime: 28 May 2001 22:45:21.0628 (UTC)
                       FILETIME=[E06F69C0:01C0E7C7]
Sender: owner-soap@DISCUSS.DEVELOP.COM
X-MIME-Autoconverted: from base64 to 8bit by tux.w3.org id SAA16881
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline; filename=mutt-jibboom-17250-30
Content-Transfer-Encoding: quoted-printable

Thanks to the efforts of Matthew McNeely and a few others, a few more
bugs have been removed from the SimpleSOAP library, a C++ library that
contains a HTTP binding.  An updated version can be found at
http://scottseely.com/Source.zip.  This is an Open Source implementation
that I maintain (LGPL).
 
Currently, this only compiles on Visual C++.  I am aware that a few
people have ported the make file to Linux, but no one has contributed
that to me yet (hint, hint).
 
For those of you who have never heard of this implementation before,
here's the short discreption:
SimpleSOAP is a very basic SOAP over HTTP implementation.  It does not
support WSDL and is targetted for implementations where the client or
server cannot depend on a web server or sockets client (it provides its
own).  It's sole purpose to show that basic SOAP is easy to implement.
Use of this library does not preclude you from writing your own WSDL
files by hand.  So far, it interoperates with Apache SOAP and MS SOAP
Toolkit v1 and v2. 
 
-Scott Seely
b‹œjzÞiÙž²Æ zÇë¢kay#€=ªÜ†+Þþéì¹»®&Þ~º&HàþŠì¹»®&Þ¶Š-…êÃz÷¥¢“žÚ+–+-±«a¶Úÿÿ÷b±Ë¬³÷^½éh§÷(


Return-Path: <hugo@larve.lcs.mit.edu>
Received: from evo.larve.net (postfix@evo.larve.net [18.29.5.150])
	by tux.w3.org (8.9.3/8.9.3) with ESMTP id NAA15730
	for <hugo@tux.w3.org>; Wed, 21 Feb 2001 13:42:26 -0500
Received: from smtp01.mrf.mail.rcn.net (smtp01.mrf.mail.rcn.net [207.172.4.60])
	by evo.larve.net (Postfix) with ESMTP id E444016D44
	for <hugo@larve.net>; Wed, 21 Feb 2001 13:42:25 -0500 (EST)
Received: from 208-59-178-77.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([208.59.178.77] \
helo=larve.lcs.mit.edu)  by smtp01.mrf.mail.rcn.net with esmtp (Exim 3.16 #5)
	id 14VeDT-0002SH-00 ; Wed, 21 Feb 2001 13:42:19 -0500
Received: by larve.lcs.mit.edu (Postfix, from userid 1000)
	id 6893829; Wed, 21 Feb 2001 13:42:19 -0500 (EST)
From: Hugo Haas <hugo@larve.net>
Subject: mutt-1.3.15i: UTF-8 decoding makes Mutt crash
To: submit@bugs.guug.de
Message-Id: <20010221184219.6893829@larve.lcs.mit.edu>
Date: Wed, 21 Feb 2001 13:42:19 -0500 (EST)
Sender: hugo@larve.lcs.mit.edu

Package: mutt
Version: 1.3.15i
Severity: normal

-- Please type your report below this line

While opening a UTF-8 encoded message, Mutt crashed:

  mutt: ../iconv/skeleton.c:324: __gconv_transform_utf8_internal: Assertion `nstatus \
== GCONV_FULL_OUTPUT' failed.

Here is the content of the core:

  GNU gdb 19990928
  Copyright 1998 Free Software Foundation, Inc.
  GDB is free software, covered by the GNU General Public License, and you are
  welcome to change it and/or distribute copies of it under certain conditions.
  Type "show copying" to see the conditions.
  There is absolutely no warranty for GDB.  Type "show warranty" for details.
  This GDB was configured as "i686-pc-linux-gnu"...
  Core was generated by `/usr/local/bin/mutt -n'.
  Program terminated with signal 6, Aborted.
  Reading symbols from /lib/libncurses.so.5...done.
  Reading symbols from /lib/libc.so.6...done.
  Reading symbols from /lib/ld-linux.so.2...done.
  Reading symbols from /lib/libnss_compat.so.2...done.
  Reading symbols from /lib/libnsl.so.1...done.
  Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
  Reading symbols from /usr/lib/gconv/ISO8859-15.so...done.
  #0  0x40073921 in kill () from /lib/libc.so.6
  (gdb) backtrace
  #0  0x40073921 in kill () from /lib/libc.so.6
  #1  0x40073608 in raise () from /lib/libc.so.6
  #2  0x40074c61 in abort () from /lib/libc.so.6
  #3  0x4006dcc4 in __assert_fail () from /lib/libc.so.6
  #4  0x400f5e7d in iconv_close () from /lib/libc.so.6
  #5  0x400f29c8 in iconv_close () from /lib/libc.so.6
  #6  0x400f2578 in iconv () from /lib/libc.so.6
  #7  0x808d4ac in mutt_iconv (cd=0x80e2788, inbuf=0xbfffd62c, 
      inbytesleft=0xbfffd630, outbuf=0xbfffd634, outbytesleft=0xbfffd638, 
      inrepls=0x0, outrepl=0x80a3460 "?") at charset.c:317
  #8  0x8063686 in convert_to_state (cd=0x80e2788, 
      bufi=0xbfffde44 "a.exe?A2=ind0007&L=SOAP&P=R11445> \n \n \nClemens\n \
\nb\213\234jzÞiÙ\236²Æ \
zÇë¢kay#\200=ªÜ\206+Þþéì¹»\034®&Þ~º&Hà\017þ\212ì¹»\034®&Þ¶\212-\205êÃz÷¥¢\223\036\236Ú+\226+-±«a¶Úÿÿ÷b±Ë¬³÷^½éh§÷(\nhin \
the enterprise is a bad idea, or not realistic?  I am >i"..., l=0xbfffde40, \
s=0xbfffe56c)  at handler.c:109
  #9  0x80637ad in mutt_decode_xbit (s=0xbfffe56c, len=1140, istext=1, 
      cd=0x80e2788) at handler.c:146
  #10 0x8065865 in mutt_decode_attachment (b=0x80e57c0, s=0xbfffe56c)
      at handler.c:1385
  #11 0x8065c8b in mutt_body_handler (b=0x80e57c0, s=0xbfffe56c)
      at handler.c:1535
  #12 0x8057276 in _mutt_copy_message (fpout=0x80e0928, fpin=0x80e86c0, 
      hdr=0x80e5718, body=0x80e57c0, flags=76, chflags=150) at copy.c:527
  #13 0x80574a5 in mutt_copy_message (fpout=0x80e0928, src=0x80e1e40, 
      hdr=0x80e5718, flags=76, chflags=150) at copy.c:595
  #14 0x8051f75 in mutt_display_message (cur=0x80e5718) at commands.c:142
  #15 0x805a38f in mutt_index_menu () at curs_main.c:1027
  #16 0x806b2f9 in main (argc=2, argv=0xbffff9c4) at main.c:837
  (gdb) 

while trying to read [1] (well, the message was weirdly archived... I have
a copy of the message if needed).

Regards,

Hugo

  1. http://discuss.develop.com/archives/wa.exe?A2=ind0102&L=soap&F=&S=&P=21312

-- Mutt Version Information

Mutt 1.3.15i (2001-02-12)
Copyright (C) 1996-2000 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.2.18 [using ncurses 5.0]
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
+USE_FCNTL  -USE_FLOCK
-USE_POP  +USE_IMAP  -USE_GSS  -USE_SSL  -USE_SASL  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+HAVE_PGP  +BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
-ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  \
+HAVE_LANGINFO_YESEXPR   +HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  \
+HAVE_GETADDRINFO   ISPELL="/usr/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
SHAREDIR="/usr/local/mutt-1.3.15/lib/mutt"
SYSCONFDIR="/usr/local/mutt-1.3.15/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@mutt.org>.
To report a bug, please use the flea(1) utility.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic