unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#51334: RMAIL error on send C-c C-c
@ 2021-10-22 14:37 Nick Strauss
  2021-10-22 16:22 ` Eli Zaretskii
  2021-10-22 16:29 ` Stefan Kangas
  0 siblings, 2 replies; 7+ messages in thread
From: Nick Strauss @ 2021-10-22 14:37 UTC (permalink / raw)
  To: 51334

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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#51334: RMAIL error on send C-c C-c
  2021-10-22 14:37 bug#51334: RMAIL error on send C-c C-c Nick Strauss
@ 2021-10-22 16:22 ` Eli Zaretskii
  2021-10-22 16:36   ` Nick Strauss
  2021-10-22 16:29 ` Stefan Kangas
  1 sibling, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2021-10-22 16:22 UTC (permalink / raw)
  To: Nick Strauss; +Cc: 51334

> From: Nick Strauss <nicks@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?





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#51334: RMAIL error on send C-c C-c
  2021-10-22 14:37 bug#51334: RMAIL error on send C-c C-c Nick Strauss
  2021-10-22 16:22 ` Eli Zaretskii
@ 2021-10-22 16:29 ` Stefan Kangas
  1 sibling, 0 replies; 7+ messages in thread
From: Stefan Kangas @ 2021-10-22 16:29 UTC (permalink / raw)
  To: Nick Strauss; +Cc: 51334

Nick Strauss <nicks@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?





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#51334: RMAIL error on send C-c C-c
  2021-10-22 16:22 ` Eli Zaretskii
@ 2021-10-22 16:36   ` Nick Strauss
  2021-10-22 17:41     ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Nick Strauss @ 2021-10-22 16:36 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 51334

Hi Eli,

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

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Nick Strauss <nicks@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






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#51334: RMAIL error on send C-c C-c
  2021-10-22 16:36   ` Nick Strauss
@ 2021-10-22 17:41     ` Eli Zaretskii
  2021-10-22 18:57       ` Andreas Schwab
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2021-10-22 17:41 UTC (permalink / raw)
  To: Nick Strauss; +Cc: 51334

> From: Nick Strauss <nicks@nick-strauss.com>
> Cc: 51334@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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#51334: RMAIL error on send C-c C-c
  2021-10-22 17:41     ` Eli Zaretskii
@ 2021-10-22 18:57       ` Andreas Schwab
  2021-10-24 18:39         ` Lars Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Andreas Schwab @ 2021-10-22 18:57 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 51334, Nick Strauss

On Okt 22 2021, Eli Zaretskii wrote:

>> From: Nick Strauss <nicks@nick-strauss.com>
>> Cc: 51334@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@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#51334: RMAIL error on send C-c C-c
  2021-10-22 18:57       ` Andreas Schwab
@ 2021-10-24 18:39         ` Lars Ingebrigtsen
  0 siblings, 0 replies; 7+ messages in thread
From: Lars Ingebrigtsen @ 2021-10-24 18:39 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: 51334, Nick Strauss

Andreas Schwab <schwab@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





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-10-24 18:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-22 14:37 bug#51334: RMAIL error on send C-c C-c Nick Strauss
2021-10-22 16:22 ` Eli Zaretskii
2021-10-22 16:36   ` Nick Strauss
2021-10-22 17:41     ` Eli Zaretskii
2021-10-22 18:57       ` Andreas Schwab
2021-10-24 18:39         ` Lars Ingebrigtsen
2021-10-22 16:29 ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).