Ok, some very strange behaviour here. After further debugging with gdb I
have found that adding a short sleep before the stdout flush resolves the
issue:

--- sipp.cpp.orig 2013-09-16 07:23:52.000000000 +0100
+++ sipp.cpp 2013-09-16 07:26:36.000000000 +0100
@@ -1545,6 +1545,7 @@
  } else {
   printf("Last Error: %s" SIPP_ENDL, errstart);
  }
+ sipp_usleep(100);
  fflush(stdout);
     }
     if (command_mode) {

Would be most grateful if anyone here knows why?

I'm starting to wonder about how the stdout is used and/or the standard
libraries and OS role played.

Richard

On 14 September 2013 23:47, Richard Brady <rnbr...@gmail.com> wrote:

> Hi guys
>
> Is anyone here using SIPp v3.3 on recent OSX and found away around the
> terminal<https://dl.dropboxusercontent.com/u/51603927/sipp_weirdness1.png>
>  truncation<https://dl.dropboxusercontent.com/u/51603927/sipp_weirdness2.png>
>  weirdness<https://dl.dropboxusercontent.com/u/51603927/sipp_weirdness3.png>
> ?
>
> I can see 
> previous<http://comments.gmane.org/gmane.comp.telephony.sipp.user/4953>
> posts <http://permalink.gmane.org/gmane.comp.telephony.sipp.user/4271>asking 
> same but no answers. I have tried to debug it but have not been
> successful.
>
> Regards,
> Richard
>
> SIPp v3.3, built Aug 15 2013, 09:09:26, OS X 10.8.4
>
> --
> Richard Brady
> M: +44 (0)7771 623 348
> T:  +44 (0)20 8144 8160
> E: rnbr...@gmail.com
>
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to