Hi,

I'm still a little confused. Do you use version 2.2.1 or the head 
version in git?

The problem looks familar to me. I'm quite sure I have fixed that. At 
least I can remember, that it took some time to find the problem. I 
currently just do not remember what it was. I try to find the fix in git.

Tommi


Am 29.09.2014 um 20:52 schrieb Andreas Welchlin:
> Sorry, it was version 2.2.1 development sources from github.
>
> On 09/29/2014 08:49 PM, Andreas Welchlin wrote:
>> Hi  All,
>>
>> I compiled cxxtools on Solaris and everything I need works fine.
>>
>>
>> Anyway: One of the unittests fails with coredump:
>>
>>    >./alltests
>> Assertion failed: _fd == -1, file tcpsocketimpl.cpp, line 218
>> binrpc::PrepareConnect: Abort (core dumped)
>>
>>
>> gdb says:
>>
>> #13 0x0819ac4b in
>> cxxtools::RemoteProcedureBase<int>::~RemoteProcedureBase
>> (this=0xfeffe314, __in_chrg=<optimized out>)
>>        at ../include/cxxtools/remoteprocedure.h:84
>> #14 0x08197c75 in BinRpcTest::PrepareConnect (this=0x83b5ba0
>> <register_JoinTest>) at binrpc-test.cpp:711
>> #15 0x081ab7ed in cxxtools::Composer<bool>::fixup (this=0x83c4268,
>> si=...) at ../include/cxxtools/composer.h:64
>> #16 0x0817e8bc in cxxtools::Callable<void, cxxtools::Void,
>> cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void,
>> cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void,
>> cxxtools::Void>::call (this=0x83c4268) at
>> ../include/cxxtools/callable.tpp:314
>> #17 0x081ab801 in cxxtools::Composer<bool>::fixup (this=0x83c4268,
>> si=...) at ../include/cxxtools/composer.h:64
>> #18 0xfe662f9b in ?? ()
>> #19 0x
>>
>>
>> All these unitests fail at the same point: binrpc-test.cpp (also
>> xmlrpc-test.cpp, jsonrpc-test.cpp and jsonrpchttp-test.cpp).
>>
>> The unittest code:
>>
>>
>> void PrepareConnect()
>> .......
>>                       // test failing connect when calling function
>> 716             {
>> 717                 cxxtools::bin::RpcClient client(_loop);
>> 718                 cxxtools::RemoteProcedure<bool, bool, bool>
>> boolean(client, "boolean");
>> 719 CXXTOOLS_UNIT_ASSERT_NOTHROW(client.prepareConnect("", _port + 1));
>> 720                 log_info("AF3");   // inserted to detect where the
>> error is
>> 721                 boolean.begin(true, true);
>> 722                 log_info("AF4");
>> 723                 // this one produces a core dump on Solaris
>> 724                 CXXTOOLS_UNIT_ASSERT_THROW(boolean.end(2000),
>> cxxtools::IOError);
>> 725                 log_info("AF5");
>> 726             }
>>
>>
>>
>> Any thoughts?
>>
>> @Tommi: If you wish to connect to the Solaris Machine, just call me. It
>> is accessible via internet.
>>
>> Regards,
>> Andreas
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Slashdot TV.  Videos for Nerds.  Stuff that Matters.
>> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Tntnet-general mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/tntnet-general
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.  Videos for Nerds.  Stuff that Matters.
> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
> _______________________________________________
> Tntnet-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tntnet-general


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to