Bus Error on mutt startup with imap (sparc64)

Bug #6771 reported by Debian Bug Importer
10
Affects Status Importance Assigned to Milestone
libgcrypt7 (Debian)
Fix Released
Unknown
libgcrypt7 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Automatically imported from Debian bug report #228855
http://bugs.debian.org/228855

Revision history for this message
In , Marco d'Itri (md) wrote : Re: Bug#228855: Bus Error on mutt startup with imap (sparc64)

On Jan 21, Olivier Mueller <om@8304.ch> wrote:

 >Mutt gives a "Bus Error" just after startup with this muttrc:
Are you using SSL?
I do not have access to a sparc64 system, please compile mutt from the
source package and try to get a core file by running the unstripped
binary.

--
ciao, |
Marco | [4224 trdz6AB9erPW.]

Revision history for this message
In , Olivier Mueller (om-8304) wrote :

Hi Marco & thx for your quick feedback

On Wed, Jan 21, 2004 at 12:45:32PM +0100, Marco d'Itri wrote:
> Are you using SSL?

no, I even turned off the ssl support of the imap server to make sure.

> I do not have access to a sparc64 system, please compile mutt from the
> source package and try to get a core file by running the unstripped
> binary.

you mean using the deb source package? ok, I'll have a look and see
how I can do that: I'd be happy to help, but I'm quite beginner
with debian issues. I guess I will have to use dpkg-buildpackage?
I'll RTFM, but it may take some time :)

if you want, I can also give you a shell on the sparc.

regards,
Olivier

Revision history for this message
In , Olivier Mueller (omueller) wrote :

On Wed, Jan 21, 2004 at 12:45:32PM +0100, Marco d'Itri wrote:
> >Mutt gives a "Bus Error" just after startup with this muttrc:
> Are you using SSL?
> I do not have access to a sparc64 system, please compile mutt from the
> source package and try to get a core file by running the unstripped
> binary.

voila, I finally managed to compile the stuff, and here is the output
of gdb:

om@u1:~/mutt/mutt-1.5.5.1/build-tree/mutt-1.5.5.1$ gdb ./mutt core
GNU gdb 6.0-debian
Copyright 2003 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 "sparc-linux"...

warning: "/home/om/mutt/mutt-1.5.5.1/build-tree/mutt-1.5.5.1/core": no core file handler recognizes format, using default
Core was generated by `./mutt'.
Program terminated with signal 10, Bus error.
Couldn't read input and local registers from core file
Reading symbols from /usr/lib/libncursesw.so.5...done.
Loaded symbols for /usr/lib/libncursesw.so.5
Reading symbols from /usr/lib/libsasl2.so.2...done.
Loaded symbols for /usr/lib/libsasl2.so.2
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libidn.so.11...done.
Loaded symbols for /usr/lib/libidn.so.11
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /usr/lib/mutt/mutt_ssl_gnutls.so...done.
Loaded symbols for /usr/lib/mutt/mutt_ssl_gnutls.so
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libgnutls.so.10...done.
Loaded symbols for /usr/lib/libgnutls.so.10
Reading symbols from /usr/lib/libgcrypt.so.7...done.
Loaded symbols for /usr/lib/libgcrypt.so.7
Reading symbols from /usr/lib/libtasn1.so.2...done.
Loaded symbols for /usr/lib/libtasn1.so.2
Reading symbols from /usr/lib/libgpg-error.so.0...done.
Loaded symbols for /usr/lib/libgpg-error.so.0
Couldn't read input and local registers from core file
0x703d0ca8 in gcry_create_nonce () from /usr/lib/libgcrypt.so.7
(gdb)

regards & HTH,
Olivier

Revision history for this message
In , Marco d'Itri (md) wrote :

On Jan 22, Olivier Mueller <omueller@8304.ch> wrote:

 >voila, I finally managed to compile the stuff, and here is the output
 >of gdb:
Please run "where" at the gdb prompt after mutt dies.

This may be bug in libgcrypt, BTW.
I wonder if it's a SASL module which pulls it, as you said to have
disabled SSL.

 >0x703d0ca8 in gcry_create_nonce () from /usr/lib/libgcrypt.so.7

--
ciao, |
Marco | [4236 faQhtNTsdfL9I]

Revision history for this message
In , Olivier Mueller (omueller) wrote :

On Wed, Jan 21, 2004 at 02:24:05PM +0100, Marco d'Itri wrote:
> dpkg-source -x *.dsc
> cd mutt-*
> fakeroot ./debian/rules binary
>

PS: the end of the config.log:

int main() {
initscr()
; return 0; }
configure:2908: checking for initscr in -ljcurses
configure:2927: cc -o conftest -g -O2 conftest.c -ljcurses -L/lib 1>&5
/usr/bin/ld: cannot find -ljcurses
collect2: ld returned 1 exit status
configure: failed program was:
#line 2916 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
char initscr();

int main() {
initscr()
; return 0; }
configure:2908: checking for initscr in -lunknown
configure:2927: cc -o conftest -g -O2 conftest.c -lunknown -L/lib 1>&5
/usr/bin/ld: cannot find -lunknown
collect2: ld returned 1 exit status
configure: failed program was:
#line 2916 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
char initscr();

int main() {
initscr()
; return 0; }

O.

Revision history for this message
In , Olivier Mueller (omueller) wrote :

On Wed, Jan 21, 2004 at 02:24:05PM +0100, Marco d'Itri wrote:
> Download the .diff.gz, .orig.tar.gz and .dsc files and then:
> dpkg-source -x *.dsc
> cd mutt-*
> fakeroot ./debian/rules binary

sorry, it won't compile: it stops during the ./configure,
despite the fact that all the libs listed in the .dsc file
are installed (Build-Depends: debhelper (>= 4), linuxdoc-tools-text, gettext, groff, libncurses5-dev, libsasl2-dev,
libgnutls10-dev, libidn11-dev, zlib1g-dev, libncursesw5-dev):

[...]
checking for tgoto... no
checking for tgoto in -ltermcap... no
checking for tgoto in -ltermlib... no
checking for tgoto in -lunknown... no
checking for initscr in -lcursesX... no
checking for initscr in -lcurses... no
checking for initscr in -lncurses... (cached) no
checking for initscr in -lxcurses... no
checking for initscr in -ljcurses... no
checking for initscr in -lunknown... no
configure: error: no curses library found
make[1]: *** [source.command] Error 1
make[1]: Leaving directory `/home/om/mutt/mutt-1.5.5.1'
make: *** [debian/stampdir/configure] Error 2

