[SunHELP] vi crashes

Ravi Katti ravikatti at hotmail.com
Sat Jan 12 12:48:21 CST 2002


Another thing you can do is check the "vi" program itself. See whether it is 
corrupted or hacked? Get a copy from different system?

----Original Message Follows----
From: Alan Rubin <rubin at frell.org>
Reply-To: sunhelp at sunhelp.org
To: sunhelp at sunhelp.org
Subject: Re: [SunHELP] vi crashes
Date: Fri, 11 Jan 2002 19:39:56 -0600 (CST)

no major changes or patches that i can recall.  im the only regular user,
but its a mail and webserver.  ive only noticed this problem the last
couple of weeks.

alan

On Fri, 11 Jan 2002, Robert Banniza wrote:

 > Those are the correct permissions. Is anyone else having issues on this
 > machine with vi? Wonder if it's your environment? What has changed
 > recently on the machine? Has it been patched or any other major
 > changes?
 >
 > Robert
 >
 > Robert Banniza
 > Senior UNIX Administrator
 > Ascension Health
 > Phone: 812-228-2157
 >
 > >>> rubin at frell.org 01/11/02 08:27AM >>>
 > drwxrwxrwt is the perm for /tmp and /var/tmp.  /var is nowhere near
 > full.
 >
 > alan
 >
 > On Fri, 11 Jan 2002, Robert Banniza wrote:
 >
 > > May be going out on a limb here but have you checked to see if your
 > /var
 > > filesystem is full? Also, check the perms in /var/tmp. Again, I may
 > be
 > > off but it looks like it is xcrashing when trying to create a tmp
 > file.
 > >
 > > Robert
 > >
 > > Robert Banniza
 > > Senior UNIX Administrator
 > > Ascension Health
 > > Phone: 812-228-2157
 > >
 > > >>> rubin at frell.org 01/11/02 07:59AM >>>
 > > can anyone decipher this for me?  maybe there is a permission error?
 > >
 > > ooo> truss vi /tmp/x
 > > execve("/usr/bin/vi", 0xEFFFF984, 0xEFFFF990)  argc = 2
 > > open("/dev/zero", O_RDONLY)                     = 3
 > > mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE,
 > 3,
 > > 0)
 > > = 0xEF7B0000
 > > stat("/usr/bin/vi", 0xEFFFF678)                 = 0
 > > open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
 > > open("./libmapmalloc.so.1", O_RDONLY)           Err#2 ENOENT
 > > open("/lib/libmapmalloc.so.1", O_RDONLY)        = 4
 > > fstat(4, 0xEFFFF414)                            = 0
 > > mmap(0x00000000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
 > > 0xEF7A0000
 > > mmap(0x00000000, 73728, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
 > > 0xEF780000
 > > mmap(0xEF791000, 644, PROT_READ|PROT_WRITE|PROT_EXEC,
 > > MAP_PRIVATE|MAP_FIXED, 4, 4096) = 0xEF791000
 > > munmap(0xEF782000, 61440)                       = 0
 > > memcntl(0xEF780000, 2808, MC_ADVISE, 0x0003, 0, 0) = 0
 > > close(4)                                        = 0
 > > open("./libcurses.so.1", O_RDONLY)              Err#2 ENOENT
 > > open("/lib/libcurses.so.1", O_RDONLY)           = 4
 > > fstat(4, 0xEFFFF414)                            = 0
 > > mmap(0xEF7A0000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
 > 4,
 > > 0) =
 > > 0xEF7A0000
 > > mmap(0x00000000, 278528, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
 > > 0xEF700000
 > > mmap(0xEF739000, 32138, PROT_READ|PROT_WRITE|PROT_EXEC,
 > > MAP_PRIVATE|MAP_FIXED, 4, 167936) = 0xEF739000
 > > mmap(0xEF741000, 10048, PROT_READ|PROT_WRITE|PROT_EXEC,
 > > MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xEF741000
 > > munmap(0xEF72A000, 61440)                       = 0
 > > memcntl(0xEF700000, 54992, MC_ADVISE, 0x0003, 0, 0) = 0
 > > close(4)                                        = 0
 > > open("./libcrypt_i.so.1", O_RDONLY)             Err#2 ENOENT
 > > open("/lib/libcrypt_i.so.1", O_RDONLY)          = 4
 > > fstat(4, 0xEFFFF414)                            = 0
 > > mmap(0xEF7A0000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
 > 4,
 > > 0) =
 > > 0xEF7A0000
 > > mmap(0x00000000, 77824, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
 > > 0xEF760000
 > > mmap(0xEF771000, 4700, PROT_READ|PROT_WRITE|PROT_EXEC,
 > > MAP_PRIVATE|MAP_FIXED, 4, 4096) = 0xEF771000
 > > munmap(0xEF762000, 61440)                       = 0
 > > memcntl(0xEF760000, 4140, MC_ADVISE, 0x0003, 0, 0) = 0
 > > close(4)                                        = 0
 > > open("./libgen.so.1", O_RDONLY)                 Err#2 ENOENT
 > > open("/lib/libgen.so.1", O_RDONLY)              = 4
 > > fstat(4, 0xEFFFF414)                            = 0
 > > mmap(0xEF7A0000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
 > 4,
 > > 0) =
 > > 0xEF7A0000
 > > mmap(0x00000000, 94208, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
 > > 0xEF6E0000
 > > mmap(0xEF6F5000, 5751, PROT_READ|PROT_WRITE|PROT_EXEC,
 > > MAP_PRIVATE|MAP_FIXED, 4, 20480) = 0xEF6F5000
 > > munmap(0xEF6E6000, 61440)                       = 0
 > > mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE,
 > 3,
 > > 0)
 > > = 0xEF750000
 > > memcntl(0xEF6E0000, 7976, MC_ADVISE, 0x0003, 0, 0) = 0
 > > close(4)                                        = 0
 > > open("./libc.so.1", O_RDONLY)                   Err#2 ENOENT
 > > open("/lib/libc.so.1", O_RDONLY)                = 4
 > > fstat(4, 0xEFFFF414)                            = 0
 > > mmap(0xEF7A0000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
 > 4,
 > > 0) =
 > > 0xEF7A0000
 > > mmap(0x00000000, 778240, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
 > > 0xEF600000
 > > mmap(0xEF6B5000, 27736, PROT_READ|PROT_WRITE|PROT_EXEC,
 > > MAP_PRIVATE|MAP_FIXED, 4, 675840) = 0xEF6B5000
 > > mmap(0xEF6BC000, 5312, PROT_READ|PROT_WRITE|PROT_EXEC,
 > > MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xEF6BC000
 > > munmap(0xEF6A6000, 61440)                       = 0
 > > memcntl(0xEF600000, 131808, MC_ADVISE, 0x0003, 0, 0) = 0
 > > close(4)                                        = 0
 > > open("./libdl.so.1", O_RDONLY)                  Err#2 ENOENT
 > > open("/lib/libdl.so.1", O_RDONLY)               = 4
 > > fstat(4, 0xEFFFF414)                            = 0
 > > mmap(0xEF7A0000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
 > 4,
 > > 0) =
 > > 0xEF7A0000
 > > close(4)                                        = 0
 > > open("/usr/platform/SUNW,SPARCstation-20/lib/libc_psr.so.1",
 > O_RDONLY)
 > > Err#2 ENOENT
 > > close(3)                                        = 0
 > > open("/dev/zero", O_RDWR)                       = 3
 > > sysconfig(_CONFIG_PAGESIZE)                     = 4096
 > > mmap(0x00000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE, 3, 0) =
 > > 0xEF6D0000
 > > ioctl(2, TCGETS, 0x0009F6D8)                    = 0
 > > getpid()                                        = 11718 [11717]
 > > sigaction(SIGHUP, 0xEFFFF318, 0xEFFFF398)       = 0
 > > sigaction(SIGHUP, 0xEFFFF318, 0xEFFFF398)       = 0
 > > sigaction(SIGQUIT, 0xEFFFF318, 0xEFFFF398)      = 0
 > > sigaction(SIGINT, 0xEFFFF318, 0xEFFFF398)       = 0
 > > sigaction(SIGTERM, 0xEFFFF318, 0xEFFFF398)      = 0
 > > sigaction(SIGTERM, 0xEFFFF318, 0xEFFFF398)      = 0
 > > sigaction(SIGEMT, 0xEFFFF318, 0xEFFFF398)       = 0
 > > sigaction(SIGEMT, 0xEFFFF318, 0xEFFFF398)       = 0
 > > sigaction(SIGILL, 0xEFFFF318, 0xEFFFF398)       = 0
 > > sigaction(SIGTRAP, 0xEFFFF318, 0xEFFFF398)      = 0
 > > sigaction(SIGABRT, 0xEFFFF318, 0xEFFFF398)      = 0
 > > sigaction(SIGFPE, 0xEFFFF318, 0xEFFFF398)       = 0
 > > sigaction(SIGBUS, 0xEFFFF318, 0xEFFFF398)       = 0
 > > sigaction(SIGSEGV, 0xEFFFF318, 0xEFFFF398)      = 0
 > > sigaction(SIGPIPE, 0xEFFFF318, 0xEFFFF398)      = 0
 > > sigaction(SIGTSTP, 0xEFFFF318, 0xEFFFF398)      = 0
 > > sigaction(SIGTSTP, 0xEFFFF318, 0xEFFFF398)      = 0
 > > open("/usr/lib/locale/C/LC_CTYPE/wdresolve.so", O_RDONLY) Err#2
 > ENOENT
 > > open("/dev/zero", O_RDONLY)                     = 4
 > > mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE,
 > 4,
 > > 0)
 > > = 0xEF5F0000
 > > close(4)                                        = 0
 > > brk(0x000BBB68)                                 = 0
 > > sigaction(SIGINT, 0xEFFFF2B8, 0xEFFFF338)       = 0
 > > sigaction(SIGTSTP, 0xEFFFF318, 0xEFFFF398)      = 0
 > > ioctl(0, TCGETA, 0xEFFFF3C4)                    = 0
 > > ioctl(2, TCGETS, 0x0009F6D8)                    = 0
 > > open("/usr/share/lib/terminfo//v/vt100", O_RDONLY) = 4
 > > read(4, "1A01 ,\0 %\0 !\08A01 !02".., 4096)     = 1493
 > > close(4)                                        = 0
 > > ioctl(2, TCGETS, 0x000B38EC)                    = 0
 > > ioctl(2, TIOCGWINSZ, 0xEFFFE168)                = 0
 > > ioctl(2, TCSETSW, 0x000B3910)                   = 0
 > > ioctl(2, TCSETSW, 0x000B38EC)                   = 0
 > > ioctl(0, TIOCGWINSZ, 0xEFFFF368)                = 0
 > > ioctl(2, TCGETS, 0x0009F6D8)                    = 0
 > > sigaction(SIGINT, 0xEFFFF270, 0xEFFFF2F0)       = 0
 > > dup(0)                                          = 4
 > > close(0)                                        = 0
 > > open("/export/home/rubin/.exrc", O_RDONLY)      Err#2 ENOENT
 > > sigaction(SIGINT, 0xEFFFF210, 0xEFFFF290)       = 0
 > > sigaction(SIGTSTP, 0xEFFFF270, 0xEFFFF2F0)      = 0
 > > dup(4)                                          = 0
 > > close(4)                                        = 0
 > > close(-1)                                       Err#9 EBADF
 > > stat("/var/tmp", 0xEFFFF2F0)                    = 0
 > > getpid()                                        = 11718 [11717]
 > > creat("/var/tmp/Ex0000011718", 0600)            = 4
 > > close(4)                                        = 0
 > > open("/var/tmp/Ex0000011718", O_RDWR)           = 4
 > > write(1, "1B [ 6 4 ; 1 H", 7)                     = 7
 > > sigaction(SIGWINCH, 0xEFFFF0A8, 0xEFFFF128)     = 0
 > > brk(0x000BCB68)                                 = 0
 > > sigaction(SIGINT, 0xEFFFF048, 0xEFFFF0C8)       = 0
 > > ioctl(2, TCGETS, 0x0009F6D8)                    = 0
 > > ioctl(2, TCSETSW, 0x0009F6D8)                   = 0
 > >                                                    ioctl(2, TCGETS,
 > > 0x000B3910)                 = 0
 > >
 > > ioctl(0, I_STR, 0x0004FEF0)     Err#22 EINVAL
 > >             write(1, "1B [ ? 1 h1B =", 7)                       = 7
 > >
 > > "/tmp/x"write(1, " " / t m p / x "", 8)                      = 8
 > >
 > > unlink("/var/tmp/Ex0000011718")                  = 0
 > >                                                    close(4)
 > > = 0
 > >
 > > stat("/var/tmp", 0xEFFFD370)    = 0
 > >   getpid()                                      = 11718 [11717]
 > >
 > > creat("/var/tmp/Ex0000011718", 0600)             = 4
 > >
 > > close(4)        = 0
 > >   open("/var/tmp/Ex0000011718", O_RDWR)         = 4
 > >                                                    open("/tmp/x",
 > > O_RDONLY)                     Err#2 ENOENT
 > >
 > > [New file] write(1, "   [ N e w   f i l e ]  ", 12)    = 12
 > >
 > > write(1, "1B [ H1B [ J\n ~\n\b ~\n".., 221)     = 221
 > > ~                                                    read(0,
 > > 0xEFFFD517,
 > > 1)             (sleeping...)
 > > ~
 > > read(0, " i", 1)              = 1
 > > ~ ioctl(0, I_STR, 0x0004FEF0)                   Err#22 EINVAL
 > > ~         d", 1)      = 1
 > > ~ ioctl(0, I_STR, 0x0004FEF0)                   Err#22 EINVAL
 > > ~
 > > Incurred
 > > fault #1, FLTILL  %pc = 0x00038B88
 > > ~
 > > siginfo: SIGILL ILL_ILLTRP addr=0x00038B88
 > > ~                           Received signal #4, SIGILL [caught]
 > > ~
 > > siginfo: SIGILL ILL_ILLTRP addr=0x00038B88
 > > ~
 > > sigaction(SIGINT, 0xEFFFD0D8, 0xEFFFD158)    = 0
 > > ~                          sigaction(SIGHUP, 0xEFFFD0D8, 0xEFFFD158)
 >
 > > =
 > > 0
 > > ~
 > > sigaction(SIGILL, 0xEFFFD0D8, 0xEFFFD158)    = 0
 > > ~
 > > ioctl(2, TCSETSW, 0x0                 = 0
 > >     Received signal #4, SIGILL [default]
 > >       siginfo: SIGILL pid=11718 uid=1001
 > >         *** process killed ***
 > > ooo>
 > > ~
 > >
 > > On Fri, 11 Jan 2002, Robert Banniza wrote:
 > >
 > > > truss your process and see what it is doing.
 > > >
 > > > Robert
 > > >
 > > > Robert Banniza
 > > > Senior UNIX Administrator
 > > > Ascension Health
 > > > Phone: 812-228-2157
 > > >
 > > > >>> rubin at frell.org 01/11/02 05:08AM >>>
 > > > on a Sol 7 box, vi crashes as soon as i enter insert mode and hit
 > a
 > > > key:
 > > >
 > > > Illegal Instruction(coredump)
 > > >
 > > > any clues?
 > > >
 > > > alan
 > > >
 > > >
 > > > _________________
 > > > *Alan Rubin*
 > > > Sun/Unix/Networking/Web Writing
 > > > Email:rubin at frell.org
 > > > _______________________________________________
 > > > SunHELP maillist  -  SunHELP at sunhelp.org
 > > > http://www.sunhelp.org/mailman/listinfo/sunhelp
 > > >
 > > >
 > > > NOTE: This e-mail message may contain information that may be
 > > privileged,
 > > > confidential, and exempt from disclosure.  It is intended for use
 > > only by
 > > > the person to whom it is addressed. If you have received this
 > message
 > > in
 > > > error, please do not forward or use this information in any way,
 > > delete it
 > > > immediately, and contact the sender as soon as possible by the
 > reply
 > > option
 > > > or by telephone at the telephone number listed (if available).
 > Thank
 > > you.
 > > > _______________________________________________
 > > > SunHELP maillist  -  SunHELP at sunhelp.org
 > > > http://www.sunhelp.org/mailman/listinfo/sunhelp
 > > >
 > >
 > > _________________
 > > *Alan Rubin*
 > > Sun/Unix/Networking/Web Writing
 > > Email:rubin at frell.org
 > > _______________________________________________
 > > SunHELP maillist  -  SunHELP at sunhelp.org
 > > http://www.sunhelp.org/mailman/listinfo/sunhelp
 > >
 > >
 > > NOTE: This e-mail message may contain information that may be
 > privileged,
 > > confidential, and exempt from disclosure.  It is intended for use
 > only by
 > > the person to whom it is addressed. If you have received this message
 > in
 > > error, please do not forward or use this information in any way,
 > delete it
 > > immediately, and contact the sender as soon as possible by the reply
 > option
 > > or by telephone at the telephone number listed (if available).  Thank
 > you.
 > > _______________________________________________
 > > SunHELP maillist  -  SunHELP at sunhelp.org
 > > http://www.sunhelp.org/mailman/listinfo/sunhelp
 > >
 >
 > _________________
 > *Alan Rubin*
 > Sun/Unix/Networking/Web Writing
 > Email:rubin at frell.org
 > _______________________________________________
 > SunHELP maillist  -  SunHELP at sunhelp.org
 > http://www.sunhelp.org/mailman/listinfo/sunhelp
 >
 >
 > NOTE: This e-mail message may contain information that may be privileged,
 > confidential, and exempt from disclosure.  It is intended for use only by
 > the person to whom it is addressed. If you have received this message in
 > error, please do not forward or use this information in any way, delete 
it
 > immediately, and contact the sender as soon as possible by the reply 
option
 > or by telephone at the telephone number listed (if available).  Thank 
you.
 > _______________________________________________
 > SunHELP maillist  -  SunHELP at sunhelp.org
 > http://www.sunhelp.org/mailman/listinfo/sunhelp
 >

_________________
*Alan Rubin*
Sun/Unix/Networking/Web Writing
Email:rubin at frell.org
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp


_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail. 
http://www.hotmail.com



More information about the SunHELP mailing list