[Csnd] New parser
Date | 2010-11-17 19:56 |
From | Rene Djack |
Subject | [Csnd] New parser |
Attachments | New_parser.csd |
Hi, The following csd give segmentation fault with new parser. ( it is ok with old parser) <CsoundSynthesizer>
<CsOptions> -Wd ;new parser by default ;-Wd --old-parser </CsOptions> <CsInstruments> instr 1 kc rtclock printk2 kc
endin </CsInstruments> <CsScore> i 1 0 1 </CsScore> </CsoundSynthesizer> Result : ******************** * USING NEW PARSER * ******************** END OF INPUT Parsing successful! Csound tidy up: Segmentation fault Best, René |
Date | 2010-11-17 20:23 |
From | Rene Djack |
Subject | [Csnd] Re: New parser |
Hi, csd using 0dbfs also give seg fault with new parser For example idb = dbamp(0dbfs).
I am on Ubuntu 10.04 with Csound version 5.12 (double samples) cvs Nov 8 2010 René 2010/11/17 Rene Djack <rene.djack@gmail.com> Hi, |
Date | 2010-11-17 20:24 |
From | jpff@cs.bath.ac.uk |
Subject | [Csnd] Re: New parser |
When did you check out? this looks lik eth elast-bit-one bug I fixed > Hi, > > The following csd give segmentation fault with new parser. > ( it is ok with old parser) > > |
Date | 2010-11-17 20:41 |
From | Rene Djack |
Subject | [Csnd] Re: Re: New parser |
I am using csound from cvs dated Nov 8 2010, not the last one having "Macros initialised in new parser". 2010/11/17 <jpff@cs.bath.ac.uk> When did you check out? this looks lik eth elast-bit-one bug I fixed |
Date | 2010-11-17 20:58 |
From | jpff@cs.bath.ac.uk |
Subject | [Csnd] Re: Re: Re: New parser |
Thanks; thta means that i messed up again Oh D**n. Will investigate > I am using csound from cvs dated Nov 8 2010, not the last one having > "Macros > initialised in new parser". > > 2010/11/17 |
Date | 2010-11-18 18:51 |
From | menno |
Subject | [Csnd] Re: Re: Re: New parser |
it works here: time resolution is 1000.000 ns virtual_keyboard real time MIDI plugin for Csound PortMIDI real time MIDI plugin for Csound 0dBFS level = 32768.0 Csound version 5.12 beta (double samples) Nov 16 2010 libsndfile-1.0.21 UnifiedCSD: /media/LAC_/untitled.csd STARTING FILE Creating options Creating orchestra Creating score orchname: /tmp/csound-HK69op.orc scorename: /tmp/csound-BqMs0r.sco Loading command-line libraries: /usr/local/lib/libloris.so rtmidi: PortMIDI module enabled RAWWAVE_PATH: /usr/local/share/csound/rawwaves/ rtaudio: JACK module enabled ******************** * USING NEW PARSER * ******************** END OF INPUT Parsing successful! Elapsed time at end of orchestra compile: real: 0.030s, CPU: 0.000s sorting score ... ... done Elapsed time at end of score sort: real: 0.030s, CPU: 0.000s Csound version 5.12 beta (double samples) Nov 16 2010 midi channel 1 using instr 1 midi channel 2 using instr 1 midi channel 3 using instr 1 midi channel 4 using instr 1 midi channel 5 using instr 1 midi channel 6 using instr 1 midi channel 7 using instr 1 midi channel 8 using instr 1 midi channel 9 using instr 1 midi channel 10 using instr 1 midi channel 11 using instr 1 midi channel 12 using instr 1 midi channel 13 using instr 1 midi channel 14 using instr 1 midi channel 15 using instr 1 midi channel 16 using instr 1 displays suppressed sample rate overrides: esr = 48000.0000, ekr = 375.0000, ksmps = 128 0dBFS level = 32768.0 The available MIDI in devices are: 0: Midi Through Port-0 (ALSA) 1: M Audio Audiophile 24/96 MIDI (ALSA) PortMIDI: Activated input device 0: 'Midi Through Port-0' (ALSA) orch now loaded audio buffered in 256 sample-frame blocks reading 512-byte blks of shorts from adc (RAW) Jack: JackClient::SetupDriverSync driver sem in flush mode Jack: JackPosixSemaphore::Connect jack_sem.1000_default_csound5 Jack: Already connected name = csound5 Jack: Clock source : system clock via clock_gettime Jack: JackLibClient::Open name = csound5 refnum = 4 Jack: JackClient::PortRegister ref = 4 name = csound5:input1 type = 32 bit float mono audio port_index = 37 Jack: JackClient::PortRegister ref = 4 name = csound5:output1 type = 32 bit float mono audio port_index = 38 Jack: JackClient::Activate Jack: JackClient::StartThread : period = 1333 computation = 0 constraint = 1333 Jack: Create non RT thread Jack: ThreadHandler: start Jack: JackClient::kActivateClient name = csound5 ref = 4 writing 512-byte blks of shorts to dac SECTION 1: new alloc for instr 1: i1 0.06424 i1 0.06426 i1 0.06733 i1 0.06736 i1 0.07265 i1 0.07268 i1 0.07790 i1 0.07793 i1 0.08323 i1 0.08325 i1 0.08943 i1 0.08945 i1 0.09389 i1 0.09392 i1 0.09922 i1 0.09925 i1 0.10455 i1 0.10458 i1 0.10989 i1 0.10992 i1 0.11522 i1 0.11525 i1 0.12056 i1 0.12058 i1 0.12589 i1 0.12591 i1 0.13122 i1 0.13124 i1 0.13655 i1 0.13658 i1 0.14188 i1 0.14191 i1 0.14722 i1 0.14724 i1 0.15255 i1 0.15258 i1 0.15789 i1 0.15793 i1 0.16325 i1 0.16330 i1 0.16855 i1 0.16858 i1 0.17388 i1 0.17391 i1 0.17922 i1 0.17925 i1 0.18455 i1 0.18458 i1 0.18986 i1 0.18988 i1 0.19519 i1 0.19521 i1 0.20053 i1 0.20056 i1 0.20593 i1 0.20595 i1 0.21120 i1 0.21122 i1 0.21654 i1 0.21657 i1 0.22187 i1 0.22190 i1 0.22720 i1 0.22723 i1 0.23254 i1 0.23256 i1 0.23788 i1 0.23790 i1 0.24320 i1 0.24323 i1 0.24853 i1 0.24856 i1 0.25396 i1 0.25399 i1 0.25933 i1 0.25936 i1 0.26462 i1 0.26465 i1 0.26987 i1 0.26989 i1 0.27520 i1 0.27523 i1 0.28053 i1 0.28055 i1 0.28586 i1 0.28589 i1 0.29119 i1 0.29122 i1 0.29653 i1 0.29656 i1 0.30186 i1 0.30189 i1 0.30719 i1 0.30722 i1 0.31252 i1 0.31255 i1 0.31786 i1 0.31788 i1 0.32319 i1 0.32321 i1 0.32853 i1 0.32855 i1 0.33385 i1 0.33388 i1 0.33919 i1 0.33921 i1 0.34452 i1 0.34454 i1 0.34985 i1 0.34988 i1 0.35518 i1 0.35521 i1 0.36052 i1 0.36055 i1 0.36585 i1 0.36588 i1 0.37118 i1 0.37122 i1 0.37651 i1 0.37654 i1 0.38185 i1 0.38187 i1 0.38719 i1 0.38722 i1 0.39251 i1 0.39254 i1 0.39784 i1 0.39787 i1 0.40318 i1 0.40320 i1 0.40851 i1 0.40854 i1 0.41384 i1 0.41387 i1 0.41918 i1 0.41921 i1 0.42451 i1 0.42453 i1 0.42984 i1 0.42987 i1 0.43517 i1 0.43520 i1 0.44050 i1 0.44053 i1 0.44584 i1 0.44587 i1 0.45117 i1 0.45120 i1 0.45651 i1 0.45653 i1 0.46191 i1 0.46194 i1 0.46731 i1 0.46734 i1 0.47250 i1 0.47253 i1 0.47783 i1 0.47786 i1 0.48316 i1 0.48319 i1 0.48850 i1 0.48852 i1 0.49383 i1 0.49385 i1 0.49916 i1 0.49919 i1 0.50449 i1 0.50452 i1 0.50983 i1 0.50985 i1 0.51516 i1 0.51519 i1 0.52049 i1 0.52052 i1 0.52582 i1 0.52585 i1 0.53116 i1 0.53118 i1 0.53649 i1 0.53652 i1 0.54182 i1 0.54185 i1 0.54715 i1 0.54718 i1 0.55249 i1 0.55251 i1 0.55783 i1 0.55786 i1 0.56318 i1 0.56320 i1 0.56849 i1 0.56851 i1 0.57382 i1 0.57385 i1 0.57915 i1 0.57917 i1 0.58448 i1 0.58451 i1 0.58981 i1 0.58984 i1 0.59515 i1 0.59518 i1 0.60048 i1 0.60051 i1 0.60581 i1 0.60584 i1 0.61114 i1 0.61117 i1 0.61648 i1 0.61650 i1 0.62181 i1 0.62184 i1 0.62715 i1 0.62717 i1 0.63247 i1 0.63250 i1 0.63781 i1 0.63783 i1 0.64314 i1 0.64316 i1 0.64847 i1 0.64850 i1 0.65380 i1 0.65383 i1 0.65914 i1 0.65917 i1 0.66447 i1 0.66450 i1 0.66981 i1 0.66983 i1 0.67513 i1 0.67516 i1 0.68047 i1 0.68050 i1 0.68580 i1 0.68583 i1 0.69113 i1 0.69116 i1 0.69647 i1 0.69649 i1 0.70180 i1 0.70183 i1 0.70713 i1 0.70715 i1 0.71247 i1 0.71249 i1 0.71780 i1 0.71783 i1 0.72313 i1 0.72315 i1 0.72846 i1 0.72849 i1 0.73380 i1 0.73382 i1 0.73912 i1 0.73915 i1 0.74447 i1 0.74450 i1 0.74979 i1 0.74982 i1 0.75513 i1 0.75516 i1 0.76046 i1 0.76048 i1 0.76582 i1 0.76584 i1 0.77112 i1 0.77115 i1 0.77646 i1 0.77649 i1 0.78179 i1 0.78181 i1 0.78712 i1 0.78714 i1 0.79245 i1 0.79248 i1 0.79778 i1 0.79781 i1 0.80312 i1 0.80315 i1 0.80845 i1 0.80848 i1 0.81378 i1 0.81381 i1 0.81911 i1 0.81914 i1 0.82444 i1 0.82447 i1 0.82978 i1 0.82981 i1 0.83511 i1 0.83514 i1 0.84044 i1 0.84047 i1 0.84577 i1 0.84580 i1 0.85111 i1 0.85113 i1 0.85645 i1 0.85648 i1 0.86178 i1 0.86180 i1 0.86711 i1 0.86713 i1 0.87244 i1 0.87247 i1 0.87777 i1 0.87780 i1 0.88310 i1 0.88313 i1 0.88844 i1 0.88846 i1 0.89377 i1 0.89380 i1 0.89910 i1 0.89913 i1 0.90443 i1 0.90446 i1 0.90977 i1 0.90979 i1 0.91509 i1 0.91512 i1 0.92043 i1 0.92045 i1 0.92576 i1 0.92579 i1 0.93109 i1 0.93112 i1 0.93643 i1 0.93646 i1 0.94177 i1 0.94179 i1 0.94709 i1 0.94712 i1 0.95243 i1 0.95246 i1 0.95787 i1 0.95790 i1 0.96314 i1 0.96317 i1 0.96842 i1 0.96845 i1 0.97376 i1 0.97378 i1 0.97909 i1 0.97911 i1 0.98442 i1 0.98445 i1 0.98975 i1 0.98978 i1 0.99508 i1 0.99511 i1 1.00042 i1 1.00044 i1 1.00575 i1 1.00578 i1 1.01109 i1 1.01111 i1 1.01641 i1 1.01644 i1 1.02175 i1 1.02178 i1 1.02708 i1 1.02710 i1 1.03241 i1 1.03244 i1 1.03775 i1 1.03777 i1 1.04308 i1 1.04311 i1 1.04841 i1 1.04844 i1 1.05374 i1 1.05377 i1 1.05908 B 0.000 .. 1.000 T 1.000 TT 1.000 M: 0.0 Score finished in csoundPerform(). inactive allocs returned to freespace end of score. overall amps: 0.0 overall samples out of range: 0 0 errors in performance Elapsed time at end of performance: real: 1.059s, CPU: 0.020s Jack: JackClient::Deactivate Jack: JackClient::Deactivate res = 0 Jack: JackPosixThread::Kill Jack: JackClient::PortUnRegister port_index = 37 Jack: JackClient::PortUnRegister port_index = 38 Jack: jack_client_close Jack: JackClient::Close ref = 4 Jack: JackClient::Deactivate Jack: JackSocketClientChannel::Stop Jack: JackPosixThread::Kill Jack: JackClientSocket::Close Jack: JackClientSocket::Close Jack: JackPosixSemaphore::Disconnect jack_sem.1000_default_csound5 Jack: JackLibClient::~JackLibClient Jack: JackShmReadWritePtr1::~JackShmReadWritePtr1 3 Jack: Succeeded in unlocking 111 byte memory area Jack: JackLibGlobals Destroy 1cf0300 Jack: ~JackLibGlobals Jack: JackPosixSemaphore::Disconnect jack_sem.1000_default_system Jack: JackPosixSemaphore::Disconnect jack_sem.1000_default_freewheel Jack: JackPosixSemaphore::Disconnect jack_sem.1000_default_dbusapi Jack: JackPosixSemaphore::Disconnect jack_sem.1000_default_a2j Jack: no message buffer overruns Jack: JackPosixThread::Stop Jack: ThreadHandler: exit Jack: JackShmReadWritePtr::~JackShmReadWritePtr 1 Jack: Succeeded in unlocking 994 byte memory area Jack: JackShmReadWritePtr::~JackShmReadWritePtr 0 Jack: Succeeded in unlocking 30337946 byte memory area Jack: jack_client_close res = 0 188 512-byte soundblks of shorts written to dac Csound tidy up: Segmentation fault menno@muziek:/usr/bin$ menno |
Date | 2010-11-18 19:07 |
From | Rene Djack |
Subject | [Csnd] Re: Re: Re: Re: New parser |
Hi, Nice, thanks for testing.I will compile the last cvs version, mine is older than yours (Nov 08). You have also a "Csound tidy up: Segmentation fault" but only at the end ! Cheers, René 2010/11/18 menno <nabob_cd@yahoo.com>
|