From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ami Fischman Newsgroups: gmane.emacs.devel Subject: crash in bidi_pop_it during (idle) redisplay Date: Sat, 27 Oct 2012 19:25:49 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf307812ca72897404cd154589 X-Trace: ger.gmane.org 1351391157 21733 80.91.229.3 (28 Oct 2012 02:25:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Oct 2012 02:25:57 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 28 03:26:06 2012 Return-path: Envelope-to: ged-emacs-devel@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 1TSIZh-0003wO-78 for ged-emacs-devel@m.gmane.org; Sun, 28 Oct 2012 03:26:05 +0100 Original-Received: from localhost ([::1]:54301 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSIZZ-0003pu-2y for ged-emacs-devel@m.gmane.org; Sat, 27 Oct 2012 22:25:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSIZV-0003pm-PW for emacs-devel@gnu.org; Sat, 27 Oct 2012 22:25:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSIZT-0008GO-Bt for emacs-devel@gnu.org; Sat, 27 Oct 2012 22:25:53 -0400 Original-Received: from mail-vc0-f169.google.com ([209.85.220.169]:60704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSIZT-0008GK-58 for emacs-devel@gnu.org; Sat, 27 Oct 2012 22:25:51 -0400 Original-Received: by mail-vc0-f169.google.com with SMTP id fl17so4813439vcb.0 for ; Sat, 27 Oct 2012 19:25:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=X6gzJaEDppxEy7cjUD2XbAzzXy4JBf9g3iS3G3VZmkk=; b=mgxLhIVA/b+Fj7x205de8raz8vFrvi/axqOT8jGO3jT0vRopjB9b2nrO5yLHkD96vS ZyhHqcU7aWIFqGGZKTs6NxHRluZzqlontoQ+f1WbmPAM4SQzMkzgnO4wXTexDCMxrUtO 0ZPGGhy63zdfrKrmUtH8xzRXlU2TmxAtS4MQ7e/Y4mgi/EWRATuXrPU80pmtYmXeVlj4 MPsgm8NYKyBuuIwJfU8ySzVTYwU+FA87L5kB5MgnrgS2UJB+O7FdqstP/dM/FfQXSPek MjdnN3h2F9aQrCwWvVFtDZy5yDuzBQSRmrMhsmdSYdIEv0V+BO+ak4RQeY+QU+BUhLc2 073A== Original-Received: by 10.52.36.235 with SMTP id t11mr34296165vdj.62.1351391149983; Sat, 27 Oct 2012 19:25:49 -0700 (PDT) Original-Received: by 10.58.205.212 with HTTP; Sat, 27 Oct 2012 19:25:49 -0700 (PDT) X-Gm-Message-State: ALoCoQm8/v3bAFvai4/RqOig26mluG2afUxCETmnFvT3VcirkBrtcCSEI5h9Y4Zadey7cNeFNLlO X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.220.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154542 Archived-At: --20cf307812ca72897404cd154589 Content-Type: text/plain; charset=ISO-8859-1 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 --20cf307812ca72897404cd154589 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Emacs 24.2 regularly crashes on me with the backtrace below. =A0I us= ually 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). =A0This setup will be up/stable f= or anywhere between an hour and a few days, and then the server aborts dump= ing core like this. =A0FWIW, emacs-version says:
GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars= )=A0
and I built it using this this configuration:
--wi= th-x-toolkit=3Dlucid --with-xpm --with-jpeg --with-tiff --with-gif --with-p= ng --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 workstat= ions and find the emacs process is gone and a corefile has shown up). =A0Bo= th of the X servers in question are much longer lived than the emacs proces= ses involved.

Cheers,
-a


