| Tried that example in linux, having no Windows m/c.
There is a memory issue
Did not crash but using valgrind
==2833== Invalid read of size 8
==2833== at 0x4E838B0: auxchfree (auxfd.c:156)
==2833== by 0x4E9A5E5: orcompact (insert.c:1044)
==2833== by 0x4EA530E: csoundCleanup (musmon.c:491)
==2833== by 0x4E7FA1B: reset (csound.c:3209)
==2833== by 0x4E807BF: csoundDestroy (csound.c:1376)
==2833== by 0x4013E1: main (csound_main.c:329)
==2833== Address 0x1ad687e0 is 19,600 bytes inside a block of size 35,840 free'd
==2833== at 0x4C2F2BB: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==2833== by 0x4EA1A05: mfree (memalloc.c:173)
==2833== by 0x4E9A64A: orcompact (insert.c:1049)
==2833== by 0x4EA530E: csoundCleanup (musmon.c:491)
==2833== by 0x4E7FA1B: reset (csound.c:3209)
==2833== by 0x4E807BF: csoundDestroy (csound.c:1376)
==2833== by 0x4013E1: main (csound_main.c:329)
==2833== Block was alloc'd at
==2833== at 0x4C300A5: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==2833== by 0x4EA1812: mcalloc (memalloc.c:113)
==2833== by 0x4E98C8C: instance (insert.c:2338)
==2833== by 0x4E9BC5D: subinstrset_ (insert.c:1218)
==2833== by 0x4E9BC5D: subinstrset (insert.c:1336)
==2833== by 0x4E9D428: init_pass (insert.c:116)
==2833== by 0x4E9D428: insert_event (insert.c:472)
==2833== by 0x4EA3F8D: process_score_event (musmon.c:810)
==2833== by 0x4EA68EA: sensevents (musmon.c:1019)
==2833== by 0x4E81D79: csoundPerform (csound.c:2234)
==2833== by 0x401556: main (csound_main.c:326)
==2833== |