Results 1 to 4 of 4

Thread: Xorg crash and logout when opening some files with GVim

  1. #1
    Join Date
    Jun 2013
    Beans
    14

    Xorg crash and logout when opening some files with GVim

    Hello,

    I am experiencing an odd problem with GVim. Whenever I open a file, with the exception of a few really simple files without any code, Xorg crashes and I am booted back to a black screen and then the login screen. This problem does not occur when opening the same files GEdit or Vim, only with GVim. This problem occur when using both vim-gnome and vim-gtk and I have tried purging both and reinstalling one at a time. The problem seems to be related to my .vimrc file, since moving or renaming ir makes the problem go away. However, this file worked fine before I reinstalled Ubuntu. Here are its contents:

    Code:
    "Vim Configuration File
    ".vimrc
    
    "UI Settings
    "Background and Text Settings
    colors koehler
    set guifont=Monospace\ 12
    
    "Line Numbering
    set nu
    
    "Hotkeys
    map <F7> :tabp<Enter>
    map <F8> :tabn<Enter>
    
    "Text Layout
    "Text Width and Wrapping
    set tw=80
    set fo+=t
    
    "Indentation Settings
    set autoindent
    set tabstop=4
    set shiftwidth=4
    set expandtab
    
    "Miscellaneous
    set spell
    set hls
    Additional Information:
    OS: Ubuntu 13.10, 64 bit, recently reinstalled.
    Graphics: nvidia-331 with bumblebee, installed according to this website, with the exception that nvidia-settings-331 was replaced by nvidia-settings.
    Crash file: /var/crash/_usr_bin_Xorg.0.crash

    Let me know if I can give any more information. Any help you oculd lend in helping me solve this problem would be most appreciated. Thank you!
    Last edited by Eleutharios; March 14th, 2014 at 10:44 PM.

  2. #2
    Join Date
    Jun 2013
    Beans
    14

    Re: Xorg crash and logout when opening some files with GVim

    After some experimentation, it seems the secon-to-last line "set spell" is the cuplrit. Commenting that line causes the problem to go away and typing ":set spell" into the gvim terminal causes it to occur. Changing the line to "set spell spelllang-en_us" had no effect. Still not sure how to actually fix the problem.

  3. #3
    Join Date
    Jun 2013
    Beans
    14

    Re: Xorg crash and logout when opening some files with GVim

    The problem also occurs when launching LibreOffice.

  4. #4
    Join Date
    Jun 2013
    Beans
    14

    Re: Xorg crash and logout when opening some files with GVim

    Problem was an unmet dependancy if some sort. Fixed it by the instructions here.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •