Public bug reported:
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_PkgInitStubsCheck () from
/usr/lib/x86_64-linux-gnu/libtk8.6.so
(gdb) bt
#0 0x00007ffff77504ba in Tk_PkgInitStubsCheck () from
/usr/lib/x86_64-linux-gnu/libtk8.6.so
#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(interp, "8.1", 0);
Tk_InitStubs(interp, "8.1", 0);
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
ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
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)
** Affects: nam (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug trusty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1376970
Title:
Segmentation fault when launching nam executable
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nam/+bug/1376970/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs