[nanomsg] Re: Interested in using nanomsg

  • From: Jeff Archer <jsarcher@xxxxxxxxxxxxxxxxxxxxxx>
  • To: Martin Sustrik <sustrik@xxxxxxxxxx>
  • Date: Tue, 24 Sep 2013 18:56:39 -0400

On Fri, Sep 20, 2013 at 11:14 AM, Martin Sustrik <sustrik@xxxxxxxxxx> wrote:

> On 20/09/13 17:05, Jeff Archer wrote:
>
>> Yes, I have read some of the background with ZeroMQ on your site.  So,
>> I'm guessing that you are developing primarily on 'nix.  My in-house
>> solution uses NamedPipes.  Maybe, with some guidance from you, I could
>> fill-in this part of nanomsg.
>>
>
> That would be great and I'll be happy to guide you in the process.
>
>
>  How is the support for BUS, PUBSUB, and
>> REQREP which I will be needing for my console implementation?
>>
>
> As far as I know there are no bugs in those patterns. Anyway, given that
> the product is relatively young, some may be discovered in the future.
> Luckily, the code is rather straightforward so they shoundn't be hard to
> fix.
>
> Martin
>


I have executed RUN_TESTS and gotten the following output:

1>------ Build started: Project: RUN_TESTS, Configuration: Debug Win32
------
1>  Test project C:/dev/GitHub/nanomsg
1>        Start  1: inproc

inproc.exe hung and had to be killed...

1>   1/29 Test  #1: inproc ...........................***Failed   59.07 sec
1>        Start  2: inproc_shutdown
1>   2/29 Test  #2: inproc_shutdown ..................   Passed    0.33 sec
1>        Start  3: ipc
1>   3/29 Test  #3: ipc ..............................   Passed    0.01 sec
1>        Start  4: ipc_shutdown
1>   4/29 Test  #4: ipc_shutdown .....................   Passed    0.01 sec
1>        Start  5: tcp
1>   5/29 Test  #5: tcp ..............................   Passed    0.54 sec
1>        Start  6: tcp_shutdown
1>   6/29 Test  #6: tcp_shutdown .....................   Passed    0.54 sec
1>        Start  7: pair
1>   7/29 Test  #7: pair .............................   Passed    0.02 sec
1>        Start  8: pubsub
1>   8/29 Test  #8: pubsub ...........................   Passed    0.13 sec
1>        Start  9: reqrep

reqrep.exe failed with a VC++ Run-Time Check #3 - The variable 'rc' is
being used without being initialized.  Crashed when I clicked 'Ignore' on
the dialog.

1>   9/29 Test  #9: reqrep ...........................***Failed   79.33 sec
1>        Start 10: pipeline
1>  10/29 Test #10: pipeline .........................   Passed    0.03 sec
1>        Start 11: survey
1>  11/29 Test #11: survey ...........................   Passed    1.02 sec
1>        Start 12: bus
1>  12/29 Test #12: bus ..............................   Passed    0.03 sec
1>        Start 13: block
1>  13/29 Test #13: block ............................   Passed    0.22 sec
1>        Start 14: term
1>  14/29 Test #14: term .............................   Passed    0.12 sec
1>        Start 15: timeo
1>  15/29 Test #15: timeo ............................   Passed    0.22 sec
1>        Start 16: iovec
1>  16/29 Test #16: iovec ............................   Passed    0.01 sec
1>        Start 17: msg
1>  17/29 Test #17: msg ..............................   Passed    0.02 sec
1>        Start 18: prio
1>  18/29 Test #18: prio .............................   Passed    0.02 sec
1>        Start 19: poll
1>  19/29 Test #19: poll .............................   Passed    0.06 sec
1>        Start 20: device

device.exe failed with a VC++ Run-Time Check #3 - The variable 'rc' is
being used without being initialized.  Crashed when I clicked 'Ignore' on
the dialog.

1>  20/29 Test #20: device ...........................***Failed   33.73 sec
1>        Start 21: emfile
1>  21/29 Test #21: emfile ...........................   Passed    0.32 sec
1>        Start 22: domain
1>  22/29 Test #22: domain ...........................   Passed    0.02 sec
1>        Start 23: trie
1>  23/29 Test #23: trie .............................   Passed    0.01 sec
1>        Start 24: list
1>  24/29 Test #24: list .............................   Passed    0.01 sec
1>        Start 25: hash
1>  25/29 Test #25: hash .............................   Passed    0.01 sec
1>        Start 26: symbol
1>  26/29 Test #26: symbol ...........................   Passed    0.01 sec
1>        Start 27: separation
1>  27/29 Test #27: separation .......................   Passed    0.32 sec
1>        Start 28: zerocopy
1>  28/29 Test #28: zerocopy .........................   Passed    0.01 sec
1>        Start 29: shutdown
1>  29/29 Test #29: shutdown .........................   Passed    0.01 sec
1>
1>  90% tests passed, 3 tests failed out of 29
1>
1>  Total Test time (real) = 176.23 sec
1>
1>  The following tests FAILED:
1>    1 - inproc (Failed)
1>    9 - reqrep (Failed)
1>   20 - device (Failed)
1>  Errors while running CTest
1>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5):
error MSB3073: The command "setlocal
1>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5):
error MSB3073: "C:\Program Files (x86)\CMake 2.8\bin\ctest.exe"
--force-new-ctest-process -C Debug
1>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5):
error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5):
error MSB3073: :cmEnd
1>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5):
error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
1>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5):
error MSB3073: :cmErrorLevel
1>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5):
error MSB3073: exit /b %1
1>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5):
error MSB3073: :cmDone
1>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5):
error MSB3073: if %errorlevel% neq 0 goto :VCEnd
1>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5):
error MSB3073: :VCEnd" exited with code 8.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Not sure if I have done something incorrectly etc.  Please advise.

Other related posts: