Built a inherited class to obtain Sequence numbers

I am getting a segmentation fault at a weird position. The error is below. In theory the written
code is fine, but I have no way of testing.

The error is:

==7062== valgrind: Unrecognised instruction at address 0x5dd335d.
==7062==    at 0x5DD335D: ns3::UniformRandomVariable::GetTypeId() (double.h:71)
==7062==    by 0x5D9BEE9: _GLOBAL__sub_I_random_variable_stream.cc (random-variable-stream.cc:133)
==7062==    by 0x400F305: call_init.part.0 (dl-init.c:85)
==7062==    by 0x400F3DE: _dl_init (dl-init.c:52)
==7062==    by 0x40016E9: ??? (in /lib/x86_64-linux-gnu/ld-2.15.so)
==7062==    by 0x2: ???
==7062==    by 0x7FF0003EA: ???
==7062==    by 0x7FF0003FC: ???
==7062==    by 0x7FF000408: ???

As Zhu-kun has advised, I will update ns-3 as soon as possible.