(yes, I ran "ldconfig" before)

Strange... :/
regards,
Olivier

Revision history for this message
In , Olivier Mueller (omueller) wrote :

On Thu, Jan 22, 2004 at 12:36:38AM +0100, Marco d'Itri wrote:
> Please run "where" at the gdb prompt after mutt dies.

Connecting to mail.insign.ch...
Program received signal SIGBUS, Bus error.
0x703d07e0 in gcry_create_nonce () from /usr/lib/libgcrypt.so.7
(gdb) where
#0 0x703d07e0 in gcry_create_nonce () from /usr/lib/libgcrypt.so.7
#1 0x703d0cc0 in gcry_create_nonce () from /usr/lib/libgcrypt.so.7
#2 0x703bc850 in gcry_cipher_close () from /usr/lib/libgcrypt.so.7
(gdb)

> This may be bug in libgcrypt, BTW.
> I wonder if it's a SASL module which pulls it, as you said to have
> disabled SSL.

mmm, I turned "imaps" off, but it seems there is still some ssl
stuff in the imapd running on port 143, at least according
to the logs on the target mail server:

==> mail <==
Jan 22 00:53:13 andromeda3 imapd: Connection
Jan 22 00:53:13 andromeda3 imapd: LOGIN: DEBUG: command=CAPABILITY
Jan 22 00:53:13 andromeda3 imapd: LOGIN: DEBUG: command=STARTTLS
Jan 22 00:53:14 andromeda3 imapd: Unexpected SSL connection shutdown.

Well, what next now ? :)
regards & 'nite,
Olivier

Revision history for this message
In , Olivier Mueller (omueller) wrote :

adding: "set ssl_starttls=no" to the .muttrc "solves" the
problem (no more bus error), but then dsniff is able to
catch the password, so it's a bad workaround...

regards,
Olivier

Revision history for this message
In , Artur R. Czechowski (arturcz) wrote :

On Thu, Jan 22, 2004 at 01:48:52PM +0100, Olivier Mueller wrote:
> adding: "set ssl_starttls=no" to the .muttrc "solves" the
> problem (no more bus error), but then dsniff is able to
> catch the password, so it's a bad workaround...
Have you installed libsasl2-modules? If yes, try to deinstall it
and set back ssl_starttls to yes.

Cheers
 Artur

Revision history for this message
In , Olivier Mueller (omueller) wrote :

Hi Artur,

On Thu, Jan 22, 2004 at 02:34:00PM +0100, Artur R. Czechowski wrote:
> Have you installed libsasl2-modules? If yes, try to deinstall it
> and set back ssl_starttls to yes.

u1:~# dpkg -l|grep sasl
ii libsasl2 2.1.15-6 Authentication abstraction library
ii libsasl2-dev 2.1.15-6 Development files for authentication abstrac
ii libsasl7 1.5.28-6.1 Authentication abstraction library

so no, libsasl2-modules was not installed.
regards,
Olivier

Revision history for this message
In , Ivo Timmermans (ivo) wrote :

Olivier,

Could you please try to connect to the imaps server with gnutls-cli?
You can find this program in the gnutls-bin package; use it like this:

  gnutls-cli -p 993 mail.o2w.nl

I'd like to know if this causes a bus error as well.

 Ivo

--
We don't know how the Internet really works. We know how it should
work, but we are constantly surprised.
 - Bruce Schneier

Revision history for this message
In , Marco d'Itri (md) wrote :

reassign 228855 libgcrypt7
thanks

The libgcrypt maintainer agrees this is a libgcrypt bug, so I'm
reassigning it.

--
ciao, |
Marco | [4255 trluBG/pFlOkk]

Revision history for this message
In , Ivo Timmermans (ivo-o2w) wrote :

> On Thu, Jan 22, 2004 at 11:55:57PM +0100, Ivo Timmermans wrote:
> > Could you please try to connect to the imaps server with gnutls-cli?
> > You can find this program in the gnutls-bin package; use it like this:
> >
> > gnutls-cli -p 993 mail.o2w.nl
> >
> > I'd like to know if this causes a bus error as well.

Much to my surprise, I could reproduce this on my own (32 bits) sparc.
Initially, it appeared to be the rijndael alignment bug, but
apparently it's something else.

 Ivo

--
<tarzeau> the internet is so big, and full of nothing i want

Revision history for this message
In , Olivier Mueller (omueller) wrote :

well, it is still broken, at least on the current unstable sparc64
platform. Any other thing I could try?

regards,
Olivier

Revision history for this message
In , Clint Adams (clint) wrote : oops

reassign 242666 libgcrypt7
merge 228855 242666
quit

Revision history for this message
In , Clint Adams (clint) wrote : i just made it worse

reassign 242668 libgcrypt7
reassign 241753 libgnutls10
merge 228855 242668
quit

Revision history for this message
In , Clint Adams (clint) wrote : sparc64 libgcrypt breaks mutt, lynx, etc.

severity 228855 grave
quit

This makes using gnutls on sparc64 impossible at times.

Revision history for this message
In , Jeremy Stanley (fungi) wrote : libgcrypt7: SSL Work-around for Mutt/sparc

Package: libgcrypt7
Version: 1.1.90-1.1
Severity: normal
Followup-For: Bug #228855

A work-around I devised to keep from having to use non-SSL
communication to the mail server:

   sudo apt-get install stunnel
   sudo stunnel -c -d 143 -r mail:993

It will background itself. Now, edit any references to imaps://mail
in your mutrc to instead use imap://localhost and try mutt again.
Should work.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #228855
http://bugs.debian.org/228855

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Wed, 21 Jan 2004 12:13:28 +0100
From: Olivier Mueller <om@8304.ch>
To: Debian Bug Tracking System <email address hidden>
Subject: Bus Error on mutt startup with imap (sparc64)

Package: mutt
Version: 1.5.5.1-20040112+1
Severity: normal

Mutt gives a "Bus Error" just after startup with this muttrc:

set <email address hidden>"
set spoolfile={mail.insign.ch}
set folder={mail.insign.ch}
mailboxes {mail.insign.ch}

Connecting to mail.insign.ch...Bus error

It was working fine with mutt 1.3, so I guess the server is not
the problem (courier-imapd).

