Segmentation fault when using ReadPipeUIntArray via Python

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Segmentation fault when using ReadPipeUIntArray via Python

75 Views
tschue-nxt
Contributor I

Hi,

I am running into issues currently where I want to use a pipe to stream data packets (header+payload) from target to host.

When using ReadPipeUIntArray to read the binary data I am running into fmlite crashes frequently. I attached a python example and fmlite output as reference.

Thanks in advance

0 Kudos
Reply
3 Replies

51 Views
iulian_stan
NXP Employee
NXP Employee

Hi @tschue-nxt,

We are looking into this issue and will get back to you once we have an update.

34 Views
iulian_stan
NXP Employee
NXP Employee

Hi @tschue-nxt,

Could you check the attached fmlite binary and let us know if it works in your case.

0 Kudos
Reply

29 Views
tschue-nxt
Contributor I
Hi @iulian_stan,

looks good, working smoothly for quite some minutes now. Thanks for the fast fix!
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2396758%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ESegmentation%20fault%20when%20using%20ReadPipeUIntArray%20via%20Python%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2396758%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20am%20running%20into%20issues%20currently%20where%20I%20want%20to%20use%20a%20pipe%20to%20stream%20data%20packets%20(header%2Bpayload)%20from%20target%20to%20host.%3C%2FP%3E%3CP%3EWhen%20using%20ReadPipeUIntArray%20to%20read%20the%20binary%20data%20I%20am%20running%20into%20fmlite%20crashes%20frequently.%20I%20attached%20a%20python%20example%20and%20fmlite%20output%20as%20reference.%3C%2FP%3E%3CP%3EThanks%20in%20advance%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2396868%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Segmentation%20fault%20when%20using%20ReadPipeUIntArray%20via%20Python%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2396868%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F264373%22%20target%3D%22_blank%22%3E%40tschue-nxt%3C%2FA%3E%2C%3C%2FP%3E%0A%3CDIV%3EWe%20are%20looking%20into%20this%20issue%20and%20will%20get%20back%20to%20you%20once%20we%20have%20an%20update.%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2397259%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Segmentation%20fault%20when%20using%20ReadPipeUIntArray%20via%20Python%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2397259%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F264373%22%20target%3D%22_blank%22%3E%40tschue-nxt%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3ECould%20you%20check%20the%20attached%20fmlite%20binary%20and%20let%20us%20know%20if%20it%20works%20in%20your%20case.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2397339%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Segmentation%20fault%20when%20using%20ReadPipeUIntArray%20via%20Python%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2397339%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F100557%22%20target%3D%22_blank%22%3E%40iulian_stan%3C%2FA%3E%2C%3CBR%20%2F%3E%3CBR%20%2F%3Elooks%20good%2C%20working%20smoothly%20for%20quite%20some%20minutes%20now.%20Thanks%20for%20the%20fast%20fix!%3C%2FLINGO-BODY%3E