Csound ver 5.15 odd message

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Csound ver 5.15 odd message

jhearon
Hi,
I read the dev list with interest, but usually reserve posting for the user's list.

However, I had an odd message from csound 5.15...

"This should not happen.  Contact jpff."

Strange?

Regards,
Jim Hearon

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Csound ver 5.15 odd message

Alex Weiss
I had a similar problem a while back -- don't have time right now to look for the link, but you should find it in the nabble archives.

Alex

On Tue, Feb 7, 2012 at 12:57 PM, James Hearon <[hidden email]> wrote:
Hi,
I read the dev list with interest, but usually reserve posting for the user's list.

However, I had an odd message from csound 5.15...

"This should not happen.  Contact jpff."

Strange?

Regards,
Jim Hearon

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Csound ver 5.15 odd message

Tito Latini
In reply to this post by jhearon
James, upgrade to 5.16.1 if you can. There are many bug fixed in 5.16.1.
For example you cannot use cscore in 5.15 and if you try it, you get
"This should not happen...."

On Tue, Feb 07, 2012 at 08:57:03PM +0000, James Hearon wrote:
>
> Hi,I read the dev list with interest, but usually reserve posting for the user's list.
> However, I had an odd message from csound 5.15...
> "This should not happen.  Contact jpff."
> Strange?
> Regards,Jim Hearon    

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Csound ver 5.15 odd message

Adam Puckett-2
This is strange. What's causing the error message? And where is it in the code?

On 2/7/12, Tito Latini <[hidden email]> wrote:

> James, upgrade to 5.16.1 if you can. There are many bug fixed in 5.16.1.
> For example you cannot use cscore in 5.15 and if you try it, you get
> "This should not happen...."
>
> On Tue, Feb 07, 2012 at 08:57:03PM +0000, James Hearon wrote:
>>
>> Hi,I read the dev list with interest, but usually reserve posting for the
>> user's list.
>> However, I had an odd message from csound 5.15...
>> "This should not happen.  Contact jpff."
>> Strange?
>> Regards,Jim Hearon  
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Csound-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Csound ver 5.15 odd message

jpff
> This is strange. What's causing the error message? And where is it in the
> code?

Long since fixed.  As part of a major internal reorganisation I attempted
to unravel some rather contorted code.  I could not work out how/why that
code could be called, and although it was in working order I inserted that
message so in testing someone would tell me hoe it was hit -- no one did
and it was still there at release on 5.15.  It was removed and the code
unravelled (again) long since.

Try the all new, all wonderful 5.16

==John ff


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Csound ver 5.15 odd message

Tito Latini
The good change 'All score processing in memory' has been a
bug-generator. For the questioners: the famous message

  "THIS SHOULD NOT HAPPEN -- CONTACT jpff"

is in `rdscor' function (Engine/rdscor.c:112) and it should
appear if "no concurrent scorefile" (csound->scstr is NULL or
scstr->body[0] == '\0'). `rdscor' ***return 1*** after this message.

Who calls it?

sensevents (Engine/musmon.c:888)
cscoreGetEvent (Top/cscorfns.c:297)

Example with cscore (5.15):

cscoreListGetSection
  csound->scstr is NULL
  loop:
    cscoreGetEvent
      -> if !(rdscor(csound, nxtevtblk)) GAME OVER  // prints "THIS SHOULD NOT HAPPEN ..."
         but rdscor returns 1, therefore it is not EOF
      -> lexpand -> cscoreListCreate
      -> looplooplooplooploop...  segfault

Moral of the fable: when you read "THIS SHOULD NOT HAPPEN -- CONTACT jpff"
means that the score is void and some function is probably using the old code.
However

  "THIS SHOULD NOT HAPPEN IN 5.16 -- GOOD SOUND"

tito

On Wed, Feb 08, 2012 at 06:57:16AM -0000, [hidden email] wrote:

> > This is strange. What's causing the error message? And where is it in the
> > code?
>
> Long since fixed.  As part of a major internal reorganisation I attempted
> to unravel some rather contorted code.  I could not work out how/why that
> code could be called, and although it was in working order I inserted that
> message so in testing someone would tell me hoe it was hit -- no one did
> and it was still there at release on 5.15.  It was removed and the code
> unravelled (again) long since.
>
> Try the all new, all wonderful 5.16
>
> ==John ff

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Loading...