Segmentation fault (core dump)
Hi
i ve installed ns2.35 in ubantu14.04, i hav successfully run tcl script, bt when i've tried to execute nam command, it gave me " Segmentation fault (core dump)" . although i can sucessfully run awk & Xgraph commands, bt unable to run nam plz help me out... |
Segmentation fault = memory fault. It probably tried to access a page of memory that didn't exist. Usually a dud software package.
Check all dependencies are present; run 'ldd /path/to/nam |grep found' (remove quotes and fill in /path/to) There should be no output. Then reinstall it - it could be a poor download. Post back telling us how each thing worked out. |
Welcome to LQ.
The 'nam' that you can build from ns2 (ns235) often fails. And the Ubuntu nam that you can install with $ sudo apt-get install nam , ... has not been OK for some time. Example, "the perfect nam" : nam_1.15-10-ubuntu14_amd64.deb → https://drive.google.com/file/d/0B7S...it?usp=sharing Which version is your Ubuntu 14.04 ? i686 or x86_64 ? This command will show : $ uname -m - |
plz reply with apropiate solution
plz reply with appropriate solution
|
← #4 .
Which version of Ubuntu 14.04 are you using ? i686 or x86_64 ? * This command will tell : $ uname -m ? What happens, when you type the nam command by itself : $ nam * If it is an "out.nam" file that fails, like $ nam out.nam .. then you will have to attach the file that creates "out.nam". File.tcl must be attached as file.tcl.txt . Quote:
- |
i m using i686
i m using i686
& when i simply run $:nam it give segmentation fault (core dump) |
← #6 .
When nam is run with no arguments, and shows "segmentation fault" : a) Delete the nam-1.15/ folder and any other <nam-version>/ folder. b) $ sudo apt-get remove nam .. And please install the package nam-1.14-10_i386.deb https://drive.google.com/file/d/0B7S...ew?usp=sharing - |
#6, #7 .
Update → nam 1.15 : nam_1.15-10_i386.deb https://drive.google.com/file/d/0B7S...ew?usp=sharing |
Thanx alot
Thanku so soooooooooo much.
it was really helful, both the linkes are really worth for me. now i am able to run "nam" Sucessfully in ns2.35. u hav solved our prob wich we've tried to reslove from almost 1 month. me & my teams is very thankful to Kundfl .... |
Thanku so much kundfl
Quote:
Thanku so soooooooooo much. it was really helful, both the linkes are really worth for me. now i am able to run "nam" Sucessfully in ns2.35. u hav solved our prob wich we've tried to reslove from almost 1 month. me & my teams is very thankful to Kundfl .... |
Hii ,
I have a similar issue.. when i try to run nam executable.. i get a segentation fault error. I have followed the steps mentioned above and downloaded the nam_1.15-10*.deb file from the link mentioned above but i am not sure of how to extract it and install it.. can you please peovide me the commands used to extarct the nam*.deb file and how to install the same. Thanks and Regards, Deepthi |
Post #11, @eepthi18 : Welcome to LQ.
You don't extract a <package>.deb : Click the package, and the `Package Intaller' will update the faulty Ubuntu package to the new version nam_1.15-10 . |
Hii,
Thanks for the quick reply.. I am new to unix n hence did not know how to install *.deb package. I tried by installing by clicking on it, i got some msg inbetween the installation, i have attached the doc regarding the same. it did not show any msg like installation completed successfully, after some installation progress status, it went back to 1st screen of install. I dont see any nam folders created in /usr/local/bin nor in my /home/deepthi/Documents/ns_allinone-2.35/ directories. i am not sure if it is installed correctly.. when try to run the nam executable in terminal i get the below message bash: /usr/local/bin/nam : No such file or directory can you please suggest me on the same.. |
← #13 .
Installing a package manually : $ cd <folder-with-package>/ $ sudo dpkg -i nam_1.15-10*.deb |
segmentation fault (core dumped) ubuntu 14.04
Hi..
- i am using ubuntu 14.04 - some how unable to start the mysql server gives error as "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)" - and even unable to uninstall or reinstall - tried issueing few commands after searching online but even that does'nt work for me - and now i got error while installing mysql server as "Segmentation fault (core dumped)" plz any help |
All times are GMT -5. The time now is 08:09 PM. |