Bug#656416: vim segfaults when connecting to X server

2012-01-19 Thread James McCoy
On Thu, Jan 19, 2012 at 02:05:23PM +0900, Norbert Preining wrote:
 Since today, I don't know exactely since when, vim stopped working
 and segfaults when connecting to the X server. Actually when it started
 I was editing another file in vim.
 
 I am speaking about the *terminal* version of vim, but this also
 connects to the X servr.

The binary in the vim package doesn't connect to X.  $(readlink -f
/usr/bin/vim) will tell you which binary (and therefore which package)
it actually was.

Once you know the package, if you have debian-goodies installed, could
you run which-pkg-broke vim-XXX?  It sounds like this may be related
to a recent upgrade you performed.

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy james...@debian.org


signature.asc
Description: Digital signature


Bug#656416: vim segfaults when connecting to X server

2012-01-18 Thread Norbert Preining
Package: vim
Version: 2:7.3.363-1
Severity: important

Since today, I don't know exactely since when, vim stopped working
and segfaults when connecting to the X server. Actually when it started
I was editing another file in vim.

I am speaking about the *terminal* version of vim, but this also
connects to the X servr.

Running vim -X is fine, that works.

Running vim (without -X) segfaults always. I tried all the -U NONE -u NONE
and -u NORC -U NORC -N etc etc as suggested in the bug script.

The backtrace I get is:
Reading symbols from /usr/bin/vim...(no debugging symbols found)...done.
[New LWP 5357]
[New LWP 5358]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Core was generated by `vim'.
Program terminated with signal 11, Segmentation fault.
#0  0x7f75c247c6e7 in kill () at ../sysdeps/unix/syscall-template.S:82
82  ../sysdeps/unix/syscall-template.S: No such file or directory.
in ../sysdeps/unix/syscall-template.S
(gdb) bt
#0  0x7f75c247c6e7 in kill () at ../sysdeps/unix/syscall-template.S:82
#1  0x00521dfc in mch_exit ()
#2  signal handler called
#3  0x7f75c47da8b5 in XrmPermStringToQuark ()
   from /usr/lib/x86_64-linux-gnu/libX11.so.6
#4  0x7f75c4b1106a in _XtCompileResourceList ()
   from /usr/lib/x86_64-linux-gnu/libXt.so.6
#5  0x7f75c4b0cc44 in ?? () from /usr/lib/x86_64-linux-gnu/libXt.so.6
#6  0x7f75c4af9cf5 in ?? () from /usr/lib/x86_64-linux-gnu/libXt.so.6
#7  0x7f75c4af9cf5 in ?? () from /usr/lib/x86_64-linux-gnu/libXt.so.6
#8  0x7f75c4af9cf5 in ?? () from /usr/lib/x86_64-linux-gnu/libXt.so.6
#9  0x7f75c4af9cf5 in ?? () from /usr/lib/x86_64-linux-gnu/libXt.so.6
#10 0x7f75c4af9cf5 in ?? () from /usr/lib/x86_64-linux-gnu/libXt.so.6
#11 0x7f75c4af9cf5 in ?? () from /usr/lib/x86_64-linux-gnu/libXt.so.6
#12 0x7f75c4af9f88 in XtInitializeWidgetClass ()
   from /usr/lib/x86_64-linux-gnu/libXt.so.6
#13 0x7f75c4af9fe5 in XtInitializeWidgetClass ()
   from /usr/lib/x86_64-linux-gnu/libXt.so.6
#14 0x7f75c4af9fe5 in XtInitializeWidgetClass ()
   from /usr/lib/x86_64-linux-gnu/libXt.so.6
#15 0x7f75c4af9fe5 in XtInitializeWidgetClass ()
   from /usr/lib/x86_64-linux-gnu/libXt.so.6
#16 0x7f75c4afa2a0 in ?? () from /usr/lib/x86_64-linux-gnu/libXt.so.6
#17 0x7f75c4afa35e in ?? () from /usr/lib/x86_64-linux-gnu/libXt.so.6
#18 0x7f75c4afafbe in _XtAppCreateShell ()
   from /usr/lib/x86_64-linux-gnu/libXt.so.6
#19 0x7f75c4b2a3d2 in XtVaAppCreateShell ()
   from /usr/lib/x86_64-linux-gnu/libXt.so.6
#20 0x00522a26 in setup_term_clip ()
#21 0x0043c789 in main ()
(gdb)


No idea who is the culprit here (my usual suspect is gnome3 ;-)

Best wishes

Norbert

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (501, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0+ (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages vim depends on:
ii  libacl1  2.2.51-5
ii  libc62.13-24
ii  libgpm2  1.20.4-4
ii  libselinux1  2.1.0-4
ii  libtinfo55.9-4
ii  vim-common   2:7.3.363-1
ii  vim-runtime  2:7.3.363-1

vim recommends no packages.

Versions of packages vim suggests:
pn  exuberant-ctags [ctags]  1:5.9~svn20110310-3
pn  vim-doc  2:7.3.363-1
pn  vim-scripts  none

-- no debconf information




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org