-- System Information:
Debian Release: testing/unstable
Architecture: sparc
Kernel: Linux u1 2.4.21 #1 Thu Aug 7 20:30:12 EDT 2003 sparc64
Locale: LANG=C, LC_CTYPE=C

Versions of packages mutt depends on:
ii exim [mail-transport-agen 3.36-9.1 An MTA (Mail Transport Agent)
ii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries an
ii libidn11 0.3.4-1 GNU libidn library, implementation
ii libncursesw5 5.3.20030719-5 Shared libraries for terminal hand
ii libsasl2 2.1.15-6 Authentication abstraction library

-- no debconf information

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 21 Jan 2004 12:45:32 +0100
From: Marco d'Itri <email address hidden>
To: Olivier Mueller <om@8304.ch>, <email address hidden>
Subject: Re: Bug#228855: Bus Error on mutt startup with imap (sparc64)

On Jan 21, Olivier Mueller <om@8304.ch> wrote:

 >Mutt gives a "Bus Error" just after startup with this muttrc:
Are you using SSL?
I do not have access to a sparc64 system, please compile mutt from the
source package and try to get a core file by running the unstripped
binary.

--
ciao, |
Marco | [4224 trdz6AB9erPW.]

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20040121142247.B16244@8304.ch>
Date: Wed, 21 Jan 2004 14:22:47 +0100
From: Olivier Mueller <om@8304.ch>
To: Marco d'Itri <email address hidden>, <email address hidden>
Subject: Re: Bug#228855: Bus Error on mutt startup with imap (sparc64)

Hi Marco & thx for your quick feedback

On Wed, Jan 21, 2004 at 12:45:32PM +0100, Marco d'Itri wrote:
> Are you using SSL?

no, I even turned off the ssl support of the imap server to make sure.

> I do not have access to a sparc64 system, please compile mutt from the
> source package and try to get a core file by running the unstripped
> binary.

you mean using the deb source package? ok, I'll have a look and see
how I can do that: I'd be happy to help, but I'm quite beginner
with debian issues. I guess I will have to use dpkg-buildpackage?
I'll RTFM, but it may take some time :)

if you want, I can also give you a shell on the sparc.

regards,
Olivier

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20040122001635.H16244@8304.ch>
Date: Thu, 22 Jan 2004 00:16:35 +0100
From: Olivier Mueller <omueller@8304.ch>
To: Marco d'Itri <email address hidden>, Olivier Mueller <om@8304.ch>,
 <email address hidden>
Subject: Re: Bug#228855: Bus Error on mutt startup with imap (sparc64)

On Wed, Jan 21, 2004 at 12:45:32PM +0100, Marco d'Itri wrote:
> >Mutt gives a "Bus Error" just after startup with this muttrc:
> Are you using SSL?
> I do not have access to a sparc64 system, please compile mutt from the
> source package and try to get a core file by running the unstripped
> binary.

voila, I finally managed to compile the stuff, and here is the output
of gdb:

om@u1:~/mutt/mutt-1.5.5.1/build-tree/mutt-1.5.5.1$ gdb ./mutt core
GNU gdb 6.0-debian
Copyright 2003 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 "sparc-linux"...

warning: "/home/om/mutt/mutt-1.5.5.1/build-tree/mutt-1.5.5.1/core": no core file handler recognizes format, using default
Core was generated by `./mutt'.
Program terminated with signal 10, Bus error.
Couldn't read input and local registers from core file
Reading symbols from /usr/lib/libncursesw.so.5...done.
Loaded symbols for /usr/lib/libncursesw.so.5
Reading symbols from /usr/lib/libsasl2.so.2...done.
Loaded symbols for /usr/lib/libsasl2.so.2
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libidn.so.11...done.
Loaded symbols for /usr/lib/libidn.so.11
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /usr/lib/mutt/mutt_ssl_gnutls.so...done.
Loaded symbols for /usr/lib/mutt/mutt_ssl_gnutls.so
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libgnutls.so.10...done.
Loaded symbols for /usr/lib/libgnutls.so.10
Reading symbols from /usr/lib/libgcrypt.so.7...done.
Loaded symbols for /usr/lib/libgcrypt.so.7
Reading symbols from /usr/lib/libtasn1.so.2...done.
Loaded symbols for /usr/lib/libtasn1.so.2
Reading symbols from /usr/lib/libgpg-error.so.0...done.
Loaded symbols for /usr/lib/libgpg-error.so.0
Couldn't read input and local registers from core file
0x703d0ca8 in gcry_create_nonce () from /usr/lib/libgcrypt.so.7
(gdb)

regards & HTH,
Olivier

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 22 Jan 2004 00:36:38 +0100
From: Marco d'Itri <email address hidden>
To: Olivier Mueller <omueller@8304.ch>
Cc: <email address hidden>
Subject: Re: Bug#228855: Bus Error on mutt startup with imap (sparc64)

On Jan 22, Olivier Mueller <omueller@8304.ch> wrote:

 >voila, I finally managed to compile the stuff, and here is the output
 >of gdb:
Please run "where" at the gdb prompt after mutt dies.

This may be bug in libgcrypt, BTW.
I wonder if it's a SASL module which pulls it, as you said to have
disabled SSL.

 >0x703d0ca8 in gcry_create_nonce () from /usr/lib/libgcrypt.so.7

--
ciao, |
Marco | [4236 faQhtNTsdfL9I]

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20040121233045.G16244@8304.ch>
Date: Wed, 21 Jan 2004 23:30:45 +0100
From: Olivier Mueller <omueller@8304.ch>
To: Marco d'Itri <email address hidden>
Subject: Re: Bug#228855: Bus Error on mutt startup with imap (sparc64)

On Wed, Jan 21, 2004 at 02:24:05PM +0100, Marco d'Itri wrote:
> dpkg-source -x *.dsc
> cd mutt-*
> fakeroot ./debian/rules binary
>

PS: the end of the config.log:

int main() {
initscr()
; return 0; }
configure:2908: checking for initscr in -ljcurses
configure:2927: cc -o conftest -g -O2 conftest.c -ljcurses -L/lib 1>&5
/usr/bin/ld: cannot find -ljcurses
collect2: ld returned 1 exit status
configure: failed program was:
#line 2916 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
char initscr();

int main() {
initscr()
; return 0; }
configure:2908: checking for initscr in -lunknown
configure:2927: cc -o conftest -g -O2 conftest.c -lunknown -L/lib 1>&5
/usr/bin/ld: cannot find -lunknown
collect2: ld returned 1 exit status
configure: failed program was:
#line 2916 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
char initscr();

int main() {
initscr()
; return 0; }

O.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20040121232011.F16244@8304.ch>
Date: Wed, 21 Jan 2004 23:20:11 +0100
From: Olivier Mueller <omueller@8304.ch>
To: Marco d'Itri <email address hidden>
Subject: Re: Bug#228855: Bus Error on mutt startup with imap (sparc64)

On Wed, Jan 21, 2004 at 02:24:05PM +0100, Marco d'Itri wrote:
> Download the .diff.gz, .orig.tar.gz and .dsc files and then:
> dpkg-source -x *.dsc
> cd mutt-*
> fakeroot ./debian/rules binary

sorry, it won't compile: it stops during the ./configure,
despite the fact that all the libs listed in the .dsc file
are installed (Build-Depends: debhelper (>= 4), linuxdoc-tools-text, gettext, groff, libncurses5-dev, libsasl2-dev,
libgnutls10-dev, libidn11-dev, zlib1g-dev, libncursesw5-dev):

[...]
checking for tgoto... no
checking for tgoto in -ltermcap... no
checking for tgoto in -ltermlib... no
checking for tgoto in -lunknown... no
checking for initscr in -lcursesX... no
checking for initscr in -lcurses... no
checking for initscr in -lncurses... (cached) no
checking for initscr in -lxcurses... no
checking for initscr in -ljcurses... no
checking for initscr in -lunknown... no
configure: error: no curses library found
make[1]: *** [source.command] Error 1
make[1]: Leaving directory `/home/om/mutt/mutt-1.5.5.1'
make: *** [debian/stampdir/configure] Error 2

(yes, I ran "ldconfig" before)

Strange... :/
regards,
Olivier

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20040122005635.I16244@8304.ch>
Date: Thu, 22 Jan 2004 00:56:35 +0100
From: Olivier Mueller <omueller@8304.ch>
To: <email address hidden>
Subject: Re: Bug#228855: Bus Error on mutt startup with imap (sparc64)

On Thu, Jan 22, 2004 at 12:36:38AM +0100, Marco d'Itri wrote:
> Please run "where" at the gdb prompt after mutt dies.

Connecting to mail.insign.ch...
Program received signal SIGBUS, Bus error.
0x703d07e0 in gcry_create_nonce () from /usr/lib/libgcrypt.so.7
(gdb) where
#0 0x703d07e0 in gcry_create_nonce () from /usr/lib/libgcrypt.so.7
#1 0x703d0cc0 in gcry_create_nonce () from /usr/lib/libgcrypt.so.7
#2 0x703bc850 in gcry_cipher_close () from /usr/lib/libgcrypt.so.7
(gdb)

> This may be bug in libgcrypt, BTW.
> I wonder if it's a SASL module which pulls it, as you said to have
> disabled SSL.

mmm, I turned "imaps" off, but it seems there is still some ssl
stuff in the imapd running on port 143, at least according
to the logs on the target mail server:

==> mail <==
Jan 22 00:53:13 andromeda3 imapd: Connection
Jan 22 00:53:13 andromeda3 imapd: LOGIN: DEBUG: command=CAPABILITY
Jan 22 00:53:13 andromeda3 imapd: LOGIN: DEBUG: command=STARTTLS
Jan 22 00:53:14 andromeda3 imapd: Unexpected SSL connection shutdown.

Well, what next now ? :)
regards & 'nite,
Olivier

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20040122134852.K16244@8304.ch>
Date: Thu, 22 Jan 2004 13:48:52 +0100
From: Olivier Mueller <omueller@8304.ch>
To: <email address hidden>
Subject: Re: Bug#228855: Bus Error on mutt startup with imap (sparc64)

