unofficial mirror of bug-gnu-emacs@gnu.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: Wed, 13 Feb 2013 21:20:46 +0100	[thread overview]
Message-ID: <86r4kkc6e9.fsf@somewhere.org> (raw)
In-Reply-To: <mailman.19836.1360776098.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org> (Eli Zaretskii's message of "Wed, 13 Feb 2013 19:20:44 +0200")

Eli,

Eli Zaretskii wrote:
>> From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
>> Cc: 13546-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
>> Date: Tue, 12 Feb 2013 19:28:30 +0100
>> 
>> Breakpoint 2, sys_read (fd=6, buffer=0x64b1034 "", count=5) at w32.c:6410
>> 6410    in w32.c
>> (gdb)
>> Continuing.
>> warning: sys_read called when read is in progress
>> warning: reader_thread.SetEvent failed with 6 for fd 6
>> [New Thread 15276.0x6774]
>> warning: reader_thread.SetEvent failed with 6 for fd 3
>> warning: reader_thread.SetEvent failed with 6 for fd 5
>> [New Thread 15276.0x5b0c]
>> [New Thread 15276.0x1898]
>
> It's weird, these messages. I cannot figure out what causes them. I
> see in your screencast that helm launches subprocesses like crazy (it
> looks like every pattern character you type runs another Locate
> process).

I'm glad to have done that screencast. That way, you can feel how my system
reacts, and see I'm not a fool...

> But even if I try simulating such a subprocess pressure, by launching
> another 'locate' command every 100 msec, I cannot reproduce the above
> messages on my system. So some other factor is at work here.
>
> I need more data. Please modify the way you set breakpoint at
> w32.c:6410 as follows:
>
>  (gdb) break w32.c:6410
>  (gdb) commands
>   > bt 4
>   > p fd
>   > p fd_info[fd]
>   > b *cp
>   > continue
>   > end
>
> In addition, please add a 3rd breakpoint, like this:
>
>  (gdb) break w32proc.c:2276
>  (gdb) commands
>   > bt 5
>   > p cp
>   > p cp->wnd
>   > continue
>   > end
>
> Please do this right at the beginning of a fresh session, and please
> post the entire GDB session until it gets to the "unusable" state.
> (You may need to enlarge the Screen Buffer Size property of the cmd
> window in which you run GDB, for it to be able to keep all those
> message and backtraces.) It is very important for me to see all the
> messages and backtraces one after the other, to see how the problem
> develops.
>
> Also, do you per chance have w32-start-process-share-console
> customized to a non-nil value? If so, can you try with it being nil?

  ╭────
  │ w32-start-process-share-console is a variable defined in `C source code'.
  │ Its value is nil
  │ 
  │ Documentation:
  │ When nil, new child processes are given a new console.
  │ When non-nil, they share the Emacs console; this has the limitation of
  │ allowing only one DOS subprocess to run at a time (whether started directly
  │ or indirectly by Emacs), and preventing Emacs from cleanly terminating the
  │ subprocess group, but may allow Emacs to interrupt a subprocess that doesn't
  │ otherwise respond to interrupts from Emacs.
  ╰────

As my Emacs was already quite weak[1], when reading your email, I decided to
attach GDB (I had a rest, for a couple of hours, with all those breaks),
launch a screencast, and try to reproduce problems.

Here for the live demo: http://screencast.com/t/PTVc7yA4u.

For the traces:

--8<---------------cut here---------------start------------->8---
GNU gdb (GDB) 7.5.50.20120815-cvs (cygwin-special)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-cygwin".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Attaching to process 21364
[New Thread 21364.0xce8]
[New Thread 21364.0x64f0]
[New Thread 21364.0x67cc]
[New Thread 21364.0x1a8c]
[New Thread 21364.0x1e78]
[New Thread 21364.0x5930]
[New Thread 21364.0x33a0]
Reading symbols from /cygdrive/c/Program Files (x86)/emacs-24.2.93/bin/emacs.exe...done.
(gdb) break w32.c:6410
Breakpoint 1 at 0x108fca5: file w32.c, line 6410.
(gdb) commands
Type commands for breakpoint(s) 1, one per line.
End with a line saying just "end".
>bt 4
>p fd
>p fd_info[fd]
>b *cp
>continue
>end
(gdb) break w32proc.c:2276
Breakpoint 2 at 0x1035229: file w32proc.c, line 2276.
(gdb) commands
Type commands for breakpoint(s) 2, one per line.
End with a line saying just "end".
>bt 5
>p cp
>p cp->wnd
>continue
>end
(gdb) contin
Continuing.
warning: reader_thread.SetEvent failed with 6 for fd 9
[New Thread 21364.0x4a48]

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 21364.0x4a48]
0x77af2fac in ntdll!RtlVerifyVersionInfo ()
   from /cygdrive/c/Windows/SYSTEM32/ntdll.dll
(gdb) p fd_info[2]@64
$1 = {{flags = 0, hnd = 0x0, cp = 0x0}, {flags = 0, hnd = 0x0, cp = 0x0}, {
    flags = 0, hnd = 0x0, cp = 0x0}, {flags = 1559, hnd = 0x2a0,
    cp = 0x1680c60}, {flags = 1555, hnd = 0x550, cp = 0x16816b0}, {flags = 0,
    hnd = 0x0, cp = 0x0}, {flags = 273, hnd = 0x0, cp = 0x0}, {flags = 274,
    hnd = 0x0, cp = 0x0}, {flags = 0, hnd = 0x0, cp = 0x0}, {flags = 0,
    hnd = 0x4bc, cp = 0x0}, {flags = 0, hnd = 0x3b8, cp = 0x0}, {flags = 0,
    hnd = 0x0, cp = 0x0}, {flags = 273, hnd = 0x0, cp = 0x0}, {flags = 274,
    hnd = 0x0, cp = 0x0}, {flags = 273, hnd = 0x0, cp = 0x0}, {flags = 274,
    hnd = 0x0, cp = 0x0}, {flags = 0, hnd = 0x0, cp = 0x0}, {flags = 273,
    hnd = 0x0, cp = 0x0}, {flags = 274, hnd = 0x0, cp = 0x0}, {flags = 0,
    hnd = 0x0, cp = 0x0} <repeats 45 times>}
(gdb) p child_procs[2]@32
$2 = {{fd = 3, pid = -1, char_avail = 0x2a8, char_consumed = 0x2ac,
    thrd = 0x2b0, hwnd = 0x0, procinfo = {hProcess = 0x0, hThread = 0x0,
      dwProcessId = 0, dwThreadId = 0}, status = 2, chr = 0 '\000',
    ovl_read = {Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0,
      InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0},
      hEvent = 0x0}}, {fd = 4, pid = 11236, char_avail = 0x0,
    char_consumed = 0x0, thrd = 0x0, hwnd = 0xb706f8, procinfo = {
      hProcess = 0x2bc, hThread = 0x224, dwProcessId = 11236,
      dwThreadId = 22420}, status = -1, chr = 95 '_', ovl_read = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0,
      InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0},
      hEvent = 0x0}}, {fd = 4, pid = 14008, char_avail = 0x0,
    char_consumed = 0x0, thrd = 0x0, hwnd = 0x520b7e, procinfo = {
      hProcess = 0x35c, hThread = 0x33c, dwProcessId = 14008,
      dwThreadId = 22852}, status = 2, chr = 0 '\000', ovl_read = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0,
      InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0},
      hEvent = 0x0}}, {fd = 4, pid = 2108, char_avail = 0x0,
    char_consumed = 0x0, thrd = 0x0, hwnd = 0x0, procinfo = {hProcess = 0x360,
      hThread = 0x3e8, dwProcessId = 2108, dwThreadId = 26260}, status = -1,
    chr = 67 'C', ovl_read = {Internal = 0, InternalHigh = 0, {{Offset = 0,
          OffsetHigh = 0}, Pointer = 0x0}, hEvent = 0x0}, ovl_write = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}}, {fd = 4, pid = 15080,
    char_avail = 0x0, char_consumed = 0x0, thrd = 0x0,
    hwnd = 0x12609e0 <Fset_frame_height+267>, procinfo = {hProcess = 0x398,
      hThread = 0x32c, dwProcessId = 15080, dwThreadId = 19872}, status = -1,
    chr = 110 'n', ovl_read = {Internal = 0, InternalHigh = 0, {{Offset = 0,
          OffsetHigh = 0}, Pointer = 0x0}, hEvent = 0x0}, ovl_write = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}}, {fd = 4, pid = 9080, char_avail = 0x0,
    char_consumed = 0x0, thrd = 0x0, hwnd = 0x4d0920, procinfo = {
      hProcess = 0x4f4, hThread = 0x350, dwProcessId = 9080,
      dwThreadId = 6408}, status = 2, chr = 0 '\000', ovl_read = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0,
      InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0},
      hEvent = 0x0}}, {fd = 10, pid = 25980, char_avail = 0x0,
    char_consumed = 0x0, thrd = 0x0, hwnd = 0x890a4c, procinfo = {
      hProcess = 0x3d0, hThread = 0x324, dwProcessId = 25980,
      dwThreadId = 20332}, status = -1, chr = 68 'D', ovl_read = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0,
      InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0},
      hEvent = 0x0}}, {fd = 11, pid = 11832, char_avail = 0x0,
    char_consumed = 0x0, thrd = 0x0, hwnd = 0xcd06f8, procinfo = {
---Type <return> to continue, or q <return> to quit---
      hProcess = 0x340, hThread = 0x3f4, dwProcessId = 11832,
      dwThreadId = 5448}, status = 2, chr = 0 '\000', ovl_read = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0,
      InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0},
      hEvent = 0x0}}, {fd = 11, pid = 15136, char_avail = 0x0,
    char_consumed = 0x0, thrd = 0x0, hwnd = 0xce06f8, procinfo = {
      hProcess = 0x344, hThread = 0x374, dwProcessId = 15136,
      dwThreadId = 2732}, status = 2, chr = 0 '\000', ovl_read = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0,
      InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0},
      hEvent = 0x0}}, {fd = 11, pid = 26132, char_avail = 0x0,
    char_consumed = 0x0, thrd = 0x0, hwnd = 0xcf06f8, procinfo = {
      hProcess = 0x3d4, hThread = 0x3a4, dwProcessId = 26132,
      dwThreadId = 5812}, status = 2, chr = 0 '\000', ovl_read = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0,
      InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0},
      hEvent = 0x0}}, {fd = 11, pid = 15292, char_avail = 0x0,
    char_consumed = 0x0, thrd = 0x0, hwnd = 0x1cf0926, procinfo = {
      hProcess = 0x330, hThread = 0x298, dwProcessId = 15292,
      dwThreadId = 18320}, status = 3, chr = 110 'n', ovl_read = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0,
      InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0},
      hEvent = 0x0}}, {fd = 11, pid = 26236, char_avail = 0x0,
    char_consumed = 0x0, thrd = 0x0, hwnd = 0x0, procinfo = {hProcess = 0x30c,
      hThread = 0x390, dwProcessId = 26236, dwThreadId = 8156}, status = -1,
    chr = 67 'C', ovl_read = {Internal = 0, InternalHigh = 0, {{Offset = 0,
          OffsetHigh = 0}, Pointer = 0x0}, hEvent = 0x0}, ovl_write = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}}, {fd = 10, pid = 17820,
    char_avail = 0x0, char_consumed = 0x0, thrd = 0x0, hwnd = 0x0, procinfo = {
      hProcess = 0x318, hThread = 0x378, dwProcessId = 17820,
      dwThreadId = 10584}, status = -1, chr = 67 'C', ovl_read = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0,
      InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0},
      hEvent = 0x0}}, {fd = 10, pid = 22248, char_avail = 0x0,
    char_consumed = 0x0, thrd = 0x0, hwnd = 0x0, procinfo = {hProcess = 0x380,
      hThread = 0x3cc, dwProcessId = 22248, dwThreadId = 17100}, status = -1,
    chr = 68 'D', ovl_read = {Internal = 0, InternalHigh = 0, {{Offset = 0,
          OffsetHigh = 0}, Pointer = 0x0}, hEvent = 0x0}, ovl_write = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}}, {fd = 4, pid = 21720,
    char_avail = 0x0, char_consumed = 0x0, thrd = 0x0,
    hwnd = 0x12709e0 <Fundo_boundary+120>, procinfo = {hProcess = 0x39c,
      hThread = 0x358, dwProcessId = 21720, dwThreadId = 4960}, status = -1,
---Type <return> to continue, or q <return> to quit---
    chr = 116 't', ovl_read = {Internal = 0, InternalHigh = 0, {{Offset = 0,
          OffsetHigh = 0}, Pointer = 0x0}, hEvent = 0x0}, ovl_write = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}}, {fd = 4, pid = 17192,
    char_avail = 0x0, char_consumed = 0x0, thrd = 0x0,
    hwnd = 0x12809e0 <fill_gstring_header+1137>, procinfo = {hProcess = 0x3fc,
      hThread = 0x178, dwProcessId = 17192, dwThreadId = 9220}, status = -1,
    chr = 67 'C', ovl_read = {Internal = 0, InternalHigh = 0, {{Offset = 0,
          OffsetHigh = 0}, Pointer = 0x0}, hEvent = 0x0}, ovl_write = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}}, {fd = 4, pid = 15248,
    char_avail = 0x0, char_consumed = 0x0, thrd = 0x0,
    hwnd = 0x12909e0 <font_parse_family_registry+109>, procinfo = {
      hProcess = 0x3b4, hThread = 0x3d8, dwProcessId = 15248,
      dwThreadId = 15680}, status = -1, chr = 67 'C', ovl_read = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0,
      InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0},
      hEvent = 0x0}}, {fd = 4, pid = 19696, char_avail = 0x0,
    char_consumed = 0x0, thrd = 0x0, hwnd = 0x9c0a56, procinfo = {
      hProcess = 0x3f8, hThread = 0x37c, dwProcessId = 19696,
      dwThreadId = 10056}, status = 3, chr = 110 'n', ovl_read = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0,
      InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0},
      hEvent = 0x0}}, {fd = 4, pid = 15536, char_avail = 0x0,
    char_consumed = 0x0, thrd = 0x0, hwnd = 0x9d0a56, procinfo = {
      hProcess = 0x314, hThread = 0x3b0, dwProcessId = 15536,
      dwThreadId = 27164}, status = 3, chr = 114 'r', ovl_read = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0,
      InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0},
      hEvent = 0x0}}, {fd = 4, pid = 11776, char_avail = 0x0,
    char_consumed = 0x0, thrd = 0x0, hwnd = 0x4c0920, procinfo = {
      hProcess = 0x2e8, hThread = 0x460, dwProcessId = 11776,
      dwThreadId = 6368}, status = -1, chr = 67 'C', ovl_read = {Internal = 0,
      InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0},
      hEvent = 0x0}, ovl_write = {Internal = 0, InternalHigh = 0, {{
          Offset = 0, OffsetHigh = 0}, Pointer = 0x0}, hEvent = 0x0}}, {
    fd = 10, pid = 6700, char_avail = 0x0, char_consumed = 0x0, thrd = 0x0,
    hwnd = 0x8a05dc, procinfo = {hProcess = 0x4c0, hThread = 0x44c,
      dwProcessId = 6700, dwThreadId = 21396}, status = -1, chr = 106 'j',
    ovl_read = {Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0,
      InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0},
      hEvent = 0x0}}, {fd = 4, pid = 5344, char_avail = 0x0,
    char_consumed = 0x0, thrd = 0x0, hwnd = 0x4f0920, procinfo = {
      hProcess = 0x4c8, hThread = 0x404, dwProcessId = 5344,
      dwThreadId = 1132}, status = 2, chr = 0 '\000', ovl_read = {
---Type <return> to continue, or q <return> to quit---
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0,
      InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0},
      hEvent = 0x0}}, {fd = 4, pid = 15040, char_avail = 0x0,
    char_consumed = 0x0, thrd = 0x0, hwnd = 0x0, procinfo = {hProcess = 0x4b0,
      hThread = 0x464, dwProcessId = 15040, dwThreadId = 9588}, status = 2,
    chr = 0 '\000', ovl_read = {Internal = 0, InternalHigh = 0, {{Offset = 0,
          OffsetHigh = 0}, Pointer = 0x0}, hEvent = 0x0}, ovl_write = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}}, {fd = 4, pid = 13912,
    char_avail = 0x0, char_consumed = 0x0, thrd = 0x0, hwnd = 0x0, procinfo = {
      hProcess = 0x528, hThread = 0x4b8, dwProcessId = 13912,
      dwThreadId = 7364}, status = 2, chr = 0 '\000', ovl_read = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0,
      InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0},
      hEvent = 0x0}}, {fd = 4, pid = 20624, char_avail = 0x0,
    char_consumed = 0x0, thrd = 0x0, hwnd = 0x520920, procinfo = {
      hProcess = 0x4c4, hThread = 0x48c, dwProcessId = 20624,
      dwThreadId = 16412}, status = 2, chr = 0 '\000', ovl_read = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0,
      InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0},
      hEvent = 0x0}}, {fd = 4, pid = 13792, char_avail = 0x0,
    char_consumed = 0x0, thrd = 0x0, hwnd = 0x530920, procinfo = {
      hProcess = 0x51c, hThread = 0x52c, dwProcessId = 13792,
      dwThreadId = 12548}, status = 2, chr = 0 '\000', ovl_read = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0,
      InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0},
      hEvent = 0x0}}, {fd = 4, pid = 13300, char_avail = 0x0,
    char_consumed = 0x0, thrd = 0x0, hwnd = 0x580920, procinfo = {
      hProcess = 0x57c, hThread = 0x518, dwProcessId = 13300,
      dwThreadId = 18344}, status = 2, chr = 0 '\000', ovl_read = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0,
      InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0},
      hEvent = 0x0}}, {fd = 4, pid = 7864, char_avail = 0x0,
    char_consumed = 0x0, thrd = 0x0, hwnd = 0x590920, procinfo = {
      hProcess = 0x564, hThread = 0x578, dwProcessId = 7864,
      dwThreadId = 13496}, status = 2, chr = 0 '\000', ovl_read = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0,
      InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0},
      hEvent = 0x0}}, {fd = 4, pid = 24404, char_avail = 0x0,
    char_consumed = 0x0, thrd = 0x0, hwnd = 0x5a0920, procinfo = {
      hProcess = 0x490, hThread = 0x3e4, dwProcessId = 24404,
      dwThreadId = 24800}, status = 2, chr = 0 '\000', ovl_read = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
---Type <return> to continue, or q <return> to quit---
        Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0,
      InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0},
      hEvent = 0x0}}, {fd = 4, pid = 28260, char_avail = 0x0,
    char_consumed = 0x0, thrd = 0x0, hwnd = 0x0, procinfo = {hProcess = 0x458,
      hThread = 0x448, dwProcessId = 28260, dwThreadId = 18524}, status = -1,
    chr = 68 'D', ovl_read = {Internal = 0, InternalHigh = 0, {{Offset = 0,
          OffsetHigh = 0}, Pointer = 0x0}, hEvent = 0x0}, ovl_write = {
      Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0},
        Pointer = 0x0}, hEvent = 0x0}}, {fd = 4, pid = -1, char_avail = 0x21c,
    char_consumed = 0x370, thrd = 0x514, hwnd = 0x0, procinfo = {
      hProcess = 0x0, hThread = 0x0, dwProcessId = 0, dwThreadId = 0},
    status = 1, chr = 23 '\027', ovl_read = {Internal = 0, InternalHigh = 0, {{
          Offset = 0, OffsetHigh = 0}, Pointer = 0x0}, hEvent = 0x0},
    ovl_write = {Internal = 0, InternalHigh = 0, {{Offset = 0,
          OffsetHigh = 0}, Pointer = 0x0}, hEvent = 0x0}}, {fd = 9, pid = -1,
    char_avail = 0x0, char_consumed = 0x0, thrd = 0x0, hwnd = 0x0, procinfo = {
      hProcess = 0x0, hThread = 0x0, dwProcessId = 0, dwThreadId = 0},
    status = -1, chr = 21 '\025', ovl_read = {Internal = 0, InternalHigh = 0, {
        {Offset = 0, OffsetHigh = 0}, Pointer = 0x0}, hEvent = 0x0},
    ovl_write = {Internal = 0, InternalHigh = 0, {{Offset = 0,
          OffsetHigh = 0}, Pointer = 0x0}, hEvent = 0x0}}}
(gdb) c
Continuing.
[Switching to Thread 21364.0xce8]

Breakpoint 2, prepare_standard_handles (in=9, out=20, err=20, handles=0x87cc8c)
    at w32proc.c:2285
2285    w32proc.c: No such file or directory.
#0  prepare_standard_handles (in=9, out=20, err=20, handles=0x87cc8c)
    at w32proc.c:2285
#1  0x010d5f36 in child_setup (in=9, out=20, err=20, new_argv=0x87cd00,
    set_pgrp=false, current_dir=132414497) at callproc.c:1255
#2  0x010d4220 in Fcall_process (nargs=8, args=0x88d5e4) at callproc.c:581
#3  0x01014c29 in Ffuncall (nargs=9, args=0x88d5e0) at eval.c:2756
#4  0x010140c3 in Fapply (nargs=6, args=0x88d728) at eval.c:2309
(gdb) No symbol "cp" in current context.

Continuing.
[New Thread 21364.0x232c]

Breakpoint 2, prepare_standard_handles (in=9, out=20, err=20, handles=0x87cc8c)
    at w32proc.c:2285
2285    in w32proc.c
#0  prepare_standard_handles (in=9, out=20, err=20, handles=0x87cc8c)
    at w32proc.c:2285
#1  0x010d5f36 in child_setup (in=9, out=20, err=20, new_argv=0x87cd00,
    set_pgrp=false, current_dir=141459681) at callproc.c:1255
#2  0x010d4220 in Fcall_process (nargs=8, args=0x88d5e4) at callproc.c:581
#3  0x01014c29 in Ffuncall (nargs=9, args=0x88d5e0) at eval.c:2756
#4  0x010140c3 in Fapply (nargs=6, args=0x88d728) at eval.c:2309
(gdb) No symbol "cp" in current context.

Continuing.
[New Thread 21364.0x36c8]
--8<---------------cut here---------------end--------------->8---

>> (gdb) p *cp
>> $9 = {fd = 3, pid = -1, char_avail = 0x318, char_consumed = 0x314, thrd =
>> 0x31c, hwnd = 0x0,
>>   procinfo = {hProcess = 0x0, hThread = 0x0, dwProcessId = 0, dwThreadId =
>> 0}, status = 1,
>>   chr = 22 '\026', ovl_read = {Internal = 0, InternalHigh = 0, {{Offset = 0,
>> OffsetHigh = 0},
>
> Not sure if this is important, but every time this breakpoint breaks,
> the character read from the pipe is \026, i.e. Ctrl-V. Does that ring
> any bells?

Not at all. I mean: it's not upon pressing C-v that all my problems occur.
But, yes, I occasionally use C-v, mainly in collapsed Org files, as it works
better than the Page Down key.

Best regards,
  Seb

[1] Everything not displaying any results in Helm-find-files, ao.

[2] DEFINITION NOT FOUND: 0

-- 
Sebastien Vauban





  parent reply	other threads:[~2013-02-13 20:20 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
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 [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=86r4kkc6e9.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 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).