Processed: Re: Bug#1024169: csound breaks csound-plugins autopkgtest: *** stack smashing detected ***: terminated

2022-11-22 Thread Debian Bug Tracking System
Processing control commands:

> forwarded -1 https://github.com/csound/csound/issues/1651
Bug #1024169 [src:csound, src:csound-plugins] csound breaks csound-plugins 
autopkgtest: *** stack smashing detected ***: terminated
Set Bug forwarded-to-address to 'https://github.com/csound/csound/issues/1651'.

-- 
1024169: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024169
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1024169: csound breaks csound-plugins autopkgtest: *** stack smashing detected ***: terminated

2022-11-22 Thread Nilesh Patra
Control: forwarded -1 https://github.com/csound/csound/issues/1651

On Tue, 15 Nov 2022 23:50:51 +0100 =?UTF-8?Q?Bernhard_=c3=9cbelacker?= 
 wrote:
> this looks like caused by a disaggrement about the size of type OPARMS.
> In libcsound64-6.0 it has 264 bytes, but in csound-plugins
> only 260 bytes.
> 
> This difference is caused by the last member "mp3_mode", that is missing
> in the OPARMS type used in csound-plugins.
> It got introduced in commit [1] and caused this ABI break.
> 
> Attached are relevant parts of the debugging.

You email is *extremely* helpful. I have added relevant forwarded tag.

Thanks!

-- 
Best,
Nilesh


signature.asc
Description: PGP signature


Bug#1024169: csound breaks csound-plugins autopkgtest: *** stack smashing detected ***: terminated

2022-11-15 Thread Bernhard Übelacker

Just a short addition:
There is already an upstream bug reported:

https://github.com/csound/csound/issues/1651

Kind regards,
Bernhard



Bug#1024169: csound breaks csound-plugins autopkgtest: *** stack smashing detected ***: terminated

2022-11-15 Thread Bernhard Übelacker

Dear Maintainer,
this looks like caused by a disaggrement about the size of type OPARMS.
In libcsound64-6.0 it has 264 bytes, but in csound-plugins
only 260 bytes.

This difference is caused by the last member "mp3_mode", that is missing
in the OPARMS type used in csound-plugins.
It got introduced in commit [1] and caused this ABI break.

Attached are relevant parts of the debugging.

Kind regards,
Bernhard

[1] 
https://github.com/csound/csound/commit/11df83f60d6afa51e5e0d25dc5efe5b2beec621e

(rr) bt
#0  0xb7a1e4f6 in memcpy (__len=264, __src=0x10d3de0, __dest=0xbfb5aee8) at 
/usr/include/i386-linux-gnu/bits/string_fortified.h:29
#1  csoundGetOParms (csound=, p=0xbfb5aee8) at ./Top/csound.c:230
#2  0xb51310c0 in csoundModuleInit (csound=0x10c61a0) at ./widgets/winFLTK.c:73
#3  0xb7b6388a in csoundInitModule (csound=csound@entry=0x10c61a0, 
m=m@entry=0x11baed8) at ./Top/csmodule.c:249
#4  0xb7b63a51 in csoundInitModules (csound=0x10c61a0) at ./Top/csmodule.c:825
#5  0xb7a233f5 in csoundReset (csound=) at ./Top/csound.c:3554
#6  0xb7a23af4 in csoundCreate (hostdata=0x0) at ./Top/csound.c:1361
#7  0x004c24c7 in main (argc=3, argv=0xbfb5b224) at 
./Frontends/csound/csound_main.c:322
# Unstable i386 qemu VM 2022-11-15

apt update
apt dist-upgrade

apt install systemd-coredump gdb rr autopkgtest dpkg-dev csound csound-plugins 
python3-csound csound-plugins-dbgsym libcsound64-6.0-dbgsym csound-dbgsym





