asn1c
asn1c copied to clipboard
F1AP generated code fails to parse packets
ASN.1 definitions file
Parsing XER
$ ./converter-example -P -ixer -oaper f1ap_reset_1.xer > f1ap_reset_1z.aper
XER/CHOICE checked [<F1A] vs [F1AP-PDU], tcv=1 (constr_CHOICE_xer.c:155)
XER/CHOICE checked [<ini] vs [F1AP-PDU], tcv=5 (constr_CHOICE_xer.c:155)
XER/SEQUENCE: tcv = 1, ph=0 [initiatingMessage] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv = 5, ph=1 [initiatingMessage] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='procedureCode', tcv=1, tag='<procedureCode>' (constr_SEQUENCE_xer.c:243)
INTEGER body 1 0x30..0x30 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 1 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [initiatingMessage] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=1 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=1, name='criticality', tcv=1, tag='<criticality>' (constr_SEQUENCE_xer.c:243)
INTEGER body 9 0x3c..0x3e (INTEGER_xer.c:118)
Found "reject" => 0 (INTEGER_xer.c:199)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 2 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [initiatingMessage] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=2 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=2, name='value', tcv=1, tag='<value>' (constr_SEQUENCE_xer.c:243)
XER/SEQUENCE: tcv = 1, ph=0 [Reset] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv = 5, ph=1 [Reset] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='protocolIEs', tcv=1, tag='<protocolIEs>' (constr_SEQUENCE_xer.c:243)
XER/SET OF: tcv = 1, ph=0 t=protocolIEs (constr_SET_OF_xer.c:242)
XER/SET OF: tcv = 5, ph=1 t=protocolIEs (constr_SET_OF_xer.c:242)
XER/SET OF: tcv=5, ph=1 (constr_SET_OF_xer.c:267)
XER/SET OF: checking fallback, phase=1 (constr_SET_OF_xer.c:304)
XER/SET OF: accept item tag without container (phase=1) (constr_SET_OF_xer.c:306)
XER/SET OF element [ResetIEs] (constr_SET_OF_xer.c:186)
XER/SEQUENCE: tcv = 5, ph=0 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=0, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Accepting generic <SEQUENCE> tag in phase 0 (constr_SEQUENCE_xer.c:217)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='id', tcv=1, tag='<id>' (constr_SEQUENCE_xer.c:243)
INTEGER body 2 0x37..0x38 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 1 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=1 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=1, name='criticality', tcv=1, tag='<criticality>' (constr_SEQUENCE_xer.c:243)
INTEGER body 9 0x3c..0x3e (INTEGER_xer.c:118)
Found "reject" => 0 (INTEGER_xer.c:199)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 2 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=2 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=2, name='value', tcv=1, tag='<value>' (constr_SEQUENCE_xer.c:243)
INTEGER body 1 0x30..0x30 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
Freeing TransactionID as INTEGER (2, 0x6000021dc060, Native) (NativeInteger.c:111)
Freeing Reset as SEQUENCE (constr_SEQUENCE.c:80)
Freeing ResetIEs as SEQUENCE (constr_SEQUENCE.c:80)
Freeing ProtocolIE-ID as INTEGER (1, 0x6000021dc050, Native) (NativeInteger.c:111)
Freeing Criticality as INTEGER (1, 0x6000021dc058, Native) (NativeInteger.c:111)
Freeing value as CHOICE (constr_CHOICE.c:168)
XER/CHOICE: itdf: [InitiatingMessage] code=2 (constr_CHOICE_xer.c:109)
=== Partial Decoding Results ===
InitiatingMessage ::= {
procedureCode: 0
criticality: 0 (reject)
value: <absent>
}
=== End of Partial Results ===
Freeing F1AP-PDU as CHOICE (constr_CHOICE.c:168)
Freeing InitiatingMessage as SEQUENCE (constr_SEQUENCE.c:80)
Freeing ProcedureCode as INTEGER (1, 0x6000021dc000, Native) (NativeInteger.c:111)
Freeing Criticality as INTEGER (1, 0x6000021dc008, Native) (NativeInteger.c:111)
Freeing value as CHOICE (constr_CHOICE.c:168)
f1ap_reset_1.xer: Decode failed at byte 718: Input processing error
XER PDU f1ap_reset_1.xer:
<F1AP-PDU>
<initiatingMessage>
<procedureCode>0</procedureCode>
<criticality>
<reject/>
</criticality>
<value>
<Reset>
<protocolIEs>
<SEQUENCE>
<id>78</id>
<criticality>
<reject/>
</criticality>
<value>
<TransactionID>0</TransactionID>
</value>
</SEQUENCE>
<SEQUENCE>
<id>0</id>
<criticality>
<ignore/>
</criticality>
<value>
<Cause>
<radioNetwork>
<unspecified/>
</radioNetwork>
</Cause>
</value>
</SEQUENCE>
<SEQUENCE>
<id>48</id>
<criticality>
<reject/>
</criticality>
<value>
<ResetType>
<partOfF1-Interface>
<SEQUENCE>
<id>80</id>
<criticality>
<reject/>
</criticality>
<value>
<UE-associatedLogicalF1-ConnectionItem>
<gNB-CU-UE-F1AP-ID>32</gNB-CU-UE-F1AP-ID>
<gNB-DU-UE-F1AP-ID>1</gNB-DU-UE-F1AP-ID>
</UE-associatedLogicalF1-ConnectionItem>
</value>
</SEQUENCE>
</partOfF1-Interface>
</ResetType>
</value>
</SEQUENCE>
</protocolIEs>
</Reset>
</value>
</initiatingMessage>
</F1AP-PDU>
$ ./converter-example -P -ixer -oaper f1ap_reset_3.xer > f1ap_reset_3z.aper
XER/CHOICE checked [<F1A] vs [F1AP-PDU], tcv=1 (constr_CHOICE_xer.c:155)
XER/CHOICE checked [<ini] vs [F1AP-PDU], tcv=5 (constr_CHOICE_xer.c:155)
XER/SEQUENCE: tcv = 1, ph=0 [initiatingMessage] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv = 5, ph=1 [initiatingMessage] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='procedureCode', tcv=1, tag='<procedureCode>' (constr_SEQUENCE_xer.c:243)
INTEGER body 1 0x30..0x30 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 1 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [initiatingMessage] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=1 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=1, name='criticality', tcv=1, tag='<criticality>' (constr_SEQUENCE_xer.c:243)
INTEGER body 9 0x3c..0x3e (INTEGER_xer.c:118)
Found "reject" => 0 (INTEGER_xer.c:199)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 2 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [initiatingMessage] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=2 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=2, name='value', tcv=1, tag='<value>' (constr_SEQUENCE_xer.c:243)
XER/SEQUENCE: tcv = 1, ph=0 [Reset] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv = 5, ph=1 [Reset] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='protocolIEs', tcv=1, tag='<protocolIEs>' (constr_SEQUENCE_xer.c:243)
XER/SET OF: tcv = 1, ph=0 t=protocolIEs (constr_SET_OF_xer.c:242)
XER/SET OF: tcv = 5, ph=1 t=protocolIEs (constr_SET_OF_xer.c:242)
XER/SET OF: tcv=5, ph=1 (constr_SET_OF_xer.c:267)
XER/SET OF: checking fallback, phase=1 (constr_SET_OF_xer.c:304)
XER/SET OF: accept item tag without container (phase=1) (constr_SET_OF_xer.c:306)
XER/SET OF element [ResetIEs] (constr_SET_OF_xer.c:186)
XER/SEQUENCE: tcv = 1, ph=0 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='id', tcv=1, tag='<id>' (constr_SEQUENCE_xer.c:243)
INTEGER body 2 0x37..0x38 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 1 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=1 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=1, name='criticality', tcv=1, tag='<criticality>' (constr_SEQUENCE_xer.c:243)
INTEGER body 9 0x3c..0x3e (INTEGER_xer.c:118)
Found "reject" => 0 (INTEGER_xer.c:199)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 2 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=2 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=2, name='value', tcv=1, tag='<value>' (constr_SEQUENCE_xer.c:243)
INTEGER body 1 0x30..0x30 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
Freeing TransactionID as INTEGER (2, 0x60000112c060, Native) (NativeInteger.c:111)
Freeing Reset as SEQUENCE (constr_SEQUENCE.c:80)
Freeing ResetIEs as SEQUENCE (constr_SEQUENCE.c:80)
Freeing ProtocolIE-ID as INTEGER (1, 0x60000112c050, Native) (NativeInteger.c:111)
Freeing Criticality as INTEGER (1, 0x60000112c058, Native) (NativeInteger.c:111)
Freeing value as CHOICE (constr_CHOICE.c:168)
XER/CHOICE: itdf: [InitiatingMessage] code=2 (constr_CHOICE_xer.c:109)
=== Partial Decoding Results ===
InitiatingMessage ::= {
procedureCode: 0
criticality: 0 (reject)
value: <absent>
}
=== End of Partial Results ===
Freeing F1AP-PDU as CHOICE (constr_CHOICE.c:168)
Freeing InitiatingMessage as SEQUENCE (constr_SEQUENCE.c:80)
Freeing ProcedureCode as INTEGER (1, 0x60000112c000, Native) (NativeInteger.c:111)
Freeing Criticality as INTEGER (1, 0x60000112c008, Native) (NativeInteger.c:111)
Freeing value as CHOICE (constr_CHOICE.c:168)
f1ap_reset_3.xer: Decode failed at byte 814: Input processing error
XER PDU f1ap_reset_3.xer:
<F1AP-PDU>
<initiatingMessage>
<procedureCode>0</procedureCode>
<criticality><reject/></criticality>
<value>
<Reset>
<protocolIEs>
<ResetIEs>
<id>78</id>
<criticality><reject/></criticality>
<value>
<TransactionID>0</TransactionID>
</value>
</ResetIEs>
<ResetIEs>
<id>0</id>
<criticality><ignore/></criticality>
<value>
<Cause>
<radioNetwork><unspecified/></radioNetwork>
</Cause>
</value>
</ResetIEs>
<ResetIEs>
<id>48</id>
<criticality><reject/></criticality>
<value>
<ResetType>
<partOfF1-Interface>
<ProtocolIE-SingleContainer>
<id>80</id>
<criticality><reject/></criticality>
<value>
<UE-associatedLogicalF1-ConnectionItem>
<gNB-CU-UE-F1AP-ID>32</gNB-CU-UE-F1AP-ID>
<gNB-DU-UE-F1AP-ID>1</gNB-DU-UE-F1AP-ID>
</UE-associatedLogicalF1-ConnectionItem>
</value>
</ProtocolIE-SingleContainer>
</partOfF1-Interface>
</ResetType>
</value>
</ResetIEs>
</protocolIEs>
</Reset>
</value>
</initiatingMessage>
</F1AP-PDU>
Parsing APER
$ ./converter-example -P -iaper -otext f1ap_reset_3a.aper
[PER got 2<=256 bits => span 2 +0[2..256]:00 (254) => 0x0] (asn_bit_data.c:139)
CHOICE F1AP-PDU got index 0 in range 2 (constr_CHOICE_aper.c:51)
Discovered CHOICE F1AP-PDU encodes initiatingMessage (constr_CHOICE_aper.c:85)
Decoding InitiatingMessage as SEQUENCE (APER) (constr_SEQUENCE_aper.c:40)
Decoding member "procedureCode" in InitiatingMessage (constr_SEQUENCE_aper.c:130)
Decoding NativeInteger ProcedureCode (APER) (NativeInteger_aper.c:21)
Integer with range 8 bits (INTEGER_aper.c:59)
Aligning 6 bits (aper_support.c:13)
[PER got 6<=254 bits => span 8 +0[8..256]:00 (248) => 0x0] (asn_bit_data.c:139)
[PER got 8<=248 bits => span 16 +1[8..248]:00 (240) => 0x0] (asn_bit_data.c:139)
Got value 0 + low 0 (INTEGER_aper.c:136)
NativeInteger ProcedureCode got value 0 (NativeInteger_aper.c:38)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
Decoding member "criticality" in InitiatingMessage (constr_SEQUENCE_aper.c:130)
Decoding Criticality as NativeEnumerated (NativeEnumerated_aper.c:33)
[PER got 2<=240 bits => span 18 +2[2..240]:00 (238) => 0x0] (asn_bit_data.c:139)
Decoded Criticality = 0 (NativeEnumerated_aper.c:81)
Decoding member "value" in InitiatingMessage (constr_SEQUENCE_aper.c:130)
Getting open type Reset... (aper_opentype.c:25)
Aligning 6 bits (aper_support.c:13)
[PER got 6<=238 bits => span 24 +2[8..240]:00 (232) => 0x0] (asn_bit_data.c:139)
[PER got 8<=232 bits => span 32 +3[8..232]:1c (224) => 0x1c] (asn_bit_data.c:139)
[PER got 24<=224 bits => span 56 +4[24..224]:00 (200) => 0x3] (asn_bit_data.c:139)
[PER got 24<=200 bits => span 80 +7[24..200]:00 (176) => 0x4e00] (asn_bit_data.c:139)
[PER got 24<=176 bits => span 104 +10[24..176]:02 (152) => 0x20000] (asn_bit_data.c:139)
[PER got 24<=152 bits => span 128 +13[24..152]:00 (128) => 0x40] (asn_bit_data.c:139)
[PER got 24<=128 bits => span 152 +0[24..128]:01 (104) => 0x10000] (asn_bit_data.c:139)
[PER got 24<=104 bits => span 176 +3[24..104]:30 (80) => 0x30000a] (asn_bit_data.c:139)
[PER got 24<=80 bits => span 200 +6[24..80]:40 (56) => 0x400100] (asn_bit_data.c:139)
[PER got 24<=56 bits => span 224 +9[24..56]:50 (32) => 0x500004] (asn_bit_data.c:139)
[PER got 24<=32 bits => span 248 +12[24..32]:60 (8) => 0x602000] (asn_bit_data.c:139)
[PER got 8<= 8 bits => span 256 +15[8..8]:01 (0) => 0x1] (asn_bit_data.c:139)
Getting open type Reset encoded in 28 bytes (aper_opentype.c:51)
Decoding Reset as SEQUENCE (APER) (constr_SEQUENCE_aper.c:40)
[PER got 1<=224 bits => span 1 +0[1..224]:00 (223) => 0x0] (asn_bit_data.c:139)
Decoding member "protocolIEs" in Reset (constr_SEQUENCE_aper.c:130)
aper get constrained_whole_number with lb 0 and ub 65535 (aper_support.c:133)
Aligning 7 bits (aper_support.c:13)
[PER got 7<=223 bits => span 8 +0[8..224]:00 (216) => 0x0] (asn_bit_data.c:139)
[PER got 16<=216 bits => span 24 +1[16..216]:00 (200) => 0x3] (asn_bit_data.c:139)
Got to decode 3 elements (eff 16) (constr_SET_OF_aper.c:157)
SET OF ResetIEs decoding (constr_SET_OF_aper.c:163)
Decoding ResetIEs as SEQUENCE (APER) (constr_SEQUENCE_aper.c:40)
Decoding member "id" in ResetIEs (constr_SEQUENCE_aper.c:130)
Decoding NativeInteger ProtocolIE-ID (APER) (NativeInteger_aper.c:21)
Integer with range 16 bits (INTEGER_aper.c:59)
[PER got 16<=200 bits => span 40 +3[16..200]:00 (184) => 0x4e] (asn_bit_data.c:139)
Got value 78 + low 0 (INTEGER_aper.c:136)
NativeInteger ProtocolIE-ID got value 78 (NativeInteger_aper.c:38)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
Decoding member "criticality" in ResetIEs (constr_SEQUENCE_aper.c:130)
Decoding Criticality as NativeEnumerated (NativeEnumerated_aper.c:33)
[PER got 2<=184 bits => span 42 +5[2..184]:00 (182) => 0x0] (asn_bit_data.c:139)
Decoded Criticality = 0 (NativeEnumerated_aper.c:81)
Decoding member "value" in ResetIEs (constr_SEQUENCE_aper.c:130)
Getting open type TransactionID... (aper_opentype.c:25)
Aligning 6 bits (aper_support.c:13)
[PER got 6<=182 bits => span 48 +5[8..184]:00 (176) => 0x0] (asn_bit_data.c:139)
[PER got 8<=176 bits => span 56 +6[8..176]:02 (168) => 0x2] (asn_bit_data.c:139)
[PER got 16<=168 bits => span 72 +7[16..168]:00 (152) => 0x0] (asn_bit_data.c:139)
Getting open type TransactionID encoded in 2 bytes (aper_opentype.c:51)
Decoding NativeInteger TransactionID (APER) (NativeInteger_aper.c:21)
[PER got 1<=16 bits => span 1 +0[1..16]:00 (15) => 0x0] (asn_bit_data.c:139)
Integer with range 8 bits (INTEGER_aper.c:59)
Aligning 7 bits (aper_support.c:13)
[PER got 7<=15 bits => span 8 +0[8..16]:00 (8) => 0x0] (asn_bit_data.c:139)
[PER got 8<= 8 bits => span 16 +1[8..8]:00 (0) => 0x0] (asn_bit_data.c:139)
Got value 0 + low 0 (INTEGER_aper.c:136)
NativeInteger TransactionID got value 0 (NativeInteger_aper.c:38)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
No padding (aper_opentype.c:77)
Freeing TransactionID as INTEGER (2, 0x60000097c0b0, Native) (NativeInteger.c:111)
Failed decode value in ResetIEs (constr_SEQUENCE_aper.c:143)
ProtocolIE-Container SET OF ResetIEs decoded 2, 0x60000097c0a0 (constr_SET_OF_aper.c:167)
Failed decoding ResetIEs of ProtocolIE-Container (SET OF) (constr_SET_OF_aper.c:177)
Freeing ResetIEs as SEQUENCE (constr_SEQUENCE.c:80)
Freeing ProtocolIE-ID as INTEGER (1, 0x60000097c0a0, Native) (NativeInteger.c:111)
Freeing Criticality as INTEGER (1, 0x60000097c0a8, Native) (NativeInteger.c:111)
Freeing value as CHOICE (constr_CHOICE.c:168)
Failed decode protocolIEs in Reset (constr_SEQUENCE_aper.c:154)
Freeing Reset as SEQUENCE (constr_SEQUENCE.c:80)
Failed decode value in InitiatingMessage (constr_SEQUENCE_aper.c:143)
Failed to decode initiatingMessage in F1AP-PDU (CHOICE) 2 (constr_CHOICE_aper.c:97)
=== Partial Decoding Results ===
InitiatingMessage ::= {
procedureCode: 0
criticality: 0 (reject)
value: <absent>
}
=== End of Partial Results ===
Freeing F1AP-PDU as CHOICE (constr_CHOICE.c:168)
Freeing InitiatingMessage as SEQUENCE (constr_SEQUENCE.c:80)
Freeing ProcedureCode as INTEGER (1, 0x60000097c050, Native) (NativeInteger.c:111)
Freeing Criticality as INTEGER (1, 0x60000097c058, Native) (NativeInteger.c:111)
Freeing value as CHOICE (constr_CHOICE.c:168)
f1ap_reset_3a.aper: Decode failed past byte 0: Input processing error
APER PDU f1ap_reset_3a.aper:
$ od -t x1 f1ap_reset_3a.aper
0000000 00 00 00 1c 00 00 03 00 4e 00 02 00 00 00 00 40
0000020 01 00 00 30 00 0a 40 01 00 50 00 04 60 20 00 01
0000040
$ ./converter-example -P -iaper -otext f1ap_reset_3.aper
[PER got 2<=256 bits => span 2 +0[2..256]:00 (254) => 0x0] (asn_bit_data.c:139)
CHOICE F1AP-PDU got index 0 in range 2 (constr_CHOICE_aper.c:51)
Discovered CHOICE F1AP-PDU encodes initiatingMessage (constr_CHOICE_aper.c:85)
Decoding InitiatingMessage as SEQUENCE (APER) (constr_SEQUENCE_aper.c:40)
Decoding member "procedureCode" in InitiatingMessage (constr_SEQUENCE_aper.c:130)
Decoding NativeInteger ProcedureCode (APER) (NativeInteger_aper.c:21)
Integer with range 8 bits (INTEGER_aper.c:59)
Aligning 6 bits (aper_support.c:13)
[PER got 6<=254 bits => span 8 +0[8..256]:00 (248) => 0x0] (asn_bit_data.c:139)
[PER got 8<=248 bits => span 16 +1[8..248]:00 (240) => 0x0] (asn_bit_data.c:139)
Got value 0 + low 0 (INTEGER_aper.c:136)
NativeInteger ProcedureCode got value 0 (NativeInteger_aper.c:38)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
Decoding member "criticality" in InitiatingMessage (constr_SEQUENCE_aper.c:130)
Decoding Criticality as NativeEnumerated (NativeEnumerated_aper.c:33)
[PER got 2<=240 bits => span 18 +2[2..240]:00 (238) => 0x0] (asn_bit_data.c:139)
Decoded Criticality = 0 (NativeEnumerated_aper.c:81)
Decoding member "value" in InitiatingMessage (constr_SEQUENCE_aper.c:130)
Getting open type Reset... (aper_opentype.c:25)
Aligning 6 bits (aper_support.c:13)
[PER got 6<=238 bits => span 24 +2[8..240]:00 (232) => 0x0] (asn_bit_data.c:139)
[PER got 8<=232 bits => span 32 +3[8..232]:1c (224) => 0x1c] (asn_bit_data.c:139)
[PER got 24<=224 bits => span 56 +4[24..224]:00 (200) => 0x3] (asn_bit_data.c:139)
[PER got 24<=200 bits => span 80 +7[24..200]:00 (176) => 0x4e00] (asn_bit_data.c:139)
[PER got 24<=176 bits => span 104 +10[24..176]:02 (152) => 0x20000] (asn_bit_data.c:139)
[PER got 24<=152 bits => span 128 +13[24..152]:00 (128) => 0x40] (asn_bit_data.c:139)
[PER got 24<=128 bits => span 152 +0[24..128]:01 (104) => 0x10000] (asn_bit_data.c:139)
[PER got 24<=104 bits => span 176 +3[24..104]:30 (80) => 0x30000a] (asn_bit_data.c:139)
[PER got 24<=80 bits => span 200 +6[24..80]:40 (56) => 0x400100] (asn_bit_data.c:139)
[PER got 24<=56 bits => span 224 +9[24..56]:50 (32) => 0x500004] (asn_bit_data.c:139)
[PER got 24<=32 bits => span 248 +12[24..32]:60 (8) => 0x602000] (asn_bit_data.c:139)
[PER got 8<= 8 bits => span 256 +15[8..8]:01 (0) => 0x1] (asn_bit_data.c:139)
Getting open type Reset encoded in 28 bytes (aper_opentype.c:51)
Decoding Reset as SEQUENCE (APER) (constr_SEQUENCE_aper.c:40)
[PER got 1<=224 bits => span 1 +0[1..224]:00 (223) => 0x0] (asn_bit_data.c:139)
Decoding member "protocolIEs" in Reset (constr_SEQUENCE_aper.c:130)
aper get constrained_whole_number with lb 0 and ub 65535 (aper_support.c:133)
Aligning 7 bits (aper_support.c:13)
[PER got 7<=223 bits => span 8 +0[8..224]:00 (216) => 0x0] (asn_bit_data.c:139)
[PER got 16<=216 bits => span 24 +1[16..216]:00 (200) => 0x3] (asn_bit_data.c:139)
Got to decode 3 elements (eff 16) (constr_SET_OF_aper.c:157)
SET OF ResetIEs decoding (constr_SET_OF_aper.c:163)
Decoding ResetIEs as SEQUENCE (APER) (constr_SEQUENCE_aper.c:40)
Decoding member "id" in ResetIEs (constr_SEQUENCE_aper.c:130)
Decoding NativeInteger ProtocolIE-ID (APER) (NativeInteger_aper.c:21)
Integer with range 16 bits (INTEGER_aper.c:59)
[PER got 16<=200 bits => span 40 +3[16..200]:00 (184) => 0x4e] (asn_bit_data.c:139)
Got value 78 + low 0 (INTEGER_aper.c:136)
NativeInteger ProtocolIE-ID got value 78 (NativeInteger_aper.c:38)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
Decoding member "criticality" in ResetIEs (constr_SEQUENCE_aper.c:130)
Decoding Criticality as NativeEnumerated (NativeEnumerated_aper.c:33)
[PER got 2<=184 bits => span 42 +5[2..184]:00 (182) => 0x0] (asn_bit_data.c:139)
Decoded Criticality = 0 (NativeEnumerated_aper.c:81)
Decoding member "value" in ResetIEs (constr_SEQUENCE_aper.c:130)
Getting open type TransactionID... (aper_opentype.c:25)
Aligning 6 bits (aper_support.c:13)
[PER got 6<=182 bits => span 48 +5[8..184]:00 (176) => 0x0] (asn_bit_data.c:139)
[PER got 8<=176 bits => span 56 +6[8..176]:02 (168) => 0x2] (asn_bit_data.c:139)
[PER got 16<=168 bits => span 72 +7[16..168]:00 (152) => 0x0] (asn_bit_data.c:139)
Getting open type TransactionID encoded in 2 bytes (aper_opentype.c:51)
Decoding NativeInteger TransactionID (APER) (NativeInteger_aper.c:21)
[PER got 1<=16 bits => span 1 +0[1..16]:00 (15) => 0x0] (asn_bit_data.c:139)
Integer with range 8 bits (INTEGER_aper.c:59)
Aligning 7 bits (aper_support.c:13)
[PER got 7<=15 bits => span 8 +0[8..16]:00 (8) => 0x0] (asn_bit_data.c:139)
[PER got 8<= 8 bits => span 16 +1[8..8]:00 (0) => 0x0] (asn_bit_data.c:139)
Got value 0 + low 0 (INTEGER_aper.c:136)
NativeInteger TransactionID got value 0 (NativeInteger_aper.c:38)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
No padding (aper_opentype.c:77)
Freeing TransactionID as INTEGER (2, 0x600003530060, Native) (NativeInteger.c:111)
Failed decode value in ResetIEs (constr_SEQUENCE_aper.c:143)
ProtocolIE-Container SET OF ResetIEs decoded 2, 0x600003530050 (constr_SET_OF_aper.c:167)
Failed decoding ResetIEs of ProtocolIE-Container (SET OF) (constr_SET_OF_aper.c:177)
Freeing ResetIEs as SEQUENCE (constr_SEQUENCE.c:80)
Freeing ProtocolIE-ID as INTEGER (1, 0x600003530050, Native) (NativeInteger.c:111)
Freeing Criticality as INTEGER (1, 0x600003530058, Native) (NativeInteger.c:111)
Freeing value as CHOICE (constr_CHOICE.c:168)
Failed decode protocolIEs in Reset (constr_SEQUENCE_aper.c:154)
Freeing Reset as SEQUENCE (constr_SEQUENCE.c:80)
Failed decode value in InitiatingMessage (constr_SEQUENCE_aper.c:143)
Failed to decode initiatingMessage in F1AP-PDU (CHOICE) 2 (constr_CHOICE_aper.c:97)
=== Partial Decoding Results ===
InitiatingMessage ::= {
procedureCode: 0
criticality: 0 (reject)
value: <absent>
}
=== End of Partial Results ===
Freeing F1AP-PDU as CHOICE (constr_CHOICE.c:168)
Freeing InitiatingMessage as SEQUENCE (constr_SEQUENCE.c:80)
Freeing ProcedureCode as INTEGER (1, 0x600003530000, Native) (NativeInteger.c:111)
Freeing Criticality as INTEGER (1, 0x600003530008, Native) (NativeInteger.c:111)
Freeing value as CHOICE (constr_CHOICE.c:168)
f1ap_reset_3.aper: Decode failed past byte 0: Input processing error
$
$ od -t x1 f1ap_reset_3.aper
0000000 00 00 00 1c 00 00 03 00 4e 00 02 00 00 00 00 40
0000020 01 00 00 30 00 0a 40 01 00 50 00 04 60 20 00 01
0000040
@copilot here's how asn1c was invoked:
asn1c -pdu=F1AP-PDU -fgen-only-pdu-deps $(NO_INC_DEPS) -findirect-choice -fcompound-names -no-gen-JER F1AP-16.7.0.asn
@copilot the problem persists:
./converter-example -ixer -oaper f1ap_reset_3.xer > f1ap_reset_3z.aper
XER/CHOICE checked [<F1A] vs [F1AP-PDU], tcv=1 (constr_CHOICE_xer.c:155)
XER/CHOICE checked [<ini] vs [F1AP-PDU], tcv=5 (constr_CHOICE_xer.c:155)
XER/SEQUENCE: tcv = 1, ph=0 [initiatingMessage] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv = 5, ph=1 [initiatingMessage] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='procedureCode', tcv=1, tag='<procedureCode>' (constr_SEQUENCE_xer.c:243)
INTEGER body 1 0x30..0x30 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 1 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [initiatingMessage] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=1 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=1, name='criticality', tcv=1, tag='<criticality>' (constr_SEQUENCE_xer.c:243)
INTEGER body 9 0x3c..0x3e (INTEGER_xer.c:118)
Found "reject" => 0 (INTEGER_xer.c:199)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 2 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [initiatingMessage] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=2 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=2, name='value', tcv=1, tag='<value>' (constr_SEQUENCE_xer.c:243)
XER/SEQUENCE: tcv = 1, ph=0 [Reset] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv = 5, ph=1 [Reset] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='protocolIEs', tcv=1, tag='<protocolIEs>' (constr_SEQUENCE_xer.c:243)
XER/SET OF: tcv = 1, ph=0 t=protocolIEs (constr_SET_OF_xer.c:242)
XER/SET OF: tcv = 5, ph=1 t=protocolIEs (constr_SET_OF_xer.c:242)
XER/SET OF: tcv=5, ph=1 (constr_SET_OF_xer.c:267)
XER/SET OF: checking fallback, phase=1 (constr_SET_OF_xer.c:304)
XER/SET OF: accept item tag without container (phase=1) (constr_SET_OF_xer.c:306)
XER/SET OF element [ResetIEs] (constr_SET_OF_xer.c:186)
XER/SEQUENCE: tcv = 1, ph=0 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='id', tcv=1, tag='<id>' (constr_SEQUENCE_xer.c:243)
INTEGER body 2 0x37..0x38 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 1 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=1 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=1, name='criticality', tcv=1, tag='<criticality>' (constr_SEQUENCE_xer.c:243)
INTEGER body 9 0x3c..0x3e (INTEGER_xer.c:118)
Found "reject" => 0 (INTEGER_xer.c:199)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 2 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=2 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=2, name='value', tcv=1, tag='<value>' (constr_SEQUENCE_xer.c:243)
INTEGER body 1 0x30..0x30 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
Freeing TransactionID as INTEGER (2, 0x600001b8c010, Native) (NativeInteger.c:111)
Freeing Reset as SEQUENCE (constr_SEQUENCE.c:80)
Freeing ResetIEs as SEQUENCE (constr_SEQUENCE.c:80)
Freeing ProtocolIE-ID as INTEGER (1, 0x600001b8c000, Native) (NativeInteger.c:111)
Freeing Criticality as INTEGER (1, 0x600001b8c008, Native) (NativeInteger.c:111)
Freeing value as CHOICE (constr_CHOICE.c:168)
XER/CHOICE: itdf: [InitiatingMessage] code=2 (constr_CHOICE_xer.c:109)
Freeing F1AP-PDU as CHOICE (constr_CHOICE.c:168)
Freeing InitiatingMessage as SEQUENCE (constr_SEQUENCE.c:80)
Freeing ProcedureCode as INTEGER (1, 0x600001b88050, Native) (NativeInteger.c:111)
Freeing Criticality as INTEGER (1, 0x600001b88058, Native) (NativeInteger.c:111)
Freeing value as CHOICE (constr_CHOICE.c:168)
f1ap_reset_3.xer: Decode failed at byte 814: Input processing error
@copilot I was too rash declaring that decoding works - the current code seems to be able to process the entire input without crash or reporting an error, but it does not actually decode the content of the <value>......</value>, as evidenced by this:
$ ./converter-example -P -ixer -otext f1ap_reset_3.xer
XER/CHOICE checked [<F1A] vs [F1AP-PDU], tcv=1 (constr_CHOICE_xer.c:155)
XER/CHOICE checked [<ini] vs [F1AP-PDU], tcv=5 (constr_CHOICE_xer.c:155)
XER/SEQUENCE: tcv = 1, ph=0 [initiatingMessage] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv = 5, ph=1 [initiatingMessage] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='procedureCode', tcv=1, tag='<procedureCode>' (constr_SEQUENCE_xer.c:243)
INTEGER body 1 0x30..0x30 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 1 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [initiatingMessage] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=1 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=1, name='criticality', tcv=1, tag='<criticality>' (constr_SEQUENCE_xer.c:243)
INTEGER body 9 0x3c..0x3e (INTEGER_xer.c:118)
Found "reject" => 0 (INTEGER_xer.c:199)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 2 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [initiatingMessage] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=2 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=2, name='value', tcv=1, tag='<value>' (constr_SEQUENCE_xer.c:243)
OPEN_TYPE_xer_get: elm->type=value, elements=0x0, elements_count=0, selected.presence_index=1, selected.type=Reset (OPEN_TYPE_xer.c:49)
Open Type InitiatingMessage->value: using direct type mode (no CHOICE wrapper) (OPEN_TYPE_xer.c:102)
XER/SEQUENCE: tcv = 1, ph=0 [Reset] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv = 5, ph=1 [Reset] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='protocolIEs', tcv=1, tag='<protocolIEs>' (constr_SEQUENCE_xer.c:243)
XER/SET OF: tcv = 1, ph=0 t=protocolIEs (constr_SET_OF_xer.c:242)
XER/SET OF: tcv = 5, ph=1 t=protocolIEs (constr_SET_OF_xer.c:242)
XER/SET OF: tcv=5, ph=1 (constr_SET_OF_xer.c:267)
XER/SET OF: checking fallback, phase=1 (constr_SET_OF_xer.c:304)
XER/SET OF: accept item tag without container (phase=1) (constr_SET_OF_xer.c:306)
XER/SET OF element [ResetIEs] (constr_SET_OF_xer.c:186)
XER/SEQUENCE: tcv = 1, ph=0 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='id', tcv=1, tag='<id>' (constr_SEQUENCE_xer.c:243)
INTEGER body 2 0x37..0x38 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 1 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=1 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=1, name='criticality', tcv=1, tag='<criticality>' (constr_SEQUENCE_xer.c:243)
INTEGER body 9 0x3c..0x3e (INTEGER_xer.c:118)
Found "reject" => 0 (INTEGER_xer.c:199)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 2 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=2 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=2, name='value', tcv=1, tag='<value>' (constr_SEQUENCE_xer.c:243)
OPEN_TYPE_xer_get: elm->type=value, elements=0x0, elements_count=0, selected.presence_index=1, selected.type=TransactionID (OPEN_TYPE_xer.c:49)
Open Type ResetIEs->value: using direct type mode (no CHOICE wrapper) (OPEN_TYPE_xer.c:102)
INTEGER body 1 0x30..0x30 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
xer_decoder returned code=0 for TransactionID (OPEN_TYPE_xer.c:157)
Direct type mode: decode successful, no presence to set (OPEN_TYPE_xer.c:175)
OPEN_TYPE decoded: present=0 (constr_SEQUENCE_xer.c:117)
XER/SEQUENCE phase => 1, step => 3 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 2, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SET OF phase => 1 (constr_SET_OF_xer.c:202)
XER/SET OF: tcv = 5, ph=1 t=protocolIEs (constr_SET_OF_xer.c:242)
XER/SET OF: tcv=5, ph=1 (constr_SET_OF_xer.c:267)
XER/SET OF: checking fallback, phase=1 (constr_SET_OF_xer.c:304)
XER/SET OF: accept item tag without container (phase=1) (constr_SET_OF_xer.c:306)
XER/SET OF element [ResetIEs] (constr_SET_OF_xer.c:186)
XER/SEQUENCE: tcv = 1, ph=0 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='id', tcv=1, tag='<id>' (constr_SEQUENCE_xer.c:243)
INTEGER body 1 0x30..0x30 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 1 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=1 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=1, name='criticality', tcv=1, tag='<criticality>' (constr_SEQUENCE_xer.c:243)
INTEGER body 9 0x3c..0x3e (INTEGER_xer.c:118)
Found "ignore" => 1 (INTEGER_xer.c:199)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 2 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=2 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=2, name='value', tcv=1, tag='<value>' (constr_SEQUENCE_xer.c:243)
OPEN_TYPE_xer_get: elm->type=value, elements=0x0, elements_count=0, selected.presence_index=2, selected.type=Cause (OPEN_TYPE_xer.c:49)
Open Type ResetIEs->value: using direct type mode (no CHOICE wrapper) (OPEN_TYPE_xer.c:102)
XER/CHOICE checked [<Cau] vs [Cause], tcv=1 (constr_CHOICE_xer.c:155)
XER/CHOICE checked [<rad] vs [Cause], tcv=5 (constr_CHOICE_xer.c:155)
INTEGER body 14 0x3c..0x3e (INTEGER_xer.c:118)
Found "unspecified" => 0 (INTEGER_xer.c:199)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/CHOICE: itdf: [CauseRadioNetwork] code=0 (constr_CHOICE_xer.c:109)
XER/CHOICE checked [</Ca] vs [Cause], tcv=2 (constr_CHOICE_xer.c:155)
xer_decoder returned code=0 for Cause (OPEN_TYPE_xer.c:157)
Direct type mode: decode successful, no presence to set (OPEN_TYPE_xer.c:175)
OPEN_TYPE decoded: present=1 (constr_SEQUENCE_xer.c:117)
XER/SEQUENCE phase => 1, step => 3 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 2, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SET OF phase => 1 (constr_SET_OF_xer.c:202)
XER/SET OF: tcv = 5, ph=1 t=protocolIEs (constr_SET_OF_xer.c:242)
XER/SET OF: tcv=5, ph=1 (constr_SET_OF_xer.c:267)
XER/SET OF: checking fallback, phase=1 (constr_SET_OF_xer.c:304)
XER/SET OF: accept item tag without container (phase=1) (constr_SET_OF_xer.c:306)
XER/SET OF element [ResetIEs] (constr_SET_OF_xer.c:186)
XER/SEQUENCE: tcv = 1, ph=0 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='id', tcv=1, tag='<id>' (constr_SEQUENCE_xer.c:243)
INTEGER body 2 0x34..0x38 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 1 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=1 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=1, name='criticality', tcv=1, tag='<criticality>' (constr_SEQUENCE_xer.c:243)
INTEGER body 9 0x3c..0x3e (INTEGER_xer.c:118)
Found "reject" => 0 (INTEGER_xer.c:199)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 2 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=2 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=2, name='value', tcv=1, tag='<value>' (constr_SEQUENCE_xer.c:243)
OPEN_TYPE_xer_get: elm->type=value, elements=0x0, elements_count=0, selected.presence_index=3, selected.type=ResetType (OPEN_TYPE_xer.c:49)
Open Type ResetIEs->value: using direct type mode (no CHOICE wrapper) (OPEN_TYPE_xer.c:102)
XER/CHOICE checked [<Res] vs [ResetType], tcv=1 (constr_CHOICE_xer.c:155)
XER/CHOICE checked [<par] vs [ResetType], tcv=5 (constr_CHOICE_xer.c:155)
XER/SET OF: tcv = 1, ph=0 t=partOfF1-Interface (constr_SET_OF_xer.c:242)
XER/SET OF: tcv = 5, ph=1 t=partOfF1-Interface (constr_SET_OF_xer.c:242)
XER/SET OF: tcv=5, ph=1 (constr_SET_OF_xer.c:267)
XER/SET OF: checking fallback, phase=1 (constr_SET_OF_xer.c:304)
XER/SET OF: accept item tag without container (phase=1) (constr_SET_OF_xer.c:306)
XER/SET OF element [ProtocolIE-SingleContainer] (constr_SET_OF_xer.c:186)
XER/SEQUENCE: tcv = 1, ph=0 [ProtocolIE-SingleContainer] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv = 5, ph=1 [ProtocolIE-SingleContainer] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='id', tcv=1, tag='<id>' (constr_SEQUENCE_xer.c:243)
INTEGER body 2 0x38..0x30 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 1 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [ProtocolIE-SingleContainer] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=1 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=1, name='criticality', tcv=1, tag='<criticality>' (constr_SEQUENCE_xer.c:243)
INTEGER body 9 0x3c..0x3e (INTEGER_xer.c:118)
Found "reject" => 0 (INTEGER_xer.c:199)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 2 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [ProtocolIE-SingleContainer] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=2 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=2, name='value', tcv=1, tag='<value>' (constr_SEQUENCE_xer.c:243)
OPEN_TYPE_xer_get: elm->type=value, elements=0x0, elements_count=0, selected.presence_index=1, selected.type=UE-associatedLogicalF1-ConnectionItem (OPEN_TYPE_xer.c:49)
Open Type ProtocolIE-SingleContainer->value: using direct type mode (no CHOICE wrapper) (OPEN_TYPE_xer.c:102)
XER/SEQUENCE: tcv = 1, ph=0 [UE-associatedLogicalF1-ConnectionItem] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv = 5, ph=1 [UE-associatedLogicalF1-ConnectionItem] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='gNB-CU-UE-F1AP-ID', tcv=1, tag='<gNB-CU-UE-F1AP-ID>' (constr_SEQUENCE_xer.c:243)
INTEGER body 2 0x33..0x32 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 1 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [UE-associatedLogicalF1-ConnectionItem] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=1 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=1, name='gNB-DU-UE-F1AP-ID', tcv=1, tag='<gNB-DU-UE-F1AP-ID>' (constr_SEQUENCE_xer.c:243)
INTEGER body 1 0x31..0x31 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 2 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 2, ph=1 [UE-associatedLogicalF1-ConnectionItem] (constr_SEQUENCE_xer.c:158)
xer_decoder returned code=0 for UE-associatedLogicalF1-ConnectionItem (OPEN_TYPE_xer.c:157)
Direct type mode: decode successful, no presence to set (OPEN_TYPE_xer.c:175)
OPEN_TYPE decoded: present=688128 (constr_SEQUENCE_xer.c:117)
XER/SEQUENCE phase => 1, step => 3 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 2, ph=1 [ProtocolIE-SingleContainer] (constr_SEQUENCE_xer.c:158)
XER/SET OF phase => 1 (constr_SET_OF_xer.c:202)
XER/CHOICE: itdf: [UE-associatedLogicalF1-ConnectionListRes] code=0 (constr_CHOICE_xer.c:109)
XER/CHOICE checked [</Re] vs [ResetType], tcv=2 (constr_CHOICE_xer.c:155)
xer_decoder returned code=0 for ResetType (OPEN_TYPE_xer.c:157)
Direct type mode: decode successful, no presence to set (OPEN_TYPE_xer.c:175)
OPEN_TYPE decoded: present=2 (constr_SEQUENCE_xer.c:117)
XER/SEQUENCE phase => 1, step => 3 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 2, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SET OF phase => 1 (constr_SET_OF_xer.c:202)
XER/SEQUENCE phase => 1, step => 1 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 2, ph=1 [Reset] (constr_SEQUENCE_xer.c:158)
xer_decoder returned code=0 for Reset (OPEN_TYPE_xer.c:157)
Direct type mode: decode successful, no presence to set (OPEN_TYPE_xer.c:175)
OPEN_TYPE decoded: present=13254704 (constr_SEQUENCE_xer.c:117)
XER/SEQUENCE phase => 1, step => 3 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 2, ph=1 [initiatingMessage] (constr_SEQUENCE_xer.c:158)
XER/CHOICE: itdf: [InitiatingMessage] code=0 (constr_CHOICE_xer.c:109)
XER/CHOICE checked [</F1] vs [F1AP-PDU], tcv=2 (constr_CHOICE_xer.c:155)
InitiatingMessage ::= {
procedureCode: 0
criticality: 0 (reject)
value: <absent>
}
Freeing F1AP-PDU as CHOICE (constr_CHOICE.c:168)
Freeing InitiatingMessage as SEQUENCE (constr_SEQUENCE.c:80)
Freeing ProcedureCode as INTEGER (1, 0x6000021a4000, Native) (NativeInteger.c:111)
Freeing Criticality as INTEGER (1, 0x6000021a4008, Native) (NativeInteger.c:111)
Freeing value as CHOICE (constr_CHOICE.c:168)
=== Partial Decoding Results ===
<absent>
=== End of Partial Results ===
Freeing F1AP-PDU as CHOICE (constr_CHOICE.c:168)
$
Encoding seems to hit an infinite loop, upon which the program eventually crashes with SEGV.
./converter-example -P -ixer -oaper f1ap_reset_3.xer > f1ap_reset_3z.aper
XER/CHOICE checked [<F1A] vs [F1AP-PDU], tcv=1 (constr_CHOICE_xer.c:155)
XER/CHOICE checked [<ini] vs [F1AP-PDU], tcv=5 (constr_CHOICE_xer.c:155)
XER/SEQUENCE: tcv = 1, ph=0 [initiatingMessage] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv = 5, ph=1 [initiatingMessage] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='procedureCode', tcv=1, tag='<procedureCode>' (constr_SEQUENCE_xer.c:243)
INTEGER body 1 0x30..0x30 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 1 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [initiatingMessage] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=1 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=1, name='criticality', tcv=1, tag='<criticality>' (constr_SEQUENCE_xer.c:243)
INTEGER body 9 0x3c..0x3e (INTEGER_xer.c:118)
Found "reject" => 0 (INTEGER_xer.c:199)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 2 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [initiatingMessage] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=2 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=2, name='value', tcv=1, tag='<value>' (constr_SEQUENCE_xer.c:243)
OPEN_TYPE_xer_get: elm->type=value, elements=0x0, elements_count=0, selected.presence_index=1, selected.type=Reset (OPEN_TYPE_xer.c:49)
Open Type InitiatingMessage->value: using direct type mode (no CHOICE wrapper) (OPEN_TYPE_xer.c:102)
XER/SEQUENCE: tcv = 1, ph=0 [Reset] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv = 5, ph=1 [Reset] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='protocolIEs', tcv=1, tag='<protocolIEs>' (constr_SEQUENCE_xer.c:243)
XER/SET OF: tcv = 1, ph=0 t=protocolIEs (constr_SET_OF_xer.c:242)
XER/SET OF: tcv = 5, ph=1 t=protocolIEs (constr_SET_OF_xer.c:242)
XER/SET OF: tcv=5, ph=1 (constr_SET_OF_xer.c:267)
XER/SET OF: checking fallback, phase=1 (constr_SET_OF_xer.c:304)
XER/SET OF: accept item tag without container (phase=1) (constr_SET_OF_xer.c:306)
XER/SET OF element [ResetIEs] (constr_SET_OF_xer.c:186)
XER/SEQUENCE: tcv = 1, ph=0 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='id', tcv=1, tag='<id>' (constr_SEQUENCE_xer.c:243)
INTEGER body 2 0x37..0x38 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 1 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=1 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=1, name='criticality', tcv=1, tag='<criticality>' (constr_SEQUENCE_xer.c:243)
INTEGER body 9 0x3c..0x3e (INTEGER_xer.c:118)
Found "reject" => 0 (INTEGER_xer.c:199)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 2 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=2 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=2, name='value', tcv=1, tag='<value>' (constr_SEQUENCE_xer.c:243)
OPEN_TYPE_xer_get: elm->type=value, elements=0x0, elements_count=0, selected.presence_index=1, selected.type=TransactionID (OPEN_TYPE_xer.c:49)
Open Type ResetIEs->value: using direct type mode (no CHOICE wrapper) (OPEN_TYPE_xer.c:102)
INTEGER body 1 0x30..0x30 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
xer_decoder returned code=0 for TransactionID (OPEN_TYPE_xer.c:157)
Direct type mode: decode successful, no presence to set (OPEN_TYPE_xer.c:175)
OPEN_TYPE decoded: present=0 (constr_SEQUENCE_xer.c:117)
XER/SEQUENCE phase => 1, step => 3 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 2, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SET OF phase => 1 (constr_SET_OF_xer.c:202)
XER/SET OF: tcv = 5, ph=1 t=protocolIEs (constr_SET_OF_xer.c:242)
XER/SET OF: tcv=5, ph=1 (constr_SET_OF_xer.c:267)
XER/SET OF: checking fallback, phase=1 (constr_SET_OF_xer.c:304)
XER/SET OF: accept item tag without container (phase=1) (constr_SET_OF_xer.c:306)
XER/SET OF element [ResetIEs] (constr_SET_OF_xer.c:186)
XER/SEQUENCE: tcv = 1, ph=0 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='id', tcv=1, tag='<id>' (constr_SEQUENCE_xer.c:243)
INTEGER body 1 0x30..0x30 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 1 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=1 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=1, name='criticality', tcv=1, tag='<criticality>' (constr_SEQUENCE_xer.c:243)
INTEGER body 9 0x3c..0x3e (INTEGER_xer.c:118)
Found "ignore" => 1 (INTEGER_xer.c:199)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 2 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=2 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=2, name='value', tcv=1, tag='<value>' (constr_SEQUENCE_xer.c:243)
OPEN_TYPE_xer_get: elm->type=value, elements=0x0, elements_count=0, selected.presence_index=2, selected.type=Cause (OPEN_TYPE_xer.c:49)
Open Type ResetIEs->value: using direct type mode (no CHOICE wrapper) (OPEN_TYPE_xer.c:102)
XER/CHOICE checked [<Cau] vs [Cause], tcv=1 (constr_CHOICE_xer.c:155)
XER/CHOICE checked [<rad] vs [Cause], tcv=5 (constr_CHOICE_xer.c:155)
INTEGER body 14 0x3c..0x3e (INTEGER_xer.c:118)
Found "unspecified" => 0 (INTEGER_xer.c:199)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/CHOICE: itdf: [CauseRadioNetwork] code=0 (constr_CHOICE_xer.c:109)
XER/CHOICE checked [</Ca] vs [Cause], tcv=2 (constr_CHOICE_xer.c:155)
xer_decoder returned code=0 for Cause (OPEN_TYPE_xer.c:157)
Direct type mode: decode successful, no presence to set (OPEN_TYPE_xer.c:175)
OPEN_TYPE decoded: present=1 (constr_SEQUENCE_xer.c:117)
XER/SEQUENCE phase => 1, step => 3 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 2, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SET OF phase => 1 (constr_SET_OF_xer.c:202)
XER/SET OF: tcv = 5, ph=1 t=protocolIEs (constr_SET_OF_xer.c:242)
XER/SET OF: tcv=5, ph=1 (constr_SET_OF_xer.c:267)
XER/SET OF: checking fallback, phase=1 (constr_SET_OF_xer.c:304)
XER/SET OF: accept item tag without container (phase=1) (constr_SET_OF_xer.c:306)
XER/SET OF element [ResetIEs] (constr_SET_OF_xer.c:186)
XER/SEQUENCE: tcv = 1, ph=0 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='id', tcv=1, tag='<id>' (constr_SEQUENCE_xer.c:243)
INTEGER body 2 0x34..0x38 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 1 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=1 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=1, name='criticality', tcv=1, tag='<criticality>' (constr_SEQUENCE_xer.c:243)
INTEGER body 9 0x3c..0x3e (INTEGER_xer.c:118)
Found "reject" => 0 (INTEGER_xer.c:199)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 2 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=2 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=2, name='value', tcv=1, tag='<value>' (constr_SEQUENCE_xer.c:243)
OPEN_TYPE_xer_get: elm->type=value, elements=0x0, elements_count=0, selected.presence_index=3, selected.type=ResetType (OPEN_TYPE_xer.c:49)
Open Type ResetIEs->value: using direct type mode (no CHOICE wrapper) (OPEN_TYPE_xer.c:102)
XER/CHOICE checked [<Res] vs [ResetType], tcv=1 (constr_CHOICE_xer.c:155)
XER/CHOICE checked [<par] vs [ResetType], tcv=5 (constr_CHOICE_xer.c:155)
XER/SET OF: tcv = 1, ph=0 t=partOfF1-Interface (constr_SET_OF_xer.c:242)
XER/SET OF: tcv = 5, ph=1 t=partOfF1-Interface (constr_SET_OF_xer.c:242)
XER/SET OF: tcv=5, ph=1 (constr_SET_OF_xer.c:267)
XER/SET OF: checking fallback, phase=1 (constr_SET_OF_xer.c:304)
XER/SET OF: accept item tag without container (phase=1) (constr_SET_OF_xer.c:306)
XER/SET OF element [ProtocolIE-SingleContainer] (constr_SET_OF_xer.c:186)
XER/SEQUENCE: tcv = 1, ph=0 [ProtocolIE-SingleContainer] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv = 5, ph=1 [ProtocolIE-SingleContainer] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='id', tcv=1, tag='<id>' (constr_SEQUENCE_xer.c:243)
INTEGER body 2 0x38..0x30 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 1 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [ProtocolIE-SingleContainer] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=1 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=1, name='criticality', tcv=1, tag='<criticality>' (constr_SEQUENCE_xer.c:243)
INTEGER body 9 0x3c..0x3e (INTEGER_xer.c:118)
Found "reject" => 0 (INTEGER_xer.c:199)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 2 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [ProtocolIE-SingleContainer] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=2 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=2, name='value', tcv=1, tag='<value>' (constr_SEQUENCE_xer.c:243)
OPEN_TYPE_xer_get: elm->type=value, elements=0x0, elements_count=0, selected.presence_index=1, selected.type=UE-associatedLogicalF1-ConnectionItem (OPEN_TYPE_xer.c:49)
Open Type ProtocolIE-SingleContainer->value: using direct type mode (no CHOICE wrapper) (OPEN_TYPE_xer.c:102)
XER/SEQUENCE: tcv = 1, ph=0 [UE-associatedLogicalF1-ConnectionItem] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv = 5, ph=1 [UE-associatedLogicalF1-ConnectionItem] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=0 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=0, name='gNB-CU-UE-F1AP-ID', tcv=1, tag='<gNB-CU-UE-F1AP-ID>' (constr_SEQUENCE_xer.c:243)
INTEGER body 2 0x33..0x32 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 1 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 5, ph=1 [UE-associatedLogicalF1-ConnectionItem] (constr_SEQUENCE_xer.c:158)
XER/SEQUENCE: tcv=5, ph=1, edx=1 (constr_SEQUENCE_xer.c:211)
XER/SEQUENCE: Checking member n=1, name='gNB-DU-UE-F1AP-ID', tcv=1, tag='<gNB-DU-UE-F1AP-ID>' (constr_SEQUENCE_xer.c:243)
INTEGER body 1 0x31..0x31 (INTEGER_xer.c:118)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
XER/SEQUENCE phase => 1, step => 2 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 2, ph=1 [UE-associatedLogicalF1-ConnectionItem] (constr_SEQUENCE_xer.c:158)
xer_decoder returned code=0 for UE-associatedLogicalF1-ConnectionItem (OPEN_TYPE_xer.c:157)
Direct type mode: decode successful, no presence to set (OPEN_TYPE_xer.c:175)
OPEN_TYPE decoded: present=16531456 (constr_SEQUENCE_xer.c:117)
XER/SEQUENCE phase => 1, step => 3 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 2, ph=1 [ProtocolIE-SingleContainer] (constr_SEQUENCE_xer.c:158)
XER/SET OF phase => 1 (constr_SET_OF_xer.c:202)
XER/CHOICE: itdf: [UE-associatedLogicalF1-ConnectionListRes] code=0 (constr_CHOICE_xer.c:109)
XER/CHOICE checked [</Re] vs [ResetType], tcv=2 (constr_CHOICE_xer.c:155)
xer_decoder returned code=0 for ResetType (OPEN_TYPE_xer.c:157)
Direct type mode: decode successful, no presence to set (OPEN_TYPE_xer.c:175)
OPEN_TYPE decoded: present=2 (constr_SEQUENCE_xer.c:117)
XER/SEQUENCE phase => 1, step => 3 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 2, ph=1 [ResetIEs] (constr_SEQUENCE_xer.c:158)
XER/SET OF phase => 1 (constr_SET_OF_xer.c:202)
XER/SEQUENCE phase => 1, step => 1 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 2, ph=1 [Reset] (constr_SEQUENCE_xer.c:158)
xer_decoder returned code=0 for Reset (OPEN_TYPE_xer.c:157)
Direct type mode: decode successful, no presence to set (OPEN_TYPE_xer.c:175)
OPEN_TYPE decoded: present=3997696 (constr_SEQUENCE_xer.c:117)
XER/SEQUENCE phase => 1, step => 3 (constr_SEQUENCE_xer.c:132)
XER/SEQUENCE: tcv = 2, ph=1 [initiatingMessage] (constr_SEQUENCE_xer.c:158)
XER/CHOICE: itdf: [InitiatingMessage] code=0 (constr_CHOICE_xer.c:109)
XER/CHOICE checked [</F1] vs [F1AP-PDU], tcv=2 (constr_CHOICE_xer.c:155)
Encoding F1AP-PDU as CHOICE using ALIGNED PER (constr_CHOICE_aper.c:114)
Encoding F1AP-PDU CHOICE element 0 (constr_CHOICE_aper.c:139)
CHOICE member "initiatingMessage" 0 (as 0) (constr_CHOICE_aper.c:165)
[PER put 2 bits 0 to 0x7ff7b0e8c890+0 bits] (asn_bit_data.c:200)
[PER out 2 0/0 (t=0,o=2) 8&0=0] (asn_bit_data.c:243)
[PER out 0/0 => 00 buf+0] (asn_bit_data.c:274)
Encoding InitiatingMessage as SEQUENCE (APER) (constr_SEQUENCE_aper.c:351)
first_extension = -1, elements = 3 (constr_SEQUENCE_aper.c:404)
About to encode ProcedureCode (constr_SEQUENCE_aper.c:416)
Encoding InitiatingMessage->procedureCode (constr_SEQUENCE_aper.c:438)
Encoding NativeInteger ProcedureCode 0 (APER) (NativeInteger_aper.c:59)
Value 0 (00/1) lb 0 ub 255 fix (INTEGER_aper.c:235)
Encoding integer 0 (0) with range 8 bits (INTEGER_aper.c:253)
Aligning 6 bits (aper_support.c:198)
[PER put 6 bits 0 to 0x7ff7b0e8c890+2 bits] (asn_bit_data.c:200)
[PER out 6 0/0 (t=2,o=8) 0&c0=0] (asn_bit_data.c:243)
[PER out 0/0 => 00 buf+0] (asn_bit_data.c:274)
[PER put 8 bits 0 to 0x7ff7b0e8c890+8 bits] (asn_bit_data.c:200)
[PER out 8 0/0 (t=0,o=8) 40&0=0] (asn_bit_data.c:243)
[PER out 0/0 => 00 buf+1] (asn_bit_data.c:274)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:16)
About to encode Criticality (constr_SEQUENCE_aper.c:416)
Encoding InitiatingMessage->criticality (constr_SEQUENCE_aper.c:438)
Encoding Criticality as NativeEnumerated (NativeEnumerated_aper.c:106)
[PER put 2 bits 0 to 0x7ff7b0e8c891+8 bits] (asn_bit_data.c:200)
[PER out 2 0/0 (t=0,o=2) 3d&0=0] (asn_bit_data.c:243)
[PER out 0/0 => 00 buf+2] (asn_bit_data.c:274)
About to encode value (constr_SEQUENCE_aper.c:416)
Encoding InitiatingMessage->value (constr_SEQUENCE_aper.c:438)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
. . . . .
Encoding value OPEN TYPE in direct type mode (OPEN_TYPE_aper.c:171)
Open type put value ... (aper_opentype.c:97)
[ ... 22486 of such "Encoding value/Open type put value" line pairs ... ]
Segmentation fault: 11
This is from debugger:
frame #668: 0x00000001000d95a1 converter-example`OPEN_TYPE_encode_aper(td=0x0000000100255bb8, constraints=0x000000010014f5d8, sptr=0x0000600001fd4010, po=0x00007ff7bf71f2d8) at OPEN_TYPE_aper.c:175:12
frame #669: 0x00000001000ce0d4 converter-example`aper_encode(td=0x0000000100255bb8, constraints=0x000000010014f5d8, sptr=0x0000600001fd4010, cb=(converter-example`encode_dyn_cb at per_encoder.c:13), app_key=0x00007ff7bf71f370) at aper_encoder.c:115:7
frame #670: 0x00000001000ce369 converter-example`aper_encode_to_new_buffer(td=0x0000000100255bb8, constraints=0x000000010014f5d8, sptr=0x0000600001fd4010, buffer_r=0x00007ff7bf71f410) at aper_encoder.c:48:7
frame #671: 0x00000001000cf9b6 converter-example`aper_open_type_put(td=0x0000000100255bb8, constraints=0x000000010014f5d8, sptr=0x0000600001fd4010, po=0x00007ff7bf71f5c8) at aper_opentype.c:99:9
frame #672: 0x00000001000d95a1 converter-example`OPEN_TYPE_encode_aper(td=0x0000000100255bb8, constraints=0x000000010014f5d8, sptr=0x0000600001fd4010, po=0x00007ff7bf71f5c8) at OPEN_TYPE_aper.c:175:12
frame #673: 0x00000001000ce0d4 converter-example`aper_encode(td=0x0000000100255bb8, constraints=0x000000010014f5d8, sptr=0x0000600001fd4010, cb=(converter-example`encode_dyn_cb at per_encoder.c:13), app_key=0x00007ff7bf71f660) at aper_encoder.c:115:7
Closed by #70