]
Tom Jenkinson commented on JBTM-1650:
-------------------------------------
This shows the effect the proposed fix on Windows:
I am trying a commit to #ifndef WIN32 to revert the behaviour on windows, however I do not
know why the change is only required on linux 64.
Also the change does appear to work on linux 32 (even though it wasn't failing on
linux 32).
SIGPIPE as xatmi test tearDown() is calling tpdiscon()
------------------------------------------------------
Key: JBTM-1650
URL:
https://issues.jboss.org/browse/JBTM-1650
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: BlackTie
Reporter: Amos Feng
Assignee: Amos Feng
Priority: Critical
Fix For: 5.0.0.M3
==7024==
==7024== Process terminating with default action of signal 13 (SIGPIPE)
==7024== at 0x363040E5CD: ??? (in /lib64/libpthread-2.14.90.so)
==7024== by 0x7044D56: apr_socket_send (in /usr/lib64/libapr-1.so.0.4.6)
==7024== by 0x76FF688: HybridSocketEndpointQueue::_send(char const*, long, long,
char*, int, long, long, char const*, char const*) (HybridSocketEndpointQueue.cxx:287)
==7024== by 0x76FF878: HybridSocketEndpointQueue::send(char const*, long, long, char*,
int, long, long, char const*, char const*) (HybridSocketEndpointQueue.cxx:325)
==7024== by 0x76FA50F: HybridSocketSessionImpl::send(message_t&)
(HybridSocketSessionImpl.cxx:519)
==7024== by 0x92B629D: send(Session*, char const*, char*, long, int, long, long,
message_t&, long, int, long, bool, char*) (XATMIc.cxx:147)
==7024== by 0x92B66B8: send(Session*, char const*, char*, long, int, long, long, long,
int, long, bool, char*) (XATMIc.cxx:182)
==7024== by 0x92C1051: tpdiscon (XATMIc.cxx:1219)
==7024== by 0x44416D: TestTPRecv::tearDown() (TestTPRecv.cxx:63)
==7024== by 0x445584: CppUnit::TestCaller<TestTPRecv>::tearDown()
(TestCaller.h:182)
==7024== by 0x3707A29B36: CppUnit::TestCaseMethodFunctor::operator()() const
(TestCase.cpp:32)
==7024== by 0x3707A1BEA3: CppUnit::DefaultProtector::protect(CppUnit::Functor
const&, CppUnit::ProtectorContext const&) (DefaultProtector.cpp:15)
==7024== by 0x3707A25C18: CppUnit::ProtectorChain::ProtectFunctor::operator()() const
(ProtectorChain.cpp:20)
==7024== by 0x3707A2595B: CppUnit::ProtectorChain::protect(CppUnit::Functor
const&, CppUnit::ProtectorContext const&) (ProtectorChain.cpp:77)
==7024== by 0x3707A3164F: CppUnit::TestResult::protect(CppUnit::Functor const&,
CppUnit::Test*, std::string const&) (TestResult.cpp:178)
==7024== by 0x3707A2989B: CppUnit::TestCase::run(CppUnit::TestResult*)
(TestCase.cpp:97)
==7024== by 0x3707A2A10B:
CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (TestComposite.cpp:64)
==7024== by 0x3707A2A035: CppUnit::TestComposite::run(CppUnit::TestResult*)
(TestComposite.cpp:23)
==7024== by 0x3707A2A10B:
CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (TestComposite.cpp:64)
==7024== by 0x3707A2A035: CppUnit::TestComposite::run(CppUnit::TestResult*)
(TestComposite.cpp:23)
==7024== by 0x3707A31429: CppUnit::TestResult::runTest(CppUnit::Test*)
(TestResult.cpp:145)
==7024== by 0x3707A33A21: CppUnit::TestRunner::run(CppUnit::TestResult&,
std::string const&) (TestRunner.cpp:96)
==7024== by 0x3707A369CA: CppUnit::TextTestRunner::run(std::string, bool, bool, bool)
(TextTestRunner.cpp:64)
==7024== by 0x4E2043: main (TestRunner.cxx:27)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: