GNU bug report logs - #51334
RMAIL error on send C-c C-c

Previous Next

Package: emacs;

Reported by: Nick Strauss <nicks <at> nick-strauss.com>

Date: Fri, 22 Oct 2021 14:44:02 UTC

Severity: normal

Tags: notabug

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 51334 in the body.
You can then email your comments to 51334 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#51334; Package emacs. (Fri, 22 Oct 2021 14:44:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nick Strauss <nicks <at> nick-strauss.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 22 Oct 2021 14:44:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nick Strauss <nicks <at> nick-strauss.com>
To: bug-gnu-emacs <at> gnu.org  
Subject: RMAIL error on send C-c C-c
Date: Fri, 22 Oct 2021 14:37:25 +0000
Hi,
I have several debian accounts with email. One such account started
having difficulty. When trying to send an email while in an RMAIL buffer
using C-c C-c, emacs crashes unexpectedly with this error:
emacs[0x541b30]
emacs[0x50bc8f]
emacs[0x50c003]
...
Illegal instruction

It probably is some kind of interaction with the underlying linux mailer
that is killing emacs, but it would be nice to have some graceful exit,
and perhaps some chance of debugging the problem, with my limited
knowlege and abiliti3s.

Thank you.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51334; Package emacs. (Fri, 22 Oct 2021 16:23:01 GMT) Full text and rfc822 format available.

Message #8 received at 51334 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Nick Strauss <nicks <at> nick-strauss.com>
Cc: 51334 <at> debbugs.gnu.org
Subject: Re: bug#51334: RMAIL error on send C-c C-c
Date: Fri, 22 Oct 2021 19:22:24 +0300
> From: Nick Strauss <nicks <at> nick-strauss.com>
> Date: Fri, 22 Oct 2021 14:37:25 +0000
> 
> I have several debian accounts with email. One such account started
> having difficulty. When trying to send an email while in an RMAIL buffer
> using C-c C-c, emacs crashes unexpectedly with this error:
> emacs[0x541b30]
> emacs[0x50bc8f]
> emacs[0x50c003]
> ...
> Illegal instruction

Which version of Emacs is that?

In any case, those addresses can only be interpreted on your machine.
Can you run Emacs under GDB, and when it crashes, produce the
backtrace and post it?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51334; Package emacs. (Fri, 22 Oct 2021 16:30:02 GMT) Full text and rfc822 format available.

Message #11 received at 51334 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Nick Strauss <nicks <at> nick-strauss.com>
Cc: 51334 <at> debbugs.gnu.org
Subject: Re: bug#51334: RMAIL error on send C-c C-c
Date: Fri, 22 Oct 2021 12:29:27 -0400
Nick Strauss <nicks <at> nick-strauss.com> writes:

> I have several debian accounts with email. One such account started
> having difficulty. When trying to send an email while in an RMAIL buffer
> using C-c C-c, emacs crashes unexpectedly with this error:
> emacs[0x541b30]
> emacs[0x50bc8f]
> emacs[0x50c003]
> ...
> Illegal instruction
>
> It probably is some kind of interaction with the underlying linux mailer
> that is killing emacs, but it would be nice to have some graceful exit,
> and perhaps some chance of debugging the problem, with my limited
> knowlege and abiliti3s.

Could you try to reproduce this in gdb to produce a backtrace?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51334; Package emacs. (Fri, 22 Oct 2021 17:32:01 GMT) Full text and rfc822 format available.

Message #14 received at 51334 <at> debbugs.gnu.org (full text, mbox):

From: Nick Strauss <nicks <at> nick-strauss.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 51334 <at> debbugs.gnu.org
Subject: Re: bug#51334: RMAIL error on send C-c C-c
Date: Fri, 22 Oct 2021 16:36:57 +0000
Hi Eli,

The version is GNU Emacs 24.4.1. I have included backtrace at end of message.

Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Nick Strauss <nicks <at> nick-strauss.com>
>> Date: Fri, 22 Oct 2021 14:37:25 +0000
>> 
>> I have several debian accounts with email. One such account started
>> having difficulty. When trying to send an email while in an RMAIL buffer
>> using C-c C-c, emacs crashes unexpectedly with this error:
>> emacs[0x541b30]
>> emacs[0x50bc8f]
>> emacs[0x50c003]
>> ...
>> Illegal instruction
>
> Which version of Emacs is that?
>
> In any case, those addresses can only be interpreted on your machine.
> Can you run Emacs under GDB, and when it crashes, produce the
> backtrace and post it?
Thread 1 "emacs" received signal SIGILL, Illegal instruction.
0x00007f2e35c223a3 in __gmpz_import () from /usr/local/lib/libgmp.so.10
(gdb) bt
#0  0x00007f2e35c223a3 in __gmpz_import () from /usr/local/lib/libgmp.so.10
#1  0x00007f2e35e864dc in nettle_mpz_set_str_256_u ()
   from /usr/lib/x86_64-linux-gnu/libhogweed.so.2
