From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Fabrice Niessen" Newsgroups: gmane.emacs.bugs Subject: bug#12579: 24.1; Emacs 24.1 / 24.2 (daily) crashes Date: Thu, 08 Nov 2012 11:17:08 +0100 Organization: Mission Critical IT Message-ID: <80y5ic1jrv.fsf@somewhere.org> References: <80vcep2v3z.fsf@somewhere.org> <837gr25dsn.fsf@gnu.org> <80ipakjgmx.fsf@somewhere.org> <83wqyzzhsp.fsf@gnu.org> <80haq32zu3.fsf@somewhere.org> <83pq4rz97b.fsf@gnu.org> <80r4p7pbht.fsf@somewhere.org> <83obkbyojd.fsf@gnu.org> <80fw5ms9k1.fsf@somewhere.org> <83bogaz56i.fsf@gnu.org> <80mwzrriff.fsf@somewhere.org> <83mwzr7l55.fsf@gnu.org> <80hapyyfv5.fsf@somewhere.org> <838vba7og9.fsf@gnu.org> <80wqy0dpaj.fsf@somewhere.org> <83vcdj3opa.fsf@gnu.org> <80a9uv2hki.fsf@somewhere.org> <83hap23bqm.fsf@gnu.org> <80625hit25.fsf@somewhere.org> <83pq3p1gqn.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1352369902 25259 80.91.229.3 (8 Nov 2012 10:18:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Nov 2012 10:18:22 +0000 (UTC) Cc: 12579-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org, thierry.volpiatto-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, lekktu-Re5JQEeQqe8AvxtiuMwx3w@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 Thu Nov 08 11:18:31 2012 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 1TWPBo-00006S-Rg for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Nov 2012 11:18:25 +0100 Original-Received: from localhost ([::1]:43695 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWPBf-0004XM-BN for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Nov 2012 05:18:15 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWPBX-0004WJ-QJ for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 08 Nov 2012 05:18:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TWPBR-0002LY-LO for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 08 Nov 2012 05:18:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWPBR-0002LS-Gr for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 08 Nov 2012 05:18:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TWPBS-0007Hc-5R for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 08 Nov 2012 05:18:02 -0500 X-Loop: help-debbugs-mXXj517/zsQ@public.gmane.org Resent-From: "Fabrice Niessen" Original-Sender: debbugs-submit-bounces-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org Resent-CC: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Resent-Date: Thu, 08 Nov 2012 10:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs-mXXj517/zsQ@public.gmane.org X-GNU-PR-Message: followup 12579 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: Original-Received: via spool by 12579-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org id=B12579.135236983727942 (code B ref 12579); Thu, 08 Nov 2012 10:18:02 +0000 Original-Received: (at 12579) by debbugs.gnu.org; 8 Nov 2012 10:17:17 +0000 Original-Received: from localhost ([127.0.0.1]:55445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TWPAi-0007Gd-Ru for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Thu, 08 Nov 2012 05:17:17 -0500 Original-Received: from 81-188-7-133.sdsl.easynet.be ([81.188.7.133]:34092 helo=mail.missioncriticalit.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TWPAe-0007GU-Ts for 12579-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Thu, 08 Nov 2012 05:17:16 -0500 Original-Received: from MEDIACENTER. (mediacenter [10.10.10.51]) by mail.missioncriticalit.com (Postfix) with ESMTPSA id 0C705500990; Thu, 8 Nov 2012 11:17:08 +0100 (CET) X-Archive: encrypt In-Reply-To: <83pq3p1gqn.fsf-mXXj517/zsQ@public.gmane.org> (Eli Zaretskii's message of "Wed, 07 Nov 2012 19:10:24 +0200") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (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:66625 Archived-At: Hi Eli, Eli Zaretskii wrote: >> New infloop. Same context (completing pattern for Helm-for-files). This time, >> with a correct .gdbinit file. > > OK, thanks. > > I think you can stop posting the backtraces, they all look the same. OK. > Next, I'd like to see which process is being waited for. To this end, > next time you have an infloop, go to this stack frame: > > #14 0x0102ffff in status_notify (deleting_process=0x3e25e70) at process.c:6606 > > and display the details of the process being deleted. Like this: > > (gdb) frame 14 > > (The number 14 comes from #14 on the above line from backtrace. It > could be a different number, so please look up the frame which is > inside status_notify function at line 6606 of process.c.) > > (gdb) print *p > (gdb) print p->name > (gdb) xstring > (gdb) print p->command > (gdb) xtype > > If the last command says p->command is a symbol, type "xsymbol" to > show it; otherwise it will probably say it's a string, and then > "xstring" will display it. --8<---------------cut here---------------start------------->8--- $ gdb -p 6196 [...] (gdb) thread apply all backtrace [...] Thread 1 (Thread 6196.0x580): ---Type to continue, or q to quit--- #0 0x7c91e514 in ntdll!LdrAccessResource () from /cygdrive/c/WINDOWS/system32/ntdll.dll #1 0x7c91df5a in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/system32/ntdll.dll #2 0x7c929b23 in ntdll!RtlpWaitForCriticalSection () from /cygdrive/c/WINDOWS/system32/ntdll.dll #3 0x7c911046 in ntdll!RtlEnumerateGenericTableLikeADirectory () from /cygdrive/c/WINDOWS/system32/ntdll.dll #4 0x00a41fe0 in ?? () #5 0x77bfd114 in msvcrt!_close () from /cygdrive/c/WINDOWS/system32/msvcrt.dll #6 0x00000005 in ?? () #7 0x00000009 in ?? () #8 0x00000005 in ?? () #9 0x08802920 in ?? () #10 0x0108d41e in sys_close (fd=5) at w32.c:5918 #11 0x011452a8 in emacs_close (fd=5) at sysdep.c:2082 #12 0x01029ce4 in deactivate_process (proc=142616869) at process.c:3924 #13 0x01022d92 in remove_process (proc=142616869) at process.c:735 #14 0x0102ffff in status_notify (deleting_process=0x8802920) at process.c:6606 #15 0x01023263 in Fdelete_process (process=142616869) at process.c:850 #16 0x01013174 in eval_sub (form=58276094) at eval.c:2139 [...] #190 0x010375f8 in Frecursive_edit () at keyboard.c:842 #191 0x01002920 in main (argc=1, argv=0xa44480) at emacs.c:1552 (gdb) thread 1 [Switching to thread 1 (Thread 6196.0x580)] #0 0x7c91e514 in ntdll!LdrAccessResource () from /cygdrive/c/WINDOWS/system32/ntdll.dll (gdb) frame 14 #14 0x0102ffff in status_notify (deleting_process=0x8802920) at process.c:6606 (gdb) 6606 process.c: No such file or directory. print *p $1 = {header = {size = 1073872914, next = {nbytes = 144, buffer = 0x90, vector = 0x90}}, tty_name = 57358362, name = 64171793, command = 135560334, filter = 57358386, sentinel = 65761430, log = 57358362, buffer = 79997445, childp = 57358386, plist = 57358362, type = 57481914, mark = 97021099, status = 136598966, decode_coding_system = 59149866, decoding_buf = 20036945, encode_coding_system = 59149842, encoding_buf = 20036945, write_queue = 57358362, gnutls_cred_type = 57358362, pid = 7912, infd = 5, outfd = 9, tick = 43, update_tick = 43, decoding_carryover = 0, read_output_delay = 0, adaptive_read_buffering = 1, read_output_skip = 0, kill_without_query = 0, pty_flag = 0, inherit_coding_system_flag = 0, raw_status_new = 0, raw_status = 0, gnutls_initstage = GNUTLS_STAGE_EMPTY, gnutls_state = 0x0, gnutls_x509_cred = 0x0, gnutls_anon_cred = 0x0, gnutls_log_level = 0, gnutls_handshakes_tried = 0, gnutls_p = 0} (gdb) print p->name $2 = 64171793 (gdb) xstring Undefined command: "xstring". Try "help". (gdb) source /cygdrive/c/Program Files/Emacs-24.2/bin/.gdbinit Warning: /cygdrive/d/home/sva/src/org-config/../lwlib: No such file or directory. SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] Environment variable "DISPLAY" not defined. TERM = xterm-256color Breakpoint 1 at 0x10013b6: file emacs.c, line 317. Temporary breakpoint 2 at 0x11441d5: file sysdep.c, line 794. (gdb) xstring $3 = (struct Lisp_String *) 0x3d32f10 "locate-process" (gdb) print p->command $4 = 135560334 (gdb) xtype Lisp_Cons (gdb) xsymbol $5 = (struct Lisp_Symbol *) 0x8147c88 0 (gdb) xstring Argument to arithmetic operation not a number or boolean. (gdb) xcons Argument to arithmetic operation not a number or boolean. (gdb) nextcons There is no member named u. (gdb) xcar Argument to arithmetic operation not a number or boolean. --8<---------------cut here---------------end--------------->8--- Thanks to you... Fabrice