Please login or register. December 15, 2019, 08:16:33 PM

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

0 Members and 1 Guest are viewing this topic.

kveaswaran

  • 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???

Thanks,
kv



Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1195
  • 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.