[ https://forge.continuent.org/jira/browse/CAROB-102?page=all ] Simon Csaba Endre closed CAROB-102: -----------------------------------
> throw will cause a segfault on SuSE Enterprise 9 > ------------------------------------------------ > > Key: CAROB-102 > URL: https://forge.continuent.org/jira/browse/CAROB-102 > Project: Carob > Type: Bug > Components: C++ API > Versions: Carob 0.5 > Environment: SuSE Enterprise Server 9 > Reporter: Simon Csaba Endre > Assignee: Simon Csaba Endre > Priority: Minor > Fix For: Carob 1.0 > > > Running the contrib/CPP/read_example.cpp program from the Carob directory the > following happens: > DEBUG: (RoundRobinControllerPool::getController) Selected > controller[0]:192.168.0.39:25322 > INFO: (Connection::initConnection) Authenticating with controller > 192.168.0.39:25322 > DEBUG: (JavaSocket::Create) Creating socket... > DEBUG: (JavaSocket::Create) Socket created. > DEBUG: (JavaSocket::connectTo) Connecting... > DEBUG: (JavaSocket::connectTo) Could not connect trying next address if > any... > DEBUG: (JavaSocket::connectTo) Could not connect trying next address if > any... > DEBUG: (JavaSocket::connectTo) Could not connect trying next address if > any... > Segmentation fault (core dumped) > instead of the normal behavior like on RHEL4, Debian, Ubuntu, OpenSuSE 10.1 > DEBUG: (RoundRobinControllerPool::getController) Selected > controller[0]:192.168.0.39:25322 > INFO: (Connection::initConnection) Authenticating with controller > 192.168.0.39:25322 > DEBUG: (JavaSocket::Create) Creating socket... > DEBUG: (JavaSocket::Create) Socket created. > DEBUG: (JavaSocket::connectTo) Connecting... > DEBUG: (JavaSocket::connectTo) Could not connect trying next address if > any... > DEBUG: (JavaSocket::connectTo) Could not connect trying next address if > any... > DEBUG: (JavaSocket::connectTo) Could not connect trying next address if > any... > DEBUG: (JavaSocket::~JavaSocket) About to close socket... > DEBUG: (closeSocket) Socket closed. > ERROR: (Connection::initConnection) Unable to connect to controller on > 192.168.0.39:25322 (Unable to connect. Last error code was 111). > DEBUG: (AbstractControllerPool::suspectControllerOfFailure) Creating ping > socket to suspected controller... > DEBUG: (JavaSocket::Create) Creating socket... > DEBUG: (JavaSocket::Create) Socket created. > DEBUG: (AbstractControllerPool::suspectControllerOfFailure) Controller > 192.168.0.39:25322 is now suspected of failure (list size=1) > DEBUG: (JavaSocket::connectTo) Connecting... > DEBUG: (JavaSocket::connectTo) Could not connect trying next address if > any... > DEBUG: (JavaSocket::connectTo) Could not connect trying next address if > any... > DEBUG: (JavaSocket::connectTo) Could not connect trying next address if > any... > DEBUG: (JavaSocket::connectTo) Connecting... > DEBUG: (JavaSocket::connectTo) Could not connect trying next address if > any... > DEBUG: (JavaSocket::connectTo) Could not connect trying next address if > any... > DEBUG: (JavaSocket::connectTo) Could not connect trying next address if > any... > DEBUG: (JavaSocket::~JavaSocket) About to close socket... > DEBUG: (closeSocket) Socket closed. > Error occured: All 1 controllers down > It seems that the throwed exceptions cannot be catched. > Here is the backtrace: > #0 0x40166f1e in parse_lsda_header () from /usr/lib/libstdc++.so.5 > #1 0x4016721c in __gxx_personality_v0 () from /usr/lib/libstdc++.so.5 > #2 0x401b63f4 in _Unwind_RaiseException () from /lib/libgcc_s.so.1 > #3 0x401676e5 in __cxa_throw () from /usr/lib/libstdc++.so.5 > #4 0x400770e3 in CarobNS::JavaSocket::connectTo (this=0x80562e0, [EMAIL > PROTECTED], port=25322) at JavaSocket.cpp:190 > #5 0x40079d9b in DriverSocket (this=0x80562e0, [EMAIL PROTECTED], > port=25322) at DriverSocket.cpp:36 > #6 0x4008786f in CarobNS::Connection::initConnection (this=0xbffff310) at > Connection.cpp:171 > #7 0x40086bf0 in Connection (this=0xbffff310, [EMAIL PROTECTED]) at > Connection.cpp:94 > #8 0x0804b4cd in main (argc=1, argv=0xbffff4c4) at read_example.cpp:75 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://forge.continuent.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ Carob mailing list [email protected] https://forge.continuent.org/mailman/listinfo/carob
