GNU bug report logs - #7517
24.0.50; repeated crash under Mac OS X

Previous Next

Packages: emacs, ns;

Reported by: emacs user <user.emacs <at> gmail.com>

Date: Mon, 29 Nov 2010 14:30:03 UTC

Severity: normal

Found in version 24.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: emacs user <user.emacs <at> gmail.com>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 7517 <at> debbugs.gnu.org
Subject: bug#7517: 24.0.50; repeated crash under Mac OS X
Date: Sat, 18 Dec 2010 01:42:02 +0200
and here is the backtrace for emacs-23.2 for the original bug.  this
is with optimization.  should I try without?

$ gdb /usr/local/emacs-23.2/nextstep/Emacs-23.2.app/Contents/MacOS/Emacs
GNU gdb 6.3.50-20050815 (Apple version gdb-1472) (Wed Jul 21 10:53:12 UTC 2010)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for
shared libraries ......... done

(gdb) run
Starting program:
/usr/local/emacs-23.2/nextstep/Emacs-23.2.app/Contents/MacOS/Emacs
Reading symbols for shared libraries
.++++++++................................................................................
done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
2010-12-17 18:39:00.121 Emacs[36221:a0f] *** Assertion failure in
-[EmacsWindow setTitle:],
/SourceCache/AppKit/AppKit-1038.35/AppKit.subproj/NSWindow.m:2036
2010-12-17 18:39:00.124 Emacs[36221:a0f] An uncaught exception was raised
2010-12-17 18:39:00.124 Emacs[36221:a0f] Invalid parameter not
satisfying: aString != nil
2010-12-17 18:39:00.128 Emacs[36221:a0f] *** Terminating app due to
uncaught exception 'NSInternalInconsistencyException', reason:
'Invalid parameter not satisfying: aString != nil'
*** Call stack at first throw:
(
	0   CoreFoundation                      0x00007fff842277b4
__exceptionPreprocess + 180
	1   libobjc.A.dylib                     0x00007fff83f070f3
objc_exception_throw + 45
	2   CoreFoundation                      0x00007fff842275d7
+[NSException raise:format:arguments:] + 103
	3   Foundation                          0x00007fff8394687a
-[NSAssertionHandler
handleFailureInMethod:object:file:lineNumber:description:] + 198
	4   AppKit                              0x00007fff8052ab98 -[NSWindow
setTitle:] + 141
	5   Emacs                               0x000000010017b99c
ns_set_name_as_filename + 844
	6   Emacs                               0x0000000100037cd1
prepare_menu_bars + 721
	7   Emacs                               0x000000010004150a
redisplay_internal + 3146
	8   Emacs                               0x0000000100041e5f
redisplay_preserve_echo_area + 47
	9   Emacs                               0x00000001000058a1 Fredisplay + 225
	10  Emacs                               0x00000001001092c2 Ffuncall + 1218
	11  Emacs                               0x0000000100145abe Fbyte_code + 6814
	12  Emacs                               0x0000000100108c0c funcall_lambda + 588
	13  Emacs                               0x0000000100109052 Ffuncall + 594
	14  Emacs                               0x0000000100145abe Fbyte_code + 6814
	15  Emacs                               0x0000000100108c0c funcall_lambda + 588
	16  Emacs                               0x0000000100109052 Ffuncall + 594
	17  Emacs                               0x000000010010acb5 Fapply + 325
	18  Emacs                               0x000000010010935b Ffuncall + 1371
	19  Emacs                               0x0000000100145abe Fbyte_code + 6814
	20  Emacs                               0x0000000100108674 Feval + 1476
	21  Emacs                               0x000000010010b1e6
internal_lisp_condition_case + 502
	22  Emacs                               0x0000000100144b25 Fbyte_code + 2821
	23  Emacs                               0x0000000100108c0c funcall_lambda + 588
	24  Emacs                               0x0000000100109052 Ffuncall + 594
	25  Emacs                               0x000000010010a79e call1 + 30
	26  Emacs                               0x0000000100099695 timer_check + 1013
	27  Emacs                               0x000000010014dd28
wait_reading_process_output + 3816
	28  Emacs                               0x000000010014f4a8
Faccept_process_output + 312
	29  Emacs                               0x0000000100109283 Ffuncall + 1155
	30  Emacs                               0x0000000100145abe Fbyte_code + 6814
	31  Emacs                               0x0000000100108674 Feval + 1476
	32  Emacs                               0x000000010010b1e6
internal_lisp_condition_case + 502
	33  Emacs                               0x0000000100144b25 Fbyte_code + 2821
	34  Emacs                               0x0000000100108c0c funcall_lambda + 588
	35  Emacs                               0x0000000100109052 Ffuncall + 594
	36  Emacs                               0x0000000100145abe Fbyte_code + 6814
	37  Emacs                               0x0000000100108c0c funcall_lambda + 588
	38  Emacs                               0x0000000100109052 Ffuncall + 594
	39  Emacs                               0x000000010010a9af
run_hook_with_args + 271
	40  Emacs                               0x000000010010ab46 Frun_hooks + 54
	41  Emacs                               0x000000010010935b Ffuncall + 1371
	42  Emacs                               0x000000010010a79e call1 + 30
	43  Emacs                               0x0000000100107727
internal_condition_case + 327
	44  Emacs                               0x000000010009a9b0 safe_run_hooks + 80
	45  Emacs                               0x00000001000a3903
command_loop_1 + 1315
	46  Emacs                               0x0000000100107727
internal_condition_case + 327
	47  Emacs                               0x000000010009aa07 command_loop_2 + 55
	48  Emacs                               0x0000000100107830 internal_catch + 224
	49  Emacs                               0x000000010009b496 command_loop + 182
	50  Emacs                               0x000000010009b8ff
recursive_edit_1 + 159
	51  Emacs                               0x000000010009ba9f
Frecursive_edit + 287
	52  Emacs                               0x0000000100091087 main + 3447
	53  Emacs                               0x00000001000020b4 start + 52
	54  ???                                 0x0000000000000001 0x0 + 1
)
terminate called after throwing an instance of 'NSException'

