all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: Eli Zaretskii <eliz-mXXj517/zsQ@public.gmane.org>
Cc: 13546-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
Subject: bug#13546: 24.2.92; Error(s) when sending emails
Date: Tue, 12 Feb 2013 18:36:58 +0100	[thread overview]
Message-ID: <86y5etph6t.fsf@somewhere.org> (raw)
In-Reply-To: <mailman.19681.1360686344.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org> (Eli Zaretskii's message of "Tue, 12 Feb 2013 18:24:34 +0200")

Eli,

Eli Zaretskii wrote:
>> From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
>> Cc: Sebastien Vauban <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>,  13546-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
>> Date: Tue, 12 Feb 2013 13:43:53 +0100
>> 
>> > 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.
>> 
>> I did attach to Emacs when problems began with Helm.
>> 
>> --8<---------------cut here---------------start------------->8---
>> [New Thread 21312.0x6b24]
>> [New Thread 21312.0x1b0c]
>> warning: sys_read called when read is in progress
>> warning: reader_thread.SetEvent failed with 6 for fd 3
>> [New Thread 21312.0x30a4]
>> warning: sys_read called when read is in progress
>> warning: reader_thread.SetEvent failed with 6 for fd 3
>> [New Thread 21312.0x469c]
>> [New Thread 21312.0x42c0]
>> warning: reader_thread.SetEvent failed with 6 for fd 3
>> [New Thread 21312.0x5050]
>> [New Thread 21312.0x1014]
>> warning: sys_read called when read is in progress
>> [New Thread 21312.0x1790]
>> --8<---------------cut here---------------end--------------->8---
>> 
>> Did I attach too late?  Is the above giving some information already?
>
> It gives me something, but not what I expected.  Did you at all see
> the "IO error writing FOO" message this time?

Not this time, no.

> If not, the above breakpoint will not break.

This explains that.

> In any case, since you say the problem comes back after 2 hours of
> usage, it is probably better to attach GDB and set the breakpoints at
> the very beginning of your session.
>
> To catch this message:
>
>   warning: sys_read called when read is in progress
>
> please put an additional breakpoint on line 6410 of w32.c, which says:
>
>         DebPrint (("sys_read called when read is in progress\n"));
>
> and when it breaks, please do:
>
>   (gdb) p fd_info[fd]
>   (gdb) p fd
>   (gdb) p *cp

OK, I do this:

1. Launch Emacs 24.2.93

2. Go to c:\Program Files (x86)\Emacs-24.2.93\bin

3. Run: gdb -p 15276
   XXX not sure about having to reference emacs.exe?
   XXX or should I start somehow Emacs from GDB?

4. Type in GDB:
   (gdb) break fileio.c:4913
   (gdb) break w32.c:6410
   (gdb) continue

5. Wait for problems, and do what you wrote in these threads.

Is this correct?

Best regards,
  Seb

-- 
Sebastien Vauban





  parent reply	other threads:[~2013-02-12 17:36 UTC|newest]

Thread overview: 93+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-25  9:23 bug#13546: 24.2.92; Error(s) when sending emails Sebastien Vauban
2013-01-25 13:52 ` Eli Zaretskii
     [not found] ` <mailman.18301.1359121987.855.bug-gnu-emacs@gnu.org>
2013-01-25 14:06   ` Sebastien Vauban
2013-01-25 17:30     ` Glenn Morris
2013-01-25 19:33       ` Eli Zaretskii
2013-01-25 19:43         ` Glenn Morris
     [not found]         ` <mailman.18336.1359143096.855.bug-gnu-emacs@gnu.org>
     [not found]           ` <mailman.18336.1359143096.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-01-27  8:18             ` Sebastien Vauban
2013-01-27 19:54               ` Glenn Morris
2013-01-25 14:08   ` Sebastien Vauban
2013-01-25 15:05     ` Eli Zaretskii
     [not found]     ` <mailman.18307.1359126423.855.bug-gnu-emacs@gnu.org>
2013-01-25 15:32       ` Sebastien Vauban
2013-01-25 15:58         ` Eli Zaretskii
     [not found]         ` <mailman.18310.1359129541.855.bug-gnu-emacs@gnu.org>
2013-01-25 16:03           ` Sebastien Vauban
2013-01-27  8:16             ` Eli Zaretskii
     [not found]             ` <mailman.18426.1359274612.855.bug-gnu-emacs@gnu.org>
     [not found]               ` <mailman.18426.1359274612.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-12 12:43                 ` Sebastien Vauban
2013-02-12 16:24                   ` Eli Zaretskii
     [not found]                   ` <mailman.19681.1360686344.855.bug-gnu-emacs@gnu.org>
     [not found]                     ` <mailman.19681.1360686344.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-12 17:36                       ` Sebastien Vauban [this message]
2013-02-12 20:22                         ` Eli Zaretskii
     [not found]                         ` <mailman.19711.1360700560.855.bug-gnu-emacs@gnu.org>
2013-02-13  8:55                           ` Sebastien Vauban
     [not found]                             ` <86ehh9mx93.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
2013-02-13  9:06                               ` Sebastien Vauban
2013-02-13 17:28                                 ` Eli Zaretskii
     [not found]                                 ` <mailman.19837.1360776521.855.bug-gnu-emacs@gnu.org>
     [not found]                                   ` <mailman.19837.1360776521.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-13 20:26                                     ` Sebastien Vauban
2013-02-13 22:09                                       ` Eli Zaretskii
     [not found]                                       ` <mailman.19867.1360793434.855.bug-gnu-emacs@gnu.org>
     [not found]                                         ` <mailman.19867.1360793434.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-13 22:31                                           ` Sebastien Vauban
2013-02-14  5:22                                             ` Eli Zaretskii
2013-02-14  5:56                                             ` Eli Zaretskii
     [not found]                                             ` <mailman.19892.1360819353.855.bug-gnu-emacs@gnu.org>
     [not found]                                               ` <mailman.19927.1360841946.855.bug-gnu-emacs@gnu.org>
     [not found]                                                 ` <mailman.19927.1360841946.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-15  8:31                                                   ` Sebastien Vauban
2013-02-14 11:36                               ` Sebastien Vauban
2013-02-15 10:12                                 ` Eli Zaretskii
2013-02-15 17:33                                   ` Glenn Morris
2013-02-15 19:38                                     ` Eli Zaretskii
     [not found]                                   ` <mailman.20035.1360949668.855.bug-gnu-emacs@gnu.org>
     [not found]                                     ` <mailman.20035.1360949668.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-15 18:42                                       ` Sebastien Vauban
2013-02-15 18:49                                         ` Glenn Morris
2013-02-15 19:07                                         ` Eli Zaretskii
     [not found]                                         ` <mailman.20043.1360954243.855.bug-gnu-emacs@gnu.org>
     [not found]                                           ` <mailman.20043.1360954243.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-15 20:50                                             ` Sebastien Vauban
2013-02-15 22:42                                               ` Eli Zaretskii
     [not found]                                               ` <mailman.20072.1360968204.855.bug-gnu-emacs@gnu.org>
     [not found]                                                 ` <mailman.20072.1360968204.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-15 23:34                                                   ` Sebastien Vauban
2013-02-17 18:29                                                     ` Eli Zaretskii
2013-02-19 17:10                                                       ` Glenn Morris
     [not found]                                                       ` <mailman.20362.1361293889.855.bug-gnu-emacs@gnu.org>
     [not found]                                                         ` <mailman.20362.1361293889.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-25 21:26                                                           ` Sebastien Vauban
2013-02-25 21:43                                                             ` Glenn Morris
     [not found]                                                             ` <mailman.20837.1361828606.855.bug-gnu-emacs@gnu.org>
     [not found]                                                               ` <mailman.20837.1361828606.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-27 10:32                                                                 ` Sebastien Vauban
2013-02-27 18:01                                                                   ` Eli Zaretskii
2013-02-28  6:34                                                                     ` Glenn Morris
2013-02-28 15:35                                                                       ` Eli Zaretskii
     [not found]                                                                   ` <mailman.21036.1361988154.855.bug-gnu-emacs@gnu.org>
     [not found]                                                                     ` <mailman.21036.1361988154.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-27 20:43                                                                       ` Sebastien Vauban
2013-02-27 21:07                                                                         ` Eli Zaretskii
     [not found]                                                                         ` <mailman.21051.1361999392.855.bug-gnu-emacs@gnu.org>
     [not found]                                                                           ` <mailman.21051.1361999392.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-27 21:25                                                                             ` Sebastien Vauban
2013-02-28  4:54                                                                               ` Eli Zaretskii
2013-02-28 13:42                                                                                 ` Stefan Monnier
2013-02-28 16:06                                                                                   ` Eli Zaretskii
2013-03-01 11:30                                                                                     ` Ted Zlatanov
2013-03-01 13:36                                                                                       ` Ted Zlatanov
2013-03-01 14:03                                                                                         ` Eli Zaretskii
2013-03-01 19:40                                                                                           ` Ted Zlatanov
2013-03-01 20:20                                                                                             ` Eli Zaretskii
     [not found]                                                                                             ` <mailman.21215.1362169594.855.bug-gnu-emacs@gnu.org>
     [not found]                                                                                               ` <mailman.21215.1362169594.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-03-01 22:25                                                                                                 ` Sebastien Vauban
2013-03-01 13:58                                                                                       ` Eli Zaretskii
2013-03-01 18:13                                                                                         ` Glenn Morris
2013-03-01 18:31                                                                                           ` Eli Zaretskii
     [not found]                                                                                           ` <mailman.21201.1362162725.855.bug-gnu-emacs@gnu.org>
     [not found]                                                                                             ` <mailman.21201.1362162725.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-03-04 16:00                                                                                               ` Sebastien Vauban
2013-03-04 17:05                                                                                                 ` Eli Zaretskii
     [not found]                                                                                     ` <mailman.21157.1362137466.855.bug-gnu-emacs@gnu.org>
     [not found]                                                                                       ` <mailman.21157.1362137466.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-03-01 12:49                                                                                         ` Sebastien Vauban
2013-03-01 14:01                                                                                           ` Eli Zaretskii
     [not found]                                                                                   ` <mailman.21109.1362067632.855.bug-gnu-emacs@gnu.org>
     [not found]                                                                                     ` <mailman.21109.1362067632.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-28 16:52                                                                                       ` Sebastien Vauban
     [not found]                                                                               ` <mailman.21081.1362027312.855.bug-gnu-emacs@gnu.org>
     [not found]                                                                                 ` <mailman.21081.1362027312.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-28  8:41                                                                                   ` Sebastien Vauban
2013-02-28 15:37                                                                                     ` Eli Zaretskii
2013-02-28 11:59                                                                         ` Dani Moncayo
2013-02-28 15:51                                                                           ` Eli Zaretskii
     [not found]                                                                         ` <mailman.21094.1362052819.855.bug-gnu-emacs@gnu.org>
     [not found]                                                                           ` <mailman.21094.1362052819.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-28 15:14                                                                             ` Sebastien Vauban
     [not found]                                 ` <mailman.20003.1360923218.855.bug-gnu-emacs@gnu.org>
2013-02-15 10:35                                   ` Sebastien Vauban
2013-02-15 13:20                                     ` Eli Zaretskii
     [not found]                                     ` <mailman.20015.1360934495.855.bug-gnu-emacs@gnu.org>
     [not found]                                       ` <mailman.20015.1360934495.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-15 15:15                                         ` Sebastien Vauban
2013-02-15 15:47                                           ` Eli Zaretskii
     [not found]                                           ` <mailman.20023.1360943307.855.bug-gnu-emacs@gnu.org>
2013-02-15 16:33                                             ` Sebastien Vauban
2013-03-01 13:56                               ` Sebastien Vauban
2013-03-01 14:28                               ` Sebastien Vauban
2013-03-01 15:01                                 ` Eli Zaretskii
     [not found]                     ` <mailman.19695.1360690724.855.bug-gnu-emacs@gnu.org>
     [not found]                       ` <mailman.19695.1360690724.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-12 17:48                         ` Sebastien Vauban
     [not found]                       ` <mailman.19696.1360691387.855.bug-gnu-emacs@gnu.org>
     [not found]                         ` <mailman.19696.1360691387.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-12 17:52                           ` Sebastien Vauban
     [not found]                         ` <mailman.19703.1360691991.855.bug-gnu-emacs@gnu.org>
     [not found]                           ` <mailman.19703.1360691991.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-12 18:28                             ` Sebastien Vauban
2013-02-13 17:20                               ` Eli Zaretskii
2013-02-14 11:01                                 ` Thierry Volpiatto
2013-02-15 10:10                                   ` Eli Zaretskii
2013-02-15 19:59                                     ` Thierry Volpiatto
     [not found]                                   ` <mailman.20001.1360923093.855.bug-gnu-emacs@gnu.org>
     [not found]                                     ` <mailman.20001.1360923093.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-15 10:37                                       ` Sebastien Vauban
2013-02-15 13:26                                         ` Eli Zaretskii
     [not found]                               ` <mailman.19836.1360776098.855.bug-gnu-emacs@gnu.org>
     [not found]                                 ` <mailman.19836.1360776098.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-13 20:20                                   ` Sebastien Vauban
2013-02-13 22:08                                     ` Eli Zaretskii
2013-02-14 12:31                                   ` Sebastien Vauban
     [not found]               ` <mailman.19665.1360673152.855.bug-gnu-emacs@gnu.org>
     [not found]                 ` <mailman.19665.1360673152.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-12 13:07                   ` Fabrice Niessen
     [not found]                 ` <mailman.19666.1360674598.855.bug-gnu-emacs@gnu.org>
     [not found]                   ` <mailman.19666.1360674598.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-12 13:12                     ` Sebastien Vauban
2013-01-25 16:06           ` Sebastien Vauban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86y5etph6t.fsf@somewhere.org \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=13546-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org \
    --cc=eliz-mXXj517/zsQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.