Hello Ns-3 experts,
I am trying to replicate lena-simple.cc in python. However, when attempting to attach UE to Enb, the waf shell exits with segmentation fault (core dumped).
The debugger throws the following error:
"Program received signal SIGSEGV, Segmentation fault.
0x019d9341 in ns3::LteUePhy::DoSetDlBandwidth (this=0x8b575e0,
dlBandwidth=6 '/006') at ../src/lte/model/lte-ue-phy.cc:1292
1292 m_downlinkSpectrumPhy->GetChannel ()->AddRx (m_downlinkSpectrumPhy);È
It turned out that m_downlinkSpectrumPhy->GetChannel () returns zero!
After investigation, it seems that LTE module (when called by python script) does not create a channel for enb and when the ue is being configured according to enb's configuration, the debugger stops because there is no configuration.
My questions are:
- Does lena module in ns3.25 support python bindings?
- Did anyone try to create lte networks in python? Can you please help in fixing this issue?
The files are attached.
Thank you very much for your time,
Ayman