Program received signal SIGABRT, Aborted.
0x00007fff84003616 in __kill ()
(gdb) bt full
#0  0x00007fff84003616 in __kill ()
No symbol table info available.
#1  0x00007fff840a3cca in abort ()
No symbol table info available.
#2  0x00007fff888e15d2 in __gnu_cxx::__verbose_terminate_handler ()
No symbol table info available.
#3  0x00007fff83f0ad29 in _objc_terminate ()
No symbol table info available.
#4  0x00007fff888dfae1 in __cxxabiv1::__terminate ()
No symbol table info available.
#5  0x00007fff888dfb16 in std::terminate ()
No symbol table info available.
#6  0x00007fff888dfbfc in __cxa_throw ()
No symbol table info available.
#7  0x00007fff83f07192 in objc_exception_throw ()
No symbol table info available.
#8  0x00007fff842275d7 in +[NSException raise:format:arguments:] ()
No symbol table info available.
#9  0x00007fff8394687a in -[NSAssertionHandler
handleFailureInMethod:object:file:lineNumber:description:] ()
No symbol table info available.
#10 0x00007fff8052ab98 in -[NSWindow setTitle:] ()
No symbol table info available.
#11 0x000000010017b99c in ns_set_name_as_filename (f=0x100753e70) at nsfns.m:666
	str = (NSString *) 0x0
	view = (NSView *) 0x100ae85f0
	name = 4802201153
	buf = <value temporarily unavailable, due to optimizations>
	title = <value temporarily unavailable, due to optimizations>