$ autopkgtest csound-plugins --shell-fail -- null
autopkgtest [23:05:23]: starting date and time: 2022-11-15 23:05:23+0100
autopkgtest [23:05:23]: version 5.27
autopkgtest [23:05:23]: host debian; command line: /usr/bin/autopkgtest 
csound-plugins --shell-fail -- null
autopkgtest [23:05:23]: testbed dpkg architecture: i386
autopkgtest [23:05:23]: testbed running kernel: Linux 6.0.0-4-686-pae #1 SMP 
PREEMPT_DYNAMIC Debian 6.0.8-1 (2022-11-11)
autopkgtest [23:05:23]:  apt-source csound-plugins
gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: Schlüsselblockhilfsmittel`/tmp/dpkg-verify-sig.OC9zItqO/trustedkeys.kbx': 
General error
gpgv: Signatur vom Mi 28 Sep 2022 09:29:57 CEST
gpgv:mittels RSA-Schlüssel 
7405E745574809734800156DB65019C47F7A36F8
gpgv: Signatur kann nicht geprüft werden: No public key
dpkg-source: Warnung: Signatur ./csound-plugins_1.0.2~dfsg1-2.dsc kann nicht 
überprüft werden
autopkgtest [23:05:24]: testing package csound-plugins version 1.0.2~dfsg1-2
autopkgtest [23:05:24]: build not needed
autopkgtest [23:05:24]: test command1: preparing testbed
autopkgtest [23:05:24]: test command1: csound --nosound 
py/examples/embeddedCtcsound.csd
autopkgtest [23:05:24]: test command1: [---
*** stack smashing detected ***: terminated

csound command: Aborted

csound command: Segmentation fault
autopkgtest [23:05:25]: test command1: ---]
autopkgtest [23:05:25]: test command1:  - - - - - - - - - - results - - - - - - 
- - - -
command1 FAIL non-zero exit status 1
autopkgtest [23:05:25]:  - - - - - - - - - - running shell - - - - - - - - - -
benutzer@debian:/tmp/autopkgtest.2VfrCV/build.Tvx/src$ rr record csound 
--nosound py/examples/embeddedCtcsound.csd
rr: Saving execution to trace directory 
`/home/benutzer/.local/share/rr/csound-0'.
*** stack smashing detected ***: terminated

csound command: Aborted

csound command: Segmentation fault
$ rr replay -o -q csound-0
Reading symbols from /usr/bin/csound...
(No debugging symbols found in /usr/bin/csound)
Really redefine built-in command "restart"? (y or n) [answered Y; input not 
from terminal]
Really redefine built-in command "jump"? (y or n) [answered Y; input not from 
terminal]
Remote debugging using 127.0.0.1:3587
Reading symbols from /lib/ld-linux.so.2...
Reading symbols from 
/usr/lib/debug/.build-id/9b/f5ef863480886a4c2159e109d63c656ca30739.debug...
BFD: warning: system-supplied DSO at 0x6fffd000 has a section extending past 
end of file
0xb7f40450 in _start () from /lib/ld-linux.so.2
(rr) cont
Continuing.
*** stack smashing detected ***: terminated

Program received signal SIGABRT, Aborted.
0x7002 in syscall_traced ()
(rr) bt
#0  0x7002 in syscall_traced ()
#1  0xb7f1513d in _raw_syscall () at 
/build/rr-Rm2x32/rr-5.6.0/src/preload/raw_syscall.S:34
#2  0xb7f10b33 in traced_raw_syscall (call=0x681fffd8) at 
./src/preload/syscallbuf.c:338
#3  0xb7f12c4d in sys_recvfrom (call=) at 
./src/preload/syscallbuf.c:2952
#4  syscall_hook_internal (call=0x681fffd8) at ./src/preload/syscallbuf.c:3843
#5  syscall_hook (call=0x681fffd8) at ./src/preload/syscallbuf.c:3949
#6  syscall_hook (call=) at ./src/preload/syscallbuf.c:3933
#7  0xb7f10361 in _syscall_hook_trampoline () at 
/build/rr-Rm2x32/rr-5.6.0/src/preload/syscall_hook.S:131
#8  0xb7f103d2 in _syscall_hook_trampoline_90_90_90 () at 
/build/rr-Rm2x32/rr-5.6.0/src/preload/syscall_hook.S:211
#9  0x6005 in __kernel_vsyscall ()
#10 0xb768a1d7 in __pthread_kill_implementation 

Bug#1024169: csound breaks csound-plugins autopkgtest: *** stack smashing detected ***: terminated

2022-11-15 Thread Paul Gevers

Source: csound, csound-plugins
Control: found -1 csound/1:6.18.0+dfsg-2
Control: found -1 csound-plugins/1.0.2~dfsg1-2
Severity: serious
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of csound the autopkgtest of csound-plugins fails 
in testing when that autopkgtest is run with the binary packages of 
csound from unstable. It passes when run with only packages from 
testing. In tabular form:


   passfail
csound from testing1:6.18.0+dfsg-2
csound-plugins from testing1.0.2~dfsg1-2
all others from testingfrom testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of csound to testing 
[1]. Due to the nature of this issue, I filed this bug report against 
both packages. Can you please investigate the situation and reassign the 
bug to the right package?


More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=csound

https://ci.debian.net/data/autopkgtest/testing/arm64/c/csound-plugins/28320936/log.gz

*** stack smashing detected ***: terminated

csound command: Aborted

csound command: Segmentation fault
autopkgtest [17:15:52]: test command1



OpenPGP_signature
Description: OpenPGP digital signature