Bug#888627: m instruction in score partition cause segfault
Mickael Viey
m.viey at wanadoo.fr
Sun Jan 28 01:04:29 UTC 2018
Package: csound
Version: 1:6.08.0~dfsg-1
Severity: normal
Dear Maintainer,
the m instruction doesn't work as expected this score make a segfault
when run:
<CsoundSynthesizer>
<CsOptions>
-odac
</CsOptions>
<CsInstruments>r
sr = 44100
;kr = 4410
ksmps = 256
0dbfs = 40
instr 1
;xamp, ;kcps xcar xmod kndx
ifn iphs
a1 foscil p4, p5, 1, p7, p6,
1, 0
out a1
endin
</CsInstruments>
<CsScore>
f 1 0 4096 10 1 0.5 0.25 0.25 0.10 0.05 0.05 0.025 0.0125
;1 2 3 4 5 6 7
;inst time dur amp note
p6 p7
m foo
i1 0 0.15 2 120 1.5 6
i1 + . . 139 1.0 .
i1 + . . 67 1.9 .
i1 + . . 110 1.0 .
s
n foo
e
</CsScore>
</CsoundSynthesizer>
here the output when run this with csound:
csound test_mel2.csd
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
--Csound version 6.08 (double samples) 2016-12-01
[commit: none]
libsndfile-1.0.27
UnifiedCSD: test_mel2.csd
STARTING FILE
Creating options
Creating orchestra
Creating score
rtaudio: ALSA module enabled
rtmidi: ALSA Raw MIDI module enabled
Elapsed time at end of orchestra compile: real: 0.003s, CPU: 0.003s
sorting score ...
Named section >>>foo<<<
csound command: Segmentation fault
end of score. overall amps: 0.000
overall samples out of range: 0
0 errors in performance
Elapsed time at end of performance: real: 0.254s, CPU: 0.004s
the debian version of this package seems to be buggy. I will make
another report about another bug soon.
I join the csd file wich cause the segfault for test purpose.
Thx
System Information:
Debian Release: 9.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages csound depends on:
ii libc6 2.24-11+deb9u1
ii libcsound64-6.0 1:6.08.0~dfsg-1
ii libgcc1 1:6.3.0-18
ii libgomp1 6.3.0-18
ii libstdc++6 6.3.0-18
Versions of packages csound recommends:
ii csound-utils 1:6.08.0~dfsg-1
csound suggests no packages.
-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20180128/ca7ed448/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_mel2.csd
Type: audio/csound
Size: 1012 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20180128/ca7ed448/attachment.csd>
More information about the pkg-multimedia-maintainers
mailing list