#12 0x0000000100037cd1 in prepare_menu_bars () at xdisp.c:9475
	tail = <value temporarily unavailable, due to optimizations>
	fmt = <value temporarily unavailable, due to optimizations>
	len = 0
	title = 0x100a0c4d0 ""
	it = {
  window = 4797980437,
  w = 0x11dfb5f10,
  f = 0x100753e70,
  method = GET_FROM_BUFFER,
  stop_charpos = 0,
  end_charpos = 0,
  s = 0x0,
  string_nchars = 0,
  region_beg_charpos = -1,
  region_end_charpos = -1,
  redisplay_end_trigger_charpos = 0,
  multibyte_p = 1,
  header_line_p = 0,
  string_from_display_prop_p = 0,
  ellipsis_p = 0,
  avoid_cursor_p = 0,
  dp = 0x116916eb0,
  dpvec = 0x0,
  dpend = 0x0,
  dpvec_char_len = 0,
  dpvec_face_id = 0,
  saved_face_id = 0,
  ctl_chars = {0 <repeats 16 times>},
  start = {
    pos = {
      charpos = 0,
      bytepos = 0
    },
    overlay_string_index = 0,
    string_pos = {
      charpos = 0,
      bytepos = 0
    },
    dpvec_index = 0
  },
  current = {
    pos = {
      charpos = 0,
      bytepos = 0
    },
    overlay_string_index = -1,
    string_pos = {
      charpos = -1,
      bytepos = -1
    },
    dpvec_index = -1
  },
  n_overlay_strings = 0,
  overlay_strings = {0 <repeats 16 times>},
  string_overlays = {0 <repeats 16 times>},
  string = 4320133130,
  from_overlay = 0,
  stack = {{
      string = 0,
      string_nchars = 0,
      end_charpos = 0,
      stop_charpos = 0,
      cmp_it = {
        stop_pos = 0,
        id = 0,
        ch = 0,
        lookback = 0,
        nglyphs = 0,
        nchars = 0,
        nbytes = 0,
        from = 0,
        to = 0,
        width = 0
      },
      face_id = 0,
      u = {
        image = {
          object = 0,
          slice = {
            x = 0,
            y = 0,
            width = 0,
            height = 0
          },
          image_id = 0
        },
        comp = {
          object = 0
        },
        stretch = {
          object = 0
        }
      },
      position = {
        charpos = 0,
        bytepos = 0
      },
      current = {
        pos = {
          charpos = 0,
          bytepos = 0
        },
        overlay_string_index = 0,
        string_pos = {
          charpos = 0,
          bytepos = 0
        },
        dpvec_index = 0
      },
      from_overlay = 0,
      area = LEFT_MARGIN_AREA,
      method = GET_FROM_BUFFER,
      multibyte_p = 0,
      string_from_display_prop_p = 0,
      display_ellipsis_p = 0,
      avoid_cursor_p = 0,
      line_wrap = TRUNCATE,
      voffset = 0,
      space_width = 0,
      font_height = 0
    }, {
      string = 0,
      string_nchars = 0,
      end_charpos = 0,
      stop_charpos = 0,
      cmp_it = {
        stop_pos = 0,
        id = 0,
        ch = 0,
        lookback = 0,
        nglyphs = 0,
        nchars = 0,
        nbytes = 0,
        from = 0,
        to = 0,
        width = 0
      },
      face_id = 0,
      u = {
        image = {
          object = 0,
          slice = {
            x = 0,
            y = 0,
            width = 0,
            height = 0
          },
          image_id = 0
        },
        comp = {
          object = 0
        },
        stretch = {
          object = 0
        }
      },
      position = {
        charpos = 0,
        bytepos = 0
      },
      current = {
        pos = {
          charpos = 0,
          bytepos = 0
        },
        overlay_string_index = 0,
        string_pos = {
          charpos = 0,
          bytepos = 0
        },
        dpvec_index = 0
      },
      from_overlay = 0,
      area = LEFT_MARGIN_AREA,
      method = GET_FROM_BUFFER,
      multibyte_p = 0,
      string_from_display_prop_p = 0,
      display_ellipsis_p = 0,
      avoid_cursor_p = 0,
      line_wrap = TRUNCATE,
      voffset = 0,
      space_width = 0,
      font_height = 0
    }, {
      string = 0,
      string_nchars = 0,
      end_charpos = 0,
      stop_charpos = 0,
      cmp_it = {
        stop_pos = 0,
        id = 0,
        ch = 0,
        lookback = 0,
        nglyphs = 0,
        nchars = 0,
        nbytes = 0,
        from = 0,
        to = 0,
        width = 0
      },
      face_id = 0,
      u = {
        image = {
          object = 0,
          slice = {
            x = 0,
            y = 0,
            width = 0,
            height = 0
          },
          image_id = 0
        },
        comp = {
          object = 0
        },
        stretch = {
          object = 0
        }
      },
      position = {
        charpos = 0,
        bytepos = 0
      },
      current = {
        pos = {
          charpos = 0,
          bytepos = 0
        },
        overlay_string_index = 0,
        string_pos = {
          charpos = 0,
          bytepos = 0
        },
        dpvec_index = 0
      },
      from_overlay = 0,
      area = LEFT_MARGIN_AREA,
      method = GET_FROM_BUFFER,
      multibyte_p = 0,
      string_from_display_prop_p = 0,
      display_ellipsis_p = 0,
      avoid_cursor_p = 0,
      line_wrap = TRUNCATE,
      voffset = 0,
      space_width = 0,
      font_height = 0
    }, {
      string = 0,
      string_nchars = 0,
      end_charpos = 0,
      stop_charpos = 0,
      cmp_it = {
        stop_pos = 0,
        id = 0,
        ch = 0,
        lookback = 0,
        nglyphs = 0,
        nchars = 0,
        nbytes = 0,
        from = 0,
        to = 0,
        width = 0
      },
      face_id = 0,
      u = {
        image = {
          object = 0,
          slice = {
            x = 0,
            y = 0,
            width = 0,
            height = 0
          },
          image_id = 0
        },
        comp = {
          object = 0
        },
        stretch = {
          object = 0
        }
      },
      position = {
        charpos = 0,
        bytepos = 0
      },
      current = {
        pos = {
          charpos = 0,
          bytepos = 0
        },
        overlay_string_index = 0,
        string_pos = {
          charpos = 0,
          bytepos = 0
        },
        dpvec_index = 0
      },
      from_overlay = 0,
      area = LEFT_MARGIN_AREA,
      method = GET_FROM_BUFFER,
      multibyte_p = 0,
      string_from_display_prop_p = 0,
      display_ellipsis_p = 0,
      avoid_cursor_p = 0,
      line_wrap = TRUNCATE,
      voffset = 0,
      space_width = 0,
      font_height = 0
    }},
  sp = 0,
  selective = 0,
  what = IT_CHARACTER,
  face_id = 0,
  selective_display_ellipsis_p = 1,
  ctl_arrow_p = 1,
  face_box_p = 0,
  start_of_box_run_p = 0,
  end_of_box_run_p = 0,
  overlay_strings_at_end_processed_p = 0,
  ignore_overlay_strings_at_pos_p = 0,
  glyph_not_available_p = 0,
  starts_in_middle_of_char_p = 0,
  face_before_selective_p = 0,
  constrain_row_ascent_descent_p = 0,
  line_wrap = WINDOW_WRAP,
  base_face_id = 0,
  c = 0,
  len = 0,
  cmp_it = {
    stop_pos = 0,
    id = -1,
    ch = 0,
    lookback = 0,
    nglyphs = 0,
    nchars = 0,
    nbytes = 0,
    from = 0,
    to = 0,
    width = 0
  },
  char_to_display = 0,
  image_id = 0,
  slice = {
    x = 4320133130,
    y = 4320133130,
    width = 4320133130,
    height = 4320133130
  },
  space_width = 4320133130,
  voffset = 0,
  tab_width = 8,
  font_height = 4320133130,
  object = 0,
  position = {
    charpos = 0,
    bytepos = 0
  },
  truncation_pixel_width = 0,
  continuation_pixel_width = 0,
  first_visible_x = 0,
  last_visible_x = 1080,
  last_visible_y = 696,
  extra_line_spacing = 0,
  max_extra_line_spacing = 0,
  override_ascent = -1,
  override_descent = 0,
  override_boff = 0,
  glyph_row = 0x0,
  area = TEXT_AREA,
  nglyphs = 0,
  pixel_width = 0,
  ascent = 0,
  descent = 0,
  max_ascent = 0,
  max_descent = 0,
  phys_ascent = 0,
  phys_descent = 0,
  max_phys_ascent = 0,
  max_phys_descent = 0,
  current_x = 0,
  continuation_lines_width = 0,
  current_y = 0,
  first_vpos = 0,
  vpos = 0,
  hpos = 0,
  left_user_fringe_bitmap = 0,
  right_user_fringe_bitmap = 0,
  left_user_fringe_face_id = 0,
  right_user_fringe_face_id = 0
}
	f = <value temporarily unavailable, due to optimizations>
	frame = Cannot access memory at address 0x0
(gdb)


On Fri, Dec 17, 2010 at 1:47 PM, Chong Yidong <cyd <at> stupidchicken.com> wrote:
> emacs user <user.emacs <at> gmail.com> writes:
>
>> This crash occurs when I use vm to read my mail, and attempt to edit
>> an email written in non-English characters.  I cannot provide a simple
>> reproducible example, but it is very easy for me to reproduce this
>> with my setup and mail files.  Am happy to try patches etc.  Backtrace
>> attached.
>
> The backtrace doesn't tell much.  Please try couple of things to pin
> down the problem:
>
> 1. Compile without optimizations (CFLAGS="-g" ./configure; make) and
>   post another backtrace.
>
> 2. Bisect to find the checkin that introduced this problem.
>
> Thanks.
>




This bug report was last modified 14 years and 192 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.