GNU bug report logs -
#19971
25.0.50; Emacs segfaults randomly
Previous Next
Reported by: jhair.tocancipa <at> gmail.com
Date: Sat, 28 Feb 2015 19:29:03 UTC
Severity: normal
Tags: moreinfo, wontfix
Found in version 25.0.50
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19971 in the body.
You can then email your comments to 19971 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19971
; Package
emacs
.
(Sat, 28 Feb 2015 19:29:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
jhair.tocancipa <at> gmail.com
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 28 Feb 2015 19:29:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Occasionaly C-x 5 2 or while playing chess emacs segfaults since some
weeks back. Haven't found a recipe to reproduce it. Here the gdb
backtrace:
(gdb) bt 30
#0 0x00007fe7581deb5b in raise (sig=sig <at> entry=11)
at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
#1 0x00000000004e8034 in terminate_due_to_signal (sig=sig <at> entry=11,
backtrace_limit=backtrace_limit <at> entry=40) at emacs.c:378
#2 0x00000000004ff50e in handle_fatal_signal (sig=sig <at> entry=11)
at sysdep.c:1604
#3 0x00000000004ff733 in deliver_thread_signal (sig=sig <at> entry=11,
handler=0x4ff500 <handle_fatal_signal>) at sysdep.c:1578
#4 0x00000000004ff7bf in deliver_fatal_thread_signal (sig=11)
at sysdep.c:1616
#5 handle_sigsegv (sig=11, siginfo=<optimized out>, arg=<optimized out>)
at sysdep.c:1667
#6 <signal handler called>
#7 cache_image (f=0x4ca3830, img=0x7c47f20) at image.c:1775
#8 lookup_image (f=f <at> entry=0x4ca3830, spec=spec <at> entry=79920147)
at image.c:1686
#9 0x00000000005c3f70 in Fimage_size (spec=79920147, pixels=0,
frame=<optimized out>) at image.c:864
#10 0x0000000000559037 in Ffuncall (nargs=1, args=0xb26050 <Simage_size>)
at eval.c:2725
#11 0x000000000058d993 in exec_byte_code (bytestr=<optimized out>,
vector=50602357, maxdepth=<optimized out>,
args_template=args_template <at> entry=0, nargs=nargs <at> entry=0,
args=<optimized out>, args <at> entry=0x0) at bytecode.c:919
#12 0x0000000000558aa2 in funcall_lambda (fun=50602421, nargs=1,
arg_vector=0x7fff8254f5a8) at eval.c:2951
#13 0x0000000000558e63 in Ffuncall (nargs=1, args=0x30421b0) at eval.c:2779
#14 0x000000000058d993 in exec_byte_code (bytestr=<optimized out>,
vector=50602357, maxdepth=<optimized out>,
args_template=args_template <at> entry=0, nargs=nargs <at> entry=0,
args=<optimized out>, args <at> entry=0x0) at bytecode.c:919
#15 0x0000000000558aa2 in funcall_lambda (fun=fun <at> entry=50602421,
nargs=nargs <at> entry=1, arg_vector=arg_vector <at> entry=0x7fff8254f700)
at eval.c:2951
#16 0x0000000000558028 in apply_lambda (fun=50602421, args=<optimized out>,
count=24) at eval.c:2826
#17 0x0000000000558386 in eval_sub (form=form <at> entry=49986723) at eval.c:2256
#18 0x0000000000557ff2 in apply_lambda (fun=50782925, args=<optimized out>,
count=23) at eval.c:2818
#19 0x0000000000558386 in eval_sub (form=<optimized out>) at eval.c:2256
#20 0x00000000005586d4 in eval_sub (form=<optimized out>) at eval.c:2147
#21 0x00000000005588bd in Fprogn (body=49986435) at eval.c:445
#22 0x000000000055b271 in FletX (args=49987155) at eval.c:896
#23 0x0000000000558533 in eval_sub (form=form <at> entry=50238211) at eval.c:2131
#24 0x000000000055ba21 in Feval (form=50238211, lexical=<optimized out>)
at eval.c:1996
#25 0x0000000000559047 in Ffuncall (nargs=1, nargs <at> entry=2,
args=0xb21448 <Seval>) at eval.c:2721
#26 0x0000000000557a81 in internal_condition_case_n (
bfun=0x558c60 <Ffuncall>, nargs=nargs <at> entry=2,
args=args <at> entry=0x7fff8254fcd0, handlers=handlers <at> entry=45264,
hfun=hfun <at> entry=0x4386e0 <safe_eval_handler>) at eval.c:1430
#27 0x0000000000429d96 in safe__call (inhibit_quit=<optimized out>,
nargs=nargs <at> entry=2, func=<optimized out>, ap=ap <at> entry=0x7fff8254fd50)
at xdisp.c:2494
#28 0x0000000000429ee0 in safe__call1 (inhibit_quit=<optimized out>,
fn=<optimized out>) at xdisp.c:2531
#29 0x0000000000441c8b in safe__eval (sexpr=<optimized out>,
inhibit_quit=<optimized out>) at xdisp.c:2545
(More stack frames follow...)
In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2)
of 2015-02-28 on DE1-JTOCANCIPA-Ubuntu
Repository revision: 0537943561a37b54467bec19d1b8afbeba8e1e58
Windowing system distributor `The X.Org Foundation', version 11.0.11600000
System Description: Ubuntu 14.10
Configured features:
XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS NOTIFY LIBXML2 FREETYPE XFT
ZLIB
Important settings:
value of $LC_MONETARY: de_DE.UTF-8
value of $LC_NUMERIC: de_DE.UTF-8
value of $LC_TIME: de_DE.UTF-8
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: @im=none
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
show-paren-mode: t
global-anzu-mode: t
anzu-mode: t
display-time-mode: t
desktop-save-mode: t
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-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
Recent messages:
.newsrc-dribble has auto save data; consider M-x recover-this-file
Wrote /home/jtocancipa/.emacs.desktop.lock
Desktop: 2 frames, 2 buffers restored.
For information about GNU Emacs and the GNU system, type C-h C-a.
Error during redisplay: (eval (let* ((active (powerline-selected-window-active)) (mode-line (if active (quote mode-line) (quote mode-line-inactive))) (face1 (if active (quote powerline-active1) (quote powerline-inactive1))) (face2 (if active (quote powerline-active2) (quote powerline-inactive2))) (separator-left (intern (format "powerline-%s-%s" powerline-default-separator (car powerline-default-separator-dir)))) (separator-right (intern (format "powerline-%s-%s" powerline-default-separator (cdr powerline-default-separator-dir)))) (lhs (list (powerline-raw "%*" nil (quote l)) (powerline-buffer-size nil (quote l)) (powerline-raw mode-line-mule-info nil (quote l)) (powerline-buffer-id nil (quote l)) (when (and (boundp (quote which-func-mode)) which-func-mode) (powerline-raw which-func-format nil (quote l))) (powerline-raw " ") (funcall separator-left mode-line face1) (when (boundp (quote erc-modified-channels-object)) (powerline-raw erc-modified-channels-object face1 (quote l))) (powerline-major-mode face1 (quote l)) (powerline-process face1) (powerline-minor-modes face1 (quote l)) (powerline-narrow face1 (quote l)) (powerline-raw " " face1) (funcall separator-left face1 face2) (powerline-vc face2 (quote r)))) (rhs (list (powerline-raw global-mode-string face2 (quote r)) (funcall separator-right face2 face1) (powerline-raw "%4l" face1 (quote l)) (powerline-raw ":" face1 (quote l)) (powerline-raw "%3c" face1 (quote r)) (funcall separator-right face1 mode-line) (powerline-raw " ") (powerline-raw "%6p" nil (quote r)) (powerline-hud face2 face1)))) (concat (powerline-render lhs) (powerline-fill face2 (powerline-width rhs)) (powerline-render rhs)))) signaled (wrong-type-argument hash-table-p "Unprintable entity") [4 times]
ESC <mouse-1> is undefined
Error during redisplay: (eval (let* ((active (powerline-selected-window-active)) (mode-line (if active (quote mode-line) (quote mode-line-inactive))) (face1 (if active (quote powerline-active1) (quote powerline-inactive1))) (face2 (if active (quote powerline-active2) (quote powerline-inactive2))) (separator-left (intern (format "powerline-%s-%s" powerline-default-separator (car powerline-default-separator-dir)))) (separator-right (intern (format "powerline-%s-%s" powerline-default-separator (cdr powerline-default-separator-dir)))) (lhs (list (powerline-raw "%*" nil (quote l)) (powerline-buffer-size nil (quote l)) (powerline-raw mode-line-mule-info nil (quote l)) (powerline-buffer-id nil (quote l)) (when (and (boundp (quote which-func-mode)) which-func-mode) (powerline-raw which-func-format nil (quote l))) (powerline-raw " ") (funcall separator-left mode-line face1) (when (boundp (quote erc-modified-channels-object)) (powerline-raw erc-modified-channels-object face1 (quote l))) (powerline-major-mode face1 (quote l)) (powerline-process face1) (powerline-minor-modes face1 (quote l)) (powerline-narrow face1 (quote l)) (powerline-raw " " face1) (funcall separator-left face1 face2) (powerline-vc face2 (quote r)))) (rhs (list (powerline-raw global-mode-string face2 (quote r)) (funcall separator-right face2 face1) (powerline-raw "%4l" face1 (quote l)) (powerline-raw ":" face1 (quote l)) (powerline-raw "%3c" face1 (quote r)) (funcall separator-right face1 mode-line) (powerline-raw " ") (powerline-raw "%6p" nil (quote r)) (powerline-hud face2 face1)))) (concat (powerline-render lhs) (powerline-fill face2 (powerline-width rhs)) (powerline-render rhs)))) signaled (wrong-type-argument hash-table-p "Unprintable entity") [11 times]
delete-backward-char: Text is read-only [2 times]
Making completion list...
delete-backward-char: Text is read-only
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils cl-extra seq paren avoid anzu mule-util thingatpt
time desktop frameset cus-start cus-load moe-theme powerline advice
help-fns powerline-separators color powerline-themes flymake pylookup
cl-macs ido cl gv browse-url python-pep8 derived compile comint
ansi-color ring dired-x dired edmacro kmacro dpaste server tex-site info
easymenu malabar-mode-autoloads eieio-core cl-generic pcase cl-loaddefs
cl-lib package epg-config time-date tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list newcomment elisp-mode
lisp-mode prog-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 cl-preloaded nadvice loaddefs button faces cus-face
macroexp files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process dbusbind gfilenotify dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty emacs)
Memory information:
((conses 16 163926 5386)
(symbols 48 25976 0)
(miscs 40 79 140)
(strings 32 39138 8106)
(string-bytes 1 1077845)
(vectors 16 17662)
(vector-slots 8 489297 2685)
(floats 8 275 372)
(intervals 56 250 57)
(buffers 976 14)
(heap 1024 46205 3704))
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19971
; Package
emacs
.
(Sat, 28 Feb 2015 20:06:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 19971 <at> debbugs.gnu.org (full text, mbox):
> From: jhair.tocancipa <at> gmail.com
> Date: Sat, 28 Feb 2015 17:16:28 +0100
>
>
> Occasionaly C-x 5 2 or while playing chess emacs segfaults since some
> weeks back. Haven't found a recipe to reproduce it. Here the gdb
> backtrace:
>
> (gdb) bt 30
> #0 0x00007fe7581deb5b in raise (sig=sig <at> entry=11)
> at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
> #1 0x00000000004e8034 in terminate_due_to_signal (sig=sig <at> entry=11,
> backtrace_limit=backtrace_limit <at> entry=40) at emacs.c:378
> #2 0x00000000004ff50e in handle_fatal_signal (sig=sig <at> entry=11)
> at sysdep.c:1604
> #3 0x00000000004ff733 in deliver_thread_signal (sig=sig <at> entry=11,
> handler=0x4ff500 <handle_fatal_signal>) at sysdep.c:1578
> #4 0x00000000004ff7bf in deliver_fatal_thread_signal (sig=11)
> at sysdep.c:1616
> #5 handle_sigsegv (sig=11, siginfo=<optimized out>, arg=<optimized out>)
> at sysdep.c:1667
> #6 <signal handler called>
> #7 cache_image (f=0x4ca3830, img=0x7c47f20) at image.c:1775
When this happens, what is the value of FRAME_IMAGE_CACHE(f) in stack
frame #7, i.e. on line 1775 of image.c?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19971
; Package
emacs
.
(Sat, 28 Feb 2015 20:31:03 GMT)
Full text and
rfc822 format available.
Message #11 received at 19971 <at> debbugs.gnu.org (full text, mbox):
I had the core file around and it says the following:
(gdb) f 7
#7 cache_image (f=0x28964a0, img=0x1fa8800) at image.c:1775
1775 for (i = 0; i < c->used; ++i)
(gdb) print f->terminal->image_cache
$6 = (struct image_cache *) 0x0
(gdb) print *f
$7 = {header = {size = 4611686018477887507}, name = 82145892, icon_name = 0,
title = 0, focus_frame = 0, root_window = 41361077,
selected_window = 13378549, minibuffer_window = 37739669,
param_alist = 52487027, scroll_bars = 0, condemned_scroll_bars = 68854637,
menu_bar_items = 59926877, face_alist = 86485315,
menu_bar_vector = 45213117, buffer_predicate = 0, buffer_list = 88838691,
buried_buffer_list = 76296099, tool_bar_items = 0,
tool_bar_position = 46560, font_data = 44590787, face_cache = 0x2203470,
menu_bar_items_used = 0, current_pool = 0x0, desired_pool = 0x0,
desired_matrix = 0x0, current_matrix = 0x0, glyphs_initialized_p = true,
resized_p = false, default_face_done_p = true, already_hscrolled_p = false,
updated_p = false, external_tool_bar = false, fonts_changed = false,
cursor_type_changed = false, redisplay = true, external_menu_bar = true,
visible = 1, iconified = false, garbaged = false, wants_modeline = true,
auto_raise = false, auto_lower = false, no_split = false,
explicit_name = false, window_sizes_changed = false, mouse_moved = true,
pointer_invisible = false, frozen_window_starts = true,
output_method = output_x_window, want_fullscreen = FULLSCREEN_NONE,
vertical_scroll_bar_type = vertical_scroll_bar_right,
horizontal_scroll_bars = false, new_pixelwise = false,
can_x_set_window_size = true, after_make_frame = true,
tool_bar_redisplayed_once = false, tool_bar_lines = 0, tool_bar_height = 0,
n_tool_bar_rows = 0, n_tool_bar_items = 0,
decode_mode_spec_buffer = 0x289f200 "85%", insert_line_cost = 0x0,
delete_line_cost = 0x0, insert_n_lines_cost = 0x0,
delete_n_lines_cost = 0x0, text_cols = 80, text_lines = 35, total_cols = 83,
total_lines = 35, text_width = 560, text_height = 560, new_width = 0,
new_height = 0, left_pos = 309, top_pos = 334, pixel_width = 576,
pixel_height = 560, win_gravity = 1, size_hint_flags = 0, border_width = 0,
internal_border_width = 0, right_divider_width = 0,
bottom_divider_width = 0, left_fringe_width = 0, right_fringe_width = 0,
fringe_cols = 0, menu_bar_lines = 0, menu_bar_height = 0, column_width = 7,
line_height = 16, terminal = 0x10812e8, output_data = {tty = 0x271c600,
x = 0x271c600, w32 = 0x271c600, ns = 0x271c600, nothing = 41010688},
font_driver_list = 0x2aa8f50, wait_event_type = 0,
desired_cursor = FILLED_BOX_CURSOR, cursor_width = 1,
blink_off_cursor = DEFAULT_CURSOR, blink_off_cursor_width = 0,
config_scroll_bar_width = 16, config_scroll_bar_cols = 3,
config_scroll_bar_height = 16, config_scroll_bar_lines = 1,
cost_calculation_baud_rate = 19200, alpha = {1, 1}, gamma = 0,
extra_line_spacing = 0, background_pixel = 16777215, foreground_pixel = 0}
(gdb)
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: jhair.tocancipa <at> gmail.com
>> Date: Sat, 28 Feb 2015 17:16:28 +0100
>>
>>
>> Occasionaly C-x 5 2 or while playing chess emacs segfaults since some
>> weeks back. Haven't found a recipe to reproduce it. Here the gdb
>> backtrace:
>>
>> (gdb) bt 30
>> #0 0x00007fe7581deb5b in raise (sig=sig <at> entry=11)
>> at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
>> #1 0x00000000004e8034 in terminate_due_to_signal (sig=sig <at> entry=11,
>> backtrace_limit=backtrace_limit <at> entry=40) at emacs.c:378
>> #2 0x00000000004ff50e in handle_fatal_signal (sig=sig <at> entry=11)
>> at sysdep.c:1604
>> #3 0x00000000004ff733 in deliver_thread_signal (sig=sig <at> entry=11,
>> handler=0x4ff500 <handle_fatal_signal>) at sysdep.c:1578
>> #4 0x00000000004ff7bf in deliver_fatal_thread_signal (sig=11)
>> at sysdep.c:1616
>> #5 handle_sigsegv (sig=11, siginfo=<optimized out>, arg=<optimized out>)
>> at sysdep.c:1667
>> #6 <signal handler called>
>> #7 cache_image (f=0x4ca3830, img=0x7c47f20) at image.c:1775
>
> When this happens, what is the value of FRAME_IMAGE_CACHE(f) in stack
> frame #7, i.e. on line 1775 of image.c?
--
Key fingerprint = 5917 806E 3A2F 659B BE6A 8DEE 04B5 52D9 BC07 29A4
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19971
; Package
emacs
.
(Thu, 05 Mar 2015 10:49:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 19971 <at> debbugs.gnu.org (full text, mbox):
Emacs still sporadically crashes for me at
#7 cache_image (f=0x11adca0, img=0xd0ba40) at image.c:1775
#8 lookup_image (f=f <at> entry=0x11adca0, spec=spec <at> entry=63812915)
at image.c:1686
#9 0x00000000005c4950 in Fimage_size (spec=63812915, pixels=0,
frame=<optimized out>) at image.c:864
#10 0x0000000000559a27 in Ffuncall (nargs=1, args=0xb27050 <Simage_size>)
at eval.c:2725
I tried to set:
(setq image-cache-eviction-delay nil)
and my .emacs, however still crashes at the same point after some
minutes of usage and frequently when trying C-x 5 2.
Is there a way to disable the image cache completely?
--
Key fingerprint = 5917 806E 3A2F 659B BE6A 8DEE 04B5 52D9 BC07 29A4
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19971
; Package
emacs
.
(Thu, 05 Mar 2015 16:40:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 19971 <at> debbugs.gnu.org (full text, mbox):
> From: Jhair Tocancipa Triana <jhair.tocancipa <at> gmail.com>
> Date: Thu, 05 Mar 2015 11:48:36 +0100
>
> Emacs still sporadically crashes for me at
>
> #7 cache_image (f=0x11adca0, img=0xd0ba40) at image.c:1775
> #8 lookup_image (f=f <at> entry=0x11adca0, spec=spec <at> entry=63812915)
> at image.c:1686
> #9 0x00000000005c4950 in Fimage_size (spec=63812915, pixels=0,
> frame=<optimized out>) at image.c:864
> #10 0x0000000000559a27 in Ffuncall (nargs=1, args=0xb27050 <Simage_size>)
> at eval.c:2725
>
> I tried to set:
>
> (setq image-cache-eviction-delay nil)
>
> and my .emacs, however still crashes at the same point after some
> minutes of usage and frequently when trying C-x 5 2.
If you can easily reproduce it, how about posting the recipe to do
that, including any image files needed for that?
> Is there a way to disable the image cache completely?
You don't want to disable it.
In any case, this bug should be debugged and fixed.
Added tag(s) moreinfo.
Request was from
Noam Postavsky <npostavs <at> users.sourceforge.net>
to
control <at> debbugs.gnu.org
.
(Sat, 25 Jun 2016 18:51:02 GMT)
Full text and
rfc822 format available.
Added tag(s) wontfix.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 07 Dec 2016 21:00:03 GMT)
Full text and
rfc822 format available.
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Wed, 07 Dec 2016 21:00:04 GMT)
Full text and
rfc822 format available.
Notification sent
to
jhair.tocancipa <at> gmail.com
:
bug acknowledged by developer.
(Wed, 07 Dec 2016 21:00:04 GMT)
Full text and
rfc822 format available.
Message #26 received at 19971-done <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii wrote:
> If you can easily reproduce it, how about posting the recipe to do
> that, including any image files needed for that?
No response in 18 months, closing.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 05 Jan 2017 12:24:14 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 168 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.