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:36:58 +0100 Organization: Sebastien Vauban Message-ID: <86y5etph6t.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 1360690727 31412 80.91.229.3 (12 Feb 2013 17:38:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Feb 2013 17:38:47 +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:39:07 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 1U5Jou-0008GZ-92 for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Feb 2013 18:39:04 +0100 Original-Received: from localhost ([::1]:54818 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5Joa-0004Vn-Uk for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Feb 2013 12:38:44 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5JoV-0004Vb-7M for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Tue, 12 Feb 2013 12:38:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5JoR-00023n-Uq for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Tue, 12 Feb 2013 12:38:39 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5JoR-00023g-RO for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Tue, 12 Feb 2013 12:38:35 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U5Jos-0001Yl-7e for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Tue, 12 Feb 2013 12:39: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:39: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.13606906885908 (code B ref 13546); Tue, 12 Feb 2013 17:39:02 +0000 Original-Received: (at 13546) by debbugs.gnu.org; 12 Feb 2013 17:38:08 +0000 Original-Received: from localhost ([127.0.0.1]:52485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5Jo0-0001XF-9t for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Tue, 12 Feb 2013 12:38:08 -0500 Original-Received: from 81-188-7-133.sdsl.easynet.be ([81.188.7.133]:36344 helo=mail.missioncriticalit.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5Jnu-0001Wu-Qv for 13546-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Tue, 12 Feb 2013 12:38:04 -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 BD772500515; Tue, 12 Feb 2013 18:37:34 +0100 (CET) X-Url: Under construction... X-Archive: encrypt In-Reply-To: (Eli Zaretskii's message of "Tue, 12 Feb 2013 18:24:34 +0200") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.91 (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:71101 Archived-At: Eli, Eli Zaretskii wrote: >> From: "Sebastien Vauban" >> Cc: Sebastien Vauban , 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