[ns] Ns Exits unexpectedly
Pedro Estrela
pedro.estrela at gmail.com
Mon Jan 14 15:30:58 PST 2008
somewhere an exit is being called, and no message is being printed.
In my IST CIMS package I have a facility in utils_ns.cc and config.h which
redifines "exit" as a macro, to call my custom my_abort proc, to display the
filename and line number. This has already solved many probelms just like
you describe for me.
Pedro Estrela
tagus.inesc-id.pt/~pestrela/*ns2*
- Show quoted text -
On 14/01/2008, Dan <ddechene at uwo.ca> wrote:
>
>
>
>
> Hello All,
>
>
>
> I am working on a custom MAC layer for ns-2 (TDMA) based. I am trying to
> debug it, however my program exists unexpectedly (no crash -->
> segmentation
> error/floating point). I have been trying to trace through it with no
> luck.
> When the program exists, one station has already transmitted a packet and
> is
> waiting to handler its transmission timer, and all other stations are
> waiting to handler their receiving timer.
>
>
>
> I can tell that the scheduler just simply isn't completing as it is not
> processing my last tcl scheduled code. Any ideas?
>
>
>
> Thanks,
>
>
> Dan
>
>
>
>
--
-------
Eng. Pedro Vale Estrela, PhD
Researcher at INESC-ID, Lisbon
PhD Computer Science / IP Mobile Networks at IST/TU Lisbon
CV: http://tagus.inesc-id.pt/~pestrela
Email: pedro.estrela at gmail.com
Mobile: (+351) 91 8134653
Work: (+351) 21 4233285
More information about the Ns-users
mailing list