From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jhair Tocancipa Triana Newsgroups: gmane.emacs.bugs Subject: bug#19971: 25.0.50; Emacs segfaults randomly Date: Sat, 28 Feb 2015 22:10:21 +0100 Message-ID: <87d24tzqrm.fsf@gmail.com> References: <87lhjihuzn.fsf@DE1-JTOCANCIPA-Ubuntu.i-did-not-set--mail-host-address--so-tickle-me> <83sidpssyn.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1425155489 15640 80.91.229.3 (28 Feb 2015 20:31:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Feb 2015 20:31:29 +0000 (UTC) Cc: 19971@debbugs.gnu.org, jhair.tocancipa@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 28 21:31:18 2015 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 1YRo2b-0007HP-FN for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Feb 2015 21:31:13 +0100 Original-Received: from localhost ([::1]:42314 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRo2a-0006A8-ST for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Feb 2015 15:31:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRo2V-00063P-FI for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2015 15:31:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YRo2S-0006mU-8W for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2015 15:31:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRo2S-0006mH-53 for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2015 15:31:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YRo2R-0000p7-Sz for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2015 15:31:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jhair Tocancipa Triana Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Feb 2015 20:31:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19971 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19971-submit@debbugs.gnu.org id=B19971.14251554183032 (code B ref 19971); Sat, 28 Feb 2015 20:31:03 +0000 Original-Received: (at 19971) by debbugs.gnu.org; 28 Feb 2015 20:30:18 +0000 Original-Received: from localhost ([127.0.0.1]:60874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YRo1h-0000mo-3C for submit@debbugs.gnu.org; Sat, 28 Feb 2015 15:30:17 -0500 Original-Received: from mail-qa0-f42.google.com ([209.85.216.42]:37556) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YRo1Q-0000lf-TS for 19971@debbugs.gnu.org; Sat, 28 Feb 2015 15:30:01 -0500 Original-Received: by mail-qa0-f42.google.com with SMTP id w8so17679985qac.1 for <19971@debbugs.gnu.org>; Sat, 28 Feb 2015 12:29:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:cc:subject:references:date:in-reply-to :user-agent:face:mime-version:content-type; bh=eRbreLLOKKEWSStMeQ3Hl4ik+5gn8JH5G6AhJ5mQm/c=; b=FvXXeXzCL4FEKuADao4shZW/6fvRoffmHVPaTeYelmpkUvt5JZJMdnNOwhAnYjgsU6 THzYk7jzvC24mCRfSli3GJ89VmpdSAeS1Xx2x9GCHoRG1LlmRE9GQW0wR9lVeT7nbzZ3 EOLGaMAzG4e5rVwBqfcFvquAA86d5drWJJso80uWq6UCidF+o4NlG71wNdsD9uzBUj4G BF7vi+JdtC+3KcG1Dy2d6WeKr0EtL2V24mI4fVxil2H7nC2MnErwWOP6KnQmNX+A2arr 3KsulJWbRH7bWUNZx419xLZNQSaZjOMqe2Bsp4DFpvn2iBEMwf82XmEsJ/vH+18x7GHa rtEw== X-Received: by 10.140.233.78 with SMTP id e75mr39212169qhc.92.1425155395316; Sat, 28 Feb 2015 12:29:55 -0800 (PST) Original-Received: from DE1-JTOCANCIPA-Ubuntu (HSI-KBW-109-193-167-163.hsi7.kabel-badenwuerttemberg.de. [109.193.167.163]) by mx.google.com with ESMTPSA id 142sm5180282qhd.14.2015.02.28.12.29.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Feb 2015 12:29:54 -0800 (PST) In-Reply-To: <83sidpssyn.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 28 Feb 2015 22:04:48 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUAAADzzEGSfEEODQz/ ///+//7v7ujl3nnEAAABpElEQVQ4jY3TwW7jIBAA0FGQcmcr5ezFW58pbPMBFfi8VTDnBCfz/5/Q gYE0La60c4iIn2bGhgHcDwH/AUmpaQsSANiph1kTGHvt4A1yhn7t4AQldh2cSwaIHqwFM2q4doCr QNyAdUxmnYaNjFGpYb8FSspf00apf78lhYY/3XdIhr8dcMa474B6SByMCd+bT0odwgqte4PZYsLg ZoDjVzgdHd6c8xrE9RH8UF9zAHh+hDdxcyG4iGvb+QpnMQUMHlUStT2D1zuuHNFqbg/1ndqRxsFy LYbTfQj8anV5L4bVtO+koeCNZCg7FO7w2mAWtPRcbSbYNzgJSp4/Ydfg/BOs9gGs1Q38RR4bzEmD PVaIUj491+bvdLriwLBcaD7qlhR4kRn8e5mCgc/HJ6mMlCFnXAo88dwQ5Lh9gqw3g0EuBFxKjuXg ZsP/DqH1KHXzbt5hqaUk3cuYoMLVQazPJU073c+XmkDQMsZyB8ugHpCaR7woVcAqpUaTLwPS6IFH CiI1Ia+UQrwR0GBQpPo8C/0svFf10eJjW7VtX3Lk71iWiLxyH/hwBSA4ZqkfAAAAAElFTkSuQmCC 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:99918 Archived-At: 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 writes: >> From: jhair.tocancipa@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@entry=11) >> at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37 >> #1 0x00000000004e8034 in terminate_due_to_signal (sig=sig@entry=11, >> backtrace_limit=backtrace_limit@entry=40) at emacs.c:378 >> #2 0x00000000004ff50e in handle_fatal_signal (sig=sig@entry=11) >> at sysdep.c:1604 >> #3 0x00000000004ff733 in deliver_thread_signal (sig=sig@entry=11, >> handler=0x4ff500 ) at sysdep.c:1578 >> #4 0x00000000004ff7bf in deliver_fatal_thread_signal (sig=11) >> at sysdep.c:1616 >> #5 handle_sigsegv (sig=11, siginfo=, arg=) >> at sysdep.c:1667 >> #6 >> #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