Skip to content

Segmentation fault #1

@fkranhold

Description

@fkranhold

I have installed microcsound via pip on Debian 12 (in a virtual environment), with csound 6.18 and python 3.11 installed via apt. When trying the example from the repository, i.e. microcsound -v ciconia.mc, I get the following result:

orchname:  microcsound_basic.orc
--Csound version 6.18 (double samples) 2022-11-24
[commit: none]
libsndfile-1.2.0
sr = 44100.0, kr = 44100.000, ksmps = 1
0dBFS level = 1.0, A4 tuning = 440.0
audio buffered in 256 sample-frame blocks
writing 1024-byte blks of shorts to ciconia.wav (WAV)
SECTION 1:

csound command: Segmentation fault
   end of score.		   overall amps:  0.00000  0.00000
	   overall samples out of range:        0        0
0 errors in performance
512 1024 sample blks of shorts written to ciconia.wav (WAV)

The same issue occurs if I first run microcsound -s ciconia.mc > ciconia.sco and then manually run csound microcsound_basic.orc ciconia.sco.

(Unfortunately, I also have not been able to run the other, much smaller examples from the documentation: They do not lead to segfaults, but apparently use an orchestra file different from microcsound_basic.orc from the repo, as the number of p-fields do not match. The result is a longer WAV file, consisting of silence.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions