Bug#143798: marked as done (vim: Core dump on xterm + visual line mode start)

Debian Bug Tracking System owner@bugs.debian.org
Fri, 18 Mar 2005 02:48:47 -0800

Your message dated Fri, 18 Mar 2005 11:34:32 +0100
with message-id <20050318103430.GC12153@sukria.net>
and subject line [Vim] Bug closed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 20 Apr 2002 20:32:05 +0000
>From erwin@dondorp.com Sat Apr 20 15:32:05 2002
Return-path: <erwin@dondorp.com>
Received: from smtp01.wxs.nl [] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16z1WT-00070A-00; Sat, 20 Apr 2002 15:31:54 -0500
Received: from haddock.molensloot.nl ([]) by
          smtp01.wxs.nl (Netscape Messaging Server 4.15) with ESMTP id
          GUVVO801.U7N; Sat, 20 Apr 2002 22:31:20 +0200 
Received: from haddock.molensloot.nl (erwin@localhost [])
	by haddock.molensloot.nl (8.12.3/8.12.3/Debian -4) with ESMTP id g3KKRJCG011307;
	Sat, 20 Apr 2002 22:27:19 +0200
Received: (from erwin@localhost)
	by haddock.molensloot.nl (8.12.3/8.12.3/Debian -4) id g3KKRJDT011305;
	Sat, 20 Apr 2002 22:27:19 +0200
Date: Sat, 20 Apr 2002 22:27:19 +0200
Message-Id: <200204202027.g3KKRJDT011305@haddock.molensloot.nl>
From: Erwin Dondorp <erwin@dondorp.com>
Subject: vim: Core dump on xterm + visual line mode start
To: submit@bugs.debian.org
X-Mailer: bug
X-BadReturnPath: erwin@haddock.molensloot.nl rewritten as erwin@dondorp.com
  using "From" header
Delivered-To: submit@bugs.debian.org

Package: vim
Version: 6.1.018-1
Severity: normal


While using vim in an xterm window (package xterm 4.1.0-16) a core dump
occurs when pressing "V" which starts the visual line mode.
The crash occurs just after the display has been updated with the marked
line and the updated status bar.
This seems to happen with every file.
The same error does not occur when using vim from the Linux console.
Below is a back-trace from gdb.

There might be some relation with #111958 as it shows about the same



P.S. I don't even use this option, but I regularly mistype "V" instead of "B"...

#0  0x402907b1 in kill () from /lib/libc.so.6
#1  0x080e9e62 in mch_exit ()
#2  0x080e9e10 in mch_exit ()
#3  0x080b1110 in getout ()
#4  0x080c596d in preserve_exit ()
#5  0x080e8a52 in mch_didjmp ()
#6  0x402906e8 in sigaction () from /lib/libc.so.6
#7  0x4039a506 in XChangeProperty () from /usr/X11R6/lib/libX11.so.6
#8  0x40200d39 in XtAppGetSelectionTimeout () from /usr/X11R6/lib/libXt.so.6
#9  0x40200f9a in XtAppGetSelectionTimeout () from /usr/X11R6/lib/libXt.so.6
#10 0x401f03ff in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
#11 0x401f0c5e in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6
#12 0x401f0fc8 in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#13 0x080ec952 in clear_xterm_clip ()
#14 0x080eb161 in mch_breakcheck ()
#15 0x080eaf9c in mch_breakcheck ()
#16 0x080e85d3 in mch_inchar ()
#17 0x08114614 in ui_inchar ()
#18 0x080a9355 in inchar ()
#19 0x080a9010 in vungetc ()
#20 0x080a7e93 in vgetc ()
#21 0x080a8153 in safe_vgetc ()
#22 0x080cfee6 in normal_cmd ()
#23 0x080b0faf in main_loop ()
#24 0x080b0d22 in main ()
#25 0x4028017f in __libc_start_main () from /lib/libc.so.6

-- System Information
Debian Release: 3.0
Kernel Version: Linux haddock 2.4.18 #9 wo apr 17 07:29:57 CEST 2002 i686 unknown

