[srslte-users] Segmentation Fault for srsUE tests
jan acosta
acosta.janp at gmail.com
Wed Jul 26 13:45:37 UTC 2017
Hi yes! That worked. Thank you.
- Jan
On Tue, Jul 25, 2017 at 1:43 AM, Andre Puschmann <
andre.puschmann at softwareradiosystems.com> wrote:
> Jan,
>
> please excuse the late reply. I've fixed the issue and pushed an update
> to master. Could you check if that works for you?
>
> Thanks again for reporting the issue.
>
> Cheers
> Andre
>
>
>
> On 20.07.2017 08:26, jan acosta wrote:
> > Hi sorry I forgot to respond to the entire list.
> >
> > Yes I am using the latest master.
> >
> > The tests in srsue for ue_itf_test_sib1 and prach under phy doesn't
> > work. However, the ip_test works in srsue/upper.
> >
> > I ran valgrind on the ue_itf_test_sib1 and here is the output. It looks
> > like it is reading some values that have not been unintialized. I am
> > thinking this has something to do the multi threading?
> >
> > Opening USRP with args: type=b200
> > -- Detected Device: B210
> > -- Operating over USB 3.
> > -- Initialize CODEC control...
> > -- Initialize Radio control...
> > -- Performing register loopback test... pass
> > -- Performing register loopback test... pass
> > -- Performing CODEC loopback test... pass
> > -- Performing CODEC loopback test... pass
> > -- Asking for clock rate 16.000000 MHz...
> > -- Actually got clock rate 16.000000 MHz.
> > -- Performing timer loopback test... pass
> > -- Performing timer loopback test... pass
> > -- Setting master clock rate selection to 'automatic'.
> > -- Asking for clock rate 32.000000 MHz...
> > -- Actually got clock rate 32.000000 MHz.
> > -- Performing timer loopback test... pass
> > -- Performing timer loopback test... pass
> > Searching for cell...
> > Using Volk machine: avx2_64_mmx_orc
> > Found CELL ID: 1 CP: Normal , CFO: 0.2 KHz.
> > Trying to decode MIB...
> > ==6617== Thread 8:
> > ==6617== Invalid read of size 16
> > ==6617== at 0x13A4F6A6: ??? (in /usr/lib/x86_64-linux-gnu/
> libvolk.so.1.1)
> > ==6617== by 0x46441D: srslte_vec_dot_prod_conj_ccc (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x4644D0: srslte_vec_avg_power_cf (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x434FAE: srslte_chest_dl_estimate_port (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x4350F2: srslte_chest_dl_estimate (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x46E9B9: srslte_ue_mib_decode (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x46EF23: srslte_ue_mib_sync_decode (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42A0C2: srsue::phch_recv::cell_search(int) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42B7D3: srsue::phch_recv::run_thread() (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42C888: thread::thread_function_entry(void*) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x12E5F6B9: start_thread (pthread_create.c:333)
> > ==6617== by 0x146C03DC: clone (clone.S:109)
> > ==6617== Address 0x2307c880 is 0 bytes after a block of size 384 alloc'd
> > ==6617== at 0x12C4DFC6: memalign (in
> > /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==6617== by 0x12C4E0D1: posix_memalign (in
> > /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==6617== by 0x462D22: srslte_vec_malloc (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x434626: srslte_chest_dl_init (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x46E8EB: srslte_ue_mib_init (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x46ED30: srslte_ue_mib_sync_init_multi (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x429E13: srsue::phch_recv::cell_search(int) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42B7D3: srsue::phch_recv::run_thread() (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42C888: thread::thread_function_entry(void*) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x12E5F6B9: start_thread (pthread_create.c:333)
> > ==6617== by 0x146C03DC: clone (clone.S:109)
> > ==6617==
> > ==6617== Invalid read of size 16
> > ==6617== at 0x13A4F6B8: ??? (in /usr/lib/x86_64-linux-gnu/
> libvolk.so.1.1)
> > ==6617== by 0x46441D: srslte_vec_dot_prod_conj_ccc (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x4644D0: srslte_vec_avg_power_cf (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x434FAE: srslte_chest_dl_estimate_port (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x4350F2: srslte_chest_dl_estimate (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x46E9B9: srslte_ue_mib_decode (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x46EF23: srslte_ue_mib_sync_decode (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42A0C2: srsue::phch_recv::cell_search(int) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42B7D3: srsue::phch_recv::run_thread() (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42C888: thread::thread_function_entry(void*) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x12E5F6B9: start_thread (pthread_create.c:333)
> > ==6617== by 0x146C03DC: clone (clone.S:109)
> > ==6617== Address 0x2307c880 is 0 bytes after a block of size 384 alloc'd
> > ==6617== at 0x12C4DFC6: memalign (in
> > /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==6617== by 0x12C4E0D1: posix_memalign (in
> > /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==6617== by 0x462D22: srslte_vec_malloc (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x434626: srslte_chest_dl_init (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x46E8EB: srslte_ue_mib_init (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x46ED30: srslte_ue_mib_sync_init_multi (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x429E13: srsue::phch_recv::cell_search(int) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42B7D3: srsue::phch_recv::run_thread() (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42C888: thread::thread_function_entry(void*) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x12E5F6B9: start_thread (pthread_create.c:333)
> > ==6617== by 0x146C03DC: clone (clone.S:109)
> > ==6617==
> > ==6617== Invalid read of size 16
> > ==6617== at 0x13A4F6A6: ??? (in /usr/lib/x86_64-linux-gnu/
> libvolk.so.1.1)
> > ==6617== by 0x46441D: srslte_vec_dot_prod_conj_ccc (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x4644D0: srslte_vec_avg_power_cf (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x434D9D: srslte_chest_dl_estimate_port (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x4350F2: srslte_chest_dl_estimate (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x46E9B9: srslte_ue_mib_decode (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x46EF23: srslte_ue_mib_sync_decode (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42A0C2: srsue::phch_recv::cell_search(int) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42B7D3: srsue::phch_recv::run_thread() (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42C888: thread::thread_function_entry(void*) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x12E5F6B9: start_thread (pthread_create.c:333)
> > ==6617== by 0x146C03DC: clone (clone.S:109)
> > ==6617== Address 0x203e7880 is 0 bytes after a block of size 384 alloc'd
> > ==6617== at 0x12C4DFC6: memalign (in
> > /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==6617== by 0x12C4E0D1: posix_memalign (in
> > /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==6617== by 0x462D22: srslte_vec_malloc (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x434689: srslte_chest_dl_init (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x46E8EB: srslte_ue_mib_init (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x46ED30: srslte_ue_mib_sync_init_multi (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x429E13: srsue::phch_recv::cell_search(int) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42B7D3: srsue::phch_recv::run_thread() (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42C888: thread::thread_function_entry(void*) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x12E5F6B9: start_thread (pthread_create.c:333)
> > ==6617== by 0x146C03DC: clone (clone.S:109)
> > ==6617==
> > ==6617== Invalid read of size 16
> > ==6617== at 0x13A4F6B8: ??? (in /usr/lib/x86_64-linux-gnu/
> libvolk.so.1.1)
> > ==6617== by 0x46441D: srslte_vec_dot_prod_conj_ccc (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x4644D0: srslte_vec_avg_power_cf (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x434D9D: srslte_chest_dl_estimate_port (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x4350F2: srslte_chest_dl_estimate (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x46E9B9: srslte_ue_mib_decode (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x46EF23: srslte_ue_mib_sync_decode (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42A0C2: srsue::phch_recv::cell_search(int) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42B7D3: srsue::phch_recv::run_thread() (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42C888: thread::thread_function_entry(void*) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x12E5F6B9: start_thread (pthread_create.c:333)
> > ==6617== by 0x146C03DC: clone (clone.S:109)
> > ==6617== Address 0x203e7880 is 0 bytes after a block of size 384 alloc'd
> > ==6617== at 0x12C4DFC6: memalign (in
> > /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==6617== by 0x12C4E0D1: posix_memalign (in
> > /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==6617== by 0x462D22: srslte_vec_malloc (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x434689: srslte_chest_dl_init (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x46E8EB: srslte_ue_mib_init (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x46ED30: srslte_ue_mib_sync_init_multi (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x429E13: srsue::phch_recv::cell_search(int) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42B7D3: srsue::phch_recv::run_thread() (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42C888: thread::thread_function_entry(void*) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x12E5F6B9: start_thread (pthread_create.c:333)
> > ==6617== by 0x146C03DC: clone (clone.S:109)
> > ==6617==
> > - Cell ID: 1
> > - Nof ports: 2
> > - CP: Normal
> > - PRB: 50
> > - PHICH Length: Normal
> > - PHICH Resources: 1
> > - SFN: 0
> > BCH decoded
> > Initializating cell configuration...
> > Setting Sampling frequency 11.52 MHz
> > Setting TX/RX offset 120 samples, 10.42 us
> > ==6617== Invalid read of size 4
> > ==6617== at 0x45C81A: srslte_cexptab_gen (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x45A3AD: srslte_cfo_correct (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x457CF6: srslte_sync_find (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x46D8AE: srslte_ue_sync_zerocopy_multi (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42A777: srsue::phch_recv::sync_sfn() (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42B70C: srsue::phch_recv::run_thread() (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42C888: thread::thread_function_entry(void*) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x12E5F6B9: start_thread (pthread_create.c:333)
> > ==6617== by 0x146C03DC: clone (clone.S:109)
> > ==6617== Address 0x232570e0 is 0 bytes after a block of size 32,768
> alloc'd
> > ==6617== at 0x12C4BB8F: malloc (in
> > /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==6617== by 0x45C57F: srslte_cexptab_init (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x45A273: srslte_cfo_init (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x457040: srslte_sync_init_decim (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x46E45B: srslte_ue_sync_init_multi_decim (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x428D6C: srsue::phch_recv::init_cell() (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42B891: srsue::phch_recv::run_thread() (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42C888: thread::thread_function_entry(void*) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x12E5F6B9: start_thread (pthread_create.c:333)
> > ==6617== by 0x146C03DC: clone (clone.S:109)
> > ==6617==
> > ==6617== Invalid read of size 4
> > ==6617== at 0x45C820: srslte_cexptab_gen (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x45A3AD: srslte_cfo_correct (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x457CF6: srslte_sync_find (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x46D8AE: srslte_ue_sync_zerocopy_multi (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42A777: srsue::phch_recv::sync_sfn() (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42B70C: srsue::phch_recv::run_thread() (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42C888: thread::thread_function_entry(void*) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x12E5F6B9: start_thread (pthread_create.c:333)
> > ==6617== by 0x146C03DC: clone (clone.S:109)
> > ==6617== Address 0x232570e4 is 4 bytes after a block of size 32,768
> alloc'd
> > ==6617== at 0x12C4BB8F: malloc (in
> > /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> > ==6617== by 0x45C57F: srslte_cexptab_init (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x45A273: srslte_cfo_init (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x457040: srslte_sync_init_decim (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x46E45B: srslte_ue_sync_init_multi_decim (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x428D6C: srsue::phch_recv::init_cell() (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42B891: srsue::phch_recv::run_thread() (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42C888: thread::thread_function_entry(void*) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x12E5F6B9: start_thread (pthread_create.c:333)
> > ==6617== by 0x146C03DC: clone (clone.S:109)
> > ==6617==
> > ==6617== Thread 6:
> > ==6617== Conditional jump or move depends on uninitialised value(s)
> > ==6617== at 0x42024B:
> > srsue::phch_worker::decode_pdcch_ul(srsue::mac_interface_
> phy::mac_grant_t*)
> > (in /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/
> ue_itf_test_sib1)
> > ==6617== by 0x426422: srsue::phch_worker::work_imp() (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42F180: srslte::thread_pool::worker::run_thread() (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42C888: thread::thread_function_entry(void*) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x12E5F6B9: start_thread (pthread_create.c:333)
> > ==6617== by 0x146C03DC: clone (clone.S:109)
> > ==6617== Uninitialised value was created by a stack allocation
> > ==6617== at 0x42612A: srsue::phch_worker::work_imp() (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617==
> > ==6617== Thread 8:
> > ==6617== Invalid read of size 8
> > ==6617== at 0x42C43D: srsue::phch_recv::run_thread() (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42C888: thread::thread_function_entry(void*) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x12E5F6B9: start_thread (pthread_create.c:333)
> > ==6617== by 0x146C03DC: clone (clone.S:109)
> > ==6617== Address 0x0 is not stack'd, malloc'd or (recently) free'd
> > ==6617==
> > ==6617==
> > ==6617== Process terminating with default action of signal 11 (SIGSEGV)
> > ==6617== Access not within mapped region at address 0x0
> > ==6617== at 0x42C43D: srsue::phch_recv::run_thread() (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x42C888: thread::thread_function_entry(void*) (in
> > /home/cewgroup/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_test_sib1)
> > ==6617== by 0x12E5F6B9: start_thread (pthread_create.c:333)
> > ==6617== by 0x146C03DC: clone (clone.S:109)
> > ==6617== If you believe this happened as a result of a stack
> > ==6617== overflow in your program's main thread (unlikely but
> > ==6617== possible), you can try to increase the size of the
> > ==6617== main thread stack using the --main-stacksize= flag.
> > ==6617== The main thread stack size used in this run was 8388608.
> > ==6617== 100.0 % PDSCH BLER 100.0 % (total pkts: 1) Gain: 76.0 dB
> > ==6617== HEAP SUMMARY:
> > ==6617== in use at exit: 33,156,080 bytes in 8,172 blocks
> > ==6617== total heap usage: 1,715,611 allocs, 1,707,439 frees,
> > 430,813,272 bytes allocated
> > ==6617==
> > ==6617== LEAK SUMMARY:
> > ==6617== definitely lost: 0 bytes in 0 blocks
> > ==6617== indirectly lost: 0 bytes in 0 blocks
> > ==6617== possibly lost: 36,169 bytes in 157 blocks
> > ==6617== still reachable: 33,119,911 bytes in 8,015 blocks
> > ==6617== of which reachable via heuristic:
> > ==6617== newarray : 1,536 bytes in 16
> > blocks
> > ==6617== suppressed: 0 bytes in 0 blocks
> > ==6617== Rerun with --leak-check=full to see details of leaked memory
> > ==6617==
> > ==6617== For counts of detected and suppressed errors, rerun with: -v
> > ==6617== ERROR SUMMARY: 11610 errors from 8 contexts (suppressed: 0 from
> 0)
> > fish: “valgrind --track-origins=yes ./…” terminated by signal SIGKILL
> > (Forced quit)
> >
> >
> > On Wed, Jul 19, 2017 at 6:18 AM, Andre Puschmann
> > <andre.puschmann at softwareradiosystems.com
> > <mailto:andre.puschmann at softwareradiosystems.com>> wrote:
> >
> > Hi Jan,
> > Is this with the latest master with the patch from last week?
> > Thanks
> > Andre
> >
> >
> > On July 18, 2017 4:59:07 AM GMT+02:00, jan acosta
> > <acosta.janp at gmail.com <mailto:acosta.janp at gmail.com>> wrote:
> >
> > Hello,
> >
> > I am getting a segmentation Fault for the ue_itf_test_sib1,
> > ue_itf_test_prach, and mac_test. They all have very similar
> > outputs as below. I'm not sure what the problem is. Below is
> > the gdb backtrace.
> >
> > I'm using a B210 and when I ran benchmark_rate from uhd I am
> > getting a steady 30 MHz IO.
> >
> > Please take a look. Thanks.
> >
> > Starting program:
> > /home/group/git-srsLTE/srsLTE/build/srsue/test/phy/ue_itf_
> test_sib1
> > -f 1.8425e9
> > [Thread debugging using libthread_db enabled]
> > Using host libthread_db library
> > "/lib/x86_64-linux-gnu/libthread_db.so.1".
> > linux; GNU C++ version 5.3.1 20151219; Boost_105800;
> > UHD_003.009.002-0-unknown
> >
> > [New Thread 0x7fffeaba8700 (LWP 30802)]
> > [New Thread 0x7fffea3a7700 (LWP 30803)]
> > [Thread 0x7fffea3a7700 (LWP 30803) exited]
> > [Thread 0x7fffeaba8700 (LWP 30802) exited]
> > [New Thread 0x7fffeaba8700 (LWP 30818)]
> > [New Thread 0x7fffea3a7700 (LWP 30819)]
> > [Thread 0x7fffea3a7700 (LWP 30819) exited]
> > [Thread 0x7fffeaba8700 (LWP 30818) exited]
> > [New Thread 0x7fffeaba8700 (LWP 30820)]
> > [New Thread 0x7fffea3a7700 (LWP 30821)]
> > [Thread 0x7fffea3a7700 (LWP 30821) exited]
> > [Thread 0x7fffeaba8700 (LWP 30820) exited]
> > [New Thread 0x7fffeaba8700 (LWP 30822)]
> > [New Thread 0x7fffea3a7700 (LWP 30823)]
> > [Thread 0x7fffea3a7700 (LWP 30823) exited]
> > [Thread 0x7fffeaba8700 (LWP 30822) exited]
> > Opening USRP with args: type=b200
> > [New Thread 0x7fffeaba8700 (LWP 30824)]
> > [New Thread 0x7fffea3a7700 (LWP 30825)]
> > [Thread 0x7fffea3a7700 (LWP 30825) exited]
> > [Thread 0x7fffeaba8700 (LWP 30824) exited]
> > [New Thread 0x7fffeaba8700 (LWP 30826)]
> > [New Thread 0x7fffea3a7700 (LWP 30827)]
> > [Thread 0x7fffea3a7700 (LWP 30827) exited]
> > [Thread 0x7fffeaba8700 (LWP 30826) exited]
> > [New Thread 0x7fffeaba8700 (LWP 30828)]
> > [New Thread 0x7fffea3a7700 (LWP 30829)]
> > -- Detected Device: B210
> > -- Operating over USB 3.
> > [New Thread 0x7fffe9994700 (LWP 30830)]
> > -- Initialize CODEC control...
> > -- Initialize Radio control...
> > -- Performing register loopback test... pass
> > -- Performing register loopback test... pass
> > -- Performing CODEC loopback test... pass
> > -- Performing CODEC loopback test... pass
> > -- Asking for clock rate 16.000000 MHz...
> > -- Actually got clock rate 16.000000 MHz.
> > -- Performing timer loopback test... pass
> > -- Performing timer loopback test... pass
> > -- Setting master clock rate selection to 'automatic'.
> > -- Asking for clock rate 32.000000 MHz...
> > -- Actually got clock rate 32.000000 MHz.
> > -- Performing timer loopback test... pass
> > -- Performing timer loopback test... pass
> > [New Thread 0x7fffe9152700 (LWP 30831)]
> > [New Thread 0x7fffe8951700 (LWP 30832)]
> > [New Thread 0x7fffdbfff700 (LWP 30833)]
> > [New Thread 0x7fffdb7fe700 (LWP 30834)]
> > [New Thread 0x7fffdaffd700 (LWP 30835)]
> > Searching for cell...
> > Using Volk machine: avx2_64_mmx_orc
> > Found CELL ID: 1 CP: Normal , CFO: -0.1 KHz.
> > Trying to decode MIB...
> > - Cell ID: 1
> > - Nof ports: 2
> > - CP: Normal
> > - PRB: 50
> > - PHICH Length: Normal
> > - PHICH Resources: 1
> > - SFN: 0
> > BCH decoded
> > Initializating cell configuration...
> > Setting Sampling frequency 11.52 MHz
> > Setting TX/RX offset 120 samples, 10.42 us
> >
> > Thread 20 "ue_itf_test_sib" received signal SIGSEGV,
> > Segmentation fault.
> > [Switching to Thread 0x7fffdb7fe700 (LWP 30834)]
> > 0x000000000042c43d in srsue::phch_recv::run_thread() ()
> > (gdb) bt full
> > #0 0x000000000042c43d in srsue::phch_recv::run_thread() ()
> > No symbol table info available.
> > #1 0x000000000042c889 in thread::thread_function_entry(void*)
> ()
> > No symbol table info available.
> > #2 0x00007ffff7bc16ba in start_thread (arg=0x7fffdb7fe700) at
> > pthread_create.c:333
> > __res = <optimised out>
> > pd = 0x7fffdb7fe700
> > now = <optimised out>
> > unwind_buf = {cancel_jmp_buf = {{jmp_buf =
> > {140736875980544, -6364117732151880853, 1, 140737488345983,
> > 140736875981248, 140737488346128,
> > 6364055058821321579, 6364135874915505003}, mask_was_saved = 0}},
> > priv = {
> > pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0,
> > cleanup = 0x0, canceltype = 0}}}
> > not_first_call = <optimised out>
> > pagesize_m1 = <optimised out>
> > sp = <optimised out>
> > freesize = <optimised out>
> > __PRETTY_FUNCTION__ = "start_thread"
> > #3 0x00007ffff63b33dd in clone () at
> > ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
> > No locals.
> > (gdb) quit
> >
> >
>
>
> --
> Andre Puschmann
>
> Software Radio Systems (SRS)
> http://www.softwareradiosystems.com
>
> PGP/GnuPG key: 6C42AB31
> fingerprint: 137A AE49 785B A445 257C 8AD7 D877 A498 6C42 AB31
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20170726/8263f20f/attachment.htm>
More information about the srsran-users
mailing list