Segmentation fault when launching nam executable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nam (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Any time I try to run the nam executable I get a segmentation fault:
$> nam
Segmentation fault (core dumped)
$> nam nam.out
Segmentation fault (core dumped)
I tried to get a backtrace in gdb. Seems to be problem in the Tk initialization routines:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff77504ba in Tk_PkgInitStubs
(gdb) bt
#0 0x00007ffff77504ba in Tk_PkgInitStubs
#1 0x0000000000417981 in main ()
My libtk8.6 version is 8.6.1-3ubuntu2. I was able able to reproduce this problem compiling against libtk8.6 using a simple program mirroring the way it is done in nam's main.cc:
#include <tk.h>
int main() {
Tcl_Interp *interp = Tcl_CreateInterp();
Tcl_InitStubs
Tk_InitStubs(
return 0;
}
I'm not familiar with libtk at all so I have no idea if that is proper usage.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: nam 1.15-3
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.4
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Oct 2 20:39:12 2014
InstallationDate: Installed on 2012-11-28 (673 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
SourcePackage: nam
UpgradeStatus: Upgraded to trusty on 2014-05-16 (139 days ago)
Hiii,
I have installed ns2.35 on ubunt 14.04
Even i am facing the similar issue,
Any time I try to run the nam executable I get a segmentation fault:
$> nam
Segmentation fault (core dumped)
is the isue solved for you now..?
if yes can u please share the details on the same..
Thanks.