It happened when Python Interface to Vim is used.

-----------------
Crash Conditions:
-----------------

(1) standard gVim.exe downloaded from http://www.vim.org/download.php
(2) standard python2.7 downloaded from http://www.python.org/
(3) Microsoft Windows, Vista
(4) gvim -u NONE -U NONE --noplugin
(5) :py print(help('io'))

------------------
Crash Information:
------------------

Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:     gvim.exe
  Application Version:  7.3.277.0
  Application Timestamp:        4cc84c7e
  Fault Module Name:    python27.dll
  Fault Module Version: 2.7.2150.1013
  Fault Module Timestamp:       4df4ba7c
  Exception Code:       c0000005
  Exception Offset:     0009943a
  OS Version:   6.0.6001.2.1.0.256.4
  Locale ID:    1033
  Additional Information 1:     186d
  Additional Information 2:     d18d5278802f03194a89676f1de028a8
  Additional Information 3:     9e65
  Additional Information 4:     4c2e0a72b7772fe1e35949a380f36aa6
Read our privacy statement:
  http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409

--------------
gVIM :version
--------------
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Oct 27 2010 17:59:02)
MS-Windows 32-bit GUI version with OLE support
Included patches: 1-46
Compiled by Bram@KIBAALE

-----------
root cause:
-----------
vim C:/Python27/Lib/pydoc.py

def getpager():
    """Decide what method to use for paging through text."""
    if type(sys.stdout) is not types.FileType:
    ------------------ crash here
        return plainpager

-----------
workaround:
-----------
Simply commented out above two offending lines:
  # if type(sys.stdout) is not types.FileType:
  #     return plainpager


---------
Question:
---------
While the root cause seems a bug in Python2.7, it is possible to
avoid crashing gVim by some kind of try/catch/endtry block from vim?



Sean

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to