From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.bugs Subject: bug#11717: 24.1.50; Segmentation fault in Fdelete_other_windows_internal when running Gnus unit tests Date: Fri, 15 Jun 2012 21:00:29 +0200 Message-ID: <87aa048koi.fsf@engster.org> References: <87ehpg8mxz.fsf@engster.org> <83bokkfmxu.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1339786877 5484 80.91.229.3 (15 Jun 2012 19:01:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 15 Jun 2012 19:01:17 +0000 (UTC) Cc: 11717@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 15 21:01:14 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 1Sfblb-0000Y2-O3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jun 2012 21:01:07 +0200 Original-Received: from localhost ([::1]:59390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sfblb-0004MM-Ps for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jun 2012 15:01:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfblY-0004MH-Kw for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2012 15:01:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfblW-0005PX-Qv for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2012 15:01:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfblW-0005PQ-Kw for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2012 15:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SfboQ-0003b1-2g for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2012 15:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Engster Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Jun 2012 19:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11717 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11717-submit@debbugs.gnu.org id=B11717.133978702013796 (code B ref 11717); Fri, 15 Jun 2012 19:04:02 +0000 Original-Received: (at 11717) by debbugs.gnu.org; 15 Jun 2012 19:03:40 +0000 Original-Received: from localhost ([127.0.0.1]:44302 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sfbo2-0003aR-Hc for submit@debbugs.gnu.org; Fri, 15 Jun 2012 15:03:39 -0400 Original-Received: from randomsample.de ([83.169.19.17]:45731) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sfbny-0003aH-5n for 11717@debbugs.gnu.org; Fri, 15 Jun 2012 15:03:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=GYK9k/AUfqcan3b79XgqMEsl71a0lYJ5qcdURdUfE9c=; b=OxpEI6gKjdRSUCw8cvZtCrPjdKoHoD1TermFhCb62nQw9SQgskgq6/cw3fSZ6ZknwIBCfwJgEc2BGw/OP2H9V1ZrV+l/ZB5k+Uo+QgsQYeW7yYWh7PvXQeIguNiCu0mB; Original-Received: from dslc-082-083-050-207.pools.arcor-ip.net ([82.83.50.207] helo=spaten) by randomsample.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Sfbl0-0001R7-QV; Fri, 15 Jun 2012 21:00:31 +0200 In-Reply-To: <83bokkfmxu.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 15 Jun 2012 21:29:49 +0300") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.1.50 (gnu/linux) 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:61019 Archived-At: Eli Zaretskii writes: > This is a duplicate of 11677. Sorry. I should have searched better. > I asked there to find out which parts of MOUSE_HL_INFO cause the > segfault, and also perhaps provide a simpler test case. Can you do > that? Generating a simple test case will be difficult since it involves the pretty complicated Gnus window configurations. But I'll try to come up with something. Regarding MOUSE_HL_INFO, I guess this (gdb) p f->output_data $6 = { tty = 0x0, x = 0x0, w32 = 0x0, ns = 0x0, nothing = 0 } doesn't play well with either expression which might get executed in the macro. FRAME_WINDOW_P(f) is false since output_method is 'output_initial', hence it tries to access output_data.tty->display_info->mouse_highlight. Here's the complete frame structure: (gdb) print *f $9 = { header = { size = 1073742870, next = { nbytes = 384, buffer = 0x180, vector = 0x180 } }, name = 137092657, icon_name = 139113722, title = 139113722, focus_frame = 139113722, root_window = 139572509, selected_window = 139160437, minibuffer_window = 139160725, param_alist = 139113722, scroll_bars = 139113722, condemned_scroll_bars = 139113722, menu_bar_items = 139113722, face_alist = 145828926, menu_bar_vector = 139113722, buffer_predicate = 139113722, buffer_list = 147711830, buried_buffer_list = 147676854, menu_bar_window = 139113722, tool_bar_window = 139113722, tool_bar_items = 139113722, tool_bar_position = 139139642, desired_tool_bar_string = 139113722, current_tool_bar_string = 139113722, face_cache = 0x84e9eb8, menu_bar_items_used = 0, namebuf = 0x0, current_pool = 0x84b7b20, desired_pool = 0x84b7b08, desired_matrix = 0x84b7b38, current_matrix = 0x84b7b88, glyphs_initialized_p = 1, resized_p = 0, force_flush_display_p = 0, default_face_done_p = 0, already_hscrolled_p = 0, updated_p = 0, minimize_tool_bar_window_p = 0, external_tool_bar = 0, tool_bar_lines = 0, n_tool_bar_rows = 0, n_tool_bar_items = 0, decode_mode_spec_buffer = 0x84bb328 "", insert_line_cost = 0x0, delete_line_cost = 0x0, insert_n_lines_cost = 0x0, delete_n_lines_cost = 0x0, text_lines = 10, text_cols = 10, total_lines = 0, total_cols = 10, new_text_lines = 0, new_text_cols = 0, left_pos = 0, top_pos = 0, pixel_height = 0, pixel_width = 0, resx = 0, resy = 0, x_pixels_diff = 0, y_pixels_diff = 0, win_gravity = 0, size_hint_flags = 0, border_width = 0, internal_border_width = 0, column_width = 1, space_width = 0, line_height = 1, output_method = output_initial, terminal = 0x84b6920, output_data = { tty = 0x0, x = 0x0, w32 = 0x0, ns = 0x0, nothing = 0 }, font_driver_list = 0x0, font_data_list = 0x0, fringe_cols = 0, left_fringe_width = 0, right_fringe_width = 0, want_fullscreen = FULLSCREEN_NONE, menu_bar_lines = 1, external_menu_bar = 0, display_preempted = 0 '\000', visible = 1 '\001', iconified = 0 '\000', async_visible = 1 '\001', async_iconified = 0 '\000', garbaged = 1 '\001', has_minibuffer = 1 '\001', wants_modeline = 1 '\001', ---Type to continue, or q to quit--- can_have_scroll_bars = 0 '\000', auto_raise = 0 '\000', auto_lower = 0 '\000', no_split = 0 '\000', explicit_name = 0 '\000', window_sizes_changed = 1 '\001', mouse_moved = 0 '\000', pointer_invisible = 0 '\000', vertical_scroll_bar_type = vertical_scroll_bar_none, desired_cursor = FILLED_BOX_CURSOR, cursor_width = 0, blink_off_cursor = FILLED_BOX_CURSOR, blink_off_cursor_width = 0, message_buf = 0x84bb2f8 "", scroll_bottom_vpos = 0, config_scroll_bar_width = 0, config_scroll_bar_cols = 0, scroll_bar_actual_width = 0, cost_calculation_baud_rate = 0, alpha = {0, 0}, gamma = 0, extra_line_spacing = 0, background_pixel = 4294967293, foreground_pixel = 4294967294 } -David