LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2014, 05:04 AM   #1
Preeti Raturi
LQ Newbie
 
Registered: Mar 2014
Posts: 1

Rep: Reputation: Disabled
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?
 
Old 06-12-2014, 05:15 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,796

Rep: Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754
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.
 
Old 06-14-2014, 08:09 PM   #3
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 513
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
Quote:
Originally Posted by Preeti Raturi View Post
I am running out of time.


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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
after installing NS2 termina shows the message ns2 not installed profaditya Linux - Newbie 2 09-25-2014 03:15 PM
Differences between LEACH results on ns2.1b5 and ns2.35 deepa_2111 Linux - Software 15 05-16-2013 06:53 PM
NS2: Require eap-sim authentication code for simulation in ns2.24 noamankhatib Linux - Software 0 04-29-2013 01:03 PM
i am using ubuntu as os. for NS2 to implement a routing protocol in ns2. sujovasu Programming 1 07-27-2010 02:44 AM


All times are GMT -5. The time now is 06:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration