From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Richard Newsgroups: gmane.emacs.bugs Subject: bug#17473: 24.3.90; SIGPIPE during a call to process-send-string Date: Mon, 12 May 2014 12:11:17 +0200 Message-ID: <87iopb8fy2.fsf@geodiff-mac3.ulb.ac.be> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1399889492 6760 80.91.229.3 (12 May 2014 10:11:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 May 2014 10:11:32 +0000 (UTC) To: 17473@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 12 12:11:26 2014 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 1WjnCc-0007jt-0i for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 May 2014 12:11:22 +0200 Original-Received: from localhost ([::1]:36609 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjnCb-0001lY-I5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 May 2014 06:11:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40217) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjnCQ-0001ZG-SH for bug-gnu-emacs@gnu.org; Mon, 12 May 2014 06:11:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjnCI-0005IR-P9 for bug-gnu-emacs@gnu.org; Mon, 12 May 2014 06:11:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjnCI-0005IH-LX for bug-gnu-emacs@gnu.org; Mon, 12 May 2014 06:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WjnCI-0004uK-C5 for bug-gnu-emacs@gnu.org; Mon, 12 May 2014 06:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nicolas Richard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 May 2014 10:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17473 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.139988945418840 (code B ref -1); Mon, 12 May 2014 10:11:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 May 2014 10:10:54 +0000 Original-Received: from localhost ([127.0.0.1]:60193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WjnC9-0004tl-PL for submit@debbugs.gnu.org; Mon, 12 May 2014 06:10:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38374) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WjnC7-0004tW-3Y for submit@debbugs.gnu.org; Mon, 12 May 2014 06:10:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjnBu-0005FD-Ir for submit@debbugs.gnu.org; Mon, 12 May 2014 06:10:45 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:42316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjnBt-0005F5-Ps for submit@debbugs.gnu.org; Mon, 12 May 2014 06:10:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjnBn-0000p8-GS for bug-gnu-emacs@gnu.org; Mon, 12 May 2014 06:10:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjnBg-00055O-97 for bug-gnu-emacs@gnu.org; Mon, 12 May 2014 06:10:31 -0400 Original-Received: from mxin.ulb.ac.be ([164.15.128.112]:25956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjnBf-00050W-Eu for bug-gnu-emacs@gnu.org; Mon, 12 May 2014 06:10:24 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ak8FAB2dcFOkD4Xx/2dsb2JhbABZg1WsIQEBAQEGBZtEdINhNAEEiQgBFJs0j3GcJgGHDYVWgX+LRASPJZBxjDmDODs Original-Received: from mathsrv4.ulb.ac.be (HELO geodiff-mac3.ulb.ac.be) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 12 May 2014 12:10:21 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.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@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:88962 Archived-At: Hi, I was connected with emacsclient and I guess I closed the lid of my laptop ? Anyway, a few hours later I found that emacs had crashed. Here's the backtrace: Program received signal SIGPIPE, Broken pipe. 0xb7ffd424 in __kernel_vsyscall () #0 0xb7ffd424 in __kernel_vsyscall () #1 0xb6e3fedb in write () at ../sysdeps/unix/syscall-template.S:81 #2 0x081a623b in emacs_full_write (fildes=12, buf=0xd893c7c "-emacs-pid 7212\n", nbyte=16, process_signals=true) at sysdep.c:2297 #3 0x081a62db in emacs_write_sig (fildes=12, buf=0xd893c7c, nbyte=16) at sysdep.c:2334 #4 0x082621da in send_process (proc=237393741, buf=0xd893c7c "-emacs-pid 7212\n", len=16, object=186346449) at process.c:5528 #5 0x08262509 in Fprocess_send_string (process=237393741, string=186346449) at process.c:5645 #6 0x082142ab in Ffuncall (nargs=3, args=0xbfffbeac) at eval.c:2818 #7 0x0825535e in exec_byte_code (bytestr=146836601, vector=146807773, maxdepth=20, args_template=2056, nargs=2, args=0xbfffc1d0) at bytecode.c:916 #8 0x08214a5d in funcall_lambda (fun=146807789, nargs=2, arg_vector=0xbfffc1c8) at eval.c:2983 #9 0x082144b9 in Ffuncall (nargs=3, args=0xbfffc1c4) at eval.c:2864 #10 0x0825535e in exec_byte_code (bytestr=146870801, vector=232760437, maxdepth=128, args_template=0, nargs=0, args=0xbfffc564) at bytecode.c:916 #11 0x08214a5d in funcall_lambda (fun=232760813, nargs=0, arg_vector=0xbfffc564) at eval.c:2983 #12 0x082144b9 in Ffuncall (nargs=1, args=0xbfffc560) at eval.c:2864 #13 0x08212e12 in eval_sub (form=264983646) at eval.c:2157 #14 0x082110cd in internal_lisp_condition_case (var=146467682, bodyform=264983646, handlers=264983598) at eval.c:1323 #15 0x0825622c in exec_byte_code (bytestr=146869465, vector=232760229, maxdepth=40, args_template=0, nargs=0, args=0xbfffca24) at bytecode.c:1162 #16 0x08214a5d in funcall_lambda (fun=232760397, nargs=0, arg_vector=0xbfffca24) at eval.c:2983 #17 0x082144b9 in Ffuncall (nargs=1, args=0xbfffca20) at eval.c:2864 #18 0x08212e12 in eval_sub (form=264983678) at eval.c:2157 #19 0x08210762 in internal_catch (tag=146467634, func=0x821294d , arg=264983678) at eval.c:1118 #20 0x08255f3e in exec_byte_code (bytestr=146869625, vector=146819229, maxdepth=48, args_template=2056, nargs=2, args=0xbfffce8c) at bytecode.c:1097 #21 0x08214a5d in funcall_lambda (fun=146819277, nargs=2, arg_vector=0xbfffce84) at eval.c:2983 #22 0x082144b9 in Ffuncall (nargs=3, args=0xbfffce80) at eval.c:2864 #23 0x082137e8 in Fapply (nargs=2, args=0xbfffcf04) at eval.c:2354 #24 0x08213d1e in apply1 (fn=146467122, arg=264983710) at eval.c:2588 #25 0x08260efd in read_process_output_call (fun_and_args=264983702) at process.c:4964 #26 0x08211309 in internal_condition_case_1 (bfun=0x8260e70 , arg=264983702, handlers=140216258, hfun=0x8260eff ) at eval.c:1378 #27 0x082614c4 in read_and_dispose_of_process_output (p=0xe265748, chars=0xbfffcff0 "", nbytes=0, coding=0x928f8f8) at process.c:5177 #28 0x082611e6 in read_process_output (proc=237393741, channel=0) at process.c:5086 #29 0x0826089e in wait_reading_process_output (time_limit=0, nsecs=0, read_kbd=-1, do_display=true, wait_for_cell=140216258, wait_proc=0x0, just_wait_proc=0) at process.c:4808 #30 0x0818941f in kbd_buffer_get_event (kbp=0xbfffe470, used_mouse_menu=0xbfffe8e3, end_time=0x0) at keyboard.c:3905 #31 0x081852fb in read_event_from_main_queue (end_time=0x0, local_getcjmp=0xbfffe6d8, used_mouse_menu=0xbfffe8e3) at keyboard.c:2246 #32 0x08185553 in read_decoded_event_from_main_queue (end_time=0x0, local_getcjmp=0xbfffe6d8, prev_event=140216258, used_mouse_menu=0xbfffe8e3) at keyboard.c:2309 #33 0x08186d3e in read_char (commandflag=1, map=264986390, prev_event=140216258, used_mouse_menu=0xbfffe8e3, end_time=0x0) at keyboard.c:2895 #34 0x08193e8b in read_key_sequence (keybuf=0xbfffea00, bufsize=30, prompt=140216258, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9087 #35 0x0818381c in command_loop_1 () at keyboard.c:1452 #36 0x082111e7 in internal_condition_case (bfun=0x818349b , handlers=140249338, hfun=0x8182cca ) at eval.c:1354 #37 0x08183145 in command_loop_2 (ignore=140216258) at keyboard.c:1177 #38 0x08210762 in internal_catch (tag=140247386, func=0x8183121 , arg=140216258) at eval.c:1118 #39 0x081830ff in command_loop () at keyboard.c:1156 #40 0x0818285e in recursive_edit_1 () at keyboard.c:777 #41 0x08182a1e in Frecursive_edit () at keyboard.c:848 #42 0x08180d5f in main (argc=2, argv=0xbfffed14) at emacs.c:1646 Lisp Backtrace: "process-send-string" (0xbfffbeb0) "server-send-string" (0xbfffc1c8) 0xddfa5e8 PVEC_COMPILED "funcall" (0xbfffc560) 0xddfa448 PVEC_COMPILED "funcall" (0xbfffca20) "server-process-filter" (0xbfffce84) Is there anything that can be done about this ? (I unfortunately closed the gdb session.) In GNU Emacs 24.3.90.9 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2014-05-07 on geodiff-mac3 Windowing system distributor `The X.Org Foundation', version 11.0.11304000 System Description: Gentoo Base System release 2.2 Configured using: `configure --with-x-toolkit=lucid --enable-checking 'CFLAGS= -O0 -g3'' Important settings: value of $LANG: fr_FR.UTF-8 locale-coding-system: utf-8-unix -- Nico.