Konstantinos <dinos.katsaros@...> writes:
>
>
>
> On Wednesday, April 2, 2014 8:41:33 PM UTC+1, Urvik Upadhyay wrote:
> On Thursday, 3 April 2014 00:36:24 UTC+5:30, Konstantinos wrote:Please
read
http://www.nsnam.org/wiki/HOWTO_understand_and_find_cause_of_terminated
_with_signal_errors
> See the backtrace within GDB to identify where/why did you get that. From
which function.
>
>
> I'm reading the HOWTO right now. Meanwhile, the backtrace shows following
result.Program received signal SIGABRT, Aborted.0x00007ffff56b5425 in
__GI_raise (sig=<optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:6464
../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.(gdb)
backtrace#0 0x00007ffff56b5425 in __GI_raise (sig=<optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64#1 0x00007ffff56b8b8b in
__GI_abort () at abort.c:91#2 0x00007ffff622569d in
__gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-
gnu/libstdc++.so.6#3 0x00007ffff6223846 in ?? () from /usr/lib/x86_64-
linux-gnu/libstdc++.so.6#4 0x00007ffff6223873 in std::terminate() () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6#5 0x00007ffff7bafce7 in
ns3::Buffer::Iterator::ReadU8 (this=0x7fffffffb130) at
./ns3/buffer.h:819#6 0x00007ffff6844b85 in ns3::Buffer::Iterator::ReadU64
(this=0x7fffffffb130) at ../src/network/model/buffer.cc:990#7
0x00007ffff7baf4e3 in ns3::gpsr::PositionHeader::Deserialize (
this=0x7fffffffb4b0, start=...) at ../src/gpsr/model/gpsr-packet.cc:249
>
>
>
> If you see this point, it is the PositionHeader that it is trying to read
and maybe the particular packet does not have a position-header.
> It might be a packet that was not gone through the GPSR::RouteOutput
method to add it. I do not know. You have to identify that and if you find
the reason it causes it, you are most welcome to reply back with a patch.
>
>
> #8 0x00007ffff6861696 in ns3::Packet::RemoveHeader (this=0x6a3080,
header=...) at ../src/network/model/packet.cc:268#9 0x00007ffff7bb29e3
in ns3::gpsr::RoutingProtocol::RouteInput ( this=0x668750, p=...,
header=..., idev=..., ucb=..., mcb=..., lcb=..., ecb=...) at
../src/gpsr/model/gpsr.cc:195#10 0x00007ffff74b50ba in
ns3::Ipv4L3Protocol::Receive (this=0x668330, device=..., p=...,
protocol=2048, from=..., to=..., packetType=0) at
../src/internet/model/ipv4-l3-protocol.cc:503#11 0x00007ffff74cf227 in
ns3::MemPtrCallbackImpl<ns3::Ipv4L3Protocol*, void (ns---Type <return> to
continue, or q <return> to quit---
>
> I told you, this may be the initial post of GPSR. There are 3 patch-sets
that fix certain bugs. It may be the one you have. Try the latest set.
>
>
> I downloaded patch 4 and copied it to the src directory. Still same
results. :/
>
>
>
>
>
>
I had the same bug that I fixed
send you script nd I will try to help