From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#10098: 24.0.91; Resizing emacs crashes in adjust_glyph_matrix Date: Mon, 21 Nov 2011 19:10:41 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1321899122 32759 80.91.229.12 (21 Nov 2011 18:12:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 Nov 2011 18:12:02 +0000 (UTC) To: 10098@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 21 19:11:58 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RSYLV-0000pi-Sc for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Nov 2011 19:11:58 +0100 Original-Received: from localhost ([::1]:33524 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSYLV-00041m-8h for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Nov 2011 13:11:57 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:54465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSYLO-0003zL-VW for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2011 13:11:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSYLL-0001Lm-8L for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2011 13:11:50 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSYLL-0001Li-6Q for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2011 13:11:47 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RSYMY-00035a-3u for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2011 13:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Nov 2011 18:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10098 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.132189913311815 (code B ref -1); Mon, 21 Nov 2011 18:13:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Nov 2011 18:12:13 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RSYLk-00034V-Tv for submit@debbugs.gnu.org; Mon, 21 Nov 2011 13:12:13 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RSYLi-00034M-5g for submit@debbugs.gnu.org; Mon, 21 Nov 2011 13:12:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSYKR-0001CL-7Y for submit@debbugs.gnu.org; Mon, 21 Nov 2011 13:10:54 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:56074) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSYKR-0001CH-5Y for submit@debbugs.gnu.org; Mon, 21 Nov 2011 13:10:51 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:54289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSYKN-0003qq-EU for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2011 13:10:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSYKJ-0001Ae-3m for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2011 13:10:47 -0500 Original-Received: from mailout.melmac.se ([62.20.26.67]:45947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSYKI-0001A0-F9 for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2011 13:10:42 -0500 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 0F9B8960B for ; Mon, 21 Nov 2011 19:10:40 +0100 (CET) Original-Received: (qmail 8563 invoked by uid 89); 21 Nov 2011 18:10:40 -0000 Original-Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 21 Nov 2011 18:10:40 -0000 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id B8D967FA058 for ; Mon, 21 Nov 2011 19:10:39 +0100 (CET) X-Mailer: Apple Mail (2.1251.1) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 21 Nov 2011 13:13:02 -0500 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:54129 Archived-At: This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': Just start emacs, grab a corner with the mouse and resize emacs by making circles with the mouse. After a while it crashes. I have it gdb if further info is needed. #0 abort () at /home/jhd/src/emacs/current/src/emacs.c:386 No locals. #1 0x00000000004152bf in adjust_glyph_matrix (w=3D0x1358f80, = matrix=3D0x137e640, x=3D0, y=3D0, dim=3D...) at = /home/jhd/src/emacs/current/src/dispnew.c:611 row =3D 0x13b17e0 end =3D 0x13b1be0 i =3D 25 new_rows =3D 0 marginal_areas_changed_p =3D 0 header_line_changed_p =3D 0 header_line_p =3D 0 left =3D 0 right =3D 0 window_width =3D 392 window_height =3D 314 #2 0x0000000000417d9f in allocate_matrices_for_window_redisplay = (w=3D0x1358f80) at /home/jhd/src/emacs/current/src/dispnew.c:1869 dim =3D { width =3D 56,=20 height =3D 25 } #3 0x0000000000418946 in adjust_frame_glyphs_for_window_redisplay = (f=3D0x1358d40) at /home/jhd/src/emacs/current/src/dispnew.c:2197 No locals. #4 0x0000000000418021 in adjust_frame_glyphs (f=3D0x1358d40) at = /home/jhd/src/emacs/current/src/dispnew.c:1945 No locals. #5 0x0000000000417e05 in adjust_glyphs (f=3D0x1358d40) at = /home/jhd/src/emacs/current/src/dispnew.c:1890 No locals. #6 0x0000000000420dfc in change_frame_size_1 (f=3D0x1358d40, = newheight=3D23, newwidth=3D47, pretend=3D0, delay=3D0, safe=3D1) at = /home/jhd/src/emacs/current/src/dispnew.c:5768 new_frame_total_cols =3D 52 count =3D 5 #7 0x0000000000420ac1 in change_frame_size (f=3D0x0, newheight=3D23, = newwidth=3D47, pretend=3D0, delay=3D0, safe=3D1) at = /home/jhd/src/emacs/current/src/dispnew.c:5678 tail =3D 20481328 frame =3D 140737488335856 #8 0x00000000004209ae in do_pending_window_change (safe=3D1) at = /home/jhd/src/emacs/current/src/dispnew.c:5644 f =3D 0x1358d40 tail =3D 13004566 frame =3D 20286789 #9 0x000000000044f945 in redisplay_internal () at = /home/jhd/src/emacs/current/src/xdisp.c:12761 w =3D 0x1358f80 sw =3D 0x1358f80 fr =3D 0x1358d40 pending =3D 0 must_finish =3D 0 tlbufpos =3D { charpos =3D 1,=20 bytepos =3D 140737488342688 } tlendpos =3D { charpos =3D 1321898655,=20 bytepos =3D 831650 } number_of_visible_frames =3D 1 count =3D 3 count1 =3D 0 sf =3D 0x1358d40 polling_stopped_here =3D 0 old_frame =3D 20286789 consider_all_windows_p =3D 0 #10 0x00000000004510cc in redisplay_preserve_echo_area (from_where=3D11) = at /home/jhd/src/emacs/current/src/xdisp.c:13389 No locals. #11 0x000000000065cc8c in wait_reading_process_output (time_limit=3D0, = microsecs=3D0, read_kbd=3D-1, do_display=3D1, wait_for_cell=3D12761602, = wait_proc=3D0x0, just_wait_proc=3D0) at = /home/jhd/src/emacs/current/src/process.c:4553 timeout_reduced_for_timers =3D 1 channel =3D -100000 nfds =3D 1 Available =3D { fds_bits =3D {2176, 0 } } Writeok =3D { fds_bits =3D {0 } } check_write =3D 1 check_delay =3D 0 no_avail =3D 0 xerrno =3D 11 proc =3D 0 timeout =3D { tv_sec =3D 0,=20 tv_usec =3D 130402 } end_time =3D { tv_sec =3D 0,=20 tv_usec =3D 0 } wait_channel =3D -1 got_some_input =3D 1 count =3D 2 #12 0x000000000056b9cc in kbd_buffer_get_event (kbp=3D0x7fffffffd4a0, = used_mouse_menu=3D0x7fffffffd9d4, end_time=3D0x0) at = /home/jhd/src/emacs/current/src/keyboard.c:3850 c =3D 0 obj =3D 5686382 #13 0x00000000005693b0 in read_char (commandflag=3D1, nmaps=3D2, = maps=3D0x7fffffffd7f0, prev_event=3D12761602, = used_mouse_menu=3D0x7fffffffd9d4, end_time=3D0x0) at = /home/jhd/src/emacs/current/src/keyboard.c:2796 kb =3D 0x7fffffffd4d0 c =3D 12761602 jmpcount =3D 2 local_getcjmp =3D {{ __jmpbuf =3D {0, -1056989605032105556, 4278496, = 140737488348496, 0, 0, -1056989605059368532, 1056990074327787948},=20 __mask_was_saved =3D 0,=20 __saved_mask =3D { __val =3D {197568495616, 1, 66, 18446744073709551615, = 4294967294, 0, 0, 0, 0, 0, 0, 46, 0, 12761602, 12761602, 12761602} } }} save_jump =3D {{ __jmpbuf =3D {0, 0, 0, 0, 0, 0, 0, 0},=20 __mask_was_saved =3D 0,=20 __saved_mask =3D { __val =3D {0 } } }} key_already_recorded =3D 0 tem =3D 0 save =3D 140737488344928 previous_echo_area_message =3D 12761602 also_record =3D 12761602 reread =3D 0 gcpro1 =3D { next =3D 0x7fffffffd540,=20 var =3D 0x673ff9,=20 nvars =3D 4294956288 } gcpro2 =3D { next =3D 0x1ffffd520,=20 var =3D 0xc32795,=20 nvars =3D 12789648 } polling_stopped_here =3D 1 orig_kboard =3D 0x10e92a0 #14 0x0000000000576ccc in read_key_sequence (keybuf=3D0x7fffffffdc40, = bufsize=3D30, prompt=3D12761602, dont_downcase_last=3D0, = can_return_switch_frame=3D1, fix_current_buffer=3D1) at = /home/jhd/src/emacs/current/src/keyboard.c:9290 interrupted_kboard =3D 0x10e92a0 interrupted_frame =3D 0x1358d40 key =3D 4495097 used_mouse_menu =3D 0 echo_local_start =3D 0 last_real_key_start =3D 0 keys_local_start =3D 0 local_first_binding =3D 0 from_string =3D 12761602 count =3D 2 t =3D 0 echo_start =3D 0 keys_start =3D 0 nmaps =3D 2 nmaps_allocated =3D 2 defs =3D 0x7fffffffd7d0 submaps =3D 0x7fffffffd7f0 orig_local_map =3D 18912550 orig_keymap =3D 12761602 localized_local_map =3D 0 first_binding =3D 0 first_unbound =3D 31 mock_input =3D 0 fkey =3D { parent =3D 19514806,=20 map =3D 19514806,=20 start =3D 0,=20 end =3D 0 } keytran =3D { parent =3D 12741030,=20 map =3D 12741030,=20 start =3D 0,=20 end =3D 0 } indec =3D { parent =3D 19514790,=20 map =3D 19514790,=20 start =3D 0,=20 end =3D 0 } shift_translated =3D 0 delayed_switch_frame =3D 12761602 original_uppercase =3D 20287936 original_uppercase_position =3D -1 dummyflag =3D 0 starting_buffer =3D 0xc32790 fake_prefixed_keys =3D 12761602 outer_gcpro1 =3D { next =3D 0x178cce0,=20 var =3D 0xc58900,=20 nvars =3D 0 } #15 0x0000000000566798 in command_loop_1 () at = /home/jhd/src/emacs/current/src/keyboard.c:1447 cmd =3D 11825984136 keybuf =3D {0, 0, 4278496, 140737488348496, 140737488346240, = 6196393, 73, 12761602, 140737488346320, 6198716, 12761602, 12882994, = 140737488346720, 4339075590, 12604576, 140737488346344, 140737488345888, = 12882992, 140737488346464, 6317719, 12996278, 8603802674, 12882994, = 12761602, 0, 0, 140737488346464, 6317153, 12761602, 12882994} i =3D 0 prev_modiff =3D 0 prev_buffer =3D 0x0 already_adjusted =3D 0 #16 0x000000000060210b in internal_condition_case (bfun=3D0x5663b3 = , handlers=3D12813794, hfun=3D0x565c9b ) at = /home/jhd/src/emacs/current/src/eval.c:1499 val =3D 0 c =3D { tag =3D 12761602,=20 val =3D 12761602,=20 next =3D 0x7fffffffdf70,=20 gcpro =3D 0x0,=20 jmp =3D {{ __jmpbuf =3D {0, -1056989604751087188, 4278496, = 140737488348496, 0, 0, -1056989604828681812, 1056989879632652716},=20 __mask_was_saved =3D 0,=20 __saved_mask =3D { __val =3D {1056989879632652716, 0, 230869317088, = 13236582, 0, 9374232, 0, 0, 0, 0, 230867133956, 227633266689, 0, 0, = 230871308160, 140737318460368} } }},=20 backlist =3D 0x0,=20 handlerlist =3D 0x0,=20 lisp_eval_depth =3D 0,=20 pdlcount =3D 2,=20 poll_suppress_count =3D 1,=20 interrupt_input_blocked =3D 0,=20 byte_stack =3D 0x0 } h =3D { handler =3D 12813794,=20 var =3D 12761602,=20 chosen_clause =3D 12813794,=20 tag =3D 0x7fffffffddf0,=20 next =3D 0x0 } #17 0x00000000005660a2 in command_loop_2 (ignore=3D12761602) at = /home/jhd/src/emacs/current/src/keyboard.c:1158 val =3D 0 #18 0x0000000000601a95 in internal_catch (tag=3D12809586, func=3D0x56607c = , arg=3D12761602) at = /home/jhd/src/emacs/current/src/eval.c:1256 c =3D { tag =3D 12809586,=20 val =3D 12761602,=20 next =3D 0x0,=20 gcpro =3D 0x0,=20 jmp =3D {{ __jmpbuf =3D {0, -1056989606812587604, 4278496, = 140737488348496, 0, 0, -1056989604759475796, 1056989881590081964},=20 __mask_was_saved =3D 0,=20 __saved_mask =3D { __val =3D {6197688, 0, 4294967303, 0, 0, 12159840, = 12789648, 0, 0, 140737488347216, 12987552, 14, 0, 4278496, = 140737488348496, 140737488347296} } }},=20 backlist =3D 0x0,=20 handlerlist =3D 0x0,=20 lisp_eval_depth =3D 0,=20 pdlcount =3D 2,=20 poll_suppress_count =3D 1,=20 interrupt_input_blocked =3D 0,=20 byte_stack =3D 0x0 } #19 0x0000000000566055 in command_loop () at = /home/jhd/src/emacs/current/src/keyboard.c:1137 No locals. #20 0x00000000005657df in recursive_edit_1 () at = /home/jhd/src/emacs/current/src/keyboard.c:757 count =3D 1 val =3D 12761602 #21 0x0000000000565982 in Frecursive_edit () at = /home/jhd/src/emacs/current/src/keyboard.c:821 count =3D 0 buffer =3D 12761602 #22 0x0000000000563a40 in main (argc=3D2, argv=3D0x7fffffffe558) at = /home/jhd/src/emacs/current/src/emacs.c:1707 dummy =3D 4237001 stack_bottom_variable =3D 0 '\000' do_initial_setlocale =3D 1 skip_args =3D 0 rlim =3D { rlim_cur =3D 8720000,=20 rlim_max =3D 18446744073709551615 } no_loadup =3D 0 junk =3D 0x0 dname_arg =3D 0x0 ch_to_dir =3D 0x35c100fe40 "\205'" I'm compiling Lucid right now to see if this is Gtk+ 3 specific. Jan D. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /opt/emacs-cvs/share/emacs/24.0.91/etc/DEBUG. In GNU Emacs 24.0.91.5 (x86_64-unknown-linux-gnu, GTK+ Version 3.2.1) of 2011-11-21 on f16.localdomain Windowing system distributor `Fedora Project', version 11.0.11102000 configured using `configure '--verbose' '--enable-asserts' = '--with-x-toolkit=3Dgtk3' '--prefix=3D/opt/emacs-cvs' 'CFLAGS=3D-g'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: sv_SE.utf8 value of $LC_NUMERIC: sv_SE.utf8 value of $LC_TIME: sv_SE.utf8 value of $LANG: sv_SE.utf8 value of $XMODIFIERS: @im=3Dnone 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: x r e p o r t - e m 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 message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug 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 move-toolbar gtk x-toolkit x multi-tty emacs)