0

I'm using SUN Solaris-8 and i tried to install an application to run it into : i failed because i got insuffisant disk space. So today i delete some useless thing in the disk but when i try to execute the command bash this message figure out : Segmentation Fault (core dumped).

I read in some forums that's a consequence of a lack of space in the disk or in the memory that's why i got this but i can't fix it .

I also tried the command adb core and i got this :

NT_GWINDOWS currently unsupported note segment entry. core file = core -- program ``bash'' on platform SUNW,Sun-Blade-1500 SIGSEGV: Segmentation Fault data address not found

Any idea about that .?

Hohenheim
  • 1,545
  • 1
  • 12
  • 28

1 Answers1

1

There seems to be an issue with one of the configuration files as bash looks to start properly after disabling them:

bash --noprofile --norc

Alternatively, the LD_LIBRARY_PATH variable might provide incorrect or incompatible libraries, removing it might help too:

unset LD_LIBRARY_PATH

Note, if you are using csh, use unsetenv instead of unset.

jlliagre
  • 29,783
  • 6
  • 61
  • 72
  • Thank you so much ! When i use your first command the bash is activated ! but if i'm not using `csh` what is the command replacing `unsetenv` ? – Hohenheim Sep 07 '16 at 14:03
  • Once an environment variable is unset, it stays unset for the current shell and all its children unless of course it is set again. Under `bash` and other bourne shell compatible shells, you unset a variable with the `unset` command. – jlliagre Sep 07 '16 at 14:05
  • so to work in `bash ` mode i have to execute this command `bash --noprofile --norc` ? no only `bash` ? – Hohenheim Sep 07 '16 at 14:07
  • 1
    If unsetting LD_LIBRARY_PATH doesn't fix the issue, you need to figure out which one of the configuration files is bogus (/etc/profile, ~/.bash_profile , ~/.bashrc, etc.) and fix it. You'd better ask a new question in the right site ( unix.stackexchange.com ) as stackoverflow is for programming questions and shell scripting is not considered a first class citizen here. – jlliagre Sep 07 '16 at 14:12