LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem regarding ns2 (https://www.linuxquestions.org/questions/linux-newbie-8/problem-regarding-ns2-4175507821/)

Preeti Raturi 06-12-2014 04:04 AM

problem regarding ns2
 
I have installed ns2 on Ubuntu 14.04 and also installed the network animator1.15 latest version but whenever I try to run it, it gives me this error

segmentation fault (core dumped)

Please someone help me how to resolve this problem as I am running out of time. I will be grateful?

business_kid 06-12-2014 04:15 AM

Segmentation fault = memory fault. The name dates to the 8086(?) where they had 16 bit registers and 20 bit address space. So they invented 'segmentation' registers of 4 bits to give you addressable pages. But not every page has memory. so if you address an empty/nonexistent one - segmentation fault.

The software is borked. Do not adjust your pc. The build, or the program is majorly flawed. Try again.

DJ Shaji 06-14-2014 07:09 PM

Quote:

Originally Posted by Preeti Raturi (Post 5186877)
I am running out of time.

:eek:

Quote:

I will be grateful?
Well you oughta. It's the least you could do.

Whenever any program segfaults, either run a backtrace with gdb or look in dmesg | tail for some info as to some info into why that happened. You can then either (a) notify the developer or (b) try to fix the problem yourself by fiddling with the source.


All times are GMT -5. The time now is 05:08 PM.