From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#12745: crash in bidi_pop_it during (idle) redisplay Date: Sat, 27 Oct 2012 20:31:08 -0700 Organization: UCLA Computer Science Department Message-ID: <508CA6FC.4070203@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1351395109 12305 80.91.229.3 (28 Oct 2012 03:31:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Oct 2012 03:31:49 +0000 (UTC) Cc: ami@fischman.org To: 12745@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 28 04:31:57 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 1TSJbR-0002CP-Ld for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Oct 2012 04:31:57 +0100 Original-Received: from localhost ([::1]:34644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSJbJ-0005sd-7r for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Oct 2012 23:31:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSJbG-0005sO-5B for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2012 23:31:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSJbE-00074c-RG for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2012 23:31:46 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54185) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSJbE-00074Y-NN for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2012 23:31:44 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TSJdS-00088I-Eg for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2012 23:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Oct 2012 03:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12745 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.135139522531235 (code B ref -1); Sun, 28 Oct 2012 03:34:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Oct 2012 03:33:45 +0000 Original-Received: from localhost ([127.0.0.1]:36203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TSJdA-00087k-Bg for submit@debbugs.gnu.org; Sat, 27 Oct 2012 23:33:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34663) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TSJd8-00087c-2S for submit@debbugs.gnu.org; Sat, 27 Oct 2012 23:33:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSJas-00073W-E4 for submit@debbugs.gnu.org; Sat, 27 Oct 2012 23:31:23 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:44219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSJas-00073S-Ac for submit@debbugs.gnu.org; Sat, 27 Oct 2012 23:31:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSJaq-0005qV-Rr for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2012 23:31:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSJap-00073D-A8 for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2012 23:31:20 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:43675) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSJap-000734-1R for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2012 23:31:19 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 89AF0A60002; Sat, 27 Oct 2012 20:31:11 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5Gwsu6L8OltH; Sat, 27 Oct 2012 20:31:10 -0700 (PDT) Original-Received: from [192.168.1.3] (pool-108-23-119-2.lsanca.fios.verizon.net [108.23.119.2]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id A9EDB39E810F; Sat, 27 Oct 2012 20:31:10 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:66123 Archived-At: [I'm forwarding this from emacs-devel; the original is at . The rest of this message is from Ami Fischman.] Emacs 24.2 regularly crashes on me with the backtrace below. I usually start it with "emacs --daemon" and then run one emacsclient on each of two X servers (a local one on :0 and a remote one through NX). This setup will be up/stable for anywhere between an hour and a few days, and then the server aborts dumping core like this. FWIW, emacs-version says: GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars) and I built it using this this configuration: --with-x-toolkit=lucid --with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-x --without-dbug --without-gconf Possibly of note is that this happens when I'm not doing anything with emacs (usually I'll come back to one of my workstations and find the emacs process is gone and a corefile has shown up). Both of the X servers in question are much longer lived than the emacs processes involved. Cheers, -a (gdb) bt #0 0x00007fa43b6f1707 in kill () at ../sysdeps/unix/syscall-template.S:82 #1 0x00000000004e93d2 in fatal_error_signal (sig=) at emacs.c:366 #2 #3 0x00007fa43b6f1707 in kill () at ../sysdeps/unix/syscall-template.S:82 #4 0x00000000004e7452 in abort () at emacs.c:394 #5 0x00000000004923b5 in bidi_pop_it (bidi_it=) at bidi.c:636 #6 0x0000000000447aa1 in pop_it (it=0x7fff2251f1e0) at xdisp.c:5769 #7 0x0000000000451f23 in next_overlay_string (it=0x7fff2251f1e0) at xdisp.c:5223 #8 0x0000000000426ff7 in set_iterator_to_next (it=0x7fff2251f1e0, reseat_p=) at xdisp.c:7188 #9 0x00000000004311ed in display_line (it=0x7fff2251f1e0) at xdisp.c:19519 #10 0x00000000004302d8 in try_window (window=, flags=1, pos=...) at xdisp.c:16137 #11 0x000000000044ae4a in redisplay_window (window=82406597, just_this_one_p=0) at xdisp.c:15662 #12 0x00000000004514e1 in redisplay_window_0 (window=9054) at xdisp.c:13748 #13 0x000000000055a046 in internal_condition_case_1 (bfun=0x4514c0 , arg=82406597, handlers=9957798, hfun=) at eval.c:1552 #14 0x0000000000448376 in redisplay_windows (window=) at xdisp.c:13728 #15 0x0000000000448385 in redisplay_windows (window=) at xdisp.c:13720 #16 0x000000000042d3d0 in redisplay_internal () at xdisp.c:13305 #17 0x000000000042fb64 in redisplay_preserve_echo_area (from_where=9054) at xdisp.c:13556 #18 0x00000000004f1a8a in detect_input_pending_run_timers (do_display=) at keyboard.c:10512 #19 0x0000000000596414 in wait_reading_process_output (time_limit=, microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=9755602, wait_proc=0x0, just_wait_proc=) at process.c:4738 #20 0x00000000004f0954 in kbd_buffer_get_event (kbp=, end_time=, used_mouse_menu=0x7fff22528354, kbp=, end_time=) at keyboard.c:3855 #21 read_char (commandflag=, nmaps=9, maps=, prev_event=9755602, used_mouse_menu=0x7fff22528354, end_time=) at keyboard.c:2801 #22 0x00000000004ec170 in read_key_sequence (bufsize=30, keybuf=, prompt=, dont_downcase_last=, can_return_switch_frame=, fix_current_buffer=) at keyboard.c:9328 #23 0x00000000004ea909 in command_loop_1 () at keyboard.c:1449 #24 0x000000000055b680 in internal_condition_case (bfun=0x4ea490 , handlers=9807890, hfun=) at eval.c:1514 #25 0x00000000004fbf06 in command_loop_2 (ignore=) at keyboard.c:1160 #26 0x000000000055b0dc in internal_catch (tag=, func=0x4fbee0 , arg=9755602) at eval.c:1271 #27 0x00000000004e9c39 in command_loop () at keyboard.c:1139 #28 recursive_edit_1 () at keyboard.c:759 #29 0x00000000004e9d55 in Frecursive_edit () at keyboard.c:823 #30 0x00000000004e8acd in main (argc=, argv=) at emacs.c:1715