Loading ...
Sorry, an error occurred while loading the content.

menu addition causes OS X crash

Expand Messages
  • Chris Allen
    Hiya, Added a menu item appears to be able to crash graphical Vim7aa (latest CVS) on OS X. I noticed this bug when trying to use the perl-support plugin in
    Message 1 of 1 , Sep 4, 2005
    • 0 Attachment
      Hiya,

      Added a menu item appears to be able to crash graphical Vim7aa (latest
      CVS) on OS X. I noticed this bug when trying to use the perl-support
      plugin in gvim. I've got a good stack trace, but I'm afraid I don't
      know enough about the OS X libs to understand why it fails. It
      appears to be repeatable with the following ex command:

      :amenu &Perl.<Tab>Perl <Esc>

      Here's the trace:

      Date/Time: 2005-09-04 12:06:11 -0400
      OS Version: 10.3.9 (Build 7W98)
      Report Version: 2

      Command: Vim
      Path: /Applications/Vim.app/Contents/MacOS/Vim
      Version: 7.0aa (7.0aa)
      PID: 16450
      Thread: 0

      Exception: EXC_BAD_ACCESS (0x0001)
      Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000006

      Thread 0 Crashed:
      0 com.apple.CoreFoundation 0x901c0a14 CFRelease + 0x24
      1 com.apple.HIToolbox 0x928b93d4 SetMenuItemTextWithCFString + 0x44
      2 ??? 0x0012c504 gui_mch_add_menu_item + 0x1b4
      (gui_mac.c:5376)
      3 ??? 0x0008ac8c gui_create_initial_menus +
      0x58 (menu.c:1756)
      4 ??? 0x0008ac7c gui_create_initial_menus +
      0x48 (menu.c:1751)
      5 ??? 0x00122fbc gui_init + 0x424 (gui.c:513)
      6 ??? 0x001136ec set_termname + 0x554 (term.c:1849)
      7 ??? 0x001229f0 gui_start + 0x7c (gui.c:91)
      8 ??? 0x000761f0 main + 0x400 (main.c:609)
      9 ??? 0x00001b50 _start + 0x188 (crt.c:267)
      10 dyld 0x8fe1a278 _dyld_start + 0x64

      And here are my build options (I believe the relevant ones are
      multibyte and Carbon):

      VIM - Vi IMproved 7.0aa ALPHA (2005 Sep 1, compiled Sep 2 2005 09:39:18)
      MacOS X (unix) version
      Compiled by chrisa@...
      Huge version with Carbon GUI. Features included (+) or not (-):
      +arabic +autocmd -balloon_eval +browse ++builtin_terms +byte_offset +cindent
      -clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
      +cryptv -cscope +dialog_con_gui +diff +digraphs -dnd -ebcdic +emacs_tags +eval
      +ex_extra +extra_search +farsi +file_in_path +find_in_path +folding -footer
      +fork() -gettext -hangul_input +iconv +insert_expand +jumplist +keymap +langmap
      +libcall +linebreak +lispindent +listcmds +localmap +menu +mksession
      +modify_fname +mouse -mouseshape -mouse_dec -mouse_gpm -mouse_jsbterm
      -mouse_netterm -mouse_xterm +multi_byte +multi_lang -mzscheme -netbeans_intg
      -osfiletype +path_extra -perl +postscript +printer +profile -python +quickfix
      +rightleft -ruby +scrollbind +signs +smartindent -sniff +statusline
      -sun_workshop +syntax +tag_binary +tag_old_static -tag_any_white -tcl +terminfo
      +termresponse +textobjects +title -toolbar +user_commands +vertsplit
      +virtualedit +visual +visualextra +viminfo +vreplace +wildignore +wildmenu
      +windows +writebackup -X11 -xfontset -xim -xsmp -xterm_clipboard -xterm_save

      If anyone needs more details, I am sure I can furnish them.

      Thanks,
      Chris Allen
    Your message has been successfully submitted and would be delivered to recipients shortly.