adding: "set ssl_starttls=no" to the .muttrc "solves" the
problem (no more bus error), but then dsniff is able to
catch the password, so it's a bad workaround...

regards,
Olivier

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 22 Jan 2004 14:34:00 +0100
From: "Artur R. Czechowski" <email address hidden>
To: Olivier Mueller <omueller@8304.ch>, <email address hidden>
Subject: Re: Bug#228855: Bus Error on mutt startup with imap (sparc64)

On Thu, Jan 22, 2004 at 01:48:52PM +0100, Olivier Mueller wrote:
> adding: "set ssl_starttls=no" to the .muttrc "solves" the
> problem (no more bus error), but then dsniff is able to
> catch the password, so it's a bad workaround...
Have you installed libsasl2-modules? If yes, try to deinstall it
and set back ssl_starttls to yes.

Cheers
 Artur

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20040122145224.L16244@8304.ch>
Date: Thu, 22 Jan 2004 14:52:24 +0100
From: Olivier Mueller <omueller@8304.ch>
To: <email address hidden>
Subject: Re: Bug#228855: Bus Error on mutt startup with imap (sparc64)

Hi Artur,

On Thu, Jan 22, 2004 at 02:34:00PM +0100, Artur R. Czechowski wrote:
> Have you installed libsasl2-modules? If yes, try to deinstall it
> and set back ssl_starttls to yes.

u1:~# dpkg -l|grep sasl
ii libsasl2 2.1.15-6 Authentication abstraction library
ii libsasl2-dev 2.1.15-6 Development files for authentication abstrac
ii libsasl7 1.5.28-6.1 Authentication abstraction library

so no, libsasl2-modules was not installed.
regards,
Olivier

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20040122225557.GA15994@juarez>
Date: Thu, 22 Jan 2004 23:55:57 +0100
From: Ivo Timmermans <email address hidden>
To: <email address hidden>, Olivier Mueller <om@8304.ch>
Subject: Re: Bug#228855: Bus Error on mutt startup with imap (sparc64)

Olivier,

Could you please try to connect to the imaps server with gnutls-cli?
You can find this program in the gnutls-bin package; use it like this:

  gnutls-cli -p 993 mail.o2w.nl

I'd like to know if this causes a bus error as well.

 Ivo

--
We don't know how the Internet really works. We know how it should
work, but we are constantly surprised.
 - Bruce Schneier

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 23 Jan 2004 00:17:20 +0100
From: Marco d'Itri <email address hidden>
To: Olivier Mueller <omueller@8304.ch>, <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#228855: Bus Error on mutt startup with imap (sparc64)

reassign 228855 libgcrypt7
thanks

