[Bug 60314] Re: Segfault when using GEN01
Thank you for taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in Hardy. If you need a fix for the bug in previous versions of Ubuntu, please follow the instructions for "How to request new packages" at https://help.ubuntu.com/community/UbuntuBackports#request-new-packages ** Changed in: csound (Ubuntu) Status: New => Fix Released -- Segfault when using GEN01 https://bugs.launchpad.net/bugs/60314 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 60314] Re: Segfault when using GEN01
Encountered same problem when using another command that attempts to create a .pvx file: csound -U pvanal -n8192 -w8 source.wav analysed.pvx Can also confirm that compiling the latest version as outlined above (thanks slow_joe!) fixed the problem. Running Ubuntu Gutsy 7.10 -- Segfault when using GEN01 https://bugs.launchpad.net/bugs/60314 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 60314] Re: Segfault when using GEN01
I can confirm this too. I'm running Xubuntu Feisty and the bug renders this build of csound useless. Using /usr/share/csound/csound.xmg 0dBFS level = 32767.0 Csound Version 4.23f13 (Mar 21 2007) orchname: 106.orc scorename: 106.sco orch compiler: 18 lines read sorting score ... ... done Csound Version 4.23f13 (Mar 21 2007) 0dBFS level = 32767.0 orch now loaded audio buffered in 1024 sample-frame blocks hardware buffers set to 2048 bytes writing 2048-byte blks of shorts to devaudio SECTION 1: ftable 4: deferred alloc Csound tidy up: Segmentation fault -- Segfault when using GEN01 https://bugs.launchpad.net/bugs/60314 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 60314] Re: Segfault when using GEN01
Hey, Luckily, I found that building the latest version from source is relatively painless...errr, almost. http://csound.sourceforge.net/ Two things to look out for; firstly, make sure you actually download the source file, not the installer under the 'linux' heading. The installer is for Suse linux and will give missing library errors on debian. Scroll right down for source code. Download, unpack, then... sudo apt-get install scons libsndfile1-dev python-dev (those last two may not be necessary, but I got them just in case) Second thing to look out for, it seems the latest version of the source code has its own bug! One of the python files is missing, but no need to worry. Just go into where you've unpacked, copy the 'custom.py' file and paste it back into the same directory, changing the name to 'custom.py.mkg' ( cp custom.py custom.py.mkg ). Then, in that same folder, just type ' scons '. If that doesn't work, type ' ./install.py ' (that'll be that second bug again). Sounds like a chore, I know, but all this shouldn't take more than ten minutes, and version 5.xx has tonnes of new opcodes that the 'official' Ubuntu repo version doesn't. Oh, and it actually works, which is a bonus in my book. Enjoy! Joe On 24/07/07, Jerzy Jalocha N <[EMAIL PROTECTED]> wrote: > The same here, under Xubuntu Feisty, when testing the first example of > the reference manual: http://www.csounds.com/manual/html/GEN01.html > > Using /usr/share/csound/csound.xmg > 0dBFS level = 32767.0 > Csound Version 4.23f13 (Mar 21 2007) > orchname: beats.orc > scorename: beats.sco > orch compiler: > 17 lines read > sorting score ... > ... done > Csound Version 4.23f13 (Mar 21 2007) > displays suppressed > 0dBFS level = 32767.0 > orch now loaded > audio buffered in 1024 sample-frame blocks > SFDIR undefined. using current directory > writing 2048-byte blks of shorts to beats.wav (WAV) > SECTION 1: > ftable 1: > Csound tidy up: Segmentation fault > > -- > Segfault when using GEN01 > https://bugs.launchpad.net/bugs/60314 > You received this bug notification because you are a direct subscriber > of the bug. > -- Segfault when using GEN01 https://bugs.launchpad.net/bugs/60314 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 60314] Re: Segfault when using GEN01
The same here, under Xubuntu Feisty, when testing the first example of the reference manual: http://www.csounds.com/manual/html/GEN01.html Using /usr/share/csound/csound.xmg 0dBFS level = 32767.0 Csound Version 4.23f13 (Mar 21 2007) orchname: beats.orc scorename: beats.sco orch compiler: 17 lines read sorting score ... ... done Csound Version 4.23f13 (Mar 21 2007) displays suppressed 0dBFS level = 32767.0 orch now loaded audio buffered in 1024 sample-frame blocks SFDIR undefined. using current directory writing 2048-byte blks of shorts to beats.wav (WAV) SECTION 1: ftable 1: Csound tidy up: Segmentation fault -- Segfault when using GEN01 https://bugs.launchpad.net/bugs/60314 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 60314] Re: Segfault when using GEN01
Kubuntu 7.04 Feisty Linux slowjoe-desktop 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux -***- Bug also occurs when using soundin instead of a GEN10 function to input audio. Wrote simplest instr script possible: instr 1 asig soundin "input.wav" out asig endin ...which gives: ... Csound Version 4.23f13 (Mar 21 2007) 0dBFS level = 32767.0 orch now loaded audio buffered in 1024 sample-frame blocks SFDIR undefined. using current directory writing 4096-byte blks of floats to output.wav (WAV) SECTION 1: new alloc for instr 1: Csound tidy up: Segmentation fault -***- NB: relatively newb to ubuntu/linux, but not to csound. Apologies if I broke any protocols or anything; first time posting on launchpad. Thought this bug really needs confirming. -- Segfault when using GEN01 https://bugs.launchpad.net/bugs/60314 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 60314] Re: Segfault when using GEN01
I can confirm this as well. This makes it hard to learn csound since this is a fairly often used feature. I attempted to install csound 5 and completely trashed my gnome installation. I will attempt to build from source. Great! Here is what occurs with any score that uses gen01: MOST tutorials for csound use gen01 by the way. [EMAIL PROTECTED]:~/csound/csoundbookchap1$ csound 120.orc Using /usr/share/csound/csound.xmg 0dBFS level = 32767.0 Csound Version 4.23f13 (Oct 25 2005) orchname: 120.orc scorename: /tmp/fileWEKW6K.sco orch compiler: 32 lines read sorting score ... ... done Csound Version 4.23f13 (Oct 25 2005) 0dBFS level = 32767.0 orch now loaded audio buffered in 1024 sample-frame blocks SFDIR undefined. using current directory writing 2048-byte blks of shorts to test (Raw) SECTION 1: Csound tidy up: Segmentation fault [EMAIL PROTECTED]:~/csound/csoundbookchap1$ csound is dead in the water with this issue. IT is inoperable in this condition. IT DOES NOT WORK! -- Segfault when using GEN01 https://bugs.launchpad.net/bugs/60314 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 60314] Re: Segfault when using GEN01
i can confirm this error with Ubuntu 6.10 Linux version 2.6.17-10-generic ([EMAIL PROTECTED]) (gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)) #2 SMP Tue Dec 5 22:28:26 UTC 2006 (Ubuntu 2.6.17-10.34-generic) GEN01 runs fine except when loading data from a soundfile into the functiontable: [EMAIL PROTECTED]:~/csound$ csound -W -o test.wav ex4.orc ex4b.sco Using /usr/share/csound/csound.xmg 0dBFS level = 32767.0 Csound Version 4.23f13 (Oct 25 2005) orchname: ex4.orc scorename: ex4b.sco orch compiler: 68 lines read sorting score ... sread: requesting more memory sread: requesting more memory sread: requesting more memory sread: requesting more memory sread: requesting more memory sread: requesting more memory sread: requesting more memory sread: requesting more memory sread: requesting more memory sread: requesting more memory sread: requesting more memory sread: requesting more memory sread: requesting more memory ... done Csound Version 4.23f13 (Oct 25 2005) 0dBFS level = 32767.0 orch now loaded audio buffered in 1024 sample-frame blocks SFDIR undefined. using current directory writing 4096-byte blks of shorts to test.wav (WAV) SECTION 1: ftable 1: Csound tidy up: Segmentation fault -- Segfault when using GEN01 https://launchpad.net/bugs/60314 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs