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 18:48:19 +0100 Organization: Sebastien Vauban Message-ID: <86liatl8yk.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 1360691390 6247 80.91.229.3 (12 Feb 2013 17:49:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Feb 2013 17:49:50 +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 18:50:11 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 1U5Jzc-0001Dq-4p for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Feb 2013 18:50:08 +0100 Original-Received: from localhost ([::1]:57696 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5JzI-0007th-Jy for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Feb 2013 12:49:48 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5Jz9-0007tW-7Z for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Tue, 12 Feb 2013 12:49:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5Jz6-0004tx-C5 for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Tue, 12 Feb 2013 12:49:39 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5Jz6-0004tq-8f for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Tue, 12 Feb 2013 12:49:36 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U5JzW-0001nd-Bj for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Tue, 12 Feb 2013 12:50: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 17:50:02 +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.13606913656870 (code B ref 13546); Tue, 12 Feb 2013 17:50:02 +0000 Original-Received: (at 13546) by debbugs.gnu.org; 12 Feb 2013 17:49:25 +0000 Original-Received: from localhost ([127.0.0.1]:52491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5Jyv-0001mk-G4 for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Tue, 12 Feb 2013 12:49:25 -0500 Original-Received: from 81-188-7-133.sdsl.easynet.be ([81.188.7.133]:36353 helo=mail.missioncriticalit.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5Jyt-0001me-MB for 13546-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Tue, 12 Feb 2013 12:49:24 -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 83970501654; Tue, 12 Feb 2013 18:48:55 +0100 (CET) X-Url: Under construction... X-Archive: encrypt In-Reply-To: (Sebastien Vauban's message of "Tue, 12 Feb 2013 18:36:58 +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:71102 Archived-At: Eli, "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, 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. I went fast for the 2nd breakpoint: just launching Gnus already gives me 2 occurrences of them: --8<---------------cut here---------------start------------->8--- 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] --8<---------------cut here---------------end--------------->8--- Does it help? Best regards, Seb -- Sebastien Vauban