The libgcrypt maintainer agrees this is a libgcrypt bug, so I'm
reassigning it.

--
ciao, |
Marco | [4255 trluBG/pFlOkk]

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20040124171044.GA26472@juarez>
Date: Sat, 24 Jan 2004 18:10:44 +0100
From: Ivo Timmermans <email address hidden>
To: Olivier Mueller <omueller@8304.ch>
Cc: <email address hidden>
Subject: Re: Bug#228855: Bus Error on mutt startup with imap (sparc64)

> On Thu, Jan 22, 2004 at 11:55:57PM +0100, Ivo Timmermans wrote:
> > Could you please try to connect to the imaps server with gnutls-cli?
> > You can find this program in the gnutls-bin package; use it like this:
> >
> > gnutls-cli -p 993 mail.o2w.nl
> >
> > I'd like to know if this causes a bus error as well.

Much to my surprise, I could reproduce this on my own (32 bits) sparc.
Initially, it appeared to be the rijndael alignment bug, but
apparently it's something else.

 Ivo

--
<tarzeau> the internet is so big, and full of nothing i want

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20040307133256.R1610@8304.ch>
Date: Sun, 7 Mar 2004 13:32:56 +0100
From: Olivier Mueller <omueller@8304.ch>
To: <email address hidden>
Subject: Re: Bug#228855: Bus Error on mutt startup with imap (sparc64)

well, it is still broken, at least on the current unstable sparc64
platform. Any other thing I could try?

regards,
Olivier

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 7 Apr 2004 20:43:08 -0400
From: Clint Adams <email address hidden>
To: <email address hidden>
Subject: oops

reassign 242666 libgcrypt7
merge 228855 242666
quit

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 7 Apr 2004 21:17:35 -0400
From: Clint Adams <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: i just made it worse

reassign 242668 libgcrypt7
reassign 241753 libgnutls10
merge 228855 242668
quit

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 14 Apr 2004 11:50:54 -0400
From: Clint Adams <email address hidden>
To: <email address hidden>
Subject: sparc64 libgcrypt breaks mutt, lynx, etc.

severity 228855 grave
quit

This makes using gnutls on sparc64 impossible at times.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 25 May 2004 15:53:44 +0000
From: "The Fungi" <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: libgcrypt7: SSL Work-around for Mutt/sparc

Package: libgcrypt7
Version: 1.1.90-1.1
Severity: normal
Followup-For: Bug #228855

A work-around I devised to keep from having to use non-SSL
communication to the mail server:

   sudo apt-get install stunnel
   sudo stunnel -c -d 143 -r mail:993

It will background itself. Now, edit any references to imaps://mail
in your mutrc to instead use imap://localhost and try mutt again.
Should work.

Revision history for this message
Matt Zimmerman (mdz) wrote :

This bug is sparc-specific

Revision history for this message
Matt Zimmerman (mdz) wrote :

*** Bug 6775 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Joost van Baal (joostvb-debian-bugs-20040703-1) wrote : how to reproduce this bug?

Hi,

joostvb@kovalevskaya:~% uname -a
Linux kovalevskaya 2.4.26-sparc64 #1 Sat Apr 24 01:43:10 EDT 2004 sparc64 GNU/Linux
joostvb@kovalevskaya:~% dpkg -l gnutls-bin libgcrypt7
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=================-=================-==================================================
ii gnutls-bin 1.0.4-3 GNU TLS library - commandline utilities
ii libgcrypt7 1.1.90-1.1 LGPL Crypto library - runtime library

joostvb@kovalevskaya:~% gnutls-cli -p 993 mail.o2w.nl
Resolving 'mail.o2w.nl'...
Connecting to '213.227.141.209:993'...
- Certificate type: X.509
 - Got a certificate list of 1 certificates.

 - Certificate[0] info:
...
- Handshake was completed

- Simple Client Mode:

* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
 THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL
 ACL2=UNION] Courier-IMAP ready. Copyright 1998-2004 Double Precision,
 Inc. See COPYING for distribution information.

So: it seems I fail to reproduce the bug here (or am I missing
something?). So, I too have the question Oliver had in march: "Any
other thing I could try?"

Bye,

Joost

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sat, 3 Jul 2004 08:39:21 +0200
From: Joost van Baal <email address hidden>
To: <email address hidden>
Subject: how to reproduce this bug?

--elWSKwo949DbmCL3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

joostvb@kovalevskaya:~% uname -a
Linux kovalevskaya 2.4.26-sparc64 #1 Sat Apr 24 01:43:10 EDT 2004 sparc64 GNU/Linux
joostvb@kovalevskaya:~% dpkg -l gnutls-bin libgcrypt7
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=================-=================-==================================================
ii gnutls-bin 1.0.4-3 GNU TLS library - commandline utilities
ii libgcrypt7 1.1.90-1.1 LGPL Crypto library - runtime library

joostvb@kovalevskaya:~% gnutls-cli -p 993 mail.o2w.nl
Resolving 'mail.o2w.nl'...
Connecting to '213.227.141.209:993'...
- Certificate type: X.509
 - Got a certificate list of 1 certificates.

 - Certificate[0] info:
...
- Handshake was completed

- Simple Client Mode:

* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
 THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL
 ACL2=UNION] Courier-IMAP ready. Copyright 1998-2004 Double Precision,
 Inc. See COPYING for distribution information.

So: it seems I fail to reproduce the bug here (or am I missing
something?). So, I too have the question Oliver had in march: "Any
other thing I could try?"

Bye,

Joost

--elWSKwo949DbmCL3
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA5lSZBgac8paUV/ARAvlYAJoC4WmXHmeTx3nob0ZkiQkAWe+StACgmwR2
2Q2X8u5fGXHMwyMMl0iHiWE=
=QQgY
-----END PGP SIGNATURE-----

--elWSKwo949DbmCL3--

Revision history for this message
In , Matthias Urlichs (smurf) wrote : Bug hunt!

tag 228855 +help
thanks

Hi,

As the new maintainer, I'd like to fix this bug ASAP.

Can somebody give me a login on a system which exhibits the problem?

Thanks!

--
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | <email address hidden>

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20040710153209.GA23801@kiste>
Date: Sat, 10 Jul 2004 17:32:10 +0200
From: "Matthias Urlichs" <email address hidden>
To: <email address hidden>
Cc: <email address hidden>
Subject: Bug hunt!

--k1lZvvs/B4yU6o8G
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