(gdb) bt
#0 =A00x00007fa43b6f1707 in kill () at ../s= ysdeps/unix/syscall-template.S:82
#1 =A00x00000000004e93d2 in fatal_error_signal (sig=3D<opt= imized out>) at emacs.c:366
#2 =A0<signal handler called&= gt;
#3 =A00x00007fa4= 3b6f1707 in kill () at ../sysdeps/unix/syscall-template.S:82
#4 =A00x00000000004e7452 in abort = () at emacs.c:394
#5 =A00x00000000004923b5 in bidi= _pop_it (bidi_it=3D<optimized out>) at bidi.c:636
#6 =A00x0000000000447aa1 in pop_it (it= =3D0x7fff2251f1e0) at xdisp.c:5769
#7 =A00x0000000000451f23 in next= _overlay_string (it=3D0x7fff2251f1e0) at xdisp.c:5223
#8 =A00x0000000000426ff7 in set_iterator_= to_next (it=3D0x7fff2251f1e0, reseat_p=3D<optimized out>) at xdisp.c:= 7188
#9 =A00x00000000004311ed in disp= lay_line (it=3D0x7fff2251f1e0) at xdisp.c:19519
#10 0x00000000004302d8 in try_window (window=3D= <optimized out>, flags=3D1, pos=3D...) at xdisp.c:16137
#11 0x000000000044ae4a in redisp= lay_window (window=3D82406597, just_this_one_p=3D0) at xdisp.c:15662=
#12 0x00000000004514e1 in = redisplay_window_0 (window=3D9054) at xdisp.c:13748
#13 0x000000000055a046 in intern= al_condition_case_1 (bfun=3D0x4514c0 <redisplay_window_0>, arg=3D8240= 6597, handlers=3D9957798, hfun=3D<optimized out>) at eval.c:1552
#14 0x0000000000448376 in redisp= lay_windows (window=3D<optimized out>) at xdisp.c:13728
<= div>#15 0x0000000000448385 in redispl= ay_windows (window=3D<optimized out>) at xdisp.c:13720
#16 0x000000000042d3d0 in redisp= lay_internal () at xdisp.c:13305
#17 0x000000000042fb64 in redisplay_preserve_echo_area (from_w= here=3D9054) at xdisp.c:13556
#18 0x00000000004f1a8a in detect= _input_pending_run_timers (do_display=3D<optimized out>) at keyboard.= c:10512
#19 0x000000= 0000596414 in wait_reading_process_output (time_limit=3D<optimized out&g= t;, microsecs=3D0, read_kbd=3D-1, do_display=3D1, wait_for_cell=3D9755602, = wait_proc=3D0x0, just_wait_proc=3D<optimized out>) at process.c:4738<= /font>
#20 0x00000000004f0954 in kbd_bu= ffer_get_event (kbp=3D<optimized out>, end_time=3D<optimized out&g= t;, used_mouse_menu=3D0x7fff22528354, kbp=3D<optimized out>, end_time= =3D<optimized out>) at keyboard.c:3855
#21 read_char (commandflag=3D<= ;optimized out>, nmaps=3D9, maps=3D<optimized out>, prev_event=3D9= 755602, used_mouse_menu=3D0x7fff22528354, end_time=3D<optimized out>)= at keyboard.c:2801
#22 0x00000000004ec170 in read_k= ey_sequence (bufsize=3D30, keybuf=3D<optimized out>, prompt=3D<opt= imized out>, dont_downcase_last=3D<optimized out>, can_return_swit= ch_frame=3D<optimized out>, fix_current_buffer=3D<optimized out>= ;) at keyboard.c:9328
#23 0x00000000004ea909 in comman= d_loop_1 () at keyboard.c:1449
#24 0x000000000055b680 in internal_condition_case (bfun=3D0x4ea4= 90 <command_loop_1>, handlers=3D9807890, hfun=3D<optimized out>= ) at eval.c:1514
#25 0x00000000004fbf06 in comman= d_loop_2 (ignore=3D<optimized out>) at keyboard.c:1160
#26 0x000000000055b0dc in internal= _catch (tag=3D<optimized out>, func=3D0x4fbee0 <command_loop_2>= , arg=3D9755602) at eval.c:1271
#27 0x00000000004e9c39 in comman= d_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=3D<error reading variable: Cannot access memory at address 0x0>,= argv=3D<optimized out>) at emacs.c:1715

--20cf307812ca72897404cd154589--