* crash in bidi_pop_it during (idle) redisplay
@ 2012-10-28 2:25 Ami Fischman
2012-10-28 3:58 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: Ami Fischman @ 2012-10-28 2:25 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 4045 bytes --]
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<http://www.nomachine.com/>).
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=<optimized out>) at
emacs.c:366
#2 <signal handler called>
#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=<optimized out>) 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=<optimized out>) at xdisp.c:7188
#9 0x00000000004311ed in display_line (it=0x7fff2251f1e0) at xdisp.c:19519
#10 0x00000000004302d8 in try_window (window=<optimized out>, 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
<redisplay_window_0>, arg=82406597, handlers=9957798, hfun=<optimized out>)
at eval.c:1552
#14 0x0000000000448376 in redisplay_windows (window=<optimized out>) at
xdisp.c:13728
#15 0x0000000000448385 in redisplay_windows (window=<optimized out>) 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=<optimized out>) at keyboard.c:10512
#19 0x0000000000596414 in wait_reading_process_output
(time_limit=<optimized out>, microsecs=0, read_kbd=-1, do_display=1,
wait_for_cell=9755602, wait_proc=0x0, just_wait_proc=<optimized out>) at
process.c:4738
#20 0x00000000004f0954 in kbd_buffer_get_event (kbp=<optimized out>,
end_time=<optimized out>, used_mouse_menu=0x7fff22528354, kbp=<optimized
out>, end_time=<optimized out>) at keyboard.c:3855
#21 read_char (commandflag=<optimized out>, nmaps=9, maps=<optimized out>,
prev_event=9755602, used_mouse_menu=0x7fff22528354, end_time=<optimized
out>) at keyboard.c:2801
#22 0x00000000004ec170 in read_key_sequence (bufsize=30, keybuf=<optimized
out>, prompt=<optimized out>, dont_downcase_last=<optimized out>,
can_return_switch_frame=<optimized out>, fix_current_buffer=<optimized
out>) at keyboard.c:9328
#23 0x00000000004ea909 in command_loop_1 () at keyboard.c:1449
#24 0x000000000055b680 in internal_condition_case (bfun=0x4ea490
<command_loop_1>, handlers=9807890, hfun=<optimized out>) at eval.c:1514
#25 0x00000000004fbf06 in command_loop_2 (ignore=<optimized out>) at
keyboard.c:1160
#26 0x000000000055b0dc in internal_catch (tag=<optimized out>,
func=0x4fbee0 <command_loop_2>, 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=<error reading variable: Cannot access
memory at address 0x0>, argv=<optimized out>) at emacs.c:1715
[-- Attachment #2: Type: text/html, Size: 6394 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: crash in bidi_pop_it during (idle) redisplay
2012-10-28 2:25 crash in bidi_pop_it during (idle) redisplay Ami Fischman
@ 2012-10-28 3:58 ` Eli Zaretskii
2012-10-28 4:09 ` Ami Fischman
2012-10-28 7:53 ` Paul Eggert
0 siblings, 2 replies; 5+ messages in thread
From: Eli Zaretskii @ 2012-10-28 3:58 UTC (permalink / raw)
To: Ami Fischman; +Cc: emacs-devel
> Date: Sat, 27 Oct 2012 19:25:49 -0700
> From: Ami Fischman <ami@fischman.org>
>
> Emacs 24.2 regularly crashes on me with the backtrace below.
Thank you for your report.
First, please file a bug about this via "M-x report-emacs-bug RET".
Second, please show the value of it->current in frame #7 (inside
next_overlay_string).
Third, could you please try the latest development code, and possibly
compile without optimizations? Several bugs in this area were fixed
since 24.2 was released, so perhaps this is one of them.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: crash in bidi_pop_it during (idle) redisplay
2012-10-28 3:58 ` Eli Zaretskii
@ 2012-10-28 4:09 ` Ami Fischman
2012-10-28 18:45 ` Glenn Morris
2012-10-28 7:53 ` Paul Eggert
1 sibling, 1 reply; 5+ messages in thread
From: Ami Fischman @ 2012-10-28 4:09 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 3326 bytes --]
Thanks for your reply, Eli.
> First, please file a bug about this via "M-x report-emacs-bug RET".
>
When? :)
(after the crash, the process is gone, so can't M-x anything; before the
crash, there's nothing interesting to report :))
In case it's interesting, appended the info from r-e-b (from an emacs -Q
instance) to the bottom of this email.
> Second, please show the value of it->current in frame #7 (inside
> next_overlay_string).
>
(gdb) p it->current
$3 = {
pos = {
charpos = 1295,
bytepos = 1295
},
overlay_string_index = 0,
string_pos = {
charpos = -1,
bytepos = -1
},
dpvec_index = -1
}
> Third, could you please try the latest development code, and possibly
> compile without optimizations?
Will do & report back in a few days (or sooner, if the bug recurs in HEAD).
Cheers,
-a
In GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars)
of 2012-09-11 on <REDACTED>
Windowing system distributor `The X.Org Foundation', version 11.0.70000000
Configured using:
`configure '--prefix=/usr/gmacs-24.2' '--mandir=${prefix}/share/man'
'--infodir=${prefix}/share/info' '--with-x-toolkit=lucid' '--with-xpm'
'--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--with-x'
'--program-transform-name=s/emacs/gmacs/g' '--without-dbug'
'--without-gconf' 'CC=clang
-B/home/fischman/src/chromium/src/third_party/gold/' 'CFLAGS=-Wall -g
-O2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'
'CPPFLAGS=-D_FORTIFY_SOURCE=2''
Important settings:
value of $LC_ALL:
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Lisp Interaction
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
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
M-x r e p o r <tab> <return>
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Load-path shadows:
None found.
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 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)
[-- Attachment #2: Type: text/html, Size: 5034 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: crash in bidi_pop_it during (idle) redisplay
2012-10-28 3:58 ` Eli Zaretskii
2012-10-28 4:09 ` Ami Fischman
@ 2012-10-28 7:53 ` Paul Eggert
1 sibling, 0 replies; 5+ messages in thread
From: Paul Eggert @ 2012-10-28 7:53 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Ami Fischman, emacs-devel
On 10/27/2012 08:58 PM, Eli Zaretskii wrote:
> please file a bug about this via "M-x report-emacs-bug RET".
I filed a bug report; it's Bug#12745, so it can be seen at
<http://bugs.gnu.org/12745> and further email about it can
be sent to <12745@debbugs.gnu.org>. I've copied the current
thread into it.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: crash in bidi_pop_it during (idle) redisplay
2012-10-28 4:09 ` Ami Fischman
@ 2012-10-28 18:45 ` Glenn Morris
0 siblings, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2012-10-28 18:45 UTC (permalink / raw)
To: Ami Fischman; +Cc: Eli Zaretskii, emacs-devel
Ami Fischman wrote:
>> First, please file a bug about this via "M-x report-emacs-bug RET".
>
> When? :)
Part of what that does is send your report to the right address.
It is intentional that emacs-devel is separate from the bug mailing
list.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-10-28 18:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-28 2:25 crash in bidi_pop_it during (idle) redisplay Ami Fischman
2012-10-28 3:58 ` Eli Zaretskii
2012-10-28 4:09 ` Ami Fischman
2012-10-28 18:45 ` Glenn Morris
2012-10-28 7:53 ` Paul Eggert
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).