From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#11081: 24.0.94; "emacsclient --create-frame" occasionally crashes daemon or causes daemon to hang Date: Sat, 24 Mar 2012 13:01:20 +0100 Message-ID: <19E64786-E333-41A4-8D38-471649D69D0B@swipnet.se> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1332590536 18557 80.91.229.3 (24 Mar 2012 12:02:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 24 Mar 2012 12:02:16 +0000 (UTC) Cc: 11081@debbugs.gnu.org To: Brad Town Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 24 13:02:15 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 1SBPff-0001l4-9T for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Mar 2012 13:02:11 +0100 Original-Received: from localhost ([::1]:35726 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBPfe-0005Jg-7l for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Mar 2012 08:02:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBPfb-0005JY-7U for bug-gnu-emacs@gnu.org; Sat, 24 Mar 2012 08:02:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SBPfY-0003iH-N8 for bug-gnu-emacs@gnu.org; Sat, 24 Mar 2012 08:02:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57761) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBPfY-0003iB-Ie for bug-gnu-emacs@gnu.org; Sat, 24 Mar 2012 08:02:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SBQ9W-0005UF-0z for bug-gnu-emacs@gnu.org; Sat, 24 Mar 2012 08:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Mar 2012 12:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11081 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11081-submit@debbugs.gnu.org id=B11081.133259237721081 (code B ref 11081); Sat, 24 Mar 2012 12:33:01 +0000 Original-Received: (at 11081) by debbugs.gnu.org; 24 Mar 2012 12:32:57 +0000 Original-Received: from localhost ([127.0.0.1]:36360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SBQ9O-0005Tv-I3 for submit@debbugs.gnu.org; Sat, 24 Mar 2012 08:32:57 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:42060) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SBQ8p-0005T5-Hv for 11081@debbugs.gnu.org; Sat, 24 Mar 2012 08:32:53 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 5E4479CC7 for <11081@debbugs.gnu.org>; Sat, 24 Mar 2012 13:01:18 +0100 (CET) Original-Received: (qmail 18780 invoked by uid 89); 24 Mar 2012 11:58:23 -0000 Original-Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 24 Mar 2012 11:58:23 -0000 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id CA90B7FA06C; Sat, 24 Mar 2012 13:01:17 +0100 (CET) In-Reply-To: X-Mailer: Apple Mail (2.1257) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:58077 Archived-At: Hello. You don't show the reason for the crash (segmentation violation, or = something like that). Can you do that? Jan D. 24 mar 2012 kl. 00:19 skrev Brad Town: > This bug report will be sent to the Bug-GNU-Emacs mailing list > and the GNU bug tracker at debbugs.gnu.org. Please check that > the From: line contains a valid email address. After a delay of up > to one day, you should receive an acknowledgement at that address. >=20 > Please write in English if possible, as the Emacs maintainers > usually do not have translators for other languages. >=20 > Please describe exactly what actions triggered the bug, and > the precise symptoms of the bug. If you can, give a recipe > starting from `emacs -Q': >=20 > --- recipe --- > * Run /usr/local/bin/emacs -Q --daemon > * Repeat the following until hang or crash: > ** Run /usr/local/bin/emacsclient --create-frame > ** When the frame appears, C-x C-c to exit >=20 > gdb `bt full' output: >=20 > --- cut here --- > #0 0x00007fe6caa6b583 in __select_nocancel () at > ../sysdeps/unix/syscall-template.S:82 > No locals. > #1 0x00000000004ec561 in xg_select (max_fds=3D4, rfds=3D0x7fff3103bb40,= > wfds=3D0x7fff3103bac0, efds=3D0x0, timeout=3D) at > xgselect.c:100 > all_rfds =3D { > fds_bits =3D {8, 0 } > } > all_wfds =3D { > fds_bits =3D {0 } > } > tmo =3D { > tv_sec =3D 1332543996, > tv_usec =3D 800572 > } > tmop =3D 0x7fff3103bc30 > context =3D 0xe97a40 > have_wfds =3D 1 > n_gfds =3D > our_tmo =3D 0 > retval =3D > our_fds =3D > i =3D > nfds =3D > tmo_in_millisec =3D -1 > #2 0x00000000005b0e44 in wait_reading_process_output > (time_limit=3D, microsecs=3D, = read_kbd=3D-1, > do_display=3D, > wait_for_cell=3D, wait_proc=3D0x0, just_wait_proc=3D0)= at > process.c:4608 > timeout_reduced_for_timers =3D 0 > channel =3D -514 > nfds =3D > Available =3D { > fds_bits =3D {8, 0 } > } > Writeok =3D { > fds_bits =3D {0 } > } > check_write =3D 1 > check_delay =3D 0 > no_avail =3D 1 > xerrno =3D 2 > proc =3D > timeout =3D { > tv_sec =3D 99928, > tv_usec =3D 160649 > } > end_time =3D { > tv_sec =3D 0, > tv_usec =3D 0 > } > wait_channel =3D -1 > got_some_input =3D 0 > #3 0x000000000050735d in kbd_buffer_get_event (end_time=3D out>, used_mouse_menu=3D, kbp=3D) at > keyboard.c:3853 > c =3D > obj =3D > #4 read_char (commandflag=3D, nmaps=3D, > maps=3D, prev_event=3D, > used_mouse_menu=3D, end_time=3D0x0) > at keyboard.c:2799 > kb =3D > c =3D 11995778 > local_getcjmp =3D {{ > __jmpbuf =3D {11995778, 7083285557197970914, 1, 1, = 12085424, > 140734015717488, -7083456576088662558, 7083286322900934114}, > __mask_was_saved =3D 0, > __saved_mask =3D { > __val =3D {0, 1, 0, 11065426, 9585369, 11065416, 9893797, > 0, 3120373890685015296, 111, 9893744, 9893749, 9893744, 0, 2, > 11995778} > } > }} > save_jump =3D {{ > __jmpbuf =3D {0, 0, 0, 0, 0, 0, 0, 0}, > __mask_was_saved =3D 0, > __saved_mask =3D { > __val =3D {0 } > } > }} > key_already_recorded =3D 0 > tem =3D > save =3D > previous_echo_area_message =3D 11995778 > also_record =3D 11995778 > reread =3D 0 > polling_stopped_here =3D 1 > orig_kboard =3D 0xb7d720 > #5 0x0000000000509438 in read_key_sequence (keybuf=3D, > bufsize=3D, prompt=3D, > dont_downcase_last=3D, > can_return_switch_frame=3D, > fix_current_buffer=3D) at keyboard.c:9326 > interrupted_kboard =3D 0xb7d720 > key =3D 1 > used_mouse_menu =3D 0 > echo_local_start =3D 0 > last_real_key_start =3D 32767 > keys_local_start =3D 0 > from_string =3D > count =3D 2 > t =3D > echo_start =3D > keys_start =3D 0 > nmaps =3D > nmaps_allocated =3D 2 > defs =3D 0x7fff3103c050 > submaps =3D > orig_local_map =3D 17529222 > orig_keymap =3D 11995778 > localized_local_map =3D 0 > first_binding =3D > first_unbound =3D > mock_input =3D > fkey =3D { > parent =3D 12419798, > map =3D 12419798, > start =3D 0, > end =3D 0 > } > keytran =3D { > parent =3D 11975078, > map =3D 11975078, > start =3D 0, > end =3D 0 > } > indec =3D { > parent =3D 12419814, > map =3D 12419814, > start =3D 0, > end =3D 0 > } > shift_translated =3D 0 > delayed_switch_frame =3D 11995778 > original_uppercase =3D 11995778 > original_uppercase_position =3D -1 > starting_buffer =3D 0xb77790 > fake_prefixed_keys =3D 11995778 > #6 0x000000000050b76b in command_loop_1 () at keyboard.c:1448 > cmd =3D 0 > keybuf =3D {140629218229288, 9192392, 4611686018427404288, > 4611686018427389952, 0, 1, 140734015718320, 5712078, 140629320511784, > 0, 140629320254704, > 140629320307912, 4233728, 140629218281056, 140629320511784, > 0, 140629320254704, 140629320307912, 4232831, 140629218281056, > 4214280, 4294967296, 0, 11995778, 64, > 12241542, 140734015719856, 4611686018427518976, 11995778, = 5640642} > i =3D 822331824 > prev_modiff =3D 0 > prev_buffer =3D 0x0 > #7 0x00000000005740c1 in internal_condition_case (bfun=3D out>, handlers=3D, hfun=3D) at = eval.c:1515 > val =3D -514 > c =3D { > tag =3D 11995778, > val =3D 11995778, > next =3D 0x7fff3103c570, > gcpro =3D 0x0, > jmp =3D {{ > __jmpbuf =3D {12712224, 7083285089474616802, 11995778, > 140734015719856, 0, 1, -7083456572643041822, 7083286383632227810}, > __mask_was_saved =3D 0, > __saved_mask =3D { > __val =3D {140629320307912, 140734015718528, = 4294967295, > 140734015718568, 1, 8606112, 0, 0, 1, 0, 140629318338513, 1, 0, 0, > 140629218252208, 0} > } > }}, > backlist =3D 0x0, > handlerlist =3D 0x0, > lisp_eval_depth =3D 0, > pdlcount =3D 2, > poll_suppress_count =3D 1, > interrupt_input_blocked =3D 0, > byte_stack =3D 0x0 > } > h =3D { > handler =3D 12047842, > var =3D 11995778, > chosen_clause =3D 11995778, > tag =3D 0x7fff3103c400, > next =3D 0x0 > } > #8 0x0000000000502f2e in command_loop_2 (ignore=3D) at > keyboard.c:1159 > val =3D -514 > #9 0x00000000005741e8 in internal_catch (tag=3D, > func=3D, arg=3D) at eval.c:1272 > c =3D { > tag =3D 12043634, > val =3D 11995778, > next =3D 0x0, > gcpro =3D 0x0, > jmp =3D {{ > __jmpbuf =3D {12712224, 7083285089474616802, 11995778, > 140734015719856, 0, 1, -7083456572592710174, 7083286383603523042}, > __mask_was_saved =3D 0, > __saved_mask =3D { > __val =3D {0, 0, 0, 0, 624, 272, 22, 0, 0, 0, > 140629221879360, 140734015720184, 344, 12221746, 5710197, > 140734015719080} > } > }}, > backlist =3D 0x0, > handlerlist =3D 0x0, > lisp_eval_depth =3D 0, > pdlcount =3D 2, > poll_suppress_count =3D 1, > interrupt_input_blocked =3D 0, > byte_stack =3D 0x0 > } > #10 0x00000000005035fa in command_loop () at keyboard.c:1138 > No locals. > #11 recursive_edit_1 () at keyboard.c:758 > val =3D > #12 0x000000000050370c in Frecursive_edit () at keyboard.c:822 > buffer =3D 11995778 > #13 0x00000000004f7a40 in main (argc=3D0, argv=3D0x7fff3103caf8) at = emacs.c:1715 > dummy =3D 140629320309128 > stack_bottom_variable =3D 0 '\000' > do_initial_setlocale =3D > skip_args =3D 1 > rlim =3D { > rlim_cur =3D 8720000, > rlim_max =3D 18446744073709551615 > } > no_loadup =3D 0 > junk =3D 0x0 > dname_arg =3D 0x0 > ch_to_dir =3D 0x7fff3103ca18 "M\254\232\312\346\177" > --- cut here --- >=20 > `xbacktrace' gives no output. >=20 > --- recipe --- >=20 > If Emacs crashed, and you have the Emacs process in the gdb debugger, > please include the output from the following gdb commands: > `bt full' and `xbacktrace'. > For information about debugging Emacs, please read the file > /usr/local/share/emacs/24.0.94/etc/DEBUG. >=20 >=20 > In GNU Emacs 24.0.94.2 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d = scroll bars) > of 2012-03-23 on torgo.mtv.corp.google.com > Windowing system distributor `The X.Org Foundation', version = 11.0.10706000 > Configured using: > `configure '--with-x-toolkit=3Dlucid'' >=20 > Important settings: > value of $LC_ALL: nil > value of $LC_COLLATE: en_US.UTF-8 > value of $LC_CTYPE: nil > value of $LC_MESSAGES: nil > value of $LC_MONETARY: en_US.UTF-8 > value of $LC_NUMERIC: en_US.UTF-8 > value of $LC_TIME: en_US.UTF-8 > value of $LANG: en_US.UTF-8 > value of $XMODIFIERS: nil > locale-coding-system: utf-8-unix > default enable-multibyte-characters: t >=20 > Major mode: Lisp Interaction >=20 > Minor modes in effect: > tooltip-mode: t > mouse-wheel-mode: t > tool-bar-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > transient-mark-mode: t >=20 > Recent input: > C-x C-c M-x r e p o r t - >=20 > Recent messages: > ("/usr/local/bin/emacs") > Starting Emacs daemon. > When done with this frame, type C-x 5 0 > (No files need saving) > When done with this frame, type C-x 5 0 >=20 > Load-path shadows: > None found. >=20 > Features: > (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 = mml > easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 > mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 > ietf-drums mm-util mail-prsvr mail-utils server time-date tooltip > ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd > fontset image fringe lisp-mode register page menu-bar rfn-eshadow = timer > select scroll-bar mouse jit-lock font-lock syntax facemenu font-core > frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai > tai-viet lao korean japanese hebrew greek romanian slovak czech = european > ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook = help > simple abbrev minibuffer loaddefs button faces cus-face files > text-properties overlay sha1 md5 base64 format env code-pages mule > custom widget hashtable-print-readable backquote make-network-process > dbusbind dynamic-setting system-font-setting font-render-setting > x-toolkit x multi-tty emacs) >=20 >=20