Bugs item #2724798, was opened at 2009-04-01 11:51
Message generated for change (Tracker Item Submitted) made by ericdelas
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=637564&aid=2724798&group_id=104305

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Eric DELAS (ericdelas)
Assigned to: Nobody/Anonymous (nobody)
Summary: Segmentation fault using <exec command with SIPp 3.1

Initial Comment:
Hi all,

You will get a segmentation fault with SIPp 3.1 when using <exec command 
whithin an xml script.
For example:
  <nop>
    <action>
      <exec command="echo This leads to a segmentation fault"/>
    </action>
  </nop>

In order to avoid the segmentation fault, you can change the SIPP code.
Edit the call.cpp file and change the following lines:
            if (currentAction->getCmdLine()) {
                char* x = createSendingMessage(currentAction->getMessage(), -2 
/* do not add crlf*/);
With:
            if (currentAction->getCmdLine()) {
                char* x = createSendingMessage(currentAction->getCmdLine(), -2 
/* do not add crlf*/);
                                                                  
Hope it will help.
BR,
Eric Delas.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=637564&aid=2724798&group_id=104305

------------------------------------------------------------------------------
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to