Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 330 by [email protected]: Vim hangs when run within smbfs directory
https://code.google.com/p/vim/issues/detail?id=330

What steps will reproduce the problem?

1. Mount SMBFS share with fstab record like this:
//GUEST@ALPHA/freebsdx /home/petrucci/freebsdx smbfs rw,-EUTF8:CP1251,-N,-I192.168.0.3 0 0
2. # cd /home/pertucci/freebsdx
3. # vim

What is the expected output?
Vim is up and running.

What do you see instead?
Empty line after command, Vim hangs.



What version of the product are you using? On what operating system?

FreeBSD freebsdX 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64

VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Feb  4 2015 10:19:09)
Patches: 1-207, 209-355, 357-591
(freebsd binary package vim-7.4.591)

# locale
LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_ALL=

Please provide any additional information below.
(Vim runs in any other directory just fine.)

"vim --startuptime log.txt" results in empty file.

Truss shows infinite cycle of: open("@�.db",O_CLOEXEC,00) = 5 (0x5)

With gdb I found that it hangs 4 steps after break option.c:3348 [p = (char_u *)_(*(char **)options[opt_idx].var);]
s 4
Single stepping until exit from function pthread_timedjoin_np, which has no line number information.
[hangs here] press ^C
Program received signal SIGINT, Interrupt. 0x0000000803356908 in open () from /lib/libc.so.7

I don't have a world with debugging symbols by hand now to do further debugging

dumped options variable to the file - they are identical either for smbfs dir or ufs where vim runs.(attached)

Attachments:
        options_hangs.zip  7.0 KB

--
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/d/optout.

Raspunde prin e-mail lui