Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 194 by [email protected]: vim 7.4 freezes terminal under X
http://code.google.com/p/vim/issues/detail?id=194
Vim 7.4, patched up to 155, does not start anymore and freezes the
terminal. Here is a strace, apparently there is something to do with GPM
here but I couldn't tell.
What steps will reproduce the problem?
1. bubild vim 7.4 and patch up to 155
2.Run vim in an xterm or xfce-terminal (running in a TTY works just fine)
3. Maybe you need a running GPM server to reproduce
Vim freezes the terminal, I need to close it, nothing is displayed.
Strace output:
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7faf09cf6000
lseek(3, 0, SEEK_CUR) = 0
read(3, "\" tarPlugin.vim -- a Vim plugin "..., 4096) = 2209
stat("/usr/share/vim/plugin/tarPlugin.vim", {st_mode=S_IFREG|0644,
st_size=2209, ...}) = 0
read(3, "", 4096) = 0
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7faf09cf6000, 4096) = 0
open(".", O_RDONLY) = 3
fchdir(3) = 0
chdir("/usr/share/vim/plugin") = 0
getcwd("/usr/share/vim/plugin", 4096) = 22
fchdir(3) = 0
close(3) = 0
stat("/usr/share/vim/plugin/tohtml.vim", {st_mode=S_IFREG|0644,
st_size=9688, ...}) = 0
open("/usr/share/vim/plugin/tohtml.vim", O_RDONLY) = 3
fcntl(3, F_GETFD) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
fcntl(3, F_GETFL) = 0x8000 (flags O_RDONLY|
O_LARGEFILE)
fstat(3, {st_mode=S_IFREG|0644, st_size=9688, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7faf09cf6000
lseek(3, 0, SEEK_CUR) = 0
read(3, "\" Vim plugin for converting a sy"..., 4096) = 4096
stat("/usr/share/vim/plugin/tohtml.vim", {st_mode=S_IFREG|0644,
st_size=9688, ...}) = 0
read(3, "3:\".\n\"\n\" 7.3 updates: {{{\n\" "..., 4096) = 4096
read(3, "ll of Vim's natively supported e"..., 4096) = 1496
read(3, "", 4096) = 0
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7faf09cf6000, 4096) = 0
open(".", O_RDONLY) = 3
fchdir(3) = 0
chdir("/usr/share/vim/plugin") = 0
getcwd("/usr/share/vim/plugin", 4096) = 22
fchdir(3) = 0
close(3) = 0
stat("/usr/share/vim/plugin/txt2tags-gvim-menu.vim", {st_mode=S_IFREG|0644,
st_size=4991, ...}) = 0
open("/usr/share/vim/plugin/txt2tags-gvim-menu.vim", O_RDONLY) = 3
fcntl(3, F_GETFD) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
fcntl(3, F_GETFL) = 0x8000 (flags O_RDONLY|
O_LARGEFILE)
fstat(3, {st_mode=S_IFREG|0644, st_size=4991, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7faf09cf6000
lseek(3, 0, SEEK_CUR) = 0
read(3, "\"\n\" Filename: t2t.vim\n\" "..., 4096) = 4096
stat("/usr/share/vim/plugin/txt2tags-gvim-menu.vim", {st_mode=S_IFREG|0644,
st_size=4991, ...}) = 0
read(3, "2tags.Text\\ Blocks.Definition\\ L"..., 4096) = 895
read(3, "", 4096) = 0
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7faf09cf6000, 4096) = 0
open(".", O_RDONLY) = 3
fchdir(3) = 0
chdir("/usr/share/vim/plugin") = 0
getcwd("/usr/share/vim/plugin", 4096) = 22
fchdir(3) = 0
close(3) = 0
stat("/usr/share/vim/plugin/vimballPlugin.vim", {st_mode=S_IFREG|0644,
st_size=2760, ...}) = 0
open("/usr/share/vim/plugin/vimballPlugin.vim", O_RDONLY) = 3
fcntl(3, F_GETFD) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
fcntl(3, F_GETFL) = 0x8000 (flags O_RDONLY|
O_LARGEFILE)
fstat(3, {st_mode=S_IFREG|0644, st_size=2760, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7faf09cf6000
lseek(3, 0, SEEK_CUR) = 0
read(3, "\" vimballPlugin : construct a fi"..., 4096) = 2760
stat("/usr/share/vim/plugin/vimballPlugin.vim", {st_mode=S_IFREG|0644,
st_size=2760, ...}) = 0
read(3, "", 4096) = 0
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7faf09cf6000, 4096) = 0
open(".", O_RDONLY) = 3
fchdir(3) = 0
chdir("/usr/share/vim/plugin") = 0
getcwd("/usr/share/vim/plugin", 4096) = 22
fchdir(3) = 0
close(3) = 0
stat("/usr/share/vim/plugin/zipPlugin.vim", {st_mode=S_IFREG|0644,
st_size=2498, ...}) = 0
open("/usr/share/vim/plugin/zipPlugin.vim", O_RDONLY) = 3
fcntl(3, F_GETFD) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
fcntl(3, F_GETFL) = 0x8000 (flags O_RDONLY|
O_LARGEFILE)
fstat(3, {st_mode=S_IFREG|0644, st_size=2498, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7faf09cf6000
lseek(3, 0, SEEK_CUR) = 0
read(3, "\" zipPlugin.vim: Handles browsin"..., 4096) = 2498
) = 27/usr/share/vim/plugin/zipPlugin.vim", {st_mode=S_IFREG|0644,
st_size=2498, ...}) = 0
▽ead(3select(1, [0], NULL, [0], {0, 0}) = 1 (in [0], left {0, 0})
read(3, "", 4096) = 0
read(0, "\3\3\3\003926\rread(3, \"\", 4096) "..., 4096) = 4095
close(3) =
0
select(5, [0 4], NULL, [0 4], {0, 0}) = 2 (in [0 4], left {0, 0})
munmap(0x7faf09cf6000, 4096) =
0
read(4, "", 28) = 0les/after/plugin/", O_RDONLY|
O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/vim/vimfiopen("/etc/localtime", O_RDONLY|
O_CLOEXEC) = 5CTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/appzer0/.vim/after/plugin/", O_RDONLY|O_NONBLOCK|
O_DIRECTORYfstat(5, {st_mode=S_IFREG|0644, st_size=2945, ...}) = 0
openat(AT_FDCWD, "/home/appzer0/.vim/after/plugin/", O_RDONLY|O_NONBLOCK|
O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) fstat(5,
{st_mode=S_IFREG|0644, st_size=2945, ...}) = 0
open("/home/appzer0/.viminfo", O_RDONLY) =
3
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7faf09cf6000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0)read(5, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\f\0\0\0\f\0\0\0\0"...,
4096) = 2945
read(3, "# Ce fichier viminfo a \303\251t\303\251 g\303\251"..., 4096) =
4096
lseek(5, -1863, SEEK_CUR) = 1082
read(3, "olicy\n-' 1 0 /usr/share/polki"..., 4096) =
4096
read(5, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\r\0\0\0\r\0\0\0\0"...,
4096) = 1863
read(3, "1\t29\n\t.\t11\t28\n\t+\t11\t28\n\n> /etc/c"..., 4096) =
2926 close(5) = 0
read(3, "", 4096) =
0
munmap(0x7faf09cf6000, 4096) = 0
close(3) =
0
socket(PF_FILE, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 5unmap(0x7faf09cf6000,
4096) = 0
iconnect(5, {sa_family=AF_FILE, sun_path="/dev/log"}, 110) = 0or TCGETS,
{B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_START or SNDRV_TIMER_IOCTL_TREAD or
TCSETSsendto(5, "<14>Jan 19 23:11:40 vim: *** inf"..., 34, MSG_NOSIGNAL,
NULL, 0) = 34
stat("/dev/vc/0",
0x7fff3da4a210) sendto(5, "<14>Jan 19 23:11:40 vim:
Warning"..., 52, MSG_NOSIGNAL, NULL, 0) =
52
stat("/dev/tty0", {st_mode=S_IFCHR|0close(4)
= 0
ioctl(rt_sigaction(SIGTSTP,
{SIG_DFL, [], SA_RESTORER, 0x7faf089f37e0}, NULL, 8) = 0st -isig -icanon
-echo ...}) = 0
rt_sigaction(SIGWINCH,
{0x50f340, [], SA_RESTORER, 0x7faf089f37e0}, NULL,
8) = 0L_NEXT_DEVICE or TCGETS, {B38400 opost -isig -icanon -echo ...}) = 0
close(3) = 0
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
select(1, [0], NULL, [0], {0,
0}) = 1 (in [0], left {0, 0})
readlink("/proc/self/fd/0", "/dev/pts/2", 4095) = 10
select(1,
[0], NULL, [0], NULL) = 1 (in
[0]) stat("/dev/pts/2", {st_mode=S_IFCHR|0620,
st_rdev=makedev(136, 2), ...}) =
0
read(0, " "..., 4096) =
2090 open("/dev/pts/2",
O_WRONLY) = 3
select(1, [0], NULL, [0], {0, 0}) = 0
(Timeout) ioctl(3, TIOCGWINSZ, {ws_row=49,
ws_col=211, ws_xpixel=0, ws_ypixel=0}) = 0
getuid() =
1000
socket(PF_FILE, SOCK_STREAM, 0) =
4
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(4, {sa_family=AF_FILE, sun_path="/dev/gpmctl"}, 13) =
0
connect(3, {sa_family=AF_FILE, sun_path="/var/run/nscd/socket"}, 110) = -1
ENOENT (No such file or
directory)te(4, "\16\0\377\376\0\0\377\377/?\0\0\0\0\0\0", 16) = 16
close(3) = 0
rt_sigaction(SIGWINCH, {0x7faf09197010, [], SA_RESTORER, 0x7faf089f37e0},
{0x50f340, [], SA_RESTORER, 0x7faf0864e230}, 8) =
0
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
rt_sigaction(SIGTSTP, {SIG_IGN, [],
SA_RESTORER, 0x7faf089f37e0}, {SIG_DFL, [], SA_RESTORER, 0x7faf0864e230},
8) = 0 connect(3, {sa_family=AF_FILE,
sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or
directory)
rt_sigaction(SIGTSTP, {0x7faf091979f0, [], SA_RESTORER|SA_NODEFER,
0x7faf089f37e0}, NULL, 8) = 0
close(3) = 0
rt_sigaction(SIGTSTP, {SIG_DFL, [],
SA_RESTORER, 0x7faf0864e230}, {0x7faf0open("/etc/nsswitch.conf", O_RDONLY|
O_CLOEXEC) = 30}, 8) = 0
fstat(3,
{st_mode=S_IFREG|0755, st_size=1108, ...}) = 00
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x7faf09cf6000isig -icanon -echo ...}) = 0
read(3, "#\n#
/etc/nsswitch.conf\n#\n# An ex"..., 4096) =
1108DRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost -isig -icanon
-echo ...}) =
0
read(3, "", 4096) = 0
write(1, "\33[2;1H\342\226\275\33[6n\33[1;1H
\33[1;1H",
27
close(3) = 0
munmap(0x7faf09cf6000, 4096) =
0
open("/usr/lib64/perl5/CORE/libnss_compat.so.2",
O_RDONLY|O_CLOEXEC) = -1
ENOENT (No such file or directory)
open("/usr/lib64/libnss_compat.so.2",
O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\23\0\0\0\0\0\0"...,
832) = 832
fstat(3,
{st_mode=S_IFREG|0755, st_size=39720, ...}) = 0
mmap(NULL,
2135368, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7faf008ea000
mprotect(0x7faf008f3000, 2093056, PROT_NONE) = 0
mmap(0x7faf00af2000,
8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x8000) = 0x7faf00af2000
close(3) = 0
mprotect(0x7faf00af2000, 4096, PROT_READ) = 0
open("/usr/lib64/perl5/CORE/libnss_nis.so.2",
O_RDONLY|O_CLOEXEC) = -1
ENOENT (No such file or directory)
open("/u
1
~
~ ) = 674
~ select(1, [0], NULL, [0], {4, 0}) = 1 (in [0], left {3,
999812})
~
select(1,
[0], NULL, [0], NULL) = 1 (in [0])
~
read(0, "\33[2;2R",
4096) = 6
~
select(1,
[0], NULL, [0], {0, 0}) = 0 (Timeout)
~ select(1, [0], NULL, [0], {0, 0}) = 0 (Timeout)
~
select(1, [0], NULL, [0], {4, 0}) = 0
(Timeout)
~
select(1, [0], NULL, [0], NULL
~
~
~
~
~
~
~
~
~
)
= 2047
~
VIM
- Vi
Amélioré
~
~
version
7.4.155
~
par
Bram Moolenaar et al.
~
Vim
est un logiciel libre
~
~
Devenez
un utilisateur de Vim enregistré !
~
tapez :help register<Entrée> pour plus d'informations
~
)
= 2047
~
tapez :q<Entrée> pour sortir du
programme
~
tapez :help<Entrée> ou <F1> pour accéder à l'aide en ligne
~
tapez :help version7<Entrée> pour lire les notes de mise à jour
~
~
~
~
~
~
~ ) = 2047
~
~
~
~
~
~
~
~
~
)
= 2047
select(1,
[0], NULL, [0], {0, 0}) = 0 (Timeout)
write(1, " "...,
674
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
You received this message from the "vim_dev" 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
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.