[ns] [Nam bug?] segmentation fault

Gilles Bertrand gilbertrand at gmail.com
Tue Mar 14 00:23:30 PST 2006


Dear NS and Nam users,

When I run nam on the results of a script I get the following output:

$ nam scenario_beta_v0.03.nam
Segmentation fault (core dumped)

I have suppressed the following line of the nam file:
V -t * -v 1.0a5 -a 0
indicating that the version of NAM to be used must be older than v1.0a5 then
I get the following output:

$ Cannot connect to existing nam instance. Starting a new one...
You are using the tracefile format older than 1.0a5
which will not allow you to run namgraph

I have tried to understand from where this segmentation fault can come but
have not found the explanation.

I can systematically delete the problematical line (grep -v V
scenario_beta_v0.03.nam > scenario_beta_v0.03_modified.nam), but I don't
know if it has any "collateral" impact on Nam. Please suggest any
solution.Thanks a lot.

my configuration is the following;:
nam-1.11
ns-allinone2.29
MNSv2.1

Mit freundlichen Grüßen, with kind regards, cordialement,

----------------------------------------------------------
Gilles BERTRAND
Telecom INT - University of Stuttgart
----------------------------------------------------------

Annex: dump file: (nam.exe.stackdump)
Exception: STATUS_ACCESS_VIOLATION at eip=004E725D
eax=101ADC08 ebx=00000000 ecx=101CB453 edx=101C296B esi=101C2960
edi=00228B80
ebp=00228BB8 esp=00228B50 program=C:\cygwin\ns-
allinone-2.29\nam-1.11\nam.exe, pid 1672, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
00228BB8  004E725D  (100E2D00, 101C2960, 00000000, 00000000)
00228BF8  004EB81F  (100E2D00, 101C2960, 00228C18, 004EC5D1)
00228C18  005362A6  (00000000, 100E2D00, 00000003, 100E3A7C)
00228C48  00535818  (00000000, 100E2D00, 00000003, 100E3A7C)
00228C88  004EE951  (100E2D00, 00000003, 100E3A7C, 00000000)
00228E58  00519558  (100E2D00, 10110538, 00000000, 00229050)
00228E88  00518C3C  (100E2D00, 10139388, 100EB0B8, 00000001)
002291B8  004FCF43  (10139418, 100E2D00, 00000006, 002291E0)
00229248  004FCA5D  (10139418, 100E2D00, 00000006, 002293C0)
002293F8  00449A72  (101C7DC0, 100E2D00, 00000004, 00229420)
00229488  004ED990  (101CB1F8, 100E2D00, 00000004, 00229520)
002294C8  004EE951  (100E2D00, 00000004, 00229520, 0022974C)
00229708  004EF26A  (100E2D00, 0022974C, 00000024, 00000000)
00229728  004EF6B6  (100E2D00, 0022974C, FFFFFFFF, 00000038)
00229828  004F0BFF  (100E2D00, 00229844, 00229898, 0044C01B)
00229838  004F0C33  (100E2D00, 101CA538, 005DBA2A, 100FFFD0)
End of stack trace (more stack frames may be present)


More information about the Ns-users mailing list