tag 228855 +help
thanks

Hi,

As the new maintainer, I'd like to fix this bug ASAP.

Can somebody give me a login on a system which exhibits the problem?

Thanks!

--=20
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | <email address hidden>

--k1lZvvs/B4yU6o8G
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA8Av58+hUANcKr/kRArVJAJ9+oF3jzcgh08IAQPMOINbUEjp2MgCfd2ZW
pihmmwImYT1Nb2eDco1wn2U=
=2u3R
-----END PGP SIGNATURE-----

--k1lZvvs/B4yU6o8G--

Revision history for this message
In , Matthias Urlichs (smurf) wrote : Re: libgcrypt7 on sparc

tag 228855 +pending
tag 242666 +pending
tag 242668 +pending
thanks

Hi,

Clint Adams:
> Bus error

Got it.

--
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | <email address hidden>

Revision history for this message
In , Matthias Urlichs (smurf) wrote : Bug#228855: fixed in libgcrypt7 1.1.90-6

Source: libgcrypt7
Source-Version: 1.1.90-6

We believe that the bug you reported is fixed in the latest version of
libgcrypt7, which is due to be installed in the Debian FTP archive:

libgcrypt7-dev_1.1.90-6_i386.deb
  to pool/main/libg/libgcrypt7/libgcrypt7-dev_1.1.90-6_i386.deb
libgcrypt7-doc_1.1.90-6_all.deb
  to pool/main/libg/libgcrypt7/libgcrypt7-doc_1.1.90-6_all.deb
libgcrypt7_1.1.90-6.diff.gz
  to pool/main/libg/libgcrypt7/libgcrypt7_1.1.90-6.diff.gz
libgcrypt7_1.1.90-6.dsc
  to pool/main/libg/libgcrypt7/libgcrypt7_1.1.90-6.dsc
