[Cs-dev] Bug in chnclear
Date | 2010-02-24 00:17 |
From | Steven Yi |
Subject | [Cs-dev] Bug in chnclear |
Hi All, I'm testing Jake's fragment 7 csd and get a crash: http://csound.noisepages.com/2010/02/fragments-of-a-bohlen-pierce-composition-pt-7/ gdb says it's because: Program received signal SIGSEGV, Segmentation fault. 0x6f210efd in chnclear_opcode_perf (csound=0x4c0048, p=0x4dee1c) at OOps\bus.c:972 972 csoundSpinLock(lock); (gdb) bt #0 0x6f210efd in chnclear_opcode_perf (csound=0x4c0048, p=0x4dee1c) at OOps\bus.c:972 #1 0x6f269566 in kperf (csound=0x4c0048) at Top\csound.c:1360 #2 0x6f269856 in csoundPerform (csound=0x4c0048) at Top\csound.c:1457 #3 0x00401687 in main (argc=2, argv=0x3e2598) at frontends\csound\csound_main.c:136 Sure enough, chnclear is trying to use a lock that it hasn't pre-acquired in it's init method. I've checked in a fix to acquire a lock and it seems to fix things up. Could someone else test? My guess though is that it might be a platform dependent bug as this code doesn't seem to have changed in a while. Thanks! steven ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2010-02-24 08:22 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Bug in chnclear |
No crashes here on OSX. This is CVS from the weekend, which I am going to release as a bugfix package (all reported bugs seem to be fixed). Victor On 24 Feb 2010, at 00:17, Steven Yi wrote: > Hi All, > > I'm testing Jake's fragment 7 csd and get a crash: > > http://csound.noisepages.com/2010/02/fragments-of-a-bohlen-pierce-composition-pt-7/ > > gdb says it's because: > > Program received signal SIGSEGV, Segmentation fault. > 0x6f210efd in chnclear_opcode_perf (csound=0x4c0048, p=0x4dee1c) > at OOps\bus.c:972 > 972 csoundSpinLock(lock); > (gdb) bt > #0 0x6f210efd in chnclear_opcode_perf (csound=0x4c0048, p=0x4dee1c) > at OOps\bus.c:972 > #1 0x6f269566 in kperf (csound=0x4c0048) at Top\csound.c:1360 > #2 0x6f269856 in csoundPerform (csound=0x4c0048) at Top\csound.c:1457 > #3 0x00401687 in main (argc=2, argv=0x3e2598) > at frontends\csound\csound_main.c:136 > > Sure enough, chnclear is trying to use a lock that it hasn't > pre-acquired in it's init method. I've checked in a fix to acquire a > lock and it seems to fix things up. Could someone else test? My guess > though is that it might be a platform dependent bug as this code > doesn't seem to have changed in a while. > > Thanks! > steven > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2010-02-24 09:40 |
From | Rory Walsh |
Subject | Re: [Cs-dev] Bug in chnclear |
With your latest opcodes added? We haven't heard from Michael in a while, is he still looking after the windows installers? There still isn't a 5.12 available for windows. Not a bad thing I guess in light of recent bugs. On 24 February 2010 08:22, Victor Lazzarini |
Date | 2010-02-24 15:10 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Bug in chnclear |
I am still responsible for the Windows installers. However, as I mentioned a month or so ago, my apartment is being renovated and I do not have full-time access to my Windows computer, therefore I am not maintaining the installers until I have moved back into my apartment. That looks to be sometime in late March or early April now. On the plus side, I have been able to finish coding and booking in samplewise access to spin, spout, and numbered busses. These should now show up in the API wrappers if you do a complete clean and rebuild. Not tested yet. I also fixed a serious, long-standing bug in MIDI import into the CsoundAC.Score class, if anyone else is using it. This should now provide an adequate means of reading external MIDI files into Csound, with the plus that they can be extensively fiddled with using CsoundAC once imported. Regards, Mike On Wed, Feb 24, 2010 at 4:40 AM, Rory Walsh |
Date | 2010-02-25 16:53 |
From | jhearon |
Subject | Re: [Cs-dev] Bug in chnclear |
Hi, I tried fragment7.csd w/Bohlen Pierce scale on Mac with 5.11, and ran fine. Then tried on linux, f12, with 5.12 beta and get segfault. regards, Jim Hearon -- View this message in context: http://old.nabble.com/Bug-in-chnclear-tp27713475p27714477.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2010-02-25 17:19 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] Bug in chnclear |
Hi, It's working fine on 5.12.2 on OS X Snow leopard. I think this was specifically fixed for 5.12.2 Cheers, Andrés On Thu, Feb 25, 2010 at 4:53 PM, jhearon |
Date | 2010-02-25 17:21 |
From | Steven Yi |
Subject | Re: [Cs-dev] Bug in chnclear |
I think it may have been a threading-implementation specific issue, as it worked on OSX in previous versions. My guess is OSX locks are just implemented differently. On Thu, Feb 25, 2010 at 12:19 PM, Andres Cabrera |
Date | 2010-02-25 17:48 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] Bug in chnclear |
Oh, you're right, sorry, it was a different bug which was fixed... Cheers, Andrés On Thu, Feb 25, 2010 at 5:21 PM, Steven Yi |