Versions of the packages vim depends on:
ii  dpkg           1.9.20         Package maintenance system for Debian
ii  libc6          2.2.5-4        GNU C Library: Shared libraries and Timezone
ii  libgpmg1       1.19.6-12      General Purpose Mouse Library [libc6]
ii  libncurses5    5.2.20020112a- Shared libraries for terminal handling

--- Begin /etc/vim/vimrc (modified conffile)
" Configuration file for vim
" Normally we use vim-extensions. If you want true vi-compatibility
" remove change the following statements
set nocompatible	" Use Vim defaults instead of 100% vi compatibility
set backspace=indent,eol,start	" more powerful backspacing
" Now we set some defaults for the editor 
set autoindent		" always set autoindenting on
set textwidth=0		" Don't wrap words by default
set nobackup		" Don't keep a backup file
set viminfo='20,\"50	" read/write a .viminfo file, don't store more than
			" 50 lines of registers
set history=50		" keep 50 lines of command line history
set ruler		" show the cursor position all the time
" Suffixes that get lower priority when doing tab completion for filenames.
" These are files we are not likely to want to edit or read.
set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc
" We know xterm-debian is a color terminal
if &term =~ "xterm-debian" || &term =~ "xterm-xfree86"
  set t_Co=16
  set t_Sf=[3%dm
  set t_Sb=[4%dm
" Make p in Visual mode replace the selected text with the "" register.
vnoremap p <Esc>:let current_reg = @"<CR>gvdi<C-R>=current_reg<CR><Esc>
" Vim5 and later versions support syntax highlighting. Uncommenting the next
" line enables syntax highlighting by default.
syntax on
" Debian uses compressed helpfiles. We must inform vim that the main
" helpfiles is compressed. Other helpfiles are stated in the tags-file.
set helpfile=$VIMRUNTIME/doc/help.txt.gz
if has("autocmd")
 " Enabled file type detection
 " Use the default filetype settings. If you also want to load indent files
 " to automatically do language-dependent indenting add 'indent' as well.
 filetype plugin on
endif " has ("autocmd")
" Some Debian-specific things
augroup filetype
  au BufRead reportbug.*		set ft=mail
  au BufRead reportbug-*		set ft=mail
augroup END
" The following are commented out as they cause vim to behave a lot
" different from regular vi. They are highly recommended though.
"set showcmd		" Show (partial) command in status line.
"set showmatch		" Show matching brackets.
"set ignorecase		" Do case insensitive matching
"set incsearch		" Incremental search
"set autowrite		" Automatically save before commands like :next and :make

--- End /etc/vim/vimrc

Received: (at 143798-done) by bugs.debian.org; 18 Mar 2005 10:35:09 +0000
>From sukria@sukria.net Fri Mar 18 02:35:08 2005
Return-path: <sukria@sukria.net>
Received: from www.sukria.net [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DCEot-0000Z0-00; Fri, 18 Mar 2005 02:35:07 -0800
Received: by www.sukria.net (Postfix, from userid 1000)
	id AB207219; Fri, 18 Mar 2005 11:34:32 +0100 (CET)
Date: Fri, 18 Mar 2005 11:34:32 +0100
From: Alexis Sukrieh <sukria@sukria.net>
To: 143798-done@bugs.debian.org, 203952-done@bugs.debian.org,
Cc: 143798@bugs.debian.org, 203952@bugs.debian.org,
Subject: [Vim] Bug closed
Message-ID: <20050318103430.GC12153@sukria.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
X-Editor: Vim http://www.vim.org/
X-Operating-System: Linux/2.4.23-chronos (i686)
X-Uptime: 11:31:04 up 30 days,  2:36,  2 users,  load average: 0.20, 0.24, 0.25
User-Agent: Mutt/1.5.6+20040818i
Content-Transfer-Encoding: quoted-printable
Delivered-To: 143798-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
X-CrossAssassin-Score: 4

This bug is not reproducible, and the submitter is not active in the BTS.

Bug closed.

                                  Alexis Sukrieh <sukria@sukria.net>

=AB Quidquid latine dictum sit, altum sonatur. =BB=20
Whatever is said in Latin sounds profound.