libgcrypt7_1.1.90-6_i386.deb
  to pool/main/libg/libgcrypt7/libgcrypt7_1.1.90-6_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Urlichs <email address hidden> (supplier of updated libgcrypt7 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Changed-By: Matthias Urlichs <email address hidden>
Date: Mon, 12 Jul 2004 05:11:45 +0200
Version: 1.1.90-6
Distribution: unstable
Source: libgcrypt7
Urgency: medium
Maintainer: Matthias Urlichs <email address hidden>
Binary: libgcrypt7 libgcrypt7-dev libgcrypt7-doc
Architecture: i386 all source
Closes: 228855 242666 242668 258879
Changes:
 libgcrypt7 (1.1.90-6) unstable; urgency=medium
 .
   * Applied unaligned access fix to rijndael.c.
     - Closes: #242666,#228855,#242668.
   * Detect k*BSD correctly
     - Closes: #258879
Description:
 libgcrypt7-doc - LGPL Crypto library - documentation
 libgcrypt7 - LGPL Crypto library - runtime library
 libgcrypt7-dev - LGPL Crypto library - development files
Files:
 7d00ce623810a3e6cb1467a11043ae96 414200 libdevel optional libgcrypt7-dev_1.1.90-6_i386.deb
 13ddbbe0d4bd5a19f4b24c3e91f6a625 325692 libs optional libgcrypt7_1.1.90-6_i386.deb
 a31c15d459bd16eaebfea4505a14707b 866 libs optional libgcrypt7_1.1.90-6.dsc
 ba0e08988e633d8c076b0914452efd8e 409925 libs optional libgcrypt7_1.1.90-6.diff.gz
 576b77d93708fdd1bbbbabc61e85b7e0 334302 doc optional libgcrypt7-doc_1.1.90-6_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA8gkk8+hUANcKr/kRAn5vAKCdnLiDxYfIZC5SWmE/LPpMkn/EdwCfXt1r
ulY6Zf+INSrJlUyywTIz1UM=
=tTUt
-----END PGP SIGNATURE-----

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20040712024655.GK2741@kiste>
Date: Mon, 12 Jul 2004 04:46:55 +0200
From: "Matthias Urlichs" <email address hidden>
To: Clint Adams <email address hidden>
Cc: <email address hidden>, <email address hidden>, <email address hidden>
Subject: Re: libgcrypt7 on sparc

--ieNMXl1Fr3cevapt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

tag 228855 +pending
tag 242666 +pending
tag 242668 +pending
thanks

Hi,

Clint Adams:
> Bus error

Got it.

--=20
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | <email address hidden>

--ieNMXl1Fr3cevapt
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA8fuf8+hUANcKr/kRAmoMAJsEi3M7MCnYOzKr2uvS6tPCmzrWhQCeOd+n
lXhuamLbigKY8kmMGd3agSw=
=5Ref
-----END PGP SIGNATURE-----

--ieNMXl1Fr3cevapt--

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Mon, 12 Jul 2004 00:02:05 -0400
From: Matthias Urlichs <email address hidden>
To: <email address hidden>
Subject: Bug#228855: fixed in libgcrypt7 1.1.90-6

Source: libgcrypt7
Source-Version: 1.1.90-6

We believe that the bug you reported is fixed in the latest version of
libgcrypt7, which is due to be installed in the Debian FTP archive:

libgcrypt7-dev_1.1.90-6_i386.deb
  to pool/main/libg/libgcrypt7/libgcrypt7-dev_1.1.90-6_i386.deb
libgcrypt7-doc_1.1.90-6_all.deb
  to pool/main/libg/libgcrypt7/libgcrypt7-doc_1.1.90-6_all.deb
libgcrypt7_1.1.90-6.diff.gz
  to pool/main/libg/libgcrypt7/libgcrypt7_1.1.90-6.diff.gz
libgcrypt7_1.1.90-6.dsc
  to pool/main/libg/libgcrypt7/libgcrypt7_1.1.90-6.dsc
libgcrypt7_1.1.90-6_i386.deb
  to pool/main/libg/libgcrypt7/libgcrypt7_1.1.90-6_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Urlichs <email address hidden> (supplier of updated libgcrypt7 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Changed-By: Matthias Urlichs <email address hidden>
Date: Mon, 12 Jul 2004 05:11:45 +0200
Version: 1.1.90-6
Distribution: unstable
Source: libgcrypt7
Urgency: medium
Maintainer: Matthias Urlichs <email address hidden>
Binary: libgcrypt7 libgcrypt7-dev libgcrypt7-doc
Architecture: i386 all source
Closes: 228855 242666 242668 258879
Changes:
 libgcrypt7 (1.1.90-6) unstable; urgency=medium
 .
   * Applied unaligned access fix to rijndael.c.
     - Closes: #242666,#228855,#242668.
   * Detect k*BSD correctly
     - Closes: #258879
Description:
 libgcrypt7-doc - LGPL Crypto library - documentation
 libgcrypt7 - LGPL Crypto library - runtime library
 libgcrypt7-dev - LGPL Crypto library - development files
Files:
 7d00ce623810a3e6cb1467a11043ae96 414200 libdevel optional libgcrypt7-dev_1.1.90-6_i386.deb
 13ddbbe0d4bd5a19f4b24c3e91f6a625 325692 libs optional libgcrypt7_1.1.90-6_i386.deb
 a31c15d459bd16eaebfea4505a14707b 866 libs optional libgcrypt7_1.1.90-6.dsc
 ba0e08988e633d8c076b0914452efd8e 409925 libs optional libgcrypt7_1.1.90-6.diff.gz
 576b77d93708fdd1bbbbabc61e85b7e0 334302 doc optional libgcrypt7-doc_1.1.90-6_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA8gkk8+hUANcKr/kRAn5vAKCdnLiDxYfIZC5SWmE/LPpMkn/EdwCfXt1r
ulY6Zf+INSrJlUyywTIz1UM=
=tTUt
-----END PGP SIGNATURE-----

Revision history for this message
In , Joshua Kwan (joshk) wrote : gcrypt7 problems - not quite fixed!

reopen 242666
reopen 228855
reopen 242668
thanks

I rolled a libgcrypt7/sparc for myself, 1.1.90-6, and mutt now says

Rijndael-128 test encryption failed.
gnutls_handshake: A TLS fatal alert has been received.(Bad record MAC)

when connecting to my IMAP server using mutt. It can't proceed to open
the mailbox after that.

gnutls-cli-debug -p 993 triplehelix.org

and

gnutls-cli-debug -p 443 gmail.google.com

also produce the Rijndael test encryption error, but they exit with a
successful status. So is this broken, or what?

(For those interested: http://june.voxel.net/~joshk/gcrypt7/ contains
unstripped, unoptimized packages of -6.)

--
Joshua Kwan

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 11 Jul 2004 22:57:19 -0700
From: Joshua Kwan <email address hidden>
To: <email address hidden>, <email address hidden>,
 <email address hidden>
Cc: <email address hidden>, om@8304.ch, <email address hidden>,
 <email address hidden>
Subject: gcrypt7 problems - not quite fixed!

--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

reopen 242666
reopen 228855
reopen 242668
thanks

I rolled a libgcrypt7/sparc for myself, 1.1.90-6, and mutt now says

Rijndael-128 test encryption failed.
gnutls_handshake: A TLS fatal alert has been received.(Bad record MAC)

when connecting to my IMAP server using mutt. It can't proceed to open
the mailbox after that.

gnutls-cli-debug -p 993 triplehelix.org

and=20

gnutls-cli-debug -p 443 gmail.google.com

also produce the Rijndael test encryption error, but they exit with a
successful status. So is this broken, or what?

(For those interested: http://june.voxel.net/~joshk/gcrypt7/ contains
unstripped, unoptimized packages of -6.)

--=20
Joshua Kwan

--4Ckj6UjgE2iN1+kY
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: http://triplehelix.org/~joshk/pubkey_gpg.asc

iQIVAwUBQPIoP6OILr94RG8mAQJdhBAAima3HWkUPRhCVypiLtCN06pAy6Ososrd
LU3dybkVSUE5ydYTd/gw2bg2ttxghasWvtMUFrsE3oxBBHqye09uv9XpG4CdaLG2
ff+7c/52gHlypquMkknSrqjYErdX2R8R4lg4AtUUetRNpksM5z27Gucn/keyRATg
vwh0dQdr9KzuoKpSAv4EpLvC+HRZ9x3UcKt7VkDtzi6rxIRrDl9KbEC/YGvYSG3Z
qlG5oF21KYfXj3w6FTu0uZXzmPnGTtV2pdqoavrDRrYlq4U+TS0m0wSOfKf6Bb31
SF7ysOgN8YzAUCRNRcNgg83Ky6GY9gGJSPnxyCIZeu6wn2pbvqgqeZISA+Ioc5tq
Mp/I0PcVymzSyrGff5nQT++piky/ObcrXWjxs6G5XOjYigANK/bb9bOPOxrx95Hy
bggQEBDfQONciEClgsnEnhxlvrtlYQ+kCduINHca1CK5Az96x8lvPLjhOSDOE3dJ
Cng5Xemszo5wOge9DFXOwV/949gMVtiOBCwgzmnEIV8d6yjizWV48GUlSkdY1GzM
AG/2ijtDLrXpPhg3rM9LaitxtOzjBSMk6xd+JFSOmtBwpoAijlDEHxHyMR7Q90+s
pt/iRMt1fLgg4mDAumeFJ3Q6SjBdWq86gczyxXHaQw1gj5jEDScORPVXWK0UlqwM
KWjSAWN0E6I=
=uJHm
-----END PGP SIGNATURE-----

--4Ckj6UjgE2iN1+kY--

Revision history for this message
In , Matthias Urlichs (smurf) wrote : Re: Bug#242666: gcrypt7 problems - not quite fixed!

Hi,

Joshua Kwan:
> also produce the Rijndael test encryption error, but they exit with a
> successful status. So is this broken, or what?
>
Yes, it's still broken. Certain programs should exit with an error if
they see an error. :-(

I'm fixing it.

--
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | <email address hidden>

Revision history for this message
In , Matthias Urlichs (smurf) wrote : Bug#228855: fixed in libgcrypt7 1.1.90-7

Source: libgcrypt7
Source-Version: 1.1.90-7

We believe that the bug you reported is fixed in the latest version of
libgcrypt7, which is due to be installed in the Debian FTP archive:

libgcrypt7-dev_1.1.90-7_i386.deb
  to pool/main/libg/libgcrypt7/libgcrypt7-dev_1.1.90-7_i386.deb
libgcrypt7-doc_1.1.90-7_all.deb
  to pool/main/libg/libgcrypt7/libgcrypt7-doc_1.1.90-7_all.deb
libgcrypt7_1.1.90-7.diff.gz
  to pool/main/libg/libgcrypt7/libgcrypt7_1.1.90-7.diff.gz
libgcrypt7_1.1.90-7.dsc
  to pool/main/libg/libgcrypt7/libgcrypt7_1.1.90-7.dsc
libgcrypt7_1.1.90-7_i386.deb
  to pool/main/libg/libgcrypt7/libgcrypt7_1.1.90-7_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Urlichs <email address hidden> (supplier of updated libgcrypt7 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Changed-By: Matthias Urlichs <email address hidden>
Date: Mon, 12 Jul 2004 09:47:01 +0200
Version: 1.1.90-7
Distribution: unstable
Source: libgcrypt7
Urgency: medium
Maintainer: Matthias Urlichs <email address hidden>
Binary: libgcrypt7 libgcrypt7-dev libgcrypt7-doc
Architecture: i386 all source
Closes: 228855 242666 242668
Changes:
 libgcrypt7 (1.1.90-7) unstable; urgency=medium
 .
   * Repaired the unaligned access fix to rijndael.c.
     - Closes: #242666,#228855,#242668 (again).
Description:
 libgcrypt7-doc - LGPL Crypto library - documentation
 libgcrypt7 - LGPL Crypto library - runtime library
 libgcrypt7-dev - LGPL Crypto library - development files
Files:
 acb7436031c9cd4df8351f9e1673a27b 409268 libs optional libgcrypt7_1.1.90-7.diff.gz
 78882398f41f573214afc1aefd5b1136 866 libs optional libgcrypt7_1.1.90-7.dsc
 17ed546c13609510b9b6d062380b6dbb 414294 libdevel optional libgcrypt7-dev_1.1.90-7_i386.deb
 86d1782dbddb4afb8ad932586d0aa6ae 325768 libs optional libgcrypt7_1.1.90-7_i386.deb
 395a0566ed1e47335d4329a9edc2daa2 334350 doc optional libgcrypt7-doc_1.1.90-7_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA8kuF8+hUANcKr/kRAoA4AJ0ZTOel0hT4mHHd1EnUfnMdoxMQ5wCfRFjV
F5+o0juLnBU2mLDr6VZkIbQ=
=9Zth
-----END PGP SIGNATURE-----

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20040712073409.GA29222@kiste>
Date: Mon, 12 Jul 2004 09:34:10 +0200
From: "Matthias Urlichs" <email address hidden>
To: Joshua Kwan <email address hidden>, <email address hidden>
Cc: <email address hidden>, <email address hidden>,
 <email address hidden>, om@8304.ch, <email address hidden>, <email address hidden>
Subject: Re: Bug#242666: gcrypt7 problems - not quite fixed!

--M9NhX3UHpAaciwkO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

Joshua Kwan:
> also produce the Rijndael test encryption error, but they exit with a
> successful status. So is this broken, or what?
>=20
Yes, it's still broken. Certain programs should exit with an error if
they see an error. :-(

I'm fixing it.

--=20
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | <email address hidden>

--M9NhX3UHpAaciwkO
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA8j7x8+hUANcKr/kRAhpBAJ9SHAb+e/HEX+wuHoxN5pf8rY26FgCfaF7a
N+f4I62x/zMGrbUsAraMEuI=
=8aYA
-----END PGP SIGNATURE-----

--M9NhX3UHpAaciwkO--

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Mon, 12 Jul 2004 04:47:04 -0400
From: Matthias Urlichs <email address hidden>
To: <email address hidden>
Subject: Bug#228855: fixed in libgcrypt7 1.1.90-7

Source: libgcrypt7
Source-Version: 1.1.90-7

We believe that the bug you reported is fixed in the latest version of
libgcrypt7, which is due to be installed in the Debian FTP archive:

libgcrypt7-dev_1.1.90-7_i386.deb
  to pool/main/libg/libgcrypt7/libgcrypt7-dev_1.1.90-7_i386.deb
libgcrypt7-doc_1.1.90-7_all.deb
  to pool/main/libg/libgcrypt7/libgcrypt7-doc_1.1.90-7_all.deb
libgcrypt7_1.1.90-7.diff.gz
  to pool/main/libg/libgcrypt7/libgcrypt7_1.1.90-7.diff.gz
libgcrypt7_1.1.90-7.dsc
  to pool/main/libg/libgcrypt7/libgcrypt7_1.1.90-7.dsc
libgcrypt7_1.1.90-7_i386.deb
  to pool/main/libg/libgcrypt7/libgcrypt7_1.1.90-7_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Urlichs <email address hidden> (supplier of updated libgcrypt7 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Changed-By: Matthias Urlichs <email address hidden>
Date: Mon, 12 Jul 2004 09:47:01 +0200
Version: 1.1.90-7
Distribution: unstable
Source: libgcrypt7
Urgency: medium
Maintainer: Matthias Urlichs <email address hidden>
Binary: libgcrypt7 libgcrypt7-dev libgcrypt7-doc
Architecture: i386 all source
Closes: 228855 242666 242668
Changes:
 libgcrypt7 (1.1.90-7) unstable; urgency=medium
 .
   * Repaired the unaligned access fix to rijndael.c.
     - Closes: #242666,#228855,#242668 (again).
Description:
 libgcrypt7-doc - LGPL Crypto library - documentation
 libgcrypt7 - LGPL Crypto library - runtime library
 libgcrypt7-dev - LGPL Crypto library - development files
Files:
 acb7436031c9cd4df8351f9e1673a27b 409268 libs optional libgcrypt7_1.1.90-7.diff.gz
 78882398f41f573214afc1aefd5b1136 866 libs optional libgcrypt7_1.1.90-7.dsc
 17ed546c13609510b9b6d062380b6dbb 414294 libdevel optional libgcrypt7-dev_1.1.90-7_i386.deb
 86d1782dbddb4afb8ad932586d0aa6ae 325768 libs optional libgcrypt7_1.1.90-7_i386.deb
 395a0566ed1e47335d4329a9edc2daa2 334350 doc optional libgcrypt7-doc_1.1.90-7_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA8kuF8+hUANcKr/kRAoA4AJ0ZTOel0hT4mHHd1EnUfnMdoxMQ5wCfRFjV
F5+o0juLnBU2mLDr6VZkIbQ=
=9Zth
-----END PGP SIGNATURE-----

Revision history for this message
Daniel Robitaille (robitaille) wrote :

Fixed in Debian in July 2004

Changed in libgcrypt7:
status: Unconfirmed → Fix Released
Changed in libgcrypt7:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.