From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Petr Hracek Newsgroups: gmane.emacs.bugs Subject: bug#14889: 23.1;Emacs does not exits after log out Date: Wed, 17 Jul 2013 10:00:27 +0200 Message-ID: <51E64F1B.1030405@redhat.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1374048974 7720 80.91.229.3 (17 Jul 2013 08:16:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Jul 2013 08:16:14 +0000 (UTC) To: 14889@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 17 10:16:14 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 1UzMuE-0000FQ-9w for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Jul 2013 10:16:14 +0200 Original-Received: from localhost ([::1]:36449 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzMuD-0006wB-Jh for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Jul 2013 04:16:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzMu7-0006rG-25 for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2013 04:16:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UzMu3-0002An-GJ for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2013 04:16:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37451) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzMu3-0002Aj-DU for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2013 04:16:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UzMu2-0006j4-OQ for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2013 04:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Petr Hracek Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Jul 2013 08:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14889 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.137404893825775 (code B ref -1); Wed, 17 Jul 2013 08:16:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Jul 2013 08:15:38 +0000 Original-Received: from localhost ([127.0.0.1]:59989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzMtc-0006ha-8M for submit@debbugs.gnu.org; Wed, 17 Jul 2013 04:15:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60211) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzMtX-0006hB-5l for submit@debbugs.gnu.org; Wed, 17 Jul 2013 04:15:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UzMfM-0004Lr-HV for submit@debbugs.gnu.org; Wed, 17 Jul 2013 04:00:58 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzMfM-0004Lj-Ca for submit@debbugs.gnu.org; Wed, 17 Jul 2013 04:00:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzMfF-0008WQ-09 for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2013 04:00:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UzMf9-0004GD-B1 for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2013 04:00:44 -0400 Original-Received: from mx1.redhat.com ([209.132.183.28]:60500) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzMf8-0004Fp-Mo for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2013 04:00:38 -0400 Original-Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r6H80TDq005508 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 17 Jul 2013 04:00:36 -0400 Original-Received: from [10.34.4.145] (unused-4-145.brq.redhat.com [10.34.4.145]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r6H80Sll024687 for ; Wed, 17 Jul 2013 04:00:28 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:76417 Archived-At: Hi developer, I have a pretty old version emacs-23.1-21. On the system I run emacs and afterwards logout from the desktop. But emacs does not exist but becom a child of init process. Some traces: [root@localhost ~]# gdb emacs 2984 ... (gdb) bt #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00000032ca00889f in _xcb_conn_wait (c=0x1082570, cond=, vector=0x0, count=0x0) at xcb_conn.c:274 #2 0x00000032ca00a1ec in xcb_wait_for_reply (c=0x1082570, request=8134, e=0x7fff819bad70) at xcb_in.c:390 #3 0x00000032ca44d5a3 in _XReply (dpy=0x1038490, rep=0x7fff819badd0, extra=0, discard=1) at xcb_io.c:454 #4 0x00000032ca42fa54 in XInternAtom (dpy=0x1038490, name=0x32ca51e750 "XIM_SERVERS", onlyIfExists=) at IntAtom.c:184 #5 0x00000032ca47197a in _XimFilterPropertyNotify (display=0x1038490, window=, event=0x7fff819baea0, client_data=) at imInsClbk.c:97 #6 0x00000032cf85fa31 in _gdk_events_queue (display=0x1089000) at gdkevents-x11.c:2292 #7 0x00000032cf85ffae in gdk_event_dispatch (source=, callback=, user_data=) at gdkevents-x11.c:2366 #8 0x00000032c7c38f0e in g_main_dispatch (context=0xdc6340) at gmain.c:1960 #9 IA__g_main_context_dispatch (context=0xdc6340) at gmain.c:2513 #10 0x00000032c7c3c938 in g_main_context_iterate (context=0xdc6340, block=1, dispatch=1, self=) at gmain.c:2591 #11 0x00000032c7c3ca3a in IA__g_main_context_iteration (context=0xdc6340, may_block=1) at gmain.c:2654 #12 0x00000032cfd4c1b1 in IA__gtk_main_iteration () at gtkmain.c:1306 #13 0x00000000004a301c in XTread_socket (terminal=0xe44890, expected=, hold_quit=0x7fff819bb420) at xterm.c:7279 #14 0x00000000004e6a43 in read_avail_input (expected=1) at keyboard.c:7093 #15 0x00000000004e6b5a in handle_async_input () at keyboard.c:7335 #16 0x00000000004dc45d in fatal_error_signal (sig=1) at emacs.c:382 #17 #18 0x00000032c68df218 in __poll (fds=0x7fff819bbb80, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:83 #19 0x00000032ca00885a in _xcb_conn_wait (c=0x1082570, cond=, vector=0x0, count=0x0) at xcb_conn.c:306 #20 0x00000032ca00a1ec in xcb_wait_for_reply (c=0x1082570, request=8133, e=0x7fff819bbc90) at xcb_in.c:390 #21 0x00000032ca44d5a3 in _XReply (dpy=0x1038490, rep=0x7fff819bbcf0, extra=0, discard=1) at xcb_io.c:454 #22 0x00000032ca42fa54 in XInternAtom (dpy=0x1038490, name=0x32ca51e750 "XIM_SERVERS", onlyIfExists=) at IntAtom.c:184 #23 0x00000032ca47197a in _XimFilterPropertyNotify (display=0x1038490, window=, event=0x7fff819bbdc0, client_data=) at imInsClbk.c:97 #24 0x00000032cf85fa31 in _gdk_events_queue (display=0x1089000) at gdkevents-x11.c:2292 #25 0x00000032cf85ffae in gdk_event_dispatch (source=, callback=, user_data=) at gdkevents-x11.c:2366 #26 0x00000032c7c38f0e in g_main_dispatch (context=0xdc6340) at gmain.c:1960 #27 IA__g_main_context_dispatch (context=0xdc6340) at gmain.c:2513 #28 0x00000032c7c3c938 in g_main_context_iterate (context=0xdc6340, block=1, dispatch=1, self=) at gmain.c:2591 #29 0x00000032c7c3ca3a in IA__g_main_context_iteration (context=0xdc6340, may_block=1) at gmain.c:2654 #30 0x00000032cfd4c1b1 in IA__gtk_main_iteration () at gtkmain.c:1306 #31 0x00000000004a301c in XTread_socket (terminal=0xe44890, expected=, hold_quit=0x7fff819bc340) at xterm.c:7279 #32 0x00000000004e6a43 in read_avail_input (expected=1) at keyboard.c:7093 #33 0x00000000004e6b5a in handle_async_input () at keyboard.c:7335 #34 0x00000000004e6d45 in process_pending_signals () at keyboard.c:7351 #35 0x000000000058f9bd in wait_reading_process_output (time_limit=0, microsecs=0, read_kbd=, do_display=1, wait_for_cell=11020689, wait_proc=0x0, just_wait_proc=0) at process.c:4566 #36 0x00000000004e9e8b in kbd_buffer_get_event (commandflag=1, nmaps=2, maps=0x7fff819bcba0, prev_event=11020689, used_mouse_menu=0x7fff819bccb4, end_time=0x0) at keyboard.c:4099 #37 read_char (commandflag=1, nmaps=2, maps=0x7fff819bcba0, prev_event=11020689, used_mouse_menu=0x7fff819bccb4, end_time=0x0) at keyboard.c:3059 #38 0x00000000004ebf95 in read_key_sequence (keybuf=, bufsize=30, prompt=11020689, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9460 #39 0x00000000004ee30d in command_loop_1 () at keyboard.c:1642 #40 0x000000000054fecf in internal_condition_case (bfun=0x4ee0f0 , handlers=11107841, hfun=0x4e5730 ) at eval.c:1512 #41 0x00000000004e4b6e in command_loop_2 () at keyboard.c:1359 #42 0x000000000054fffa in internal_catch (tag=140735367855032, func=0x4e4b50 , arg=11020689) at eval.c:1248 ---Type to continue, or q to quit--- #43 0x00000000004e5571 in command_loop () at keyboard.c:1338 #44 0x00000000004e596c in recursive_edit_1 () at keyboard.c:953 #45 0x00000000004e5aa7 in Frecursive_edit () at keyboard.c:1015 #46 0x00000000004db2b7 in main (argc=, argv=) at emacs.c:1852 It seems emacs receive a signal, and in XTread_socket function, it stop at here: 7274 while (gtk_events_pending ()) 7275 { 7276 current_count = count; 7277 current_hold_quit = hold_quit; 7278 7279 gtk_main_iteration (); <---- run here, and never return 7280 7281 count = current_count; 7282 current_count = -1; 7283 current_hold_quit = 0; 7284 7285 if (current_finish == X_EVENT_GOTO_OUT) 7286 break; 7287 } I'm not sure whether it is a emacs problem or a gtk problem. -- Best regards / S pozdravem Petr Hracek