#2  0x00007f2e3846de1c in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28
#3  0x00007f2e383cdf76 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28
#4  0x00007f2e383ce448 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28
#5  0x00007f2e383f9cab in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28
#6  0x00007f2e384045c7 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28
#7  0x00007f2e383f7881 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28
#8  0x00007f2e3841c843 in gnutls_x509_crt_get_pk_algorithm ()
   from /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28
#9  0x00007f2e383df708 in gnutls_pubkey_import_x509 ()
   from /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28
#10 0x00007f2e383debdf in gnutls_pcert_import_x509 ()
   from /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28
#11 0x00007f2e383ded09 in gnutls_pcert_import_x509_raw ()
   from /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28
---Type <return> to continue, or q <return> to quit---
#12 0x00007f2e38438ce9 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28
#13 0x00007f2e383c4c55 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28
#14 0x00007f2e383c1888 in gnutls_handshake ()
   from /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51334; Package emacs. (Fri, 22 Oct 2021 17:43:01 GMT) Full text and rfc822 format available.

Message #17 received at 51334 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Nick Strauss <nicks <at> nick-strauss.com>
Cc: 51334 <at> debbugs.gnu.org
Subject: Re: bug#51334: RMAIL error on send C-c C-c
Date: Fri, 22 Oct 2021 20:41:39 +0300
> From: Nick Strauss <nicks <at> nick-strauss.com>
> Cc: 51334 <at> debbugs.gnu.org
> Date: Fri, 22 Oct 2021 16:36:57 +0000
> 
> The version is GNU Emacs 24.4.1. I have included backtrace at end of message.

Thanks.  Emacs 24.4 is very old, I suggest to upgrade.

> Thread 1 "emacs" received signal SIGILL, Illegal instruction.
> 0x00007f2e35c223a3 in __gmpz_import () from /usr/local/lib/libgmp.so.10
> (gdb) bt
> #0  0x00007f2e35c223a3 in __gmpz_import () from /usr/local/lib/libgmp.so.10
> #1  0x00007f2e35e864dc in nettle_mpz_set_str_256_u ()
>    from /usr/lib/x86_64-linux-gnu/libhogweed.so.2
> #2  0x00007f2e3846de1c in ?? ()
>    from /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28

Sounds like some problem with the GnuTLS library, so I suggest to
upgrade that as well.

I see no indications here that it's an Emacs problem.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51334; Package emacs. (Fri, 22 Oct 2021 18:58:02 GMT) Full text and rfc822 format available.

Message #20 received at 51334 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 51334 <at> debbugs.gnu.org, Nick Strauss <nicks <at> nick-strauss.com>
Subject: Re: bug#51334: RMAIL error on send C-c C-c
Date: Fri, 22 Oct 2021 20:57:26 +0200
On Okt 22 2021, Eli Zaretskii wrote:

>> From: Nick Strauss <nicks <at> nick-strauss.com>
>> Cc: 51334 <at> debbugs.gnu.org
>> Date: Fri, 22 Oct 2021 16:36:57 +0000
>> 
>> The version is GNU Emacs 24.4.1. I have included backtrace at end of message.
>
> Thanks.  Emacs 24.4 is very old, I suggest to upgrade.
>
>> Thread 1 "emacs" received signal SIGILL, Illegal instruction.
>> 0x00007f2e35c223a3 in __gmpz_import () from /usr/local/lib/libgmp.so.10
>> (gdb) bt
>> #0  0x00007f2e35c223a3 in __gmpz_import () from /usr/local/lib/libgmp.so.10
>> #1  0x00007f2e35e864dc in nettle_mpz_set_str_256_u ()
>>    from /usr/lib/x86_64-linux-gnu/libhogweed.so.2
>> #2  0x00007f2e3846de1c in ?? ()
>>    from /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28
>
> Sounds like some problem with the GnuTLS library

Rather the (self-compiled?) GMP library.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




Added tag(s) notabug. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Sat, 23 Oct 2021 02:48:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51334; Package emacs. (Sun, 24 Oct 2021 18:40:01 GMT) Full text and rfc822 format available.

Message #25 received at 51334 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 51334 <at> debbugs.gnu.org,
 Nick Strauss <nicks <at> nick-strauss.com>
Subject: Re: bug#51334: RMAIL error on send C-c C-c
Date: Sun, 24 Oct 2021 20:39:14 +0200
Andreas Schwab <schwab <at> linux-m68k.org> writes:

>>> 0x00007f2e35c223a3 in __gmpz_import () from /usr/local/lib/libgmp.so.10

[...]

> Rather the (self-compiled?) GMP library.

Yup.  That it's in /usr/local seems to point to a self-compiled library.

In any case, this doesn't seem to be an Emacs bug, so I'm closing this
bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 51334 <at> debbugs.gnu.org and Nick Strauss <nicks <at> nick-strauss.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 24 Oct 2021 18:40:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 22 Nov 2021 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 156 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.