From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sebastien Vauban" Newsgroups: gmane.emacs.bugs Subject: bug#13546: 24.2.92; Error(s) when sending emails Date: Tue, 12 Feb 2013 19:28:30 +0100 Organization: Sebastien Vauban Message-ID: <867gmdl73l.fsf@somewhere.org> References: <86ehh9mx93.fsf@somewhere.org> <86libhfj7x.fsf@somewhere.org> <86ham5ffc5.fsf@somewhere.org> <861ud9gsh9.fsf@somewhere.org> <86ip5x3do6.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360693792 30884 80.91.229.3 (12 Feb 2013 18:29:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Feb 2013 18:29:52 +0000 (UTC) Cc: 13546-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Tue Feb 12 19:30:12 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U5KcJ-0004Qr-5u for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Feb 2013 19:30:07 +0100 Original-Received: from localhost ([::1]:48125 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5Kbz-0006Pu-QZ for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Feb 2013 13:29:47 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5Kbt-0006K2-DP for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Tue, 12 Feb 2013 13:29:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5Kbn-0005UJ-WD for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Tue, 12 Feb 2013 13:29:41 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5Kbn-0005UF-Ss for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Tue, 12 Feb 2013 13:29:35 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U5KcE-0002iO-22 for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Tue, 12 Feb 2013 13:30:02 -0500 X-Loop: help-debbugs-mXXj517/zsQ@public.gmane.org Resent-From: "Sebastien Vauban" Original-Sender: debbugs-submit-bounces-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org Resent-CC: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Resent-Date: Tue, 12 Feb 2013 18:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs-mXXj517/zsQ@public.gmane.org X-GNU-PR-Message: followup 13546 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13546-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org id=B13546.136069378210380 (code B ref 13546); Tue, 12 Feb 2013 18:30:01 +0000 Original-Received: (at 13546) by debbugs.gnu.org; 12 Feb 2013 18:29:42 +0000 Original-Received: from localhost ([127.0.0.1]:52542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5Kbt-0002hN-ML for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Tue, 12 Feb 2013 13:29:42 -0500 Original-Received: from 81-188-7-133.sdsl.easynet.be ([81.188.7.133]:36395 helo=mail.missioncriticalit.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5Kbq-0002hE-4Y for 13546-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Tue, 12 Feb 2013 13:29:40 -0500 Original-Received: from MUNDANEUM. (ip-83-101-44-240.customer.schedom-europe.net [83.101.44.240]) by mail.missioncriticalit.com (Postfix) with ESMTPSA id BDDF6501654; Tue, 12 Feb 2013 19:29:08 +0100 (CET) X-Url: Under construction... X-Archive: encrypt In-Reply-To: (Sebastien Vauban's message of "Tue, 12 Feb 2013 18:52:03 +0100") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.93 (windows-nt) X-BeenThere: debbugs-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.bugs:71109 Archived-At: 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