Package: emacs;
Reported by: "Sebastien Vauban" <wxhgmqzgwmuf <at> spammotel.com>
Date: Fri, 25 Jan 2013 09:26:02 UTC
Severity: important
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.
View this message in rfc822 format
From: "Sebastien Vauban" <wxhgmqzgwmuf <at> spammotel.com> To: Eli Zaretskii <eliz <at> gnu.org> Cc: 13546 <at> debbugs.gnu.org Subject: bug#13546: 24.2.92; Error(s) when sending emails Date: Tue, 12 Feb 2013 19:28:30 +0100
Eli, "Sebastien Vauban" wrote: > "Sebastien Vauban" wrote: >> "Sebastien Vauban" wrote: >>> Eli Zaretskii wrote: >>>> To catch this message: >>>> >>>> warning: sys_read called when read is in progress >>>> >>>> please put an additional breakpoint on line 6410 of w32.c >> >> I went fast for the 2nd breakpoint: just launching Gnus already gives me 2 >> occurrences of them: >> >> Reading symbols from /cygdrive/c/Program Files (x86)/emacs-24.2.93/bin/emacs.exe...done. >> (gdb) break fileio.c:4913 >> Breakpoint 1 at 0x106380e: file fileio.c, line 4913. >> (gdb) break w32.c:6410 >> Breakpoint 2 at 0x108fca5: file w32.c, line 6410. >> (gdb) continue >> Continuing. >> [New Thread 15276.0x3b20] >> [New Thread 15276.0x39a8] >> [New Thread 15276.0x5524] >> [New Thread 15276.0x4948] >> [New Thread 15276.0x6258] >> [New Thread 15276.0x614c] >> [New Thread 15276.0x1c1c] >> [Switching to Thread 15276.0x6ea0] >> >> Breakpoint 2, sys_read (fd=3, buffer=0x5a28034 "", count=5) at w32.c:6410 >> (gdb) 6410 w32.c: No such file or directory. >> p fd_info[fd] >> $1 = {flags = 1555, hnd = 0x30c, cp = 0x1680c60} >> (gdb) p fd >> $2 = 3 >> (gdb) p *cp >> $3 = {fd = 3, pid = -1, char_avail = 0x314, char_consumed = 0x318, 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}, >> Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0, InternalHigh = 0, {{Offset = 0, >> OffsetHigh = 0}, Pointer = 0x0}, hEvent = 0x0}} >> (gdb) continue >> Continuing. >> warning: sys_read called when read is in progress >> [New Thread 15276.0x1f58] >> [New Thread 15276.0x2844] >> [New Thread 15276.0x6d70] >> [New Thread 15276.0x5ccc] >> >> Breakpoint 2, sys_read (fd=5, buffer=0x5ae0034 "", count=5) at w32.c:6410 >> 6410 in w32.c >> (gdb) p fd_info[fd] >> $4 = {flags = 1555, hnd = 0x344, cp = 0x1680d10} >> (gdb) p fd >> $5 = 5 >> (gdb) p *cp >> $6 = {fd = 5, pid = -1, char_avail = 0x358, char_consumed = 0x354, thrd = 0x350, 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}, >> Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0, InternalHigh = 0, {{Offset = 0, >> OffsetHigh = 0}, Pointer = 0x0}, hEvent = 0x0}} >> (gdb) continue >> Continuing. >> warning: sys_read called when read is in progress >> [New Thread 15276.0x2eb8] > > And, when sending the email: > > [New Thread 15276.0x6e9c] > [New Thread 15276.0x4890] > [New Thread 15276.0x1878] > [New Thread 15276.0x53bc] > [New Thread 15276.0x5f00] > [New Thread 15276.0x1ce4] > [New Thread 15276.0x3b90] > [New Thread 15276.0x12dc] > [New Thread 15276.0x1948] > > [New Thread 15276.0x3b54] > [New Thread 15276.0x41a4] > > Breakpoint 2, sys_read (fd=6, buffer=0x639a034 "", 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.0x2c3c] New ones: --8<---------------cut here---------------start------------->8--- [New Thread 15276.0x4d08] [New Thread 15276.0x17a0] 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] Breakpoint 2, sys_read (fd=3, buffer=0x6594034 "", count=5) at w32.c:6410 6410 in w32.c (gdb) p fd_info[fd] $7 = {flags = 1555, hnd = 0x324, cp = 0x1680c60} (gdb) p fd $8 = 3 (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}, Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0}, hEvent = 0x0}} (gdb) continue Continuing. [New Thread 15276.0x65ac] warning: sys_read called when read is in progress [New Thread 15276.0x2c88] Breakpoint 2, sys_read (fd=5, buffer=0x65de034 "", count=5) at w32.c:6410 6410 in w32.c (gdb) p fd_info[fd] $10 = {flags = 1555, hnd = 0x3fc, cp = 0x1680d10} (gdb) p fd $11 = 5 (gdb) p *cp $12 = {fd = 5, pid = -1, char_avail = 0x3f0, char_consumed = 0x29c, thrd = 0x3a4, 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}, Pointer = 0x0}, hEvent = 0x0}, ovl_write = {Internal = 0, InternalHigh = 0, {{Offset = 0, OffsetHigh = 0}, Pointer = 0x0}, hEvent = 0x0}} (gdb) continue Continuing. warning: sys_read called when read is in progress [New Thread 15276.0x6478] [New Thread 15276.0x3378] --8<---------------cut here---------------end--------------->8--- Best regards, Seb -- Sebastien Vauban
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.