[srslte-users] Problems with new rrc_asn1 library

Edward Johnson edwjoh97 at gmail.com
Fri Feb 15 08:25:42 UTC 2019


Dear srsusers,

I've some trouble to use the new rrc_asn1.cc library for decoding SIBs
messages. In my code ( a slight modification of
lib/example/cell_measurement.c) I can successfully receive and decode a
SIB1 message, passing the byte array to the unpack method of
asn1::rrc::sib_type1_s.
>From that point, using the information inside sib1, I can found the sib2
message ( reported below. In my case, there is even sib3). The SIB message
is correct ( decoded with MARBEN) but if I try to decode with unpack method
of asn1::rrc::sib_type2_s, the program stops with a SIGSEGV.
In details, the debugger tells me that the segfault is at
pusch_cfg_common_v1270_s::make_obj_() (asn_utils.h, line 881), but from
what I can see, the this.ptr variable has a valid address.
What can I do? Now I will try to write a small program for testing only
this part, with static array, and try to figure out other details ( and
maybe attach to this thread). Have anyone found something like this? I'm
looking forward to hearing from you.

Best regards,
Edward

SIB2/SIB3 message ( in hex):
[00 80 4c 95 bf 62 91 94 da 0a 48 00 60 00 08 03 41 ae a5 57 82 50 06 50 06
01 5e e4 00 e1 12 81 62 24 24 00 00 ];
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20190215/6922ac1a/attachment.htm>


More information about the srsran-users mailing list