Re: [linux-audio-dev] question about a c++ error

From: Jens M Andreasen <jens.andreasen@email-addr-hidden>
Date: Thu Oct 12 2006 - 07:26:17 EEST

On Wed, 2006-10-11 at 18:05 -0400, Dave Phillips wrote:

> terminate called after throwing
> an instance of 'std::logic_error'
> what():basic_string::_S_construct
> NULL not valid
>
> It almost looks poetic. :)
>

Shakespeare! :)

> Alas, Google wasn't much help, and the author of the macro has no idea
> why this error results (his code contains no C++). Can any C++ guru here
> shed any light on the how/what/why of the error ? Maybe even suggest a
> fix ?

Not a guru, but have thrown a few errors around.

It looks like it is the interpreter in OO that ends up in a confused
state, apparently trying to create a string out of nothing, perhaps
after the end of input. The reason could be:

* A programming error (thinko) in the macro
* A bug in the OO macro interpreter

Either way, it might be a good idea to ask on the OO dev/user lists as
well.

-- 
Received on Thu Oct 12 12:15:02 2006

This archive was generated by hypermail 2.1.8 : Thu Oct 12 2006 - 12:15:02 EEST