Date: 26-10-20  Time: 21:12 PM

Author Topic: Segmentation fault (coredump)  (Read 18979 times)

0 Members and 1 Guest are viewing this topic.


  • Registered
  • *
  • Posts: 1
  • Karma: +0/-0
Segmentation fault (coredump)
« on: May 22, 2007, 11:53:40 AM »
Hi all,

I one of our AIX 5.3 servers, I am not able to use vi. If i issue the vi command, I am getting Segmentation fault (coredump). This happens only for some users, including root. For others vi works fine. /tmp and /home are not full..

Any ideas reg this???



  • Administrator
  • Hero Member
  • *****
  • Posts: 1267
  • Karma: +0/-0
Re: Segmentation fault (coredump)
« Reply #1 on: May 24, 2007, 07:47:06 AM »
First guess will be to check ulimit settings (as root you can manually view the file /etc/security/limits). Check for differences between a failing user and a working user.

And please look at the coredump (using kdb). It has been a very long time since I have used adb (the first core debugger), so I cannot rattle off the commands needed to view what instruction caused the core dump. But there is lots of uesful information there. You can even run a program, and set break points, to find a possible cause.

segmentation fault means, btw, that an illegal address is being accessed.

Another idea: verify that working/failing users dont have a different LIBPATH setting. vi uses shared libraries, and if they wrong library is being used, you may get very strange behavior.