Return to LanScape's home page Go back a page...       Active TopicsActive Topics   Display List of Forum MembersMember List   Knowledge Base SearchSearch   HelpHelp  RegisterRegister  LoginLogin

LanScape VOIP Media Engine™ - Pre-Sales Technical Support
 LanScape Support Forum -> LanScape VOIP Media Engine™ - Pre-Sales Technical Support
Subject Topic: sip stack fails protos test suite, possible dos Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
jmatthewsr
Junior
Junior


Joined: April 09 2008
Posts: 40
Posted: April 17 2008 at 8:50pm | IP Logged Quote jmatthewsr

Using the multi session conference example ap, the protos test suite crashed the app around test #1000.

This also leads me to ask what kind of crash handling and analysis the media engine has. Is the media engine capable of creating windows minidump files for analysis, etc?


http://www.ee.oulu.fi/research/ouspg/protos/testing/c07/sip/ index.html

Back to Top View jmatthewsr's Profile Search for other posts by jmatthewsr
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: April 18 2008 at 6:05am | IP Logged Quote support

Hi Justin,

Thanks for pointing out the failure. We will run the test suite yet today to see what is going on.

As far as crash reporting and mini dumps, we have continued to use Dr. Watson (drwtsn32) when needed. We have outgrown using Dr. Watson and know we are in need of a better fully integrated mini dump solution.

What we need to do is add crash handler support directly to the media engine that will only fire for unhandled exceptions in the address space of the loaded media engine DLL module. This has been on our “to do” list for about a year now. Eventually we will get it completed. Using this crash handler, we will be able grab all the debug info we need and give the end user a chance to send the information directly to our support servers for later analysis. This crash reporting would be enabled or disabled via the media engine API.

This was a great question. Apparently, mamma raised no fool. :)

Thanks,

Support

Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: April 18 2008 at 6:10am | IP Logged Quote support

One other item…..

We know basically what we want to do with the integrated crash handling.

However, if you have previous experience with this and a good implementation of the crash handling as described above, feel free to forward the C/C++ source code to us. We will check it out. Doing so allow us to get the crash handling added to the product sooner. Just a thought….

Support

Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: April 18 2008 at 2:47pm | IP Logged Quote support

Hi Justin,

We received your direct emails with the crasher.zip archive. Good job. We will look at it as soon as possible. We appreciate you sharing your thoughts and taking the time to craft very thoughtful email responses. Very nice... thank you.

Yes, the John Robbins books are “the” reference for understanding and handling mini dumps. They are here on the engineering bookshelf in the lab. Good to know you have experience with this.

For all releases of the media engine, we maintain PDB images for both Debug and Release builds so if we receive mini dumps from the field, we can do the post mortem. Sounds like you have been in tough field debugging situations before. Haven’t we all…..


Support


Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
jmatthewsr
Junior
Junior


Joined: April 09 2008
Posts: 40
Posted: April 18 2008 at 2:58pm | IP Logged Quote jmatthewsr

Thanks. If I get some time I will catch the exception seen in the protos suite and send you the minidump and we can do a test-run.

-justin
Back to Top View jmatthewsr's Profile Search for other posts by jmatthewsr
 
jmatthewsr
Junior
Junior


Joined: April 09 2008
Posts: 40
Posted: April 27 2008 at 8:15pm | IP Logged Quote jmatthewsr

I have a crash dump for your review. This is appears to be happening when receiving a SUBSCRIBE (this is not during a protos test).

If possible, I would like to upload the minidump for your review. Please send the FTP (or other) information.

Thanks,
-justin
Back to Top View jmatthewsr's Profile Search for other posts by jmatthewsr
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: April 28 2008 at 11:59am | IP Logged Quote support

Hi Justin,

We will create a support FTP account here for you. We will email you the details shortly.
We have a "shut down" day today for maintenance and will be back in full swing tomorrow.

Thanks,

Support

Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
jmatthewsr
Junior
Junior


Joined: April 09 2008
Posts: 40
Posted: April 28 2008 at 12:45pm | IP Logged Quote jmatthewsr

Minidump has been uploaded.

thanks,
-justin
Back to Top View jmatthewsr's Profile Search for other posts by jmatthewsr
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: April 29 2008 at 9:55am | IP Logged Quote support

OK, got it...
Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: April 29 2008 at 10:17am | IP Logged Quote support

Justin,

We need a clarification:

1) So the exception you originally detected was not caused by running the protos test suite?

2) The exception is cause by sending the media engine “any old” SUBSCRIBE request?


Justin asked us these questions in an offline email:
Also, is there a workaround for the SUBSCRIBE issue? Can I somehow drop the SUBSCRIBE before the exception occurs?

Answer:
Not sure yet if there is a workaround for the failing SUBSCRIBE. However, yes you can intercept the raw SUBSCRIBE request that is received by the media engine (prior to the media engine performing any SIP parsing or processing) and it can be ignored. To do this, your app can handle the “immediate event” called SipModifySipMessage.

How to:
If your app handles this event, it will get the address of a SIP_MESSAGE_IMMEDIATE_DATA structure. Look at the Received structure member to determine it the SIP message is being transmitted or received. You can detect a received SIP message that is a SUBSCRIBE by using the ppSipMsg member to access the raw SIP message and simply scan it for the “SUBSCRIBE sip:” header. Once you determine you have received a SUBSCRIBE request, your app can then set the IgnoreSipMessage member in the SIP_MESSAGE_IMMEDIATE_DATA structure to non zero and the media engine will toss out the received SUBSCRIBE request. This method can be applies to any received SIP message.


Support


Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
jmatthewsr
Junior
Junior


Joined: April 09 2008
Posts: 40
Posted: April 29 2008 at 10:24am | IP Logged Quote jmatthewsr

Exception occurs in both the protos test suite and in another test where I believe that the crash is related to a SUBSCRIBE. I've uploaded a log dump of the crash that is not related to the protos suite.

These crashes are probably not related, I should have started a different thread. Sorry for the confusion.
Back to Top View jmatthewsr's Profile Search for other posts by jmatthewsr
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: April 29 2008 at 1:29pm | IP Logged Quote support

Got it. Thanks for the clarification.

Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: May 24 2008 at 6:47am | IP Logged Quote support

Hi Justin,

Regarding subjecting the VOIP Media Engine to the PROTOS SIP test suite:
We just completed testing the media engine against the latest Release 1 and Release 2 of the PROTOS test suite.

We did locate a few issues. After fixing them, the media engine now passes all test cases. We will be sure to roll all the fixes into the next v5.12.8.4 and upcoming v6 releases. You can read more about the test findings at this support forum post:

VOIP Media Engine and PROTOS SIP test suite (c07-sip):
http://www.lanscapecorp.com/forum/forum_posts.asp?TID=483&PN =1

Thanks for pointing out the PROTOS tests. We knew about the PROTOS tests a few years ago but did not find the time to execute them until now.

Support


Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum






Contact LanScape Hear what the Lawyers have to say How youm may use this site Read your privacy rights