[srslte-users] srsENB crashes with phone, not with srsUE

Ayman Maghrabi ayman.maghrabi at gmail.com
Sun Oct 25 07:19:47 UTC 2020


Thank you Andre for the help. I've been wanting to use gdb with srsLTE but
didn't really know how to do that. I was able yo follow your instructions
and it appears that my code is causing an issue with one of the existing
vectors:

Thread 32 "STACK" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffa31af700 (LWP 29104)]
0x00005555556ba540 in std::vector<srsenb::sched_cell_params_t,
std::allocator<srsenb::sched_cell_params_t> >::operator[] (this=0x0, __n=0)
    at /usr/include/c++/7/bits/stl_vector.h:816
816 return *(this->_M_impl._M_start + __n);

At least I know what to look for. Thanks again.

Regards,
Ayman

On Sun, Oct 25, 2020 at 2:13 AM Andre Puschmann <
andre.puschmann at softwareradiosystems.com> wrote:

> Hey Ayman,
>
> if the eNB, or any other application crashes, logs might not always been
> flushed. So logging to stdout is a good choice.
>
> But it's still hard debug that way.
>
> I would suggest to run the eNB using gdb, i.e. "gdb --args srsenb ..".
> Also make sure to compile with debug symbols "cmake
> -DCMAKE_BUILD_TYPE=Debug .." to see line numbers and be able to step
> through the code sections containing the bug.
>
> Hope that helps finding your issue.
>
> Cheers
> Andre
>
>
> On 24/10/20 5:33, Ayman Maghrabi wrote:
> > Greetings srsLTE community,
> >
> > I've developed a scheduler slicing implementation over the current
> > implementation of srsenb that separates RBGs between slices. I've tested
> > this with two srsUE devices and got stable connection, even managed to
> > test network capabilities using iPerf.
> >
> > When I tried to connect an LGX230YK, it registered on srsEPC and srsENB
> > but immediately crashes srsENB. The phone connects normally with a
> > regular srsLTE setup.
> >
> > I've tried printing srsenb info log for all levels and attaching it
> > here. For some reason, there is no enb.log file so I had to use stdout.
> >
> > I would appreciate any thoughts on this matter. What would be the main
> > difference in using the phone vs srsUE ?
> >
> > Regards,
> > Ayman
> >
> > _______________________________________________
> > srslte-users mailing list
> > srslte-users at lists.softwareradiosystems.com
> > http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20201025/6fdf5680/attachment.htm>


More information about the srsran-users mailing list