[omniORB] failed to delete an object
Song Li
lisong@vrac.iastate.edu
Fri Feb 14 22:11:01 2003
--------------E916FB54D72FD52C1574456B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi,
I've defined an unbounded sequence in idl file :
interface VjObs
{............
typedef sequence<string> scalar_p;
.............
}
and use it in my cpp code by: VjObs::scalar_p* scl_name = new
VjObs::scalar_p(50);
and : scl_name->length(<actual length>);
it works fine... but when I want to delete this object an error message
shows up:
omniORB: ERROR -- an invalid buffer pointer is passed to freebuf of
string or object sequence
What does it mean? and any debugging method ??? Thank!
--
Song Li
VRAC(Virtual Reality Application Center),Iowa State University
Email: lisong@vrac.iastate.edu
Homepage: http://www.vrac.iastate.edu/~lisong
--------------E916FB54D72FD52C1574456B
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi,
<p>I've defined an unbounded sequence in idl file :
<p>interface VjObs
<br>{............
<br>typedef sequence<string> scalar_p;
<br>.............
<br>}
<p>and use it in my cpp code by: VjObs::scalar_p* scl_name = new
VjObs::scalar_p(50);
<br>and : scl_name->length(<actual length>);
<p>it works fine... but when I want to delete this object an error message
shows up:
<br>omniORB: ERROR -- an invalid buffer pointer is passed to freebuf of
string or object sequence
<p>What does it mean? and any debugging method ??? Thank!
<br>
<br>
<pre>--
Song Li
VRAC(Virtual Reality Application Center),Iowa State University
Email: lisong@vrac.iastate.edu
Homepage: <A HREF="http://www.vrac.iastate.edu/~lisong">http://www.vrac.iastate.edu/~lisong</A></pre>
</html>
--------------E916FB54D72FD52C1574456B--