From 5ebdbf9f2d99a675844d5a63f02876a807d94859 Mon Sep 17 00:00:00 2001 From: Cedric Roux Date: Mon, 19 Dec 2016 12:25:35 +0100 Subject: [PATCH] integration fix: align32 missing (NOT DEFINITIVE!) We have a crash: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff7387d700 (LWP 1944)] ulsch_decoding (eNB=eNB@entry=0x7fffaf73b010, proc=proc@entry=0x7fffaf73b480, UE_id=UE_id@entry=0 '\000', control_only_flag=control_only_flag@entry=0 '\000', Nbundled=, llr8_flag=) at /roux/merge/openairinterface5g/openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c:1450 1450 *((__m256i *)&ulsch_harq->e[iprime]) = *((__m256i *)&y[j2]); This commit reduces the apparition of the crash, but does not eliminate it completely. To be fixed after integration. --- openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c b/openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c index 7f4f4cf5f6..68f3abc094 100644 --- a/openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c +++ b/openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c @@ -872,7 +872,7 @@ unsigned int ulsch_decoding(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc, int16_t ys,c; uint32_t wACK_idx; uint8_t dummy_w_cc[3*(MAX_CQI_BITS+8+32)]; - int16_t y[6*14*1200]; + int16_t y[6*14*1200] __attribute__((aligned(32))); uint8_t ytag[14*1200]; // uint8_t ytag2[6*14*1200],*ytag2_ptr; int16_t cseq[6*14*1200];