misleading error message

Vincent Lefevre vincent at vinc17.net
Tue Sep 24 13:07:39 CEST 2024


On 2024-09-24 11:34:05 +0200, Sergey B Kirpichev wrote:
> On Tue, Sep 24, 2024 at 10:44:48AM +0200, Vincent Lefevre wrote:
> > It will not do both in general. The "raise (SIGFPE);" will normally
> > terminate the process with a core dump. The abort() will be called
> > only if SIGFPE is ignored, but it is dangerous to ignore this signal
> 
> No.  If signal handler set - the raise() function shall not return until
> after the signal handler does.  But then abort() will be called.
> 
> So, in quoted issue OP got from OS something like from this toy case,
> not a core dump at all:
> sk at note:~ $ cat a.c
> #include <signal.h>
> #include <stdlib.h>
> int main(void)
> {
>     raise(SIGFPE);
>     abort();
>     return 0;
> }
> sk at note:~ $ cc a.c && ./a.out
> Floating point exception

Wrong. You do not prove anything with your program.
The following one shows that "abort();" is not executed.

$ cat tst.c
#include <signal.h>
#include <stdlib.h>
#include <stdio.h>
int main(void)
{
  raise(SIGFPE);
  printf("OK\n");
  abort();
  return 0;
}
$ cc tst.c
$ ./a.out
Floating point exception (core dumped)

And the associated core dump:

-rw------- 1    319488 2024-09-24 12:58:28 core.283390

> > > Now I also see "Starting in early 2024, we cannot deliver email to
> > > any gmail.com addresses." I suspect it's because missing DMARC
> > > policy for gmplib.org. Why not set SPF & DMARC for this domain? This
> > > should fix your problems with Gmail (and, perhaps, with more and
> > > more other email providers, which adopt similar policies).
> > 
> > This is a stupid requirement from Gmail, in particular for users
> > of multiple machines and/or mailing-lists (one has to use "all"
> > for SPF, which is misleading).
> 
> I don't see reasons to use "all" for mailing-lists.  See e.g. gnu.org.

Not for mailing-lists domains, but for personal mail. I had to
use "all" for my vinc17.net domain, otherwise SpamAssassin was
scoring my messages not sent from my own server as potential
spam. This was not the case when I was not using SPF yet.

I don't know about gmplib.org, but Torbjörn may use this domain
also for personal mail and might have issues with SPF.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


More information about the gmp-discuss mailing list