[reSIProcate] wince - testparsebuffer creating crash

shailesh shailesh at varaha.com
Mon May 23 09:35:30 CDT 2005


Hello All 

 

I am trying to run following test (testparsebuffer.cxx) in the wince. then
it create crash when get eof. 

 

What can I do for this bug ?

 

{

      std::cerr << "!! Test position" << std::endl;

      char buf[] = "Here is a buffer with some stuff.";

      ParseBuffer pb(buf, strlen(buf));

      

      pb.skipToChars("buff");

      *pb.position();

 

      pb.skipToEnd();      

      do

      {

         try

         {

            *pb.position();

            assert(false);

         }

         catch (BaseException& e)

         {

            cerr<< "this is test";

            break;

         }

      } while (false);

   }

 

DEBUG | testparsebuffer | RESIP | 2803300270 | baseexception.cxx:17 |
BaseException at  c:\resiprocate\os\parsebuffer.cxx:935 dereferenced
ParseBuffer eof

 

Regards,

Shailesh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20050523/844f0cf2/attachment.htm>


More information about the resiprocate-devel mailing list