Re: [Csnd-dev] [Csnd] segmentation fault, flooper 2 not looping?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd-dev] [Csnd] segmentation fault, flooper 2 not looping?

jpff
And valgrind

new alloc for instr 1:
==7542== Invalid read of size 8
==7542==    at 0x5005017: flooper2_process (sndloop.c:769)
==7542==    by 0x4E7BBF0: kperf_nodebug (csound.c:1711)
==7542==    by 0x4E7D3F1: csoundPerform (csound.c:2226)
==7542==    by 0x4014BE: main (csound_main.c:326)
==7542==  Address 0x1b5c8868 is 0 bytes after a block of size 5,371,944
alloc'd
==7542==    at 0x4C2C240: calloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==7542==    by 0x4E97F27: mcalloc (memalloc.c:113)
==7542==    by 0x4E85435: ftalloc (fgens.c:2372)
==7542==    by 0x4E8B239: gen01raw (fgens.c:2677)
==7542==    by 0x4E86B11: hfgens (fgens.c:235)
==7542==    by 0x4E99A9F: process_score_event (musmon.c:822)
==7542==    by 0x4E9C6A8: sensevents (musmon.c:1019)
==7542==    by 0x4E7D472: csoundPerform (csound.c:2216)
==7542==    by 0x4014BE: main (csound_main.c:326)
==7542==
==7542== Invalid read of size 8
==7542==    at 0x50047E2: flooper2_process (sndloop.c:766)
==7542==    by 0x4E7BBF0: kperf_nodebug (csound.c:1711)
==7542==    by 0x4E7D3F1: csoundPerform (csound.c:2226)
==7542==    by 0x4014BE: main (csound_main.c:326)
==7542==  Address 0x1b5c8870 is 8 bytes after a block of size 5,371,944
alloc'd
==7542==    at 0x4C2C240: calloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==7542==    by 0x4E97F27: mcalloc (memalloc.c:113)
==7542==    by 0x4E85435: ftalloc (fgens.c:2372)
==7542==    by 0x4E8B239: gen01raw (fgens.c:2677)
==7542==    by 0x4E86B11: hfgens (fgens.c:235)
==7542==    by 0x4E99A9F: process_score_event (musmon.c:822)
==7542==    by 0x4E9C6A8: sensevents (musmon.c:1019)
==7542==    by 0x4E7D472: csoundPerform (csound.c:2216)
==7542==    by 0x4014BE: main (csound_main.c:326)
==7542==

etc etc