Hi,

At Fri, 14 Mar 2003 23:21:26 +0900,
Michael Bruschkewitz wrote:
> Under which circumstances is an String "terminated"?

Bug.

> conn.read calls the following function from an own extension:		
> 	VALUE TCP_Read(VALUE self, VALUE maxL) 	{
> 		CRbTcp* p; Data_Get_Struct(self, CRbTcp, p);
> 		int ml = NUM2INT(maxL);		
> 		std::string data;
> 		try { data=p->Read(ml); }
> 		catch(CRbException & e) { 
> 			ext_raise(self,e.str(),__FILE__,__LINE__); }
> 		return rb_str_new(data.data(),data.size());
> 	}

Perhaps, you should check if you mark ruby objects properly.

-- 
Nobu Nakada