GNU bug report logs - #13546
24.2.92; Error(s) when sending emails

Previous Next

Package: emacs;

Reported by: "Sebastien Vauban" <wxhgmqzgwmuf <at> spammotel.com>

Date: Fri, 25 Jan 2013 09:26:02 UTC

Severity: important

Merged with 13527, 13701

Found in versions 24.2.92, 24.2.93

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

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Sebastien Vauban <wxhgmqzgwmuf <at> spammotel.com>
Cc: 13546 <at> debbugs.gnu.org
Subject: Re: bug#13546: 24.2.92; Error(s) when sending emails
Date: Sun, 27 Jan 2013 10:16:44 +0200
> From: "Sebastien Vauban" <wxhgmqzgwmuf <at> spammotel.com>
> Date: Fri, 25 Jan 2013 17:03:30 +0100
> 
> > What I'd like is for you to step with a debugger through the affected
> > code and see what is going on there.
> 
> You mean with gdb, like I do when Emacs is hanging or crashing?

Yes.

> > But since your cannot reproduce this at will, it doesn't seem to be
> > possible...
> 
> But I'm sure it will come back[1], and that will happen, can you tell me what I
> should type in the GDB window?

OK.  So please attach GDB to Emacs _before_ the problem happens, and
set a breakpoint like this:

  (gdb) break fileio.c:4913
  (gdb) continue

The breakpoint will be on this line in fileio.c:

  if (! ok)
    error ("IO error writing %s: %s", SDATA (filename),  <<<<<<<<<
           emacs_strerror (save_errno));

Then do whatever it takes to reproduce the problem.  When it happens
again, this breakpoint should break.  Then type the following GDB
commands:

  (gdb) p desc
  (gdb) p/x fd_info[N].flags

where N is the value of 'desc' as displayed by "p desc".  That's
assuming that value is non-negative; if it is negative, the second
command is not going to display anything useful.

Meanwhile, I installed a couple of small changes that may or may not
solve this problem, so please be sure to try the next pretest binary
when it becomes available.

Thanks.




This bug report was last modified 12 years and 139 days ago.

Previous Next


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