bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

vim-6.0 crashed SIGBUS in clear_termcodes() / ncurses


From: Lawrence Carver
Subject: vim-6.0 crashed SIGBUS in clear_termcodes() / ncurses
Date: Fri, 18 Jan 2002 09:32:13 -0800 (PST)

Hi, I've been able to use vim-6.0 on many Solaris 2.x systems,
without any real problem.  But on my Sun UE4500, running SunOS
5.7, I was having a hard time getting it to start up.

I'd tried building vim-6.0, with or without available source
patches, using gcc-2.95.3, or Sun's SUNWspro v5, or Forte 6.2,
and at runtime (or if I test "./src/vim"), it always crashed
on startup, like so -->

  Running: vim 
  (process id 1072)
  signal BUS (invalid address alignment) in clear_termcodes \
             at line 3415 in file "term.c"

  3415       ospeed = 0;
  (/opt/SUNWspro/v6.2/bin/../WS6U2/bin/sparcv9/dbx) where 100
  =>[1] clear_termcodes(), line 3415 in "term.c"
    [2] clear_termoptions(), line 6917 in "option.c"
    [3] set_termname(term = 0x1cd7b8 "xterm"), line 1774 in "term.c"
    [4] termcapinit(name = (nil)), line 2447 in "term.c"
    [5] main(argc = 0, argv = 0xffbef560), line 1104 in "main.c"


I'd tried different term types (using "-T xxx"), but it crashed
in the same way.  *** At the same time, I could build and run
vim-5.8 on this system, any time, and it would run just fine.

Then, before complaining too loudly I went back and tried re-
making my ncurses-5.2 (again;) ... forcing it to build using
Forte 6.2, instead of gcc-2.95.3 (it didn't seem to want to,
until I fooled configure;).

Then, I rebuilt vim-6.0 again, and yay, no more crashes.  It's
just kind of confusing, I don't know whether the problem was in
ncurses-5.2, vim-6, gcc-2.95.x, /usr/ccs/bin/ld ?
Regards, Larry C.  (address@hidden)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]