Bug#827319: vim: FTBFS[alpha,kfreebsd-*]: Test_tagcase() failed

Steven Chamberlain steven at pyro.eu.org
Sat Oct 15 20:32:30 UTC 2016


In case it is helpful to know this later:

  1561 100852 vim      0.016031 NAMI "/home/stevenc/vim-8.0.0022/src/vim-gtk/po"
  1561 100852 vim      0.016033 RET   __getcwd 0
  1561 100852 vim      0.016065 CALL  break(0x136b000)
  1561 100852 vim      0.016071 RET   break 0
  1561 100852 vim      0.016110 CALL  gettimeofday(0xbfbfe548,0)
  1561 100852 vim      0.016113 RET   gettimeofday 0
  1561 100852 vim      0.016251 CALL  stat(0x134bf98,0xbfbfe3b0)
  1561 100852 vim      0.016256 NAMI  "/usr/share/vim/vim80"
  1561 100852 vim      0.016269 RET   stat -1 errno 2 No such file or directory
  1561 100852 vim      0.016273 CALL  stat(0x134bf98,0xbfbfe3b0)
  1561 100852 vim      0.016276 NAMI  "/usr/share/vim/runtime"
  1561 100852 vim      0.016283 RET   stat -1 errno 2 No such file or directory
  1561 100852 vim      0.016313 CALL  ioctl(0x1,0x402c7413,0xbfbfe4a4)
  1561 100852 vim      0.016317 RET   ioctl 0
  1561 100852 vim      0.016364 PSIG  SIGSEGV SIG_DFL code=SEGV_MAPERR
  1561 100852 vim      0.016370 NAMI  "vim.core"

the ioctl there is TIOCGETA (type 0x74, number 0x13) and it is reading
0x2c = 44 bytes (struct termios) to a stack variable, for fd 0x1
(stdout).

That part looks okay;  the segfault happens sometime after it.

The only code that would seem to use that ioctl is os_unix.c's
mch_settmode() which normally does a tcgetattr followed by a tcsetattr.
This is a wild guess, but maybe the segfault is in that function?
(HAVE_TERMIOS_H is defined here on kfreebsd-i386).

Nothing here seems related to large file support, though.  Are you sure
the crashed triggered by large file support is really the same issue?
(Does the end of the ktrace look like the above?)

Regards,
-- 
Steven Chamberlain
steven at pyro.eu.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20161015/f2c9b3ae/attachment-0001.sig>


More information about the pkg-vim-maintainers mailing list