[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#916047: marked as done (csound: regression in String handling)



Your message dated Sat, 22 Dec 2018 14:49:50 +0000
with message-id <E1gaib8-000A0J-HD@fasolo.debian.org>
and subject line Bug#916047: fixed in csound 1:6.12.2~dfsg-2
has caused the Debian Bug report #916047,
regarding csound: regression in String handling
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
916047: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916047
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
package: csound
version: 1:6.12.2~dfsg-1
severity: important
justification: Regression over stretch with insidious and
hard-to-diagnose consequences



I noticed that  my orchestras were failing on several sound files after
upgrading to buster, and tracked it down to some cases of  filenames
being input in the score file.

Consider the following orchestra and score:

Orchestra:

0dbfs=1
sr=44100
nchnls=4
instr 1, 10
Sfile strget p4
amic = 0
a1, a2 diskin Sfile, 0.997, -2.3

vincr amic, a1
outq amic, amic, amic, amic
endin


Score:
----------------------------------------

i 10.000244140625 10.135534524917603 -1 "/home/hartmans/.cache/djcli/Bobina - Music Box (Album Mix).wav" 1 1.0 10.135534524917603 0.0 422.2395255249176 1.0 0 50 1.0
f0 20.0


Stretch Behavior:
(csound 6.08)
0dBFS level = 1.0
orch now loaded
audio buffered in 256 sample-frame blocks
ALSA output: total buffer size: 1024, period size: 256 
writing 1024 sample blks of 64-bit floats to dac 
SECTION 1:
B  0.000 .. 10.136 T 10.136 TT 10.136 M:  0.00000  0.00000  0.00000  0.00000
new alloc for instr 10:
WARNING: instr 10 uses 4 p-fields but is given 13
diskin2: opened '/home/hartmans/.cache/djcli/Bobina - Music Box (Album Mix).wav':
         48000 Hz, 2 channel(s), 19778664 sample frames
B 10.136 .. 20.000 T 20.000 TT 20.000 M:  0.87332  0.87332  0.87332  0.87332
Score finished in csoundPerform().
inactive allocs returned to freespace
end of score.		   overall amps:  0.87332  0.87332  0.87332  0.87332
	   overall samples out of range:        0        0        0        0
0 errors in performance
Elapsed time at end of performance: real: 19.972s, CPU: 0.963s
3446 1024 sample blks of 64-bit floats written to dac
hartmans@mount-peerless:djutils(6)>
Buster behavior:
----------------------------------------
0dBFS level = 1.0
orch now loaded
audio buffered in 256 sample-frame blocks
ALSA output: total buffer size: 1024, period size: 256
writing 1024 sample blks of 64-bit floats to dac
SECTION 1:
WARNING: Buffer underrun in real-time audio output
B  0.000 .. 10.136 T 10.136 TT 10.136 M:  0.00000  0.00000  0.00000  0.00000
new alloc for instr 10:
WARNING: instr 10 uses 4 p-fields but is given 13
INIT ERROR in instr 10 line 7: diskin2: /home/hartmans/.cache/djcli/Bobina - Music Box (AlbumMix).wav: failed to open file (No Error.)
 from file test.orc (1)
a1	a2	diskin	Sfile	0.997	-2.2999999999999998224	0	0	0	0	0	0	
	  B 10.136 - note deleted.  i10 had 1 init errors
B 10.136 .. 20.000 T 20.000 TT 20.000 M:  0.00000  0.00000  0.00000  0.00000
Score finished in csoundPerform().
inactive allocs returned to freespace
end of score.		   overall amps:  0.00000  0.00000  0.00000  0.00000
	   overall samples out of range:        0        0        0        0
1 errors in performance
Elapsed time at end of performance: real: 20.006s, CPU: 0.901s
3446 1024 sample blks of 64-bit floats written to dac
hartmans@mount-peerless:djutils(7)>

----------------------------------------

Somehow in the buster code path, The space between Album and Mix has
been removed and the filename has become corrupted.
Note that the buster code path works fine if  you hard code the sound
file name in the instrument.
It's something to do with the score file that is problematic.

I apologize that the score is a bit complex; it's obviously extracted
From some more complex code.  My typical orchestra is quite complex and
I wanted to get things down to an debuggable minimal example, but I also
wanted to  use the production score file.
I'm also attaching the score as a mime attachment because it is a rather
long line.

Attachment: score
Description: Binary data

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: csound
Source-Version: 1:6.12.2~dfsg-2

We believe that the bug you reported is fixed in the latest version of
csound, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 916047@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Felipe Sateler <fsateler@debian.org> (supplier of updated csound package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 11 Dec 2018 20:11:13 -0300
Source: csound
Binary: csound csound-data csound-utils libcsound64-6.0 libcsnd6-java libcsound64-dev libcsnd-dev python-csound libcsnd6-6.0v5 liblua5.1-luacsnd libcsound64-doc
Architecture: source
Version: 1:6.12.2~dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Felipe Sateler <fsateler@debian.org>
Description:
 csound     - powerful and versatile sound synthesis software
 csound-data - data files used by the csound library
 csound-utils - miscellaneous utilities for the Csound system
 libcsnd-dev - development files for Csound -- C++ API
 libcsnd6-6.0v5 - C++ bindings for the Csound API
 libcsnd6-java - Java bindings for the Csound API
 libcsound64-6.0 - main library for Csound
 libcsound64-dev - development files for Csound
 libcsound64-doc - Csound API documentation
 liblua5.1-luacsnd - Lua bindings for the Csound API
 python-csound - Python bindings for Csound
Closes: 916047 916066
Changes:
 csound (1:6.12.2~dfsg-2) unstable; urgency=medium
 .
   * Backport fix for broken ZIR opcode (Closes: #916066)
   * Backport fix for broken string handling in scores (Closes: #916047)
Checksums-Sha1:
 5c91bbc38d9cb5e83181808934c60199b8dc7230 3324 csound_6.12.2~dfsg-2.dsc
 d93d5df76520fcf43279159ec1c77a6c6292fc01 25320 csound_6.12.2~dfsg-2.debian.tar.xz
Checksums-Sha256:
 f7e2fa7d9cd4c778532f023246ba7966ab70102af3246faa304cf004188b93fb 3324 csound_6.12.2~dfsg-2.dsc
 ed249da7906b84dc9c193d57474b656d2ee9905c899129ce03a38eeb8fbdce72 25320 csound_6.12.2~dfsg-2.debian.tar.xz
Files:
 eac0d16cb8f5dee0444c77e8c279db09 3324 sound optional csound_6.12.2~dfsg-2.dsc
 e0c3c0d57008290c9053115fdf987d3c 25320 sound optional csound_6.12.2~dfsg-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCAAyFiEEIY7gNiAzyHtsE1+ko7q64kCN1s8FAlweQw8UHGZzYXRlbGVy
QGRlYmlhbi5vcmcACgkQo7q64kCN1s+J8hAAnBhSATTwuyV3R5ozQKHYoJD9ICqf
Ff40hD8blV6oZWnpAapikvxeL5FRpH4+bW5hA9fev4tkcblxg9GOTu14jDzqXky1
jGPsmowYXApQ7vLAQM99RnsOmv/+OdBpD4EmsXsv/GMOnr/8+r/YUXh6OIJ98ZkO
RTiVIYT3/JEVuS1ndEixH+Vgyo3P9n9SoSSB72d7NZflW5IgxpFqa8KPAzDBB1Qc
51sAEwVLc724PV0Bpe/1bEnF/5S3H+RmlEqlEbfxhw0wx22HntAUZ34Rc/rOkidS
m9yuTSfER6qs3Z9PF9njnmOQC4Vo5Pu6NMx0n5Nw9ykrFD4W0dPBIYusosEtv/dZ
yftwfhPwFdiImYbOQ3YR+xE+3bFBgTVMmjqqQe5xwhOg5ZPO5JDzs0EX2S8XmzAd
7pa7d4fO7tI/CM6O/PeVjuHh7rDy5+NBNXjFKbQejeW46vQlcgAlhFPofO/shhdu
eLESS2UO1e6xkrbYgR4nJoeLWG75MEVnNSn1KQ+yxSESMEX61f+JXIzHdTU35Wkl
NK5pXiATzu+E9brkXW2i/kSP9BkZK/cV9jtHkiisn4gx+SmKL6g5xzVFGg06z214
nK5gAzTK/UPLTOtEs0zHDLmzAkEbpPaHk/4nYBWQZtleFDTqYEQeWVTTSOJbAFdL
UNhVt9qg90pa0Gw